Update i386 libm-test-ulps.
[glibc.git] / ChangeLog
blobeac0fe4e41182d1f6f05cf92143d4f445acc599a
1 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/i386/fpu/libm-test-ulps: Update.
5 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7         * sysdeps/ia64/strcat.c: Remove file.
8         * sysdeps/powerpc/strcat.c: Likewise.
9         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
10         C implementation.
11         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
12         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
14 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15             Steven Munroe  <sjmunroe@us.ibm.com>
16             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18         [BZ #20822]
19         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
20         (__lll_lock_elision): Access adapt_count via C11 atomics.
21         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
22         (__lll_trylock_elision): Likewise.
23         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
24         (__lll_unlock_elision):  Update adapt_count variable inside the
25         critical section using C11 atomics.
27 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
29         * math/test-fenvinline.c (do_test): Disable tests of raised
30         exceptions if !EXCEPTION_TESTS (FLOAT).
32 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34         [BZ #19390]
35         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
36         maximum string size.
37         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
38         in pointer addition.
39         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
40         Likewise.
42 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
44         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
45         passed to tst-ldconfig-X.sh.
47 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
49         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
51 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
53         [BZ #21019]
54         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
55         New syscall entry.
56         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
57         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
58         lseek.
60         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
61         power4 glibc for powerpc-linux-gnu.
63 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
65         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
66         semctl.
68 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
70         * math/test-nearbyint-except.c: Include <stdbool.h>.
71         (any_supported): New variable.
72         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
73         set any_supported.
74         (do_test): Return 77 if no floating-point type supported
75         exceptions.
77         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
78         condition on [__mips_hard_float].
80 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
82         [BZ #21014]
83         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
84         in pointer addition.
85         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
87 2017-01-02  Torvald Riegel  <triegel@redhat.com>
89         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
90         new condvar.
92 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
94         * scripts/build-many-glibcs.py (Context.checkout): Default
95         binutils version to 2.28 branch.
97 2017-01-01  Florian Weimer  <fweimer@redhat.com>
99         * support/support_format_netent.c (support_format_netent): Work
100         around alpha struct netent definition difference.
102 2017-01-01  Florian Weimer  <fweimer@redhat.com>
104         * support/xwrite.c (xwrite): Use %td for pointer difference.
106 2017-01-01  Florian Weimer  <fweimer@redhat.com>
108         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
109         have-tunables only.
110         (tests-static): Add tst-malloc-usable-static-tunables for
111         have-tunables only.
113 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
115         * scripts/config.guess: Update to version 2017-01-01.
116         * scripts/config.sub: Update to version 2017-01-01.
118         * NEWS: Update copyright dates.
119         * catgets/gencat.c (print_version): Likewise.
120         * csu/version.c (banner): Likewise.
121         * debug/catchsegv.sh: Likewise.
122         * debug/pcprofiledump.c (print_version): Likewise.
123         * debug/xtrace.sh (do_version): Likewise.
124         * elf/ldconfig.c (print_version): Likewise.
125         * elf/ldd.bash.in: Likewise.
126         * elf/pldd.c (print_version): Likewise.
127         * elf/sotruss.sh: Likewise.
128         * elf/sprof.c (print_version): Likewise.
129         * iconv/iconv_prog.c (print_version): Likewise.
130         * iconv/iconvconfig.c (print_version): Likewise.
131         * locale/programs/locale.c (print_version): Likewise.
132         * locale/programs/localedef.c (print_version): Likewise.
133         * login/programs/pt_chown.c (print_version): Likewise.
134         * malloc/memusage.sh (do_version): Likewise.
135         * malloc/memusagestat.c (print_version): Likewise.
136         * malloc/mtrace.pl: Likewise.
137         * manual/libc.texinfo: Likewise.
138         * nptl/version.c (banner): Likewise.
139         * nscd/nscd.c (print_version): Likewise.
140         * nss/getent.c (print_version): Likewise.
141         * nss/makedb.c (print_version): Likewise.
142         * posix/getconf.c (main): Likewise.
143         * scripts/test-installation.pl: Likewise.
144         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
146         * All files with FSF copyright notices: Update copyright dates
147         using scripts/update-copyrights.
148         * intl/plural.c: Regenerated.
149         * locale/programs/charmap-kw.h: Likewise.
150         * locale/programs/locfile-kw.h: Likewise.
152 2016-12-31  Florian Weimer  <fweimer@redhat.com>
154         [BZ #20593]
155         Update DNS RR type definitions.
156         * scripts/gen-rrtypes.py: New file.
157         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
158         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
159         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
160         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
161         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
162         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
163         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
164         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
165         ns_t_ta, ns_t_dlv.
166         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
167         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
168         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
169         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
170         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
171         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
172         Define.
173         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
174         entry for ns_t_zxfr.
176 2016-12-31  Florian Weimer  <fweimer@redhat.com>
178         [BZ #18784]
179         CVE-2015-5180
180         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
181         T_UNSPEC.  Adjust value.
182         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
183         * resolv/res_query.c (__libc_res_nquery): Likewise.
184         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
185         QTYPEs.
186         * resolv/tst-resolv-qtypes.c: New file.
187         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
188         (tst-resolv-qtypes): Link against libresolv and libpthread.
190 2016-12-31  Florian Weimer  <fweimer@redhat.com>
192         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
194 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
196         * manual/tunables.texi: New chapter.
197         * manual/Makefile (chapters): Add it.
198         * manual/probes.texi (@node): Point to the Tunables chapter.
200         * Makeconfig (have-tunables): Check for non-negative instead
201         of positive.
202         * configure.ac: Add 'valstring' as a valid value for
203         --enable-tunables.
204         * configure: Regenerate.
205         * elf/Makefile (have-tunables): Check for non-negative instead
206         of positive.
207         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
208         dl-tunables.c.
209         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
210         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
211         (tunables_strdup): Likewise.
212         (disable_tunables): Likewise.
213         (parse_tunables): Likewise.
214         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
215         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
216         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
217         (TUNABLES_FRONTEND_yes): New macro, define as
218         TUNABLES_FRONTEND_valstring by default.
219         * manual/install.texi: Document new acceptable values for
220         --enable-tunables.
221         * INSTALL: Regenerate.
223         * config.make.in (have-loop-to-function): Define.
224         * elf/Makefile (CFLAGS-dl-tunables.c): Add
225         -fno-tree-loop-distribute-patterns.
226         * elf/dl-tunables.c: Include libc-internals.h.
227         (GLIBC_TUNABLES): New macro.
228         (tunables_strdup): New function.
229         (parse_tunables): New function.
230         (min_strlen): New function.
231         (__tunables_init): Use the new functions and macro.
232         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
233         * malloc/tst-malloc-usable-tunables.c: New test case.
234         * malloc/tst-malloc-usable-static-tunables.c: New test case.
235         * malloc/Makefile (tests, tests-static): Add tests.
237         * manual/install.texi: Add --enable-tunables option.
238         * INSTALL: Regenerate.
239         * README.tunables: New file.
240         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
241         (before-compile): Generate dl-tunable-list.h early.
242         * config.h.in: Add HAVE_TUNABLES.
243         * config.make.in: Add have-tunables.
244         * configure.ac: Add --enable-tunables option.
245         * configure: Regenerate.
246         * csu/init-first.c (__libc_init_first): Move
247         __libc_init_secure earlier...
248         * csu/init-first.c (LIBC_START_MAIN):... to here.
249         Include dl-tunables.h, libc-internal.h.
250         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
251         binaries.
252         * elf/Makefile (dl-routines): Add dl-tunables.
253         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
254         namespace.
255         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
256         only when !HAVE_TUNABLES.
257         * elf/rtld.c (process_envvars): Likewise.
258         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
259         (_dl_sysdep_start): Call __tunables_init.
260         * elf/dl-tunable-types.h: New file.
261         * elf/dl-tunables.c: New file.
262         * elf/dl-tunables.h: New file.
263         * elf/dl-tunables.list: New file.
264         * malloc/tst-malloc-usable-static.c: New test case.
265         * malloc/Makefile (tests-static): Add it.
266         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
267         Define TUNABLE_NAMESPACE.
268         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
269         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
270         callback functions.
271         (ptmalloc_init): Set tunable values.
272         * scripts/gen-tunables.awk: New file.
273         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
274         (_dl_sysdep_start): Call __tunables_init.
276 2016-12-31  Florian Weimer  <fweimer@redhat.com>
278         * resolv/resolv.h (RES_BLAST): Deprecate.
279         * resolv/res_debug.c (p_option): Remove RES_BLAST.
280         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
281         to RES_BLAST.
283 2016-12-27  Florian Weimer  <fweimer@redhat.com>
285         [BZ #19582]
286         Deprecate RES_USE_INET6.
287         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
288         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
289         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
290         RES_USE_INET6.
291         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
292         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
293         (_nss_nisplus_gethostbyaddr_r): Likewise.
294         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
295         of res_use_inet6.
296         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
297         instead of RES_USE_INET6.
298         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
299         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
300         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
301         Likewise.
302         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
303         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
304         Likewise.
305         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
306         (_nss_dns_gethostbyname_r): Likewise.
307         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
308         alternate RES_USE_INET6 handling.
309         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
310         instead of RES_USE_INET6.
311         * resolv/res_init.c (res_setoptions): Likewise.
312         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
313         * resolv/resolv-internal.h: New file.
314         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
315         make the deprecation warning non-fatal.
316         * resolv/README (Using the resolver in multi-threaded code): Drop
317         reference to RES_USE_INET6.
318         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
319         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
321 2016-12-31  Florian Weimer  <fweimer@redhat.com>
323         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
324         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
325         tst-resolv-search.
326         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
327         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
328         with libresolv and libpthread.
329         * resolv/tst-bug18665.c: New file.
330         * resolv/tst-bug18665-tcp: Likewise.
331         * resolv/tst-res_use_inet6: Likewise.
332         * resolv/tst-resolv-basic: Likewise.
333         * resolv/tst-resolv-network: Likewise.
334         * resolv/tst-resolv-search: Likewise.
335         * support/Makefile (libsupport-routines): Add check_addrinfo,
336         check_dns_packet, check_hostent, check_netent, resolv_test,
337         support_format_address_family, support_format_addrinfo,
338         support_format_dns_packet, support_format_herrno,
339         support_format_hostent, support_format_netent, support_run_diff,
340         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
341         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
342         xstrdup, xwrite.
343         * support/check_addrinfo.c: New file.
344         * support/check_dns_packet.c: Likewise.
345         * support/check_hostent.c: Likewise.
346         * support/check_netent.c: Likewise.
347         * support/check_nss.h: Likewise.
348         * support/format_nss.h: Likewise.
349         * support/resolv_test.c: Likewise.
350         * support/resolv_test.h: Likewise.
351         * support/run_diff.h: Likewise.
352         * support/support_format_address_family.c: Likewise.
353         * support/support_format_addrinfo.c: Likewise.
354         * support/support_format_dns_packet.c: Likewise.
355         * support/support_format_herrno.c: Likewise.
356         * support/support_format_hostent.c: Likewise.
357         * support/support_format_netent.c: Likewise.
358         * support/support_run_diff.c: Likewise.
359         * support/xaccept.c: Likewise.
360         * support/xbind.c: Likewise.
361         * support/xconnect.c: Likewise.
362         * support/xfclose.c: Likewise.
363         * support/xfopen.c: Likewise.
364         * support/xgetsockname.c: Likewise.
365         * support/xlisten.c: Likewise.
366         * support/xmemstream.c: Likewise.
367         * support/xmemstream.h: Likewise.
368         * support/xpoll.c: Likewise.
369         * support/xpthread_once.c: Likewise.
370         * support/xrecvfrom.c: Likewise.
371         * support/xsendto.c: Likewise.
372         * support/xsetsockopt.c: Likewise.
373         * support/xstdio.h: Likewise.
374         * support/xstrdup.c: Likewise.
375         * support/support.h (xstrdup): Declare.
376         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
377         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
378         * support/xthread.h (xpthread_once): Likwise.
379         * support/xunistd.h (xwrite): Declare.
381 2016-12-31  Florian Weimer  <fweimer@redhat.com>
383         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
384         (test_verbose): Declare.
385         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
386         * support/support_test_main.c (default_options): Likewise.
387         (usage, support_test_main): Handle 'v'.
388         (test_verbose): Define.
389         * support/tst-support_record_failure.c (do_test): Use
390         test_verbose.
391         * support/tst-support_record_failure-2.sh (different_status): Add
392         --verbose test.
394 2016-12-31  Florian Weimer  <fweimer@redhat.com>
396         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
397         test failures are recorded.
398         * support/check.c (support_print_failure_impl): Call
399         support_record_failure.
400         (support_exit_failure_impl): Call support_record_failure if status
401         indicates failure.
402         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
403         * support/xasprintf.c (xasprintf): Likewise.
404         * support/xfork.c (xfork): Likewise.
405         * support/xpthread_check_return.c (xpthread_check_return):
406         Likewise.
407         * support/xsocket.c (xsocket): Likeweise.
408         * support/xwaitpid.c (xwaitpid): Likewise.
409         * support/support_record_failure.c (struct test_failures): Adjust
410         to coding style.
411         * support/support_test_verify_impl.c (support_test_verify_impl):
412         Adjust error messages.
413         * support/tst-support_record_failure-2.sh (different_status):
414         Adjust error messages.
416 2016-12-31  Florian Weimer  <fweimer@redhat.com>
418         * support/namespace.h: New file.
419         * support/support_become_root.c: Likewise.
420         * support/support_enter_network_namespace.c: Likewise.
421         * support/tst-support-namespace.c: Likewise.
422         * support/xsocket.c: Likewise.
423         * support/xsocket.h: Likewise.
424         * support/Makefile (libsupport-routines): Add support_become_root,
425         support_enter_network_namespace, xsocket.
426         (tests): Add tst-support-namespace.
428 2016-12-31  Florian Weimer  <fweimer@redhat.com>
430         [BZ #17252]
431         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
432         __USE_GNU.
434 2016-12-31  Torvald Riegel  <triegel@redhat.com>
436         [BZ #13165]
437         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
438         use new algorithm.
439         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
440         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
441         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
442         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
443         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
444         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
445         __condvar_cleanup_waiting, __condvar_dec_grefs,
446         __pthread_cond_wait_common): New.
447         (__condvar_cleanup): Remove.
448         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
449         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
450         Likewise.
451         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
452         Likewise.
453         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
454         * nptl/tst-cond1.c: Add comment.
455         * nptl/tst-cond20.c (do_test): Adapt.
456         * nptl/tst-cond22.c (do_test): Likewise.
457         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
458         structure.
459         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
460         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
461         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
462         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
463         Likewise.
464         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
465         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
466         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
467         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
468         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
469         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
470         Likewise.
471         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
472         Likewise.
473         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
474         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
475         (COND_CLOCK_BITS): Adapt.
476         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
477         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
478         __PTHREAD_COND_SHARED_MASK): New.
479         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
480         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
481         * nptl/nptl_lock_constants.pysym: Adapt.
482         * nptl/test-cond-printers.py: Adapt.
483         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
484         cond_compat_check_and_clear): Adapt.
485         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
486         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
487         (__pthread_cond_timedwait): ... and move here.
488         * nptl/DESIGN-condvar.txt: Remove file.
489         * nptl/lowlevelcond.sym: Likewise.
490         * nptl/pthread_cond_timedwait.c: Likewise.
491         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
492         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
493         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
494         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
495         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
496         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
497         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
498         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
499         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
500         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
501         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
502         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
503         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
504         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
505         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
506         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
508 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
510         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
511         (fromfp): New declaration.
512         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
513         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
514         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
515         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
516         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
517         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
518         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
519         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
520         * math/math.h: Include <bits/types.h>.
521         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
522         constant and macro.
523         (FP_INT_DOWNWARD): Likewise.
524         (FP_INT_TOWARDZERO): Likewise.
525         (FP_INT_TONEARESTFROMZERO): Likewise.
526         (FP_INT_TONEAREST): Likewise.
527         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
528         (fromfpf): Likewise.
529         (fromfpl): Likewise.
530         (ufromfp): Likewise.
531         (ufromfpf): Likewise.
532         (ufromfpl): Likewise.
533         (fromfpx): Likewise.
534         (fromfpxf): Likewise.
535         (fromfpxl): Likewise.
536         (ufromfpx): Likewise.
537         (ufromfpxf): Likewise.
538         (ufromfpxl): Likewise.
539         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
540         s_fromfpxF and s_ufromfpxF.
541         * math/gen-fromfp-tests.py: New file.
542         * math/gen-fromfp-tests-inputs: Likewise.
543         * math/libm-test.inc: Include <stdint.h>
544         (check_intmax_t): New function.
545         (check_uintmax_t): Likewise.
546         (struct test_fiu_M_data): New type.
547         (struct test_fiu_U_data): Likewise.
548         (RUN_TEST_fiu_M): New macro.
549         (RUN_TEST_LOOP_fiu_M): Likewise.
550         (RUN_TEST_fiu_U): Likewise.
551         (RUN_TEST_LOOP_fiu_U): Likewise.
552         (fromfp_test_data): New array.
553         (fromfp_test): New function.
554         (fromfpx_test_data): New array.
555         (fromfpx_test): New function.
556         (ufromfp_test_data): New array.
557         (ufromfp_test): New function.
558         (ufromfpx_test_data): New array.
559         (ufromfpx_test): New function.
560         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
561         ufromfpx_test.
562         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
563         characters.
564         * math/test-tgmath-ret.c: Include <stdint.h>.
565         (rm): New variable.
566         (width): Likewise.
567         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
568         called function.
569         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
570         CHECK_RET_CONST_TYPE.
571         (CHECK_RET_CONST_DOUBLE): Likewise.
572         (CHECK_RET_CONST_LDOUBLE): Likewise.
573         (CHECK_RET_CONST): Take extra arguments and pass them to calls
574         macros.
575         (fromfp): New CHECK_RET_CONST call.
576         (ufromfp): Likewise.
577         (fromfpx): Likewise.
578         (ufromfpx): Likewise.
579         (do_test): Call check_return_fromfp, check_return_ufromfp,
580         check_return_fromfpx and check_return_ufromfpx.
581         * math/test-tgmath.c: Include <stdint.h>
582         (NCALLS): Increase to 138.
583         (F(compile_test)): Initialize i.  Call fromfp functions.
584         (F(fromfp)): New function.
585         (F(fromfpx)): Likewise.
586         (F(ufromfp)): Likewise.
587         (F(ufromfpx)): Likewise.
588         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
589         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
590         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
591         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
592         ufromfpxl.
593         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
594         ufromfp and ufromfpx.
595         * math/fromfp.h: New file.
596         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
597         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
598         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
599         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
600         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
601         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
602         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
603         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
604         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
605         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
606         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
607         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
608         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
609         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
610         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
611         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
612         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
613         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
614         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
615         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
616         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
617         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
618         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
619         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
620         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
621         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
622         ufromfp, fromfpx and ufromfpx.
623         (CFLAGS-nldbl-fromfp.c): New variable.
624         (CFLAGS-nldbl-fromfpx.c): Likewise.
625         (CFLAGS-nldbl-ufromfp.c): Likewise.
626         (CFLAGS-nldbl-ufromfpx.c): Likewise.
627         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
628         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
629         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
630         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
631         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
632         * sysdeps/nacl/libm.abilist: Update.
633         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
634         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
635         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
636         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
637         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
638         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
639         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
640         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
641         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
642         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
643         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
644         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
646         Likewise.
647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
648         Likewise.
649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
650         Likewise.
651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
652         Likewise.
653         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
654         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
655         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
656         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
657         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
659         Likewise.
660         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
661         Likewise.
662         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
663         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
664         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
666 2016-12-30  Florian Weimer  <fweimer@redhat.com>
668         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
669         compat-gethnamaddr.
670         (CPPFLAGS): Remove.
671         * resolv/gethnamaddr.c: Rename ...
672         * resolv/compat-gethnamaddr.c: ... to this file.
673         (_endhtent): Make static.
674         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
675         symbol.
676         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
677         compat symbol.
678         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
679         symbol.
680         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
681         Turn into compat symbol.
682         * include/resolv.h (_endhtent): Remove declaration.
684 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
686         * bits/types.h (__intmax_t): New typedef.
687         (__uintmax_t): Likewise.
688         * sysdeps/generic/stdint.h: Include <bits/types.h>.
689         (intmax_t): Define using __intmax_t.
690         (uintmax_t): Define using __uintmax_t.
692         * support/Makefile (tests-special): Make definition conditional on
693         [$(run-built-tests) = yes].
694         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
695         on [$(run-built-tests) = yes].
697 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
699         * Rules (tests): Add tests-printers-programs to tests to be
700         built.
702 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
704         * sysvipc/Makefile (tests): Add test-sysvshm.
705         * sysvipc/test-sysvshm.c: New file.
707         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
708         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
709         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
710         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
711         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
712         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
713         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
714         Likewise.
715         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
716         Likewise.
717         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
718         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
719         is defined.
721         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
722         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
723         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
724         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
725         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
726         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
727         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
728         Likewise.
729         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
730         Likewise.
731         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
732         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
733         defined.
735         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
736         oldshmctl.
737         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
738         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
739         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
740         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
741         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
742         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
743         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
744         Likewise.
745         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
746         Likewise.
747         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
748         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
749         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
750         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
751         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
752         implementation.
753         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
754         if it is defined.
756         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
757         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
758         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
759         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
760         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
761         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
762         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
763         Likewise.
764         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
765         Likewise.
766         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
767         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
768         Define to __NR_osf_shmat.
769         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
770         defined.
772         * sysvipc/Makefile (tests): Add test-sysvsem.
773         * sysvipc/test-sysvsem.c: New file.
775         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
776         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
777         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
778         Likewise.
779         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
780         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
781         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
782         Likewise.
783         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
784         Likewise.
785         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
786         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
787         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
788         add a comment about s390 syscall difference from default one.
789         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
790         syscall if it is defined.
792         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
793         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
794         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
795         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
796         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
797         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
798         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
799         Likewise.
800         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
801         Likewise.
802         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
803         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
804         defined.
806         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
807         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
808         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
809         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
810         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
811         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
812         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
813         Likewise.
814         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
815         Likewise.
816         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
817         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
818         if it is defined.
820         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
821         oldsemctl.
822         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
823         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
824         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
825         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
826         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
827         implementation.
828         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
829         syscall if it is defined.
830         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
831         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
832         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
833         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
834         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
835         Likewise.
836         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
838         * sysvipc/Makefile (tests): Add test-sysvmsg.
839         * sysvipc/test-sysvmsg.c: New file.
840         * support/check.h (FAIL_UNSUPPORTED): New define.
842         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
843         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
844         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
845         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
846         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
847         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
848         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
849         Likewise.
850         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
851         Likewise.
852         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
853         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
854         define.
856         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
857         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
858         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
859         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
860         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
861         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
862         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
863         Likewise.
864         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
865         Likewise.
866         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
867         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
868         if defined.
870         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
871         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
872         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
873         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
874         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
875         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
876         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
877         Likewise.
878         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
879         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
880         Likewise.
881         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
882         if defined.
883         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
885         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
886         oldmsgctl.
887         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
888         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
889         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
890         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
891         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
892         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
893         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
894         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
895         Likewise.
896         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
897         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
898         implementation.
899         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
900         if defined.
902         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
903         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
904         definition and define its own.
905         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
906         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
907         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
908         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
909         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
910         definitions to common header.
911         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
912         operation from ipc_ops.h.
914         * sysdeps/unix/sysv/linux/kernel-features.h
915         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
916         * sysdeps/unix/sysv/linux/i386/kernel-features.h
917         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
918         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
919         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
920         * sysdeps/unix/sysv/linux/mips/kernel-features.h
921         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
922         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
923         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
924         * sysdeps/unix/sysv/linux/s390/kernel-features.h
925         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
926         * sysdeps/unix/sysv/linux/sh/kernel-features.h
927         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
928         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
929         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
931 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
933         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
934         overflow in pointer addition.
936 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
938         * sysdeps/powerpc/powerpc64/multiarch/Makefile
939         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
940         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
941         (strchr): Add __strchr_power8 to list of strchr functions.
942         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
943         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
944         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
945         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
946         (strchr): Add __strchr_power8 to ifunc list.
947         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
948         (__strchrnul): Add __strchrnul_power8 to ifunc list.
949         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
950         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
952 2016-12-28  Florian Weimer  <fweimer@redhat.com>
954         * support/Makefile (libsupport-routines): Add
955         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
956         (tests): Add tst-support_record_failure.
957         (tests-special): tst-support_record_failure-2.
958         (tst-support_record_failure-2.out): Depend on
959         tst-support_record_failure-2.sh and tst-support_record_failure.
960         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
961         (support_test_verify_impl, support_record_failure)
962         (support_report_failure, support_report_failure_reset): Declare.
963         * support/support_test_main.c (adjust_exit_status): New function.
964         (support_test_main): Call it to incorporate record test failures.
965         * support/support_test_verify_impl.c: New file.
966         * support/support_record_failure.c: Likewise.
967         * support/tst-support_record_failure.c: Likewise.
968         * support/tst-support_record_failure-2.sh: Likewise.
969         * support/xunistd.h: Likewise.
970         * support/xfork.c: Likewise.
971         * support/xwaitpid.c: Likewise.
973 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
975         * scripts/check-c++-types.sh: Add comments.
977 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
979         [BZ #19514]
980         * resolv/res_send.c: Fix typo in comment.
981         * sysdeps/i386/i386-mcount.S: Likewise.
982         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
983         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
984         * sysdeps/sparc/sparc-mcount.S: Likewise.
986 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
988         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
989         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
990         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
991         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
992         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
993         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
994         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
995         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
997 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
999         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
1001 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1003         [BZ #17252]
1004         * posix/unistd.h (getentropy): Declare.
1006 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1008         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
1009         Remove.
1010         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
1011         (cmd): Remove spoof, nospoof, spoofalert.
1012         (parse_line): Ignore spoof-related lines.
1013         (do_init): Do not process RESOLV_SPOOF_CHECK.
1015 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1017         [BZ #20964]
1018         sunrpc: Always obtain AF_INET addresses from NSS.
1019         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
1020         * sunrpc/rpc_gethostbyname.c: New file.
1021         * sunrpc/Makefile (routines): Add it.
1022         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
1023         * sunrpc/clnt_simp.c (callrpc): Likewise.
1024         * sunrpc/getrpcport.c (getrpcport): Likewise.
1026 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1028         * sunrpc/rpcinfo.c: Remove.
1029         * sunrpc/Makefile: Remove comments referring to rpcinfo.
1031 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1033         [BZ# 19387]
1034         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
1035         addition.
1036         * string/test-memchr.c (do_test): Remove alignment limitation.
1037         (test_main): Add test that trigger BZ# 19387.
1039 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1041         [BZ #7065]
1042         Enable stack protectore if requested by ./configure.
1043         * Makeconfig (+stack-protector): New variable.
1044         (+cflags): Use it.
1046 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1048         [BZ #7065]
1049         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
1050         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
1051         (__rt_sigreturn_stub): Use inhibit_stack_protector.
1052         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1053         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
1055 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1057         [BZ #7065]
1058         * login/Makefile (pt_chown-cflags): Remove.
1059         * nscd/Makefile (CFLAGS-nscd): Likewise.
1060         * resolv/Makefile (CFLAGS-libresolv): Likewise.
1062 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1064         [BZ #7065]
1065         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
1066         non-libc-linking testcase.
1068 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1069             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1070             Florian Weimer  <fweimer@redhat.com>
1072         [BZ #7065]
1073         PLT avoidance for __stack_chk_fail*.
1074         * debug/Makefile (CFLAGS-stack_chk_fail.c)
1075         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
1076         * debug/stack_chk_fail.c (__stack_chk_fail): Add
1077         __stack_chk_fail_local alias.
1078         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
1079         (__stack_chk_fail): Turn into hidden reference to
1080         __stack_chk_fail_local.
1082 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1084         [BZ #7065]
1085         * configure.ac: Add check for unsupported stack-protection level.
1086         (libc_cv_predef_stack_protector): Remove.
1087         (no_ssp): New variable.
1088         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
1089         (stack_protector): Set to -fno-stack-protector similarly.
1090         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
1091         (libc_cv_asm_set_directive): Likewise.
1092         (libc_cv_protected_data): Likewise.
1093         (libc_cv_z_combreloc): Likewise.
1094         (libc_cv_hashstyle): Likewise.
1095         (libc_cv_has_glob_dat): Likewise.
1096         (libc_cv_output_format): Likewise.
1097         (libc_cv_output_format): Likewise.
1098         (libc_cv_ehdr_start): Likewise.
1099         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
1100         (LIBC_LINKER_FEATURE): Likewise.
1101         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
1103 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1105         [BZ #7065]
1106         * elf/Makefile (dummy-stack-chk-fail): New.
1107         (librtld.map): Use it.
1109 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1111         [BZ #7065]
1112         Compile the dynamic linker without stack protection.
1113         * elf/Makefile (elide-stack-protector): New.
1114         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
1115         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
1116         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
1117         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
1119 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1121         [BZ #7065]
1122         * config.make.in (have-ssp, no-stack-protector): New.
1123         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
1124         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
1125         (CFLAGS-sbrk.op): Likewise.
1126         (CFLAGS-brk.o): Likewise.
1127         (CFLAGS-brk.op): Likewise.
1128         * string/Makefile (CFLAGS-memcpy.c): Likewise.
1129         (CFLAGS-wordcopy.c): Likewise.
1131 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1133         [BZ #7065]
1134         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
1135         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
1136         * include/libc-symbols.h (inhibit_stack_protector): New macro.
1137         (__ifunc_resolver): Use it.
1138         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
1139         inhibit_stack_protector.
1140         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
1141         * elf/ifuncmain7.c (foo_ifunc): Likewise.
1142         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
1143         (foo_protected_ifunc): Likewise.
1144         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
1145         (foo_protected_ifunc): Likewise.
1146         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1147         * sysdeps/nacl/nacl_interface_query.c
1148         (nacl_interface_query_ifunc): Likewise.
1149         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1150         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
1151         Likewise.
1152         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
1153         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
1154         the generated vDSO syscall resolver.
1156 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1157             Florian Weimer  <fweimer@redhat.com>
1159         [BZ #7065]
1160         Initialize the stack guard earlier when linking statically.
1161         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
1162         (__pthread_initialize_minimal): Declare.
1163         * csu/libc-start.c (__pthread_initialize_minimal): Remove
1164         declaration.
1165         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
1166         stack canary and apply_irel initialization up.  Call
1167         __pthread_initialize_minimal only if linked in.
1168         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
1169         constant values.
1170         (__pthread_initialize_minimal): Remove.
1171         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
1172         (__pthread_initialize_minimal_internal): Do not call
1173         __libc_setup_tls.
1175 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1177         [BZ #7065]
1178         * configure.ac (libc_cv_ssp): Move up.
1179         (libc_cv_ssp_strong): Likewise.
1180         (libc_cv_ssp_all): New.
1181         (stack_protector): Augment, adding -fstack-protector-all.
1182         (no_stack_protector): New.
1183         (STACK_PROTECTOR_LEVEL): New.
1184         (AC_ARG_ENABLE(stack-protector)): New configure flag.
1185         * manual/install.texi (--enable-stack-protector): Document it.
1186         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
1188 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
1190         * README.pretty-printers: Must specify CPPFLAGS-* also.
1191         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
1192         (CPPFLAGS-test-mutex-printers.c): Define.
1193         (CPPFLAGS-test-condattr-printers.c): Define.
1194         (CPPFLAGS-test-cond-printers.c): Define.
1195         (CPPFLAGS-test-rwlockattr-printers.c): Define.
1196         (CPPFLAGS-test-rwlock-printers.c): Define.
1198         * nss/Makefile [ifeq (yes,$(have-thread-library))]
1199         (tests): Add tst-cancel-getpwuid_r.
1200         * nss/tst-cancel-getpwuid_r.c: New file.
1202         [BZ #11941]
1203         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
1204         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
1205         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
1206         tst-nodelete-dlclose.
1207         (modules-names): Add tst-nodelete-dlclose-dso and
1208         tst-nodelete-dlclose-plugin.
1209         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
1210         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
1211         ($(objpfx)tst-nodelete-dlclose): Define.
1212         ($(objpfx)tst-nodelete-dlclose.out): Define.
1214 2016-12-23  Florian Weimer  <fweimer@redhat.com>
1216         * scripts/test_printers_common.py: Log GDB output in case of
1217         Python detection failure.
1219 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1221         * configure.ac: Check for python3 or python.
1222         * configure: Regenerated.
1223         * config.make.in (PYTHON): New variable.
1224         * benchtests/Makefile: Don't define PYTHON.
1225         (bench): Define target only if PYTHON was defined.
1226         * Rules: Don't define PYTHON.
1227         Define pretty printer targets only if PYTHON was defined.
1228         (tests-printers): Add to tests-unsupported if PYTHON is not
1229         found.
1230         (python-flags, python-invoke): Remove.
1231         (tests-printers-out): Use PYTHON instead of python-invoke.
1233 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
1235         [BZ #20978]
1236         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1237         Compare name == NULL, not name != NULL.
1239         * manual/texinfo.tex: Update to version 2016-09-18.18 with
1240         trailing whitespace removed.
1241         * scripts/config.guess: Update to version 2016-10-02.
1242         * scripts/config.sub: Update to version 2016-11-19.
1243         * scripts/install-sh: Update to version 2016-01-11.22.
1244         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
1245         * scripts/move-if-change: Update to version 2016-01-11 22:04.
1247 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
1249         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
1250         (do_one_test) Restore original string so iteration works.
1251         * string/string-inlines.c (do_test): Create better input strings.
1252         (test_main) Reduce number of testruns.
1253         * string/string-inlines.c (__old_strsep_1c): New function.
1254         (__old_strsep_2c): Likewise.
1255         (__old_strsep_3c): Likewise.
1256         * string/strsep.c (__strsep): Remove case of small delim string.
1257         Call strcspn directly rather than strpbrk.
1258         * string/bits/string2.h (__strsep): Remove define.
1259         (__strsep_1c): Remove.
1260         (__strsep_2c): Remove.
1261         (__strsep_3c): Remove.
1262         (strsep): Remove.
1263         * sysdeps/unix/sysv/linux/internal_statvfs.c
1264         (__statvfs_getflags): Rename to __strsep.
1266 2016-12-21  Florian Weimer  <fweimer@redhat.com>
1268         * csu/libc-tls.c (_dl_tls_setup): Remove.
1269         * elf/dl-tls.c (_dl_tls_setup): Likewise.
1270         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
1271         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
1273 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
1275         [BZ #7065]
1276         * sysdeps/x86_64/Makefile [$(subdir) = elf]
1277         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
1279 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
1280             Florian Weimer  <fweimer@redhat.com>
1282         [BZ #7065]
1283         * csu/Makefile (tests): Empty assignment and document it.
1284         (tests-static): Remove.
1285         * csu/tst-empty.c: Move to...
1286         * misc/tst-empty.c: ... here.  Switch to new test driver.
1287         * csu/tst-atomic.c: Move to...
1288         * misc/tst-atomic.c: ... here.  Switch to new test driver.
1289         * csu/tst-atomic-long.c: Move to...
1290         * misc/tst-atomic-long.c: ... here.
1291         * misc/Makefile (tests): Add tst-empty, tst-atomic,
1292         tst-atomic-long.
1293         (tests-static): Add tst-empty.
1295 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
1297         * manual/nss.texi: Change incorrect @vtable to @table.
1298         * manual/arith.texi: Convert @tables of variables to @vtables
1299         and remove unnecessary indexing.
1300         * manual/filesys.texi: Likewise.
1301         * manual/llio.texi: Likewise.
1302         * manual/memory.texi: Likewise.
1303         * manual/process.texi: Likewise.
1304         * manual/resource.texi: Likewise.
1305         * manual/search.texi: Likewise.
1306         * manual/signal.texi: Likewise.
1307         * manual/socket.texi: Likewise.
1308         * manual/stdio.texi: Likewise.
1309         * manual/sysinfo.texi: Likewise.
1310         * manual/syslog.texi: Likewise.
1311         * manual/terminal.texi: Likewise.
1312         * manual/time.texi: Likewise.
1313         * manual/users.texi: Likewise.
1315 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
1317         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1318         (roundeven): New declaration.
1319         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
1320         macro.
1321         * math/Versions (roundeven): New libm symbol at version
1322         GLIBC_2.25.
1323         (roundevenf): Likewise.
1324         (roundevenl): Likewise.
1325         * math/Makefile (libm-calls): Add s_roundevenF.
1326         * math/libm-test.inc (roundeven_test_data): New array.
1327         (roundeven_test): New function.
1328         (main): Call roundeven_test.
1329         * math/test-tgmath.c (NCALLS): Increase to 134.
1330         (F(compile_test)): Call roundeven.
1331         (F(roundeven)): New function.
1332         * manual/arith.texi (Rounding Functions): Document roundeven,
1333         roundevenf and roundevenl.
1334         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
1335         * include/math.h (roundeven): Use libm_hidden_proto.
1336         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
1337         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
1338         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
1339         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
1340         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
1341         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
1342         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1343         roundeven.
1344         (CFLAGS-nldbl-roundeven.c): New variable.
1345         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
1346         * sysdeps/nacl/libm.abilist: Update.
1347         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1348         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1349         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1350         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1351         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1352         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1353         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1354         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1355         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1356         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1357         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1358         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1360         Likewise.
1361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1362         Likewise.
1363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1364         Likewise.
1365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1366         Likewise.
1367         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1368         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1369         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1370         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1371         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1373         Likewise.
1374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1375         Likewise.
1376         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1377         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1378         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1380 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
1382         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
1383         preprocessor indentation inside #if.
1385 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1387         * math/libm-test.inc (fmt_ftostr): New function.
1388         (print_float, check_float_internal): Replace some uses of
1389         FTOSTR with uses of fmt_ftostr.
1390         (print_max_error, print_complex_max_error, print_function_ulps)
1391         (print_complex_function_ulps): Remove uses of the macros
1392         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
1393         * math/test-double.h (FTOSTR): Define to strfromd.
1394         (PRINTF_EXPR): Delete.
1395         (PRINTF_XEXPR): Likewise.
1396         (PRINTF_NEXPR): Likewise.
1397         * math/test-float.h (FTOSTR): Define to strfromf.
1398         (PRINTF_EXPR): Delete.
1399         (PRINTF_XEXPR): Likewise.
1400         (PRINTF_NEXPR): Likewise.
1401         * math/test-ldouble.h (FTOSTR): Define to strfroml.
1402         (PRINTF_EXPR): Delete.
1403         (PRINTF_XEXPR): Likewise.
1404         (PRINTF_NEXPR): Likewise.
1406 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1408         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
1409         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
1410         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
1411         (__lll_lock_elision): Decrement adapt_count while unlocking
1412         instead of before locking.
1413         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
1414         (__lll_trylock_elision): Likewise.
1415         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
1416         (__lll_unlock_elision): Likewise.
1418 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1420         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
1421         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
1422         Use __libc_tbegin_retry macro.
1424 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1426         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
1427         Add -msoft-float.
1428         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
1429         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
1430         Use __libc_t* transaction macros instead of __builtin_t*.
1431         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1432         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1434 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1436         * sysdeps/unix/sysv/linux/s390/elision-lock.c
1437         (__lll_lock_elision): Use atomics to load / store adapt_count.
1438         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
1439         (__lll_trylock_elision): Likewise.
1441 2016-12-20  Florian Weimer  <fweimer@redhat.com>
1443         Do not require memset elimination in explicit_bzero test.
1444         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
1445         (enum test_expectation): Add NO_EXPECTATIONS.
1446         (subtests): NO_EXPECTATIONS for ordinary clear.
1447         (check_test_buffer): Handle NO_EXPECTATIONS.
1448         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
1450 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
1452         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1453         (fmaxmag): New declaration.
1454         (fminmag): Likewise.
1455         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
1456         macro.
1457         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
1458         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
1459         (fmaxmagf): Likewise.
1460         (fmaxmagl): Likewise.
1461         (fminmag): Likewise.
1462         (fminmagf): Likewise.
1463         (fminmagl): Likewise.
1464         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
1465         * math/s_fmaxmag_template.c: New file.
1466         * math/s_fminmag_template.c: Likewise.
1467         * math/libm-test.inc (fmaxmag_test_data): New array.
1468         (fmaxmag_test): New function.
1469         (fminmag_test_data): New array.
1470         (fminmag_test): New function.
1471         (main): Call fmaxmag_test and fminmag_test.
1472         * math/test-tgmath.c (NCALLS): Increase to 132.
1473         (F(compile_test)): Call fmaxmag and fminmag.
1474         (F(fminmag)): New function.
1475         (F(fmaxmag)): Likewise.
1476         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
1477         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
1478         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
1479         fminmag.
1480         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
1481         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
1482         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
1483         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
1484         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
1485         and fminmag.
1486         (CFLAGS-nldbl-fmaxmag.c): New variable.
1487         (CFLAGS-nldbl-fminmag.c): Likewise.
1488         * sysdeps/nacl/libm.abilist: Update.
1489         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1490         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1491         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1492         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1493         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1494         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1495         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1496         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1497         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1498         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1499         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1500         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1502         Likewise.
1503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1504         Likewise.
1505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1506         Likewise.
1507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1508         Likewise.
1509         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1510         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1511         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1512         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1513         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1515         Likewise.
1516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1517         Likewise.
1518         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1519         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1520         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1522 2016-12-19  Torvald Riegel  <triegel@redhat.com>
1524         [BZ #20973]
1525         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
1526         wake-up in robust mutexes.
1527         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1529 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1531         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
1532         (CFLAGS-bench-fmaxf.c): New rule.
1533         (CFLAGS-bench-fminf.c): Likewise.
1534         * benchtests/fmaxf-inputs: New file.
1535         * benchtests/fminf-inputs: Likewise.
1537         * benchtests/Makefile (bench-math): Add fmin and fmax.
1538         (CFLAGS-bench-fmax.c): New rule.
1539         (CFLAGS-bench-fmin.c): Likewise.
1540         * benchtests/fmax-inputs: New file.
1541         * benchtests/fmin-inputs: Likewise.
1543         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
1544         parenthesis.
1545         (CMDLINE_PROCESS): Define using function instead of macro.
1546         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
1547         of test-skeleton.
1548         * benchtests/bench-memchr.c: Likewise.
1549         * benchtests/bench-memcmp.c: Likewise.
1550         * benchtests/bench-memcpy-large.c: Likewise.
1551         * benchtests/bench-memcpy.c: Likewise.
1552         * benchtests/bench-memmem.c: Likewise.
1553         * benchtests/bench-memmove-large.c: Likewise.
1554         * benchtests/bench-memmove.c: Likewise.
1555         * benchtests/bench-memset-large.c: Likewise.
1556         * benchtests/bench-memset.c: Likewise.
1557         * benchtests/bench-rawmemchr.c: Likewise.
1558         * benchtests/bench-strcasecmp.c: Likewise.
1559         * benchtests/bench-strcasestr.c: Likewise.
1560         * benchtests/bench-strcat.c: Likewise.
1561         * benchtests/bench-strchr.c: Likewise.
1562         * benchtests/bench-strcmp.c: Likewise.
1563         * benchtests/bench-strcpy.c: Likewise.
1564         * benchtests/bench-strcpy_chk.c: Likewise.
1565         * benchtests/bench-strlen.c: Likewise.
1566         * benchtests/bench-strncasecmp.c: Likewise.
1567         * benchtests/bench-strncmp.c: Likewise.
1568         * benchtests/bench-strncpy.c: Likewise.
1569         * benchtests/bench-strnlen.c: Likewise.
1570         * benchtests/bench-strpbrk.c: Likewise.
1571         * benchtests/bench-strrchr.c: Likewise.
1572         * benchtests/bench-strsep.c: Likewise.
1573         * benchtests/bench-strspn.c: Likewise.
1574         * benchtests/bench-strstr.c: Likewise.
1575         * benchtests/bench-strtok.c: Likewise.
1577 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1579         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
1580         stepping identification.
1581         (init_cpu_features): Add handle of Haswell.
1583 2016-11-25  Jim Meyering  <meyering@fb.com>
1585         [BZ #20386]
1586         Let gcc detect assert(a = 1) errors.
1587         * assert/assert.h (assert): Rewrite, retaining the old definintion
1588         when required, but otherwise putting the expression as-is in an "if"
1589         expression (hence, with no added parentheses) within a statement
1590         expression.
1592 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1594         * benchtests/Makefile (binaries-benchset): Depend on libsupport
1595         DSO.
1597 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
1599         * Rules (python-flags, python-invoke): New.
1600         ($(test-printers-out)): Use $(python-flags).
1602 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
1604         * manual/arith.texi (Math Error Reporting): Document that sNaN
1605         arguments are not considered domain errors.
1607 2016-12-16  Zack Weinberg <zackw@panix.com>
1608             Florian Weimer <fweimer@redhat.com>
1609             Nick Mathewson <nickm@torproject.org>
1611         * string/explicit_bzero.c: New routine.
1612         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
1613         * string/Makefile (routines, strop-tests, tests): Add them.
1614         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
1615         * string/string.h [__USE_MISC]: Declare explicit_bzero.
1617         * debug/explicit_bzero_chk.c: New routine.
1618         * debug/Makefile (routines): Add it.
1619         * debug/tst-chk1.c: Test fortification of explicit_bzero.
1620         * string/bits/string3.h: Fortify explicit_bzero.
1622         * manual/string.texi: Document explicit_bzero.
1623         * NEWS: Mention addition of explicit_bzero.
1625         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
1626         data before returning, using explicit_bzero.
1627         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
1628         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1629         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1631         * include/string.h: Redirect internal uses of explicit_bzero
1632         to __explicit_bzero_chk[_internal].
1633         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
1634         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
1635         * sysdeps/arm/nacl/libc.abilist
1636         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
1637         * sysdeps/unix/sysv/linux/alpha/libc.abilist
1638         * sysdeps/unix/sysv/linux/arm/libc.abilist
1639         * sysdeps/unix/sysv/linux/hppa/libc.abilist
1640         * sysdeps/unix/sysv/linux/i386/libc.abilist
1641         * sysdeps/unix/sysv/linux/ia64/libc.abilist
1642         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1643         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
1644         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
1645         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1646         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1647         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1648         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1649         * sysdeps/unix/sysv/linux/nios2/libc.abilist
1650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1654         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
1655         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
1656         * sysdeps/unix/sysv/linux/sh/libc.abilist
1657         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1658         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1660         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1661         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
1662         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
1663         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
1664         Add entries for explicit_bzero and __explicit_bzero_chk.
1666 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
1668         * math/fenv.h
1669         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
1670         (FE_SNANS_ALWAYS_SIGNAL): New macro.
1671         * math/test-fe-snans-always-signal.c: New file.
1672         * math/Makefile (tests): Add test-fe-snans-always-signal.
1673         (CFLAGS-test-fe-snans-always-signal.c): New variable.
1674         * manual/arith.texi (Infinity and NaN): Document
1675         FE_SNANS_ALWAYS_SIGNAL.
1677 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1679         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
1680         bracket.
1682 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
1684         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
1685         before calling execv.
1687 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1689         [BZ# 20971]
1690         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
1691         overflow in pointer addition.
1692         * string/test-memchr.c (do_test): Add an argument to pass as
1693         the size on memchr.
1694         (test_main): Add check for SIZE_MAX.
1696 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1698         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
1699         (libm-calls): Add w_scalblnF.
1700         * math/w_scalbln.c: Remove.
1701         * math/w_scalblnf.c: Likewise.
1702         * math/w_scalblnl.c: Likewise.
1703         * math/w_scalbln_template.c: New file with type-generic
1704         implementation based on math/w_scalbln.c.
1705         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
1706         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
1708 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
1710         [BZ #20947]
1711         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
1712         either is a signaling NaN.
1713         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
1714         follow fmaxl more closely.
1715         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
1716         when either is a signaling NaN.
1717         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
1718         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
1719         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
1720         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
1721         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
1722         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
1723         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
1724         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
1725         (fmin_test_data): Likewise.
1727 2016-12-15  Andreas Schwab  <schwab@suse.de>
1729         * support/support_test_main.c (support_test_main): Don't shadow
1730         file-local variable test_pid.
1732 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
1734         [BZ #20947]
1735         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
1736         either is a signaling NaN.
1737         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
1739 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
1741         [BZ #20947]
1742         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
1743         when either is a signaling NaN.
1744         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
1746         * bits/long-double.h: New file.
1747         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
1748         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
1749         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
1750         * sysdeps/mips/bits/long-double.h: Likewise.
1751         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
1752         * math/Makefile (headers): Add bits/long-double.h.
1753         * misc/sys/cdefs.h: Include <bits/long-double.h>.
1754         * stdlib/strtold.c: Include <bits/long-double.h> instead of
1755         <bits/wordsize.h>.
1756         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
1757         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
1758         * math/math.h: Do not include <bits/mathdef.h>.
1759         * sysdeps/aarch64/bits/mathdef.h: Remove file.
1760         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
1761         inclusion.
1762         * sysdeps/ia64/bits/mathdef.h: Remove file.
1763         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
1764         * sysdeps/mips/bits/mathdef.h: Likewise.
1765         * sysdeps/powerpc/bits/mathdef.h: Likewise.
1766         * sysdeps/s390/bits/mathdef.h: Likewise.
1767         * sysdeps/sparc/bits/mathdef.h: Likewise.
1768         * sysdeps/x86/bits/mathdef.h: Likewise.
1769         * sysdeps/s390/s390-32/bits/wordsize.h
1770         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
1771         conditional code.
1772         * sysdeps/s390/s390-64/bits/wordsize.h
1773         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1774         Likewise.
1775         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
1776         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1777         Likewise.
1778         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
1779         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1780         Likewise.
1781         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
1782         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1783         Likewise.
1785         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
1786         <linux/falloc.h>.
1787         (FALLOC_FL_KEEP_SIZE): Remove.
1788         (FALLOC_FL_PUNCH_HOLE): Likewise.
1789         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
1790         (FALLOC_FL_ZERO_RANGE): Likewise.
1792 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1794         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
1796 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1798         * sysdeps/unix/sysv/linux/renameat.c: New file.
1799         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
1801         * sysdeps/unix/sysv/linux/rename.c: New file.
1802         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
1804 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
1806         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
1807         * string/strtok.c (strtok): Change to tailcall __strtok_r.
1808         * string/strtok_r.c (__strtok_r): Optimize for performance.
1809         * string/string-inlines.c (__old_strtok_r_1c): New function.
1810         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
1812 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1814         * math/Makefile (gen-libm-calls): Add w_log1pF.
1815         (libm-calls): Remove w_log1pF.
1816         * math/w_log1p.c: Remove.
1817         * math/w_log1pf.c: Likewise.
1818         * math/w_log1pl.c: Likewise.
1819         * math/w_log1p_template.c: New file with type-generic
1820         implementation based on math/w_log1p.c.
1821         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
1822         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
1824 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
1826         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
1828 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
1830         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1831         kernel version to 4.9.
1833 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
1835         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
1836         ($(inst_libdir)/libm.a): Fix rule to create the target only.
1838 2016-12-13  Andreas Schwab  <schwab@suse.de>
1840         * sysdeps/powerpc/dl-procinfo.c: Don't define
1841         _dl_powerpc_platforms.
1842         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
1843         constants instead of referencing _dl_powerpc_platforms.
1844         (_dl_platform_string): Remove.
1846 2016-12-13  Florian Weimer  <fweimer@redhat.com>
1848         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
1850 2016-12-13  Florian Weimer  <fweimer@redhat.com>
1852         * Rules (binaries-shared-tests, binaries-pie-tests)
1853         (binaries-static-tests): Link with $(link-extra-libs-tests).
1854         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
1855         Remove $(link-extra-libs-tests).
1857 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1859         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1860         (sysdep_routines): Add strncmp_power9.
1861         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1862         (strncmp): Add __strncmp_power9 to list of strncmp functions.
1863         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
1864         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
1865         (strncmp): Add __strncmp_power9 to ifunc list.
1866         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
1868 2016-12-12  Florian Weimer  <fweimer@redhat.com>
1870         [BZ #17252]
1871         Add getentropy, getrandom.
1872         * stdlib/sys/random.h: New file.
1873         (headers): Add it.
1874         * stdlib/Makefile (routines): Add getentropy, getrandom.
1875         (tests): Add tst-getrandom.
1876         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
1877         * stdlib/getentropy.c: New file.
1878         * stdlib/getrandom.c: Likewise.
1879         * stdlib/tst-getrandom.c: Likewise.
1880         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
1881         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
1882         * manual/crypt.texi (Unpredictable Bytes): New section.
1883         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
1884         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
1885         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
1886         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1887         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1888         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1889         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1890         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1891         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1892         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1893         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1894         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1895         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1896         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1897         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1898         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1900         Likewise.
1901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1902         Likewise.
1903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1905         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1906         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1907         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1908         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1909         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1912         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1913         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1914         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1916 2016-12-10  Florian Weimer  <fweimer@redhat.com>
1918         [BZ #20956]
1919         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
1920         as additional compiler barriers.
1921         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
1922         (fn2, do_test): Declare with external linkage.
1923         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
1924         (do_test): Declare with external linkage.
1925         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
1926         (do_test): Declare with external linkage.
1927         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
1928         (do_test): Declare with external linkage.
1930 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
1932         * support/support_test_main.c (support_test_main): Use correct
1933         timeout.
1935 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
1936             Florian Weimer  <fweimer@redhat.com>
1938         [BZ #16421]
1939         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
1940         and __u6_addr32 members.
1941         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
1942         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
1943         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
1944         Use __u6_addr32.
1945         * inet/tst-checks.c: Use <support/test-driver.c>
1946         * inet/tst-checks-posix.c: New file.
1947         * inet/Makefile (tests): Add it.
1948         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
1950 2016-12-09  Florian Weimer  <fweimer@redhat.com>
1952         New subdirectory support for build and test infrastructure.
1953         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
1954         setting install-lib.
1955         * Makeconfig (link-extra-libs-tests): Define.
1956         (+link-pie-tests, +link-static-tests, +link-tests): Use
1957         link-extra-libs-tests.
1958         (rpath-dirs, all-subdirs): Add support.
1959         (built-modules): Add libsupport.
1960         (libsupport): Define.
1961         * support: New directory.
1962         * support/Makefile: New file.
1963         * support/check.c: Likewise.
1964         * support/check.h: Likewise.
1965         * support/delayed_exit.c: Likewise.
1966         * support/ignore_stderr.c: Likewise.
1967         * support/oom_error.c: Likewise.
1968         * support/set_fortify_handler.c: Likewise.
1969         * support/support.h: Likewise.
1970         * support/temp_file-internal.h: Likewise.
1971         * support/temp_file.c: Likewise.
1972         * support/test-driver.c: Likewise.
1973         * support/test-driver.h: Likewise.
1974         * support/test_main.c: Likewise.
1975         * support/write_message.c: Likewise.
1976         * support/xasprintf.c: Likewise.
1977         * support/xcalloc.c: Likewise.
1978         * support/xmalloc.c: Likewise.
1979         * support/xpthread_barrier_destroy.c: Likewise.
1980         * support/xpthread_barrier_init.c: Likewise.
1981         * support/xpthread_barrier_wait.c: Likewise.
1982         * support/xpthread_cancel.c: Likewise.
1983         * support/xpthread_check_return.c: Likewise.
1984         * support/xpthread_cond_wait.c: Likewise.
1985         * support/xpthread_create.c: Likewise.
1986         * support/xpthread_detach.c: Likewise.
1987         * support/xpthread_join.c: Likewise.
1988         * support/xpthread_mutex_lock.c: Likewise.
1989         * support/xpthread_mutex_unlock.c: Likewise.
1990         * support/xpthread_sigmask.c: Likewise.
1991         * support/xpthread_spin_lock.c: Likewise.
1992         * support/xpthread_spin_unlock.c: Likewise.
1993         * support/xrealloc.c: Likewise.
1994         * support/xsignal.h: Likewise.
1995         * support/xthread.h: Likewise.
1996         * support_tempfile.h: Likewise.
1997         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
1998         (TEST_DATA_LIMIT): Remove unused macro.
1999         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
2000         <support/check.h>.
2001         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
2002         (ignore_stderr, set_fortify_handler): Remove.  Now in
2003         <support/support.h>.
2004         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
2005         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
2006         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
2007         (xpthread_join): Remove.  Now in <support/xthread.h>.
2008         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
2009         Introduce legacy wrappers.
2010         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
2011         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
2012         (write_message): Remove.
2013         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
2014         test-skeleton.c.
2015         * io/test-open-tmpfile: Likewise.
2016         * io/tst-posix_fallocate-common.c: Likewise.
2017         * libio/tst-fseek.c: Likewise.
2018         * malloc/tst-malloc-backtrace.c: Likewise.
2019         * malloc/tst-malloc-fork-deadlock.c: Likewise.
2020         * malloc/tst-malloc-thread-exit.c: Likewise.
2021         * nptl/tst-cancel7.c: Likewise.
2022         * nptl/tst-cleanup0.c: Likewise.
2023         * posix/tst-posix_fadvise-common.c: Likewise.
2024         * rt/tst-shm.c: Likewise.
2025         * time/bug-getdate1.c: Likewise.
2026         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2027         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
2028         * elf/Makefile (tst-piemod1.so): Link against libsupport.
2030 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
2032         * Rules [$(run-built-tests) != no] (tests-expected): Add
2033         $(tests-printers).
2034         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
2036 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
2038         [BZ #20539]
2039         * math/Makefile (install-lib-ldscripts): Add libm.a.
2040         (install_subdir): Remove.
2041         (install-others): Add.
2042         ($(inst_libdir)/libm.a): Add rule for installation as
2043         linker script.
2044         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
2046 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
2048         * INSTALL: Regenerated.
2049         * Makeconfig: Add comments and whitespace to make the control flow
2050         clearer.
2051         (+link-printers-tests, +link-pie-printers-tests,
2052         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
2053         built-rtld-LDFLAGS, link-libc-rpath,
2054         link-libc-tests-after-rpath-link,
2055         link-libc-printers-tests): New.
2056         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
2057         link-libc-tests): Use the new variables as required.
2058         * Makerules ($(py-const)): New rule.
2059         generated: Add $(py-const).
2060         * README.pretty-printers: New file.
2061         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
2062         (others): Depend on $(py-const).
2063         (tests): Depend on $(tests-printers-programs) or
2064         $(tests-printers-out),
2065         as required.  Pass $(tests-printers) to merge-test-results.sh.
2066         * manual/install.texi: Add requirements for testing the pretty
2067         printers.
2068         * nptl/Makefile (gen-py-const-headers, pretty-printers,
2069         tests-printers, CFLAGS-test-mutexattr-printers.c
2070         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
2071         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
2072         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
2073         * nptl/nptl-printers.py: New file.
2074         * nptl/nptl_lock_constants.pysym: Likewise.
2075         * nptl/test-cond-printers.c: Likewise.
2076         * nptl/test-cond-printers.py: Likewise.
2077         * nptl/test-condattr-printers.c: Likewise.
2078         * nptl/test-condattr-printers.py: Likewise.
2079         * nptl/test-mutex-printers.c: Likewise.
2080         * nptl/test-mutex-printers.py: Likewise.
2081         * nptl/test-mutexattr-printers.c: Likewise.
2082         * nptl/test-mutexattr-printers.py: Likewise.
2083         * nptl/test-rwlock-printers.c: Likewise.
2084         * nptl/test-rwlock-printers.py: Likewise.
2085         * nptl/test-rwlockattr-printers.c: Likewise.
2086         * nptl/test-rwlockattr-printers.py: Likewise.
2087         * scripts/gen-py-const.awk: Likewise.
2088         * scripts/test_printers_common.py: Likewise.
2089         * scripts/test_printers_exceptions.py: Likewise.
2091 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
2093         * scripts/build-many-glibcs.py (Context.__init__): Take strip
2094         argument.
2095         (Glibc.build_glibc): Strip installed shared libraries if
2096         requested.
2097         (get_parser): Add --strip option.
2098         (main): Update Context call.
2100 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2101             Dominik Vogt  <vogt@linux.vnet.ibm.com>
2103         [BZ #20847]
2104         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
2105         array bounds for else branch.
2106         (__execvpe): Style fixes.
2107         * posix/tst-vfork3.c (run_script): New function.
2108         (create_script): Likewise.
2109         (do_test): Use run_script internal function.
2110         (do_prepare): Use create_script internal function.
2112 2016-12-07  Andreas Schwab  <schwab@suse.de>
2114         * sysdeps/unix/sysv/linux/x86/elision-conf.h
2115         (__elision_available): Don't declare.
2116         * sysdeps/unix/sysv/linux/x86/elision-conf.c
2117         (__elision_available): Don't define.
2118         (elision_init): Don't set __elision_available.
2120 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
2122         [BZ #20940]
2123         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
2124         return Inf for arguments Inf and sNaN.
2125         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
2126         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2127         Likewise.
2128         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2129         Likewise.
2130         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
2131         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
2132         for arguments Inf and sNaN.  When returning a NaN, compute it by
2133         arithmetic on the arguments.
2134         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
2135         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
2136         arguments.
2138 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
2140         [BZ #20916]
2141         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
2142         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
2143         to compute result.
2144         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2145         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
2147 2016-12-05  Torvald Riegel  <triegel@redhat.com>
2149         * include/atomic.h (__atomic_check_size_ls): New.
2150         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
2151         atomic_store_release): Use it.
2152         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
2153         (elision_adapt, ELIDE_LOCK): Use atomics.
2154         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
2155         atomics and improve code comments.
2156         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
2157         (__lll_trylock_elision): Likewise.
2159 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2161         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
2162         programs.
2164 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
2166         [BZ #20916]
2167         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
2168         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
2169         arguments to compute result.
2170         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
2171         1 for arguments (sNaN, 0) or (1, sNaN).
2172         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
2173         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2175         [BZ #20919]
2176         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
2177         NaN first argument when raised to power 0.
2178         * math/w_pow.c (__pow): Do not check for NaN or zero results from
2179         raising to power zero.
2180         * math/w_powf.c (__powf): Likewise.
2181         * math/w_powl.c (__powl): Likewise.
2182         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
2183         pow (0, 0) or pow (NaN, 0).
2185 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
2187         [BZ #20918]
2188         * configure.ac: Test for static NSS cryptographic libraries and set
2189         libc_cv_static_nss_crypt.
2190         * configure: Regenerate.
2191         * config.make.in (static-nss-crypt): Define.
2192         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
2193         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
2194         (CFLAGS-tst-linkall-static.c): Define.
2195         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
2196         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
2197         ($(objpfx)tst-linkall-static): Define.
2198         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
2199         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
2201 2016-12-02  Florian Weimer  <fweimer@redhat.com>
2203         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
2204         (one-hundred, tst-tls-many-dynamic-modules): Define.
2205         (modules-names): Add $(tst-tls-many-dynamic-modules).
2206         (tst-tls-manydynamic%mod.os): Build with special preprocessor
2207         macros.
2208         (tst-tls-manydynamic): Link against libdl, libpthread.
2209         (tst-tls-manydynamic.out): The test needs the test modules at run
2210         time.
2211         * elf/tst-tls-manydynamic.c: New file.
2212         * elf/tst-tls-manydynamic.h: Likewise.
2213         * elf/tst-tls-manydynamicmod.c: Likewise.
2215 2016-12-02  Florian Weimer  <fweimer@redhat.com>
2217         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
2218         (TLS_DTV_UNALLOCATED): Add.
2219         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
2220         offsets.
2222 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
2224         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2226 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
2228         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
2229         Add -fno-optimize-sibling-calls.
2231 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
2233         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
2234         New declaration.
2235         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
2236         macro.
2237         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
2238         New macro.
2239         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
2240         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
2241         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
2242         (llogbf): Likewise.
2243         (llogbl): Likewise.
2244         * math/Makefile (gen-libm-calls): Add w_llogbF.
2245         (tests): Add test-fp-llogb-constants.
2246         * math/w_llogb_template.c: New file.  Based on
2247         math/w_ilogb_template.c.
2248         * math/libm-test.inc (llogb_test_data): New array.
2249         (llogb_test): New function.
2250         (main): Call llogb_test.
2251         * math/test-fp-llogb-constants.c: New file.  Based on
2252         math/test-fp-ilogb-constants.c.
2253         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
2254         (do_test): Call check_return_llogb.
2255         * math/test-tgmath.c (NCALLS): Increase to 126.
2256         (F(compile_test)): Call llogb.
2257         (F(llogb)): New function.
2258         * manual/math.texi (Exponents and Logarithms): Document llogb,
2259         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
2260         * manual/libm-err-tab.pl (@all_functions): Add llogb.
2261         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
2262         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
2263         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
2264         (CFLAGS-nldbl-llogb.c): New variable.
2265         * sysdeps/nacl/libm.abilist: Update.
2266         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2267         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2268         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2269         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2270         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2271         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2272         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2273         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2274         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2275         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2276         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2277         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2279         Likewise.
2280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2281         Likewise.
2282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2283         Likewise.
2284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2285         Likewise.
2286         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2287         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2288         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2289         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2290         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2292         Likewise.
2293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2294         Likewise.
2295         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2296         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2297         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2299 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
2301         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
2302         _Float128 instead of long double.
2303         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
2305         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
2306         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
2307         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
2308         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
2309         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
2310         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
2311         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
2312         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
2313         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
2314         Likewise.
2316 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2318         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
2319         Remove redirection to __strrchr_ppc.
2321 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2323         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2324         (sysdep_routines): Add strcmp_power9.
2325         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2326         (strcmp): Add __strcmp_power9 to list of strcmp functions.
2327         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
2328         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
2329         (strcmp): Add __strcmp_power9 to ifunc list.
2330         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
2332 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
2334         * bits/fp-logb.h: New file.
2335         * sysdeps/ia64/bits/fp-logb.h: Likewise.
2336         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
2337         * sysdeps/x86/bits/fp-logb.h: Likewise.
2338         * math/Makefile (headers): Add bits/fp-logb.h.
2339         * math/math.h: Include <bits/fp-logb.h>.
2340         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
2341         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
2342         * bits/mathdef.h (FP_ILOGB0): Remove.
2343         (FP_ILOGBNAN): Likewise.
2344         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
2345         (FP_ILOGBNAN): Likewise.
2346         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
2347         (FP_ILOGBNAN): Likewise.
2348         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
2349         (FP_ILOGBNAN): Likewise.
2350         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
2351         (FP_ILOGBNAN): Likewise.
2352         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
2353         (FP_ILOGBNAN): Likewise.
2354         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
2355         (FP_ILOGBNAN): Likewise.
2356         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
2357         (FP_ILOGBNAN): Likewise.
2358         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
2359         (FP_ILOGBNAN): Likewise.
2360         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
2361         (FP_ILOGBNAN): Likewise.
2363         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
2364         time module.
2365         (Context.__init__): Initialize self.logsdir_old.
2366         (Context.run_builds): Handle bot action.
2367         (Context.bot_cycle): Copy logs directory before running builds.
2368         (Context.bot_run_self): Take argument for whether to check
2369         subprocess result.  Flush stdout before running subprocess.
2370         (Context.bot): New function.
2371         (get_parser): Allow bot action.
2373 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
2375         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
2376         Import email.mime.text, email.utils and smtplib modules.
2377         (Context.__init__): Initialize self.bot_config_json.
2378         (Context.run_builds): Handle bot-cycle action.
2379         (Context.load_bot_config_json): New function.
2380         (Context.part_build_old): Likewise.
2381         (Context.bot_cycle): Likewise.
2382         (Context.bot_build_mail): Likewise.
2383         (Context.bot_run_self): Likewise.
2384         (get_parser): Allow bot-cycle action.
2386 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2388         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
2389         Remove redirection to __stpcpy_ppc.
2391 2016-11-30  Florian Weimer  <fweimer@redhat.com>
2393         Remove __libc_memalign from ld.so because it is unused.
2394         * elf/dl-minimal.c: Update comment on the malloc implementation.
2395         (malloc): Renamed from __libc_memalign, replacing the original
2396         malloc implementation.  Replace the align parameter with
2397         MALLOC_ALIGNMENT.
2398         * elf/Versions (ld): Update comment and remove __libc_memalign.
2399         * sysdeps/nacl/ld.abilist: Likewise.
2400         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
2401         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
2402         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
2403         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
2404         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
2405         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
2406         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
2407         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
2408         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
2409         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
2410         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
2411         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
2412         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
2413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
2414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2416         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
2417         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
2418         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
2419         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
2420         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
2421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
2422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
2423         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
2424         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
2425         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
2426         * sysdeps/generic/localplt.data (ld.so): Likewise.
2427         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
2428         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
2429         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
2430         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
2431         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
2432         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
2433         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
2434         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
2435         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
2436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
2437         (ld.so): Likewise.
2438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2439         (ld.so): Likewise.
2440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
2441         Likewise.
2442         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
2443         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
2444         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
2445         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
2446         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
2448 2016-11-30  Florian Weimer  <fweimer@redhat.com>
2450         [BZ #16628]
2451         Implement _dl_catch_error, _dl_signal_error in libc.so.
2452         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
2453         (catch_hook): Define as thread-local or regular variable,
2454         depending on DL_ERROR_BOOTSTRAP.
2455         (CATCH_HOOK): Remove.
2456         (dl_signal_error, _dl_catch_error): Use
2457         catch_hook.  Add hidden definition for libc.
2458         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
2459         for DL_ERROR_BOOTSTRAP only.
2460         * elf/dl-error.c: New file.
2461         * elf/dl-error-minimal.c: Likewise.
2462         * elf/tst-latepthread.c: Likewise.
2463         * elf/tst-latepthreadmod.c: Likewise.
2464         * elf/Makefile (routines): Add dl-error.
2465         (dl-routines): Remove dl-error.
2466         (rtld-routines): Add dl-error-minimal.
2467         [build-shared] (tests): Add tst-latepthread.
2468         (module-names): Add tst-latepthreadmod.
2469         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
2470         symbol.
2471         (tst-latepthreadmod.so): Link against libpthread.
2472         (tst-latepthread): Link against libdbl.
2473         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
2474         _dl_catch_error.
2475         [ld] (GLIBC_PRIVATE): Likewise.
2476         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
2477         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
2478         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
2479         directly.
2480         * elf/dl-tsd.c: Remove file.
2481         * elf/rtld.c (_rtld_global_ro): Remove initializers for
2482         _dl_catch_error, _dl_signal_error.
2483         (_dl_initial_error_catch_tsd): Remove definition.
2484         (do_preload): Remove initialization of dl_error_catch_tsd.
2485         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
2486         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
2487         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
2488         * dlfcn/dlopen.c (dlopen_doit): Likewise.
2489         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
2490         set dl_error_catch_tsd.
2491         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
2492         _dl_error_catch_tsd member.
2493         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
2494         members.
2495         (_dl_initial_error_catch_tsd): Remove declaration.
2496         (_dl_dprintf): Provide definition for use outside of ld.so.
2497         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
2498         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
2499         prototype for libc.
2500         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
2501         _dl_catch_error.
2502         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
2503         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
2504         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
2505         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
2506         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
2507         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
2508         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
2509         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
2510         Likewise.
2511         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
2512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
2513         (ld.so): Likewise.
2514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2515         (ld.so): Likewise.
2516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
2517         Likewise.
2518         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
2519         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
2520         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
2521         Likewise.
2522         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
2523         Likewise.
2524         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
2526 2016-11-30  Florian Weimer  <fweimer@redhat.com>
2528         [BZ #4099]
2529         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
2530         _IO_BUFSIZ (8192).
2532 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
2534         * PROJECTS: Remove file.
2536 2016-11-29  Florian Weimer  <fweimer@redhat.com>
2538         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
2540 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
2541             Steve Ellcey  <sellcey@caviumnetworks.com>
2543         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
2544         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
2545         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
2546         fxstatat.
2547         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
2548         lxstat.
2549         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
2550         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
2551         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
2552         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
2553         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
2554         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
2555         __xstat.
2557 2016-11-29  Florian Weimer  <fweimer@redhat.com>
2559         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
2560         Define.
2561         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
2562         definition.
2564 2016-11-29  Florian Weimer  <fweimer@redhat.com>
2566         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
2567         version and turn into strong alias.  Remove compat symbol.
2569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2570         (__longjmp): Remove.
2572 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
2574         * bits/fp-fast.h: New file.
2575         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
2576         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
2577         * math/Makefile (headers): Add bits/fp-fast.h.
2578         * math/math.h: Include <bits/fp-fast.h>.
2579         * bits/mathdef.h (FP_FAST_FMA): Remove.
2580         (FP_FAST_FMAF): Likewise.
2581         (FP_FAST_FMAL): Likewise.
2582         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
2583         (FP_FAST_FMAF): Likewise.
2584         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
2585         (FP_FAST_FMAF): Likewise.
2586         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
2587         (FP_FAST_FMAF): Likewise.
2588         (FP_FAST_FMAL): Likewise.
2589         * sysdeps/arm/bits/mathdef.h: Remove file.
2590         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
2591         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2592         * sysdeps/tile/bits/mathdef.h: Likewise.
2594 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
2596         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
2597         * math/w_ilogb.c: Remove.
2598         * math/w_ilogbf.c: Likewise.
2599         * math/w_ilogbl.c: Likewise.
2600         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
2601         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
2602         * math/Makefile (gen-libm-calls): Add w_ilogbF.
2603         (libm-calls): Remove w_ilogbF.
2604         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
2605         (LDOUBLE_ilogbl_libm_version): New macro.
2607         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
2609         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
2610         [!__STRICT_ANSI__ && !__cplusplus].
2612 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
2614         [BZ #20750]
2615         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
2616         of PIC.
2618 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
2619             Yury Norov  <ynorov@caviumnetworks.com>
2620             Steve Ellcey  <sellcey@caviumnetworks.com>
2622         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
2623         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
2624         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
2625         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
2626         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
2627         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
2628         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
2629         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
2630         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
2631         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
2632         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
2633         to get correct reg name for ILP32.
2634         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
2635         (RELA_SIZE): New Macro.
2636         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
2637         to support ILP32.
2638         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
2639         cast for ILP32 mode.
2640         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
2641         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
2642         * sysdeps/aarch64/memset.S (__memset): Ditto.
2643         * sysdeps/aarch64/strchr.S (strchr): Ditto.
2644         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
2645         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
2646         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
2647         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
2648         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
2649         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
2650         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
2651         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
2652         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
2653         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
2654         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
2655         change PTR_MANGLE call to use register numbers instead of names.
2656         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
2657         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
2658         ILP32 mode, change PTR_MANGLE calls to use register numbers.
2659         * sysdeps/aarch64/start.S (_start): Ditto.
2660         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
2661         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
2662         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
2663         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
2664         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
2665         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
2666         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
2667         Make defined values dependent on __ILP32__.
2668         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
2669         (sem_t): Change __align type.
2670         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
2671         PTR_SIZE): New Macros.
2672         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
2673         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
2674         Set when in ILP32 mode.
2675         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
2676         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
2677         Set elf flags for ILP32.
2678         (add_system_dir): Set ILP32 library directories.
2679         * sysdeps/unix/sysv/linux/aarch64/init-first.c
2680         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
2681         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
2682         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
2683         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
2684         New Macros.
2685         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
2687 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
2689         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
2690         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
2691         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
2693 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
2695         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
2696         <asm/cachectl.h>.
2698 2016-11-27  Zack Weinberg  <zackw@panix.com>
2700         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
2701         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
2703 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2705         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
2706         error_t to fix usage in C++ programs.
2708 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
2710         * scripts/build-many-glibcs.py: Import datetime module.
2711         (Context.__init__): Load JSON build state.  Initialize list of
2712         status logs.
2713         (Context.run_builds): Update saved build state.
2714         (Context.add_makefile_cmdlist): Update list of status logs.
2715         (Context.load_build_state_json): New function.
2716         (Context.store_build_state_json): Likewise.
2717         (Context.clear_last_build_state): Likewise.
2718         (Context.update_build_state): Likewise.
2719         (CommandList.status_logs): Likewise.
2721 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
2723         * scripts/build-many-glibcs.py (Context.__init__): Save text of
2724         script being executed.
2725         (Context.get_script_text): New function.
2726         (Context.exec_self): Likewise.
2727         (Context.checkout): Re-exec script if changed by checkout process.
2729 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
2731         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2732         (setpayloadsig): New declaration.
2733         * math/Versions (setpayloadsig): New libm symbol at version
2734         GLIBC_2.25.
2735         (setpayloadsigf): Likewise.
2736         (setpayloadsigl): Likewise.
2737         * math/Makefile (libm-calls): Add s_setpayloadsigF.
2738         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
2739         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
2740         (setpayloadsig_test_data): New array.
2741         (setpayloadsig_test): New function.
2742         (main): Call setpayloadsig_test.
2743         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
2744         setpayloadsigf and setpayloadsigl.
2745         * manual/libm-err-tab.pl: Update comment on interfaces without
2746         ulps tabulated.
2747         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
2748         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
2749         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
2750         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
2751         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
2752         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
2753         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2754         setpayloadsig.
2755         (CFLAGS-nldbl-setpayloadsig.c): New variable.
2756         * sysdeps/nacl/libm.abilist: Update.
2757         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2758         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2759         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2760         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2761         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2762         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2763         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2764         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2765         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2766         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2767         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2768         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2770         Likewise.
2771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2772         Likewise.
2773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2774         Likewise.
2775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2776         Likewise.
2777         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2778         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2779         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2780         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2781         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2783         Likewise.
2784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2785         Likewise.
2786         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2787         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2788         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2790         * scripts/build-many-glibcs.py: Import json module.
2791         (Context.__init__): Take replace_sources argument.  Load
2792         versions.json.
2793         (Context.load_versions_json): New function.
2794         (Context.store_json): Likewise.
2795         (Context.store_versions_json): Likewise.
2796         (Context.set_component_version): Likewise.
2797         (Context.checkout): Update versions.json.  Check for and handle
2798         changes of version.  Prefer previously explicitly specified
2799         version to default version.
2800         (Context.checkout_vcs): Return a revision identifier.
2801         (Context.git_checkout): Likewise.
2802         (Context.gcc_checkout): Likewise.
2803         (get_parser): Add --replace-sources option.
2804         (main): Pass replace_sources argument to Context call.
2806 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2808         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
2809         * nptl/allocatestack.c (allocate_stack): Likewise.
2810         (__reclaim_stacks): Likewise.
2811         (setxid_signal_thread): Obtain pid through syscall.
2812         * nptl/nptl-init.c (sigcancel_handler): Likewise.
2813         (sighandle_setxid): Likewise.
2814         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
2815         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2816         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
2817         Likewise.
2818         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
2819         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
2820         comment.
2821         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
2822         * nptl/descr.h (struct pthread): Change comment about pid value.
2823         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
2824         pid assert.
2825         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
2826         Do not set pid value.
2827         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
2828         pid cache check.
2829         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
2830         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
2831         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
2832         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
2833         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
2834         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2835         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
2836         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
2837         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
2838         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
2839         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
2840         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2841         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
2842         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2843         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
2844         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
2845         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2846         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
2847         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
2848         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
2849         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
2850         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2851         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
2852         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
2853         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
2854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2856         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2857         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2858         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2859         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
2860         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2861         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
2862         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2863         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
2864         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2865         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
2866         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2867         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
2868         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
2869         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2870         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
2871         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
2872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2874         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2875         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2876         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2877         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2878         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2879         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
2880         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2881         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2882         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
2883         struct access.
2884         (clone_test): Remove function.
2885         (do_test): Rewrite to take in consideration pid is not cached anymore.
2887 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
2889         * bits/flt-eval-method.h: New file.
2890         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
2891         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
2892         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
2893         * math/Makefile (headers): Add bits/flt-eval-method.h.
2894         * math/math.h: Include <bits/flt-eval-method.h>.
2895         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
2896         [__USE_ISOC99] (double_t): Likewise.
2897         * bits/mathdef.h (float_t): Remove.
2898         (double_t): Likewise.
2899         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
2900         (double_t): Likewise.
2901         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
2902         (double_t): Likewise.
2903         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
2904         (double_t): Likewise.
2905         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
2906         (double_t): Likewise.
2907         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
2908         (double_t): Likewise.
2909         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
2910         (double_t): Likewise.
2911         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
2912         (double_t): Likewise.
2913         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
2914         (double_t): Likewise.
2915         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
2916         (double_t): Likewise.
2917         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
2918         (double_t): Likewise.
2919         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
2920         (double_t): Likewise.
2921         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
2922         (double_t): Likewise.
2923         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
2924         (double_t): Likewise.
2926 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
2928         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
2929         instead of PIC.
2931 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
2933         [BZ #20859]
2934         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
2935         (-0x7fffffff) instead of 0x80000001.
2936         * math/test-fp-ilogb-constants.c: New file.
2937         * math/Makefile (tests): Add test-fp-ilogb-constants.
2939 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
2941         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
2942         (_init): Use it in place of hardcoded R_MIPS_JALR.
2943         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
2944         (_init): Use it in place of hardcoded R_MIPS_JALR.
2945         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
2946         (_init): Use it in place of hardcoded R_MIPS_JALR.
2948 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
2950         [BZ #20787]
2951         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
2952         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
2953         (double_t): Do not define to double if [__x86_64__] when
2954         __FLT_EVAL_METHOD__ is nonzero.
2955         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
2956         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
2957         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2958         test-flt-eval-method-387 and test-flt-eval-method-sse.
2959         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
2960         variable.
2961         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
2963 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
2965         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
2966         use of -fno-isolate-erroneous-paths options for tilepro.
2968 2016-11-23  Florian Weimer  <fweimer@redhat.com>
2970         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
2971         structure initialization is no longer needed.
2973 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
2975         [BZ #20855]
2976         * bits/mathdef.h (float_t): Define to float.
2977         * math/test-flt-eval-method.c: New file.
2978         * math/Makefile (tests): Add test-flt-eval-method.
2979         (CFLAGS-test-flt-eval-method.c): New variable.
2981 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
2983         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
2984         and __fstatfs.  Make them aliases of __fstatfs64 if
2985         STATFS_IS_STATFS64 is set to non-zero.
2986         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
2987         and __statfs64.
2988         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
2989         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
2990         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
2991         for __statfs and statfs.
2992         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
2993         to 0.
2994         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
2995         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
2996         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
2997         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
2998         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
2999         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
3000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
3001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
3002         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
3003         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3004         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
3005         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
3007 2016-11-22  Andreas Schwab  <schwab@suse.de>
3009         * misc/mkstemp.c: Include <fcntl.h>.
3010         * misc/mkstemps.c: Likewise.
3011         * misc/mkostemp.c: Likewise.
3012         * misc/mkostemps.c: Likewise.
3014 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
3016         [BZ #20847]
3017         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
3018         array bounds.
3019         (__execvpe): Likewise.
3021 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
3023         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
3024         -fno-isolate-erroneous-paths options for tilepro.
3026 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
3028         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
3029         to 0 when in 32 bit mode.
3030         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
3031         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
3032         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
3033         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
3034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
3035         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3036         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
3037         XSTAT_IS_XSTAT64 test.
3038         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
3039         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
3040         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
3041         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
3042         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
3043         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
3044         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
3045         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
3046         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
3047         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
3048         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
3050 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
3052         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3053         (setpayload): New declaration.
3054         * math/Versions (setpayload): New libm symbol at version
3055         GLIBC_2.25.
3056         (setpayloadf): Likewise.
3057         (setpayloadl): Likewise.
3058         * math/Makefile (libm-calls): Add s_setpayloadF.
3059         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
3060         test_Ff_b1_data.
3061         (RUN_TEST_Ff_b1): New macro.
3062         (RUN_TEST_LOOP_Ff_b1): Likewise.
3063         (canonicalize_test_data): Update type.
3064         (setpayload_test_data): New array.
3065         (setpayload_test): New function.
3066         (main): Call setpayload_test.
3067         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
3068         setpayloadf and setpayloadl.
3069         * manual/libm-err-tab.pl: Update comment on interfaces without
3070         ulps tabulated.
3071         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
3072         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
3073         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
3074         Likewise.
3075         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
3076         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
3077         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
3078         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
3079         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
3080         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
3081         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
3082         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
3083         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
3084         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3085         setpayload.
3086         (CFLAGS-nldbl-setpayload.c): New variable.
3087         * sysdeps/nacl/libm.abilist: Update.
3088         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3089         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3090         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3091         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3092         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3093         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3094         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3095         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3096         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3097         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3098         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3099         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3101         Likewise.
3102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3103         Likewise.
3104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3105         Likewise.
3106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3107         Likewise.
3108         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3109         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3110         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3111         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3112         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3114         Likewise.
3115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3116         Likewise.
3117         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3118         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3119         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3121 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3123         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
3124         * include/unistd.h: Extend comment about __access_noerrno return
3125         semantics.
3126         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
3127         (access_common): Correct typo for EACCES.
3129 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
3131         * sysdeps/tile/math-tests.h: New file.
3133         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
3134         (__old_set_dataplane): Rename from set_dataplane and make a
3135         compatibility symbol.
3136         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
3137         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
3138         sys/dataplane.h.
3140 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
3142         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
3143         script quote words in command output to log suitably for input to
3144         the shell.
3146 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
3147             Maciej W. Rozycki  <macro@imgtec.com>
3149         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
3150         `.Lno_weak_fn' label.
3151         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
3152         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
3154 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3155             Yury Norov  <ynorov@caviumnetworks.com>
3157         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
3158         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
3159         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3160         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
3161         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3162         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
3163         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3164         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3165         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3166         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
3167         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3168         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
3169         (sysdep_routines): Remove oldgetrlimit64.
3170         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
3171         (sysdep_routines): Likewise.
3172         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
3173         (sysdep_routines): Likewise.
3174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3175         [$(subdir) = resource] (sysdep_routines): Likewise.
3176         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
3177         [$(subdir) = resource] (sysdep_routines): Likewise.
3178         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
3179         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
3180         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
3181         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
3182         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
3183         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
3184         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
3185         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
3186         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
3187         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
3188         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
3189         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
3190         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
3191         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
3192         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
3193         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
3194         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
3195         setrlimit and getrlimit.
3196         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3197         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3198         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
3199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
3200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
3201         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
3202         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3203         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3204         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3205         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
3206         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
3207         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
3208         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
3209         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
3210         (__old_getrlimit64): Add compatibility symbol.
3211         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
3213 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
3215         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
3216         newly built gmp, mpfr and mpc.
3218         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
3220 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
3222         * conform/Makefile (linknamespace-libs): Rename to
3223         linknamespace-libs-thr.
3224         (linknamespace-libs-posix): New variable.
3225         (linknamespace-libs-xsi): Likewise.
3226         (linknamespace-libs-XPG3): Include libcrypt.a.
3227         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
3228         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
3229         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
3230         (linknamespace-libs-XOPEN2K): Likewise.
3231         (linknamespace-libs-XOPEN2K8): Likewise.
3232         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
3234         [BZ #20829]
3235         * stdio-common/Versions (__snprintf): Add to version
3236         GLIBC_PRIVATE.
3237         * include/stdio.h (__snprintf): Use libc_hidden_proto.
3238         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
3239         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
3240         of snprintf.
3241         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3243 2016-11-16  Zack Weinberg  <zackw@panix.com>
3245         * string/string.h: Remove obsolete comment stating that
3246         strcoll_l and strxfrm_l have not yet been standardized.
3248 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3250         * hurd/hurd.h (__hurd_fail_noerrno): New function.
3251         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
3252         __access_noerrno.
3253         * io/access.c (__access_noerrno): New function.
3254         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
3255         (hurd_fail_seterrno): Likewise.
3256         (access_common): Likewise.
3257         (__access_noerrno): Likewise.
3258         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
3259         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
3260         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
3261         macro.
3263 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
3265         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
3266         Only declare fpregs if [__SH_FPU_ANY__].
3268 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
3270         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
3271         Make code unconditional.
3272         [!(__SH4__ || __SH4A__)]: Remove conditional code.
3274 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
3276         * manual/sysinfo.texi (S_APPEND): Delete.
3277         (S_IMMUTABLE): Likewise.
3279 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
3280             Magnus Granberg  <zorry@gentoo.org>
3281             Mike Frysinger  <vapier@gentoo.org>
3283         [BZ #20662]
3284         * configure.ac (libc_cv_predef_stack_protector): Also check for
3285         __stack_chk_fail_local symbols.
3286         * configure: Regenerated.
3288 2016-11-15  Florian Weimer  <fweimer@redhat.com>
3290         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
3291         (libc_hidden_def): Remove redefinition.
3292         (__sigsetjmp): Add hidden definition.
3293         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
3294         (libc_hidden_def): Remove redefinition.
3295         (__sigsetjmp): Add hidden definition.
3297 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
3299         * scripts/build-many-glibcs.py (os.path): Do not import.
3300         (Context): Inherit explicitly from object.  Remove blank line
3301         between class and docstring.
3302         (Config): Likewise.
3303         (Glibc): Likewise.
3304         (Command): Likewise.
3305         (CommandList): Likewise.
3306         (Context.write_files): Store chmod mode in a variable.
3308         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
3309         LIBC_SLIBDIR_RTLDDIR for tilegx32.
3310         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
3312 2016-11-14  Zack Weinberg  <zackw@panix.com>
3314         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
3315         creating or re-creating it.
3317         * string/bits/string2.h: Fix typo in comment.
3319 2016-11-14  Zack Weinberg  <zackw@panix.com>
3321         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
3322         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
3323         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
3324         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
3325         of redirected function names.
3327         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
3328         as well.  Document that MESSAGE must be a single string literal.
3330 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
3332         * scripts/build-many-glibcs.py: New file.
3334         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
3335         (do_test): Disable -Wmaybe-uninitialized around uses of
3336         except_mask.
3338         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
3340 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
3342         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
3343         (atomic_store_release): Provide tilepro-specific implementations.
3345 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
3347         * math/math.h (__MATH_TG): New macro.
3348         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
3349         [__USE_ISOC99] (signbit): Likewise.
3350         [__USE_ISOC99] (isfinite): Likewise.
3351         [__USE_ISOC99] (isnan): Likewise.
3352         [__USE_ISOC99] (isinf): Likewise.
3353         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
3354         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
3355         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
3356         __MATH_TG and __MATH_EVAL_FMT2.
3357         * sysdeps/generic/math_private.h (fabs_tg): Define using
3358         __MATH_TG.
3359         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
3360         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
3361         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
3362         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
3363         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
3364         macro.
3365         (__iscanonical): Likewise.
3366         (iscanonical): Define using __MATH_TG.
3368 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3370         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
3371         guards.
3373         * sysdeps/unix/sysv/linux/access.c: New file.
3374         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
3376 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
3378         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
3379         and __WORDSIZE32_PTRDIFF_LONG.
3381 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3383         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3385 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3387         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
3388         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
3389         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
3390         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
3391         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
3392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
3393         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
3394         * sysdeps/unix/sysv/linux/truncate.c: New file.
3395         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
3396         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
3397         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
3398         Remove.
3399         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
3400         Likewise.
3402         * posix/tst-truncate-common.c: New file.
3403         * posix/tst-truncate.c: Use tst-truncate-common.c.
3404         * posix/tst-truncate64.c: Likewise and add LFS tests.
3405         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
3406         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
3407         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
3408         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
3409         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
3410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
3411         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
3412         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
3413         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
3414         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
3415         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
3416         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
3417         Remove.
3418         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
3419         Likewise.
3421 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
3423         [BZ #20790]
3424         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
3425         to MAXLINESIZE.
3426         * sunrpc/bug20790.x: New file.
3427         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
3428         variable.
3429         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
3430         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
3432         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
3434         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
3436         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
3437         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
3438         calloc, realloc, free, memalign and __libc_memalign rather than
3439         making them optional.
3441         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
3442         for libc.so.
3444 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3446         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
3447         ptw-lseek64.
3448         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
3449         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
3450         Likewise.
3451         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
3452         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
3453         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
3454         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
3455         * sysdeps/unix/sysv/linux/lseek.c: New file.
3456         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
3457         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
3458         __libc_lseek64 from auto-generation.
3459         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3460         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
3462 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3464         * nptl/tst-basic1.c (tf, do_test): Use write_message.
3465         * nptl/tst-cleanup1.c (do_test): Likewise.
3466         * nptl/tst-cleanup3.c (do_test): Likewise.
3467         * nptl/tst-key1.c (do_test): Likewise.
3468         * nptl/tst-key2.c (tf, do_test): Likewise.
3469         * nptl/tst-key3.c (tf, do_test): Likewise.
3470         * nptl/tst-stdio1.c (do_test): Likewise.
3471         * nptl/tst-stdio2.c (do_test): Likewise.
3473         * nptl/tst-kill3.c (handler): Use write_message in place of write.
3474         * nptl/tst-kill6.c (handler): Likewise.
3475         * nptl/tst-tls2.c (CB): Likewise.
3476         * nptl/tst-tls3.c (CB): Likewise.
3478 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
3480         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
3482 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
3483             Steve Ellcey  <sellcey@caviumnetworks.com>
3485         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
3486           __ASSUME_ST_INO_64_BIT as 0
3487         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
3488         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
3489           over the code where __ASSUME_ST_INO_64_BIT is used.
3490         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
3491         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
3492         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3494 2016-11-07  Florian Weimer  <fweimer@redhat.com>
3496         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3497         Document ABI exposure of the __kind offset.
3498         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3499         Mention reason for the __kind offset exposure in the ABI.
3500         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3501         Likewise.
3502         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3503         Likewise.
3504         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3505         Likewise.
3506         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
3507         (struct __pthread_mutex_s): Likewise.
3508         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3509         Likewise.
3510         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3511         Likewise.
3512         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3513         Likewise.
3514         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3515         Likewise.
3516         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3517         Likewise.
3518         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3519         Likewise.
3520         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
3521         (struct __pthread_mutex_s): Likewise.
3522         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3523         (struct __pthread_mutex_s): Likewise.
3524         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
3525         Likewise.
3527 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
3529         * test-skeleton.c: Document do_test usage.
3531 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
3533         * iconv/gconv.h (__gconv_info): Define __data element using a
3534         zero-length array.
3536 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
3538         * math/test-tgmath2.c: Split up test function.
3540 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
3542         * Rules (tests-expected): New variable, depending on
3543         $(run-built-tests).
3544         (tests): Pass $(tests-expected) to merge-test-results.sh, not
3545         $(tests).
3547         * Rules [$(run-built-tests) = no] (tests): Do not depend on
3548         $(tests-unsupported).
3550 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3552         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
3553         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
3555 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
3557         [BZ #20768]
3558         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
3559         __fegetenv instead of fegetenv.
3561         [BZ #14139]
3562         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
3563         (find_files): Obtain platform name from libm-test-ulps-name and
3564         store in %pplatforms.
3565         (canonicalize_platform): Remove.
3566         (print_platforms): Use $pplatforms directly.
3567         (by_platforms): Do not allow for platforms missing from
3568         %pplatforms.
3569         * sysdeps/aarch64/libm-test-ulps-name: New file.
3570         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
3571         * sysdeps/arm/libm-test-ulps-name: Likewise.
3572         * sysdeps/generic/libm-test-ulps-name: Likewise.
3573         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
3574         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
3575         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
3576         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
3577         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
3578         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
3579         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
3580         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
3581         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
3582         * sysdeps/nios2/libm-test-ulps-name: Likewise.
3583         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
3584         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
3585         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
3586         * sysdeps/sh/libm-test-ulps-name: Likewise.
3587         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
3588         * sysdeps/tile/libm-test-ulps-name: Likewise.
3589         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
3591         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
3593         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
3594         (test-xfail-check-execstack): New variable.
3596         * sysdeps/mips/localplt.data: New file.
3598 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
3599             Steve Ellcey  <sellcey@caviumnetworks.com>
3601         * bits/wordsize.h: Add documentation.
3602         * sysdeps/aarch64/bits/wordsize.h : New file
3603         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
3604         definitions.
3605         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
3606         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
3607         with #if instead of #ifdef.
3608         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
3609         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
3610         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
3611         Add or change defines.
3612         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
3613         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3614         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
3615         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
3616         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3617         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3618         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
3619         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
3620         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
3621         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3622         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
3623         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
3624         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
3625         * sysdeps/x86/bits/wordsize.h: Likewise.
3627 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
3628             Kevin Petit  <kevin.petit@arm.com>
3630         * sysdeps/aarch64/memchr.S (__memchr): New file.
3632 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
3634         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
3636 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
3638         [BZ #19398]
3639         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
3640         $(linknamespace-symlists-tests).
3642 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
3644         * time/tst-strptime2.c: Ignore -Wformat-length warning.
3646 2016-11-02  Florian Weimer  <fweimer@redhat.com>
3647             Carlos O'Donell  <carlos@redhat.com>
3649         [Bug #20729]
3650         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
3651         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
3652         for -Os related change.
3654 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
3656         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
3658 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
3660         [BZ #19673]
3661         * manual/math.texi (Exponents and Logarithms): Correct description
3662         of clog10.
3664 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
3666         [Bz #20729]
3667         * locale/weight.h: Include libc-internal.h.
3668         * locale/weightwc.h: Likewise.
3669         * nptl/nptl_dbP.h: Likewise.
3671 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
3673         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
3674         when it is MACH_PORT_NULL.
3676 2016-10-31  Andreas Schwab  <schwab@suse.de>
3678         [BZ #20707]
3679         * posix/glob.c (glob): Initialize pglob before checking for
3680         GLOB_BRACE.  Don't call glob recursively if pattern contains no
3681         valid brace expression despite GLOB_BRACE.
3682         * posix/globtest.sh: Test it.
3684 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
3686         [BZ #20729]
3687         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
3688         Define.
3689         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
3690         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
3691         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
3692         for seq2.back_us and seq1.back_us only for -Os compiles.
3693         * locale/weightwc.h (findix): Likewise.
3694         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
3695         DB_GET_FIELD_ADDRESS only for -Os compiles.
3696         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
3697         for slen only for -Os compiles.
3698         * string/strcoll_l.c (get_next_seq): Ignore
3699         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
3700         for -Os compiles.
3702         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
3703         * include/crypt.h: New file.
3705 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3707         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
3708         from test-skeleton.c.
3709         (statclass): Replace calls to write with calls to write_message.
3711 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
3713         * math/math.h
3714         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
3715         New macro.
3716         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
3717         Likewise.
3718         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
3719         Likewise.
3720         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
3721         SNANL.
3722         * math/test-double.h (snan_value_MACRO): New macro.
3723         * math/test-float.h (snan_value_MACRO): Likewise.
3724         * math/test-ldouble.h (snan_value_MACRO): Likewise.
3725         * math/libm-test.inc (issignaling_test_data): Add tests of
3726         snan_value_MACRO.
3728 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3730         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
3731         behavior when eliding a lock not held by the current thread.
3732         * sysdeps/powerpc/nptl/elide.h: Likewise.
3734 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3736         [BZ #20728]
3737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
3738         branch to _exit() by a function call.
3740 2016-10-28  Florian Weimer  <fweimer@redhat.com>
3742         * malloc/malloc.c: Update chunk layout comments.
3743         (chunk_main_arena): Update comment.
3745 2016-10-28  Florian Weimer  <fweimer@redhat.com>
3747         * crypt/sha256.c, crypt/sha256-block.c,
3748         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
3749         sha256_process_block to __sha256_process_block.
3750         * crypt/sha512.c, crypt/sha512-block.c,
3751         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
3752         sha512_process_block to __sha512_process_block.
3754 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
3756         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
3758         * math/test-nan-overflow.c: Include stdlib.h for malloc.
3760 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
3762         [BZ #20019]
3763         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
3764         definition in unrelocated shared library.
3765         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3767 2016-10-28  Florian Weimer  <fweimer@redhat.com>
3769         [BZ #20729]
3770         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
3771         * sysdeps/unix/sysv/linux/i386/Makefile
3772         (uses-6-syscall-arguments): Define.
3773         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
3774         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
3775         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
3776         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
3777         Likewise.
3778         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
3779         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
3780         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
3781         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
3782         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
3783         (CFLAGS-fallocate64.os): Likewise.
3784         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
3785         (CFLAGS-pthread_rwlock_timedrdlock.os)
3786         (CFLAGS-pthread_rwlock_timedwrlock.o)
3787         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
3788         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
3789         (CFLAGS-sem_timedwait.os): Likewise.
3791 2016-10-28  Florian Weimer  <fweimer@redhat.com>
3793         * elf/tst-linkall-static.c: New file.
3794         * elf/Makefile (tests-static): Add tst-linkall-static.
3795         (tst-linkall-static): Link against static libraries.
3797 2016-10-27  Florian Weimer  <fweimer@redhat.com>
3799         * malloc/malloc.c (sysmalloc): Initialize previous size field of
3800         mmaped chunks.
3802 2016-10-28  Florian Weimer  <fweimer@redhat.com>
3804         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
3805         members to mchunk_prev_size, mchunk_size.
3806         (chunk_main_arena): Reverse sense and rename from
3807         chunk_non_main_arena.
3808         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
3809         mchunk_size instead of size.
3810         (set_non_main_arena): Define.
3811         (chunksize): Use chunksize_nomask instead of direct member access.
3812         (chunksize_nomask): Define.
3813         (next_chunk): Use chunksize instead of direct member access.
3814         (prev_size, set_prev_size): Define.
3815         (prev_chunk): Use prev_size instead of direct member access.
3816         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
3817         (inuse_bit_at_offset, set_inuse_bit_at_offset)
3818         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
3819         (mchunk_prev_size, mchunk_size): Poison tokens.
3820         (unlink): Use chunksize_nomask, prev_size accessors.
3821         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
3822         (do_check_free_chunk): Use prev_size accessor.
3823         (sysmalloc): Use set_prev_size, set_head accessors.
3824         (munmap_chunk, mremap_chunk): Use prev_size accessor.
3825         (__libc_free): Use chunksize_nomask accessor.
3826         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
3827         chunk_main_arena accessors.
3828         (_int_free): Use chunksize_nomask, prev_size accessors.
3829         (malloc_consolidate): Use chunksize, prev_size accessors.
3830         (_int_realloc): Use chunksize_nomask accessor.
3831         (_int_memalign): Use set_prev_size accessor.
3832         (__malloc_info): Use chunksize_nomask accessor.
3833         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
3834         accessors.
3835         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
3836         (heap_trim): Use chunksize_nomask, prev_size accessors.
3838 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
3840         [BZ #19380]
3841         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
3842         for inexact results.
3843         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
3844         of inexact result where mpfr_subnormalize is the only inexact
3845         step.
3846         * stdlib/tst-strtod-round-data.h: Regenerated.
3847         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
3848         Define to 0.
3849         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
3851 2016-10-27  David S. Miller  <davem@davemloft.net>
3853         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
3855 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3857         * malloc/malloc.c (do_set_mallopt_check): New function.
3858         (do_set_mmap_threshold): Likewise.
3859         (do_set_mmaps_max): Likewise.
3860         (do_set_top_pad): Likewise.
3861         (do_set_perturb_byte): Likewise.
3862         (do_set_trim_threshold): Likewise.
3863         (do_set_arena_max): Likewise.
3864         (do_set_arena_test): Likewise.
3865         (__libc_mallopt): Use them.
3867 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
3869         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3870         (canonicalize): New declaration.
3871         * math/Versions (canonicalize): New libm symbol at version
3872         GLIBC_2.25.
3873         (canonicalizef): Likewise.
3874         (canonicalizel): Likewise.
3875         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
3876         * math/s_canonicalize_template.c: New file.
3877         * math/libm-test.inc: Update comment on functions tested and
3878         testing of NaN payloads.
3879         (TEST_NAN_PAYLOAD): New macro.
3880         (NO_TEST_INLINE): Update value.
3881         (XFAIL_TEST): Likewise.
3882         (ERRNO_UNCHANGED): Likewise.
3883         (ERRNO_EDOM): Likewise.
3884         (ERRNO_ERANGE): Likewise.
3885         (IGNORE_RESULT): Likewise.
3886         (NON_FINITE): Likewise.
3887         (TEST_SNAN): Likewise.
3888         (NO_TEST_MATHVEC): Likewise.
3889         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
3890         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
3891         (struct test_Ffp_b1_data): New type.
3892         (RUN_TEST_Ffp_b1): New macro.
3893         (RUN_TEST_LOOP_Ffp_b1): Likewise.
3894         (canonicalize_test_data): New array.
3895         (canonicalize_test): New function.
3896         (main): Call canonicalize_test.
3897         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
3898         canonicalizef and canonicalizel.
3899         * manual/libm-err-tab.pl: Update comment on interfaces without
3900         ulps tabulated.
3901         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
3902         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
3903         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3904         canonicalize.
3905         (CFLAGS-nldbl-canonicalize.c): New variable.
3906         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
3907         to ...
3908         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
3909         ... here.
3910         (do_test): Also test canonicalizel.
3911         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
3912         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
3913         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
3914         file.
3915         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
3916         Use libm_hidden_def.
3917         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
3918         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
3919         (do_test): Also test canonicalizel.
3920         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
3921         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
3922         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
3923         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
3924         libm_hidden_def.
3925         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
3926         macro.
3927         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
3928         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
3929         * sysdeps/nacl/libm.abilist: Update.
3930         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3931         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3932         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3933         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3934         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3935         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3936         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3937         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3938         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3939         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3940         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3941         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3943         Likewise.
3944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3945         Likewise.
3946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3947         Likewise.
3948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3949         Likewise.
3950         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3951         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3952         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3953         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3954         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3956         Likewise.
3957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3958         Likewise.
3959         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3960         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3961         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3963         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
3964         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3965         getpayload.
3966         (CFLAGS-nldbl-getpayload.c): New variable.
3968 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3970         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
3971         integer from the format string.
3973 2016-10-26  Florian Weimer  <fweimer@redhat.com>
3975         [BZ #19473]
3976         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
3977         declarations.
3978         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
3979         weak aliases.
3980         * malloc/hooks.c (__malloc_get_state): Remove definition.
3981         (malloc_get_state): New stub implementation as
3982         compatibility symbol.
3983         (malloc_set_state): Rename from __malloc_set_state.  Turn into
3984         compat symbol.
3985         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
3986         malloc_set_state.
3987         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
3989 2016-10-26  Florian Weimer  <fweimer@redhat.com>
3991         * iconvdata/iso646.c (enum variant): Drop illegal_var.
3992         (names): Turn into concatenation of strings.
3993         (gconv_init): Adapt iteration over names.
3995 2016-10-26  Florian Weimer  <fweimer@redhat.com>
3997         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
3998         make const.
3999         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
4000         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
4001         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
4002         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
4003         character in sbconv.
4004         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
4005         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
4006         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
4008 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4010         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
4012         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
4013         (M_TRIM_THRESHOLD): Likewise.
4015         * manual/memory.texi (M_ARENA_TEST): Add documentation.
4016         (M_ARENA_MAX): Likewise.
4017         * malloc/malloc.c: Remove obsolete comment.
4019         * manual/memory.texi: Add environment variable alternatives to
4020         setting mallopt parameters.
4022 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
4024         * include/atomic.h
4025         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
4026         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
4028 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4030         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
4031         * stdlib/tst-strfrom.h: New file.
4032         * stdlib/tst-strfrom.c: New file.
4033         * stdlib/tst-strfrom-locale.c: New file.
4035         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
4036         * stdlib/bug-strtod2.c: Likewise.
4037         * stdlib/tst-strtod-round-skeleton.c: Likewise.
4038         * stdlib/tst-strtod6.c: Likewise.
4039         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
4041 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4043         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
4044         * manual/arith.texi: Document strfromd, strfromf, strfroml.
4045         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
4046         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
4047         * stdlib/stdlib.h (strfromd): New declaration.
4048         (strfromf): Likewise.
4049         (strfroml): Likewise.
4050         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
4051         strfrom.
4052         * stdlib/strfromd.c: New file.
4053         * stdlib/strfromf.c: Likewise.
4054         * stdlib/strfroml.c: Likewise.
4055         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
4056         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
4057         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
4058         * sysdeps/arm/nacl/libc.abilist: Update.
4059         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
4060         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4061         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4062         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4063         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4064         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4065         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4066         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4067         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4068         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4069         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4070         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4071         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4072         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
4074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4077         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4078         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4079         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4080         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4081         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4084         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4085         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4086         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4088 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
4090         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
4091         instead of cmpli.
4092         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
4093         instead of cmpli.
4095 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
4097         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
4098         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4099         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4100         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4101         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4102         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4104 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4106         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
4107         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4108         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
4109         SYSCALL_LL64_PRW.
4110         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4111         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
4112         __ASSUME_PRW_DUMMY_ARG.
4113         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
4114         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4115         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4116         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4117         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
4118         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
4120 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
4122         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
4124 2016-10-22  Florian Weimer  <fweimer@redhat.com>
4126         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
4127         "C++", to override a potential extern "C" directive around the
4128         header file inclusion.
4130 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
4132         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
4134 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4136         * sysdeps/powerpc/fpu/fenv_private.h:
4137         (_FPU_MASK_ALL): Rename to...
4138         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
4139         XE FPSCR bits.
4141         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
4143         (_FPU_MASK_ROUNDING): Rename to...
4144         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
4145         NI bits.
4147         (_FPU_MASK_EXCEPT_ROUND): Rename to...
4148         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
4149         bits and rounding bits.
4151         (__libc_feholdbits_ppc): New inline function to mask, set,
4152         and pontentially clear FSPCR bits, and change MSR[FE] bits.
4153         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
4154         (libc_feholdexcept_setround_ppc): Likewise.
4156         (__libc_femergeenv_ppc): New function to dynamically mask both
4157         old and new FP environments and merge.
4158         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
4159         (libc_feresetround_ppc): Likewise.
4160         (libc_feupdateenv_test_ppc): Likewise.
4161         (libc_feupdateenv_ppc): Likewise.
4163         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
4164         of ISA RN bits, and update macro names.
4165         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
4166         effectively the same as the previously mentioned function.
4168         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
4169         usage with fe_resetround_ppc.
4171         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
4172         to be used.
4173         (libc_feholdexcept_setround_ctxf): Likewise.
4174         (libc_feholdexcept_setround_ctxl): Likewise.
4176 2016-10-21  Florian Weimer  <fweimer@redhat.com>
4178         [BZ #20715]
4179         * math/math.h [__cplusplus] (iszero): Define as function template.
4180         * math/Makefile [CXX] (tests): Add test-math-iszero.
4181         (CFLAGS-test-math-iszero.cc): Set.
4182         * math/test-math-iszero.cc: New file.
4184 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
4186         [BZ #20660]
4187         * sysdeps/arm/e_sqrt.c: New file.
4188         * sysdeps/arm/e_sqrtf.c: Likewise.
4190 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
4192         [BZ #20718]
4193         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
4194         not use floating-point comparisons to test sign.
4195         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
4196         Likewise.
4198         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4199         (getpayload): New declaration.
4200         * math/Versions (getpayload): New libm symbol at version
4201         GLIBC_2.25.
4202         (getpayloadf): Likewise.
4203         (getpayloadl): Likewise.
4204         * math/Makefile (libm-calls): Add s_getpayloadF.
4205         * math/libm-test.inc: Include <nan-high-order-bit.h>.
4206         (struct test_f_f_data): Add comment.
4207         (RUN_TEST_fp_f): New macro.
4208         (RUN_TEST_LOOP_fp_f): Likewise.
4209         (getpayload_test_data): New array.
4210         (getpayload_test): New function.
4211         (main): Call getpayload_test.
4212         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
4213         descriptor.
4214         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
4215         getpayloadf and getpayloadl.
4216         * manual/libm-err-tab.pl: Update comment on interfaces without
4217         ulps tabulated.
4218         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
4219         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
4220         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
4221         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
4222         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
4223         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
4224         * sysdeps/nacl/libm.abilist: Update.
4225         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4226         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4227         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4228         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4229         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4230         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4231         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4232         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4233         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4234         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4235         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4236         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4238         Likewise.
4239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4240         Likewise.
4241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4242         Likewise.
4243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4244         Likewise.
4245         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4246         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4247         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4248         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4249         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4251         Likewise.
4252         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4253         Likewise.
4254         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4255         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4256         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4258 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4260         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
4261         tst-fallocate{64}.
4262         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
4263         on syscall return.
4265 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
4267         [BZ #20689]
4268         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
4269         usable.
4271 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
4273         * sysdeps/generic/nan-high-order-bit.h: New file.
4274         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
4275         * sysdeps/mips/nan-high-order-bit.h: Likewise.
4276         * sysdeps/hppa/math_private.h: Remove file.
4277         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
4278         not define here.
4279         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
4280         <nan-high-order-bit.h>.
4281         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4282         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
4283         <nan-high-order-bit.h>.
4284         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4285         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
4286         <nan-high-order-bit.h>.
4287         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4288         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
4289         <nan-high-order-bit.h>.
4290         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4291         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
4292         <nan-high-order-bit.h>.
4293         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4294         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
4295         <nan-high-order-bit.h>.
4296         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4297         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
4298         <nan-high-order-bit.h>.
4299         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4300         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
4301         <nan-high-order-bit.h>.
4302         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4303         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
4304         <nan-high-order-bit.h>.
4305         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4306         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
4307         <nan-high-order-bit.h>.
4308         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4309         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
4310         <nan-high-order-bit.h>.
4311         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4312         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
4313         <nan-high-order-bit.h>.
4314         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4315         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
4316         <nan-high-order-bit.h>.
4317         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4318         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
4319         <nan-high-order-bit.h>.
4320         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4321         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
4322         <nan-high-order-bit.h>.
4323         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4324         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
4325         <nan-high-order-bit.h>.
4326         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4327         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
4328         <nan-high-order-bit.h>.
4329         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4330         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
4331         <nan-high-order-bit.h>.
4332         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4334 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4336         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
4338 2016-09-22  John David Anglin  <dave.anglin@bell.net>
4340         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
4341         abort-instr.h.
4342         (EFAULT): Remove conditional define.
4343         (ENOSYS): Likewise.
4344         (atomic_compare_and_exchange_val_acq): Use instruction nullification
4345         instead of conditional branch instructions.
4347 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
4349         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4350         (totalordermag): New declaration.
4351         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
4352         New macro.
4353         * math/Versions (totalordermag): New libm symbol at version
4354         GLIBC_2.25.
4355         (totalordermagf): Likewise.
4356         (totalordermagl): Likewise.
4357         * math/Makefile (libm-calls): Add s_totalordermagF.
4358         * math/libm-test.inc (totalordermag_test_data): New array.
4359         (totalordermag_test): New function.
4360         (main): Call totalordermag_test.
4361         * math/test-tgmath.c (NCALLS): Increase to 125.
4362         (F(compile_test)): Call totalordermag.
4363         (F(totalordermag)): New function.
4364         * manual/arith.texi (FP Comparison Functions): Document
4365         totalordermag, totalordermagf and totalordermagl.
4366         * manual/libm-err-tab.pl: Update comment on interfaces without
4367         ulps tabulated.
4368         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
4369         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
4370         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
4371         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
4372         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
4373         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
4374         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
4375         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4376         totalordermag.
4377         (CFLAGS-nldbl-totalordermag.c): New variable.
4378         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
4379         (do_test): Also test totalordermagl.
4380         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
4381         Likewise.
4382         * sysdeps/nacl/libm.abilist: Update.
4383         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4384         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4385         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4386         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4387         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4388         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4389         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4390         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4391         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4392         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4393         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4394         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4396         Likewise.
4397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4398         Likewise.
4399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4400         Likewise.
4401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4402         Likewise.
4403         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4404         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4405         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4406         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4407         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4409         Likewise.
4410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4411         Likewise.
4412         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4413         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4414         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4416 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
4418         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
4419         boolean.
4421 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
4423         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
4424         raising FE_INVALID with feraisexcept in case where part of
4425         argument is infinite, subtract that part of argument from itself.
4426         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
4427         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
4428         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
4430 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
4432         * math/libm-test.inc (totalorder_test_data): Add more tests.
4434 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
4436         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
4437         Undefine weak_alias and add a comment why mips64 require
4438         versioning.
4440 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
4442         [BZ #20647]
4443         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
4444         maximum CPUID level is less than 2.
4446 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
4448         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4449         (totalorder): New declaration.
4450         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
4451         New macro.
4452         * math/Versions (totalorder): New libm symbol at version
4453         GLIBC_2.25.
4454         (totalorderf): Likewise.
4455         (totalorderl): Likewise.
4456         * math/Makefile (libm-calls): Add s_totalorderF.
4457         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
4458         string.
4459         * math/libm-test.inc (PAYLOAD_DIG): New macro.
4460         (qnan_value_pl): Likewise.
4461         (snan_value_pl): Likewise.
4462         (qnan_value): Define using qnan_value_pl.
4463         (snan_value): Define using snan_value_pl.
4464         (struct test_ff_i_data): Add comment about which tests use this
4465         structure.
4466         (RUN_TEST_ff_b): New macro.
4467         (RUN_TEST_LOOP_ff_b): Likewise.
4468         (totalorder_test_data): New array.
4469         (totalorder_test): New function.
4470         (main): Call totalorder_test.
4471         * math/test-tgmath.c (NCALLS): Increase to 122.
4472         (F(compile_test)): Call totalorder.
4473         (F(totalorder)): New function.
4474         * manual/arith.texi (FP Comparison Functions): Document
4475         totalorder, totalorderf and totalorderl.
4476         * manual/libm-err-tab.pl: Update comment on interfaces without
4477         ulps tabulated.
4478         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
4479         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
4480         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
4481         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
4482         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
4483         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
4484         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
4485         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4486         totalorder.
4487         (CFLAGS-nldbl-totalorder.c): New variable.
4488         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
4489         file.
4490         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
4491         Add test-totalorderl-ldbl-128ibm.
4492         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
4493         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
4494         test-totalorderl-ldbl-96.
4495         * sysdeps/nacl/libm.abilist: Update.
4496         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4497         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4498         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4499         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4500         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4501         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4502         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4503         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4504         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4505         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4506         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4507         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4509         Likewise.
4510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4511         Likewise.
4512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4513         Likewise.
4514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4515         Likewise.
4516         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4517         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4518         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4519         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4520         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4522         Likewise.
4523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4524         Likewise.
4525         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4526         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4527         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4529 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4531         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
4532         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
4533         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
4534         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
4535         remove ENOSYS implementation.
4536         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
4537         Consolidate all Linux implementations.
4539 2016-10-11  Florian Weimer  <fweimer@redhat.com>
4541         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
4542         * resolv/herror.c (herror): Cast away const-ness.
4543         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
4544         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
4546 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
4548         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
4549         instead of M_NAN + M_NAN.
4550         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
4552 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4554         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
4555         unused variable 'p'.
4557 2016-10-09  Alan Modra  <amodra@gmail.com>
4558             Andreas Schwab  <schwab@linux-m68k.org>
4560         [BZ #20554]
4561         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
4562         [PIC && !SHARED]: Set up PIC register for PLT call.
4564 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
4566         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
4567         conditional on value of [__FLT_EVAL_METHOD__].
4568         * math/test-iseqsig-excess-precision.c: New file.
4569         * math/Makefile (tests): Add test-iseqsig-excess-precision.
4571 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4573         * math/s_iseqsig_template.c: Include math-private.h.
4575         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
4576         * posix/tst-posix_fadvise.c: New file.
4577         * posix/tst-posix_fadvise64.c: Likewise.
4578         * posix/tst-posix_fadvise-common.c: Likewise.
4579         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4580         (__ASSUME_FADVISE64_64_6ARG): Define.
4581         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4582         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
4583         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4584         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
4585         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
4586         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
4587         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
4588         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
4589         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
4590         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
4591         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
4592         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
4593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
4594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
4595         Likewise.
4596         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
4597         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
4598         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
4599         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
4600         Alias to __posix_fadvise64_l32.
4601         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
4602         Add compat definition to posix_fadvise64.
4603         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
4604         Add versioned definition to posix_fadvise64.
4605         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
4606         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
4607         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
4608         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
4609         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
4611         * io/Makefile (tests): Add tst-posix_fallocate and
4612         tst-posix_fallocate64.
4613         * io/tst-posix_fallocate-common.c: New file.
4614         * io/tst-posix_fallocate.c: Likewise.
4615         * io/tst-posix_fallocate64.c: Likewise.
4616         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
4617         file.
4618         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
4619         Likewise.
4620         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
4621         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
4622         Likewise.
4623         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
4624         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
4625         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
4626         SYSCALL_LL to pass both offset and len arguments.
4627         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
4628         Likewise.
4629         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
4630         __libc_pwrite64 alias used by posix_fallocate64.
4632         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
4633         tst-fallocate64.
4634         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
4635         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
4636         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
4637         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
4638         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
4639         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
4640         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
4641         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
4642         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
4643         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
4644         macro on offset argument.
4645         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
4646         SYSCALL_LL64 on offset argument.
4648         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
4649         tst-fallocate64.
4650         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
4651         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
4652         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
4653         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
4654         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
4655         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
4656         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
4657         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
4658         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
4659         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
4660         macro on offset argument.
4661         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
4662         SYSCALL_LL64 on offset argument.
4663         * test-skeleton.c (FAIL_RET): Add macro.
4664         (FAIL_EXIT): Likewise.
4665         (FAIL_EXIT1): Likewise.
4666         (_FAIL): Likewise.
4668 2016-10-07  Florian Weimer  <fweimer@redhat.com>
4670         [BZ #20629]
4671         resolv: Remove RES_USEBSTRING and its implementation.
4672         * resolv/resolv.h (RES_USEBSTRING): Remove.
4673         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
4674         (digitvalue, encode_bitstring, decode_bitstring): Remove.
4675         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
4676         (labellen): Remove extended label types support.
4677         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
4678         * resolv/res_init.c (res_setoptions): Likewise.
4679         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
4681 2016-10-07  Florian Weimer  <fweimer@redhat.com>
4683         resolv: Remove RES_NOIP6DOTINT and its implementation.
4684         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
4685         (RES_NOIP6DOTINT): Remove.
4686         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
4687         handling.
4688         * resolv/res_debug.c (p_option): Likewise.
4689         * resolv/res_init.c (res_setoptions): Likewise.
4690         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
4692 2016-10-07  Florian Weimer  <fweimer@redhat.com>
4694         resolv: Deprecate unimplemented flags.
4695         * misc/sys/cdefs.h (__glibc_macro_warning1)
4696         (__glibc_macro_warning): Define.
4697         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
4698         (RES_KEEPTSIG): Mark as deprecated.
4699         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
4700         RES_NOCHECKNAME, RES_KEEPTSIG.
4701         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
4703 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4705         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
4706         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
4707         Use strong_alias to create symbols for glibc verison 2.19.
4709 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4711         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
4713 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4715         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
4717 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4719         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
4721 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4723         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4724         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
4725         in header for using it as type for ifunc function because __GI_* symbols
4726         for ppc32 do not target the ifunc symbols.
4727         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4729 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4731         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
4732         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
4733         libc_ifunc_hidden_def.
4734         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
4735         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
4736         Redirect ifunced function in header for using it as type of ifunc'ed
4737         function. Redefine libc_hidden_def to use fallback non ifunc'ed
4738         function for __GI_* symbol.
4739         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
4740         * include/libc-symbols.h
4741         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
4743 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4745         [BZ #20478]
4746         * sysdeps/s390/multiarch/ifunc-resolve.h
4747         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
4748         to create ifunc symbols.
4749         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
4750         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
4751         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
4752         for using it as type for ifunc function.
4753         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
4754         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
4755         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
4756         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
4757         * sysdeps/s390/multiarch/strcat.c: Likewise.
4758         * sysdeps/s390/multiarch/strchr.c: Likewise.
4759         * sysdeps/s390/multiarch/strcmp.c: Likewise.
4760         * sysdeps/s390/multiarch/strcpy.c: Likewise.
4761         * sysdeps/s390/multiarch/strcspn.c: Likewise.
4762         * sysdeps/s390/multiarch/strlen.c: Likewise.
4763         * sysdeps/s390/multiarch/strncmp.c: Likewise.
4764         * sysdeps/s390/multiarch/strncpy.c: Likewise.
4765         * sysdeps/s390/multiarch/strnlen.c: Likewise.
4766         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
4767         * sysdeps/s390/multiarch/strrchr.c: Likewise.
4768         * sysdeps/s390/multiarch/strspn.c: Likewise.
4769         * sysdeps/s390/multiarch/wcschr.c: Likewise.
4770         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
4771         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
4772         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
4773         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
4774         * sysdeps/s390/multiarch/wmemset.c: Likewise.
4775         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
4776         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
4777         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
4778         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
4779         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
4780         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
4782 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4784         * include/libc-symbols.h (__ifunc_resolver):
4785         New macro is used by __ifunc* macros.
4786         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
4787         depending on HAVE_GCC_IFUNC.
4788         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
4789         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
4790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4791         Redirect ifunced function in header for using as type for ifunc function.
4792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
4793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
4794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
4795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
4796         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4797         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4798         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4799         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4800         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4801         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4802         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4803         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4804         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4805         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
4808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
4810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4811         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4812         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4813         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4814         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4815         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4816         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4817         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4818         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4819         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4820         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4821         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4822         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4823         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
4824         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
4826         Add libc_hidden_def() and use libc_ifunc_hidden() macro
4827         instead of libc_ifunc() macro.
4828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
4829         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4831 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4833         * config.h.in (HAVE_GCC_IFUNC): New undef.
4834         * configure.ac: Add check if gcc supports attribute ifunc feature.
4835         * configure: Regenerated.
4836         * manual/install.texi: Add recommendation for gcc with
4837         indirect-function support.
4838         * INSTALL: Regenerated.
4840 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
4842         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
4843         macro.
4844         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4845         (__iseqsig): New declaration.
4846         * math/s_iseqsig_template.c: New file.
4847         * math/Versions (__iseqsigf): New libm symbol at version
4848         GLIBC_2.25.
4849         (__iseqsig): Likewise.
4850         (__iseqsigl): Likewise.
4851         * math/libm-test.inc (iseqsig_test_data): New array.
4852         (iseqsig_test): New function.
4853         (main): Call iseqsig_test.
4854         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
4855         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
4856         * manual/libm-err-tab.pl: Update comment on interfaces without
4857         ulps tabulated.
4858         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
4859         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
4860         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
4861         * sysdeps/nacl/libm.abilist: Update.
4862         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4863         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4864         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4865         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4866         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4867         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4868         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4869         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4870         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4871         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4872         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4873         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4875         Likewise.
4876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4877         Likewise.
4878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4879         Likewise.
4880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4881         Likewise.
4882         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4883         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4884         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4885         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4886         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4888         Likewise.
4889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4890         Likewise.
4891         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4892         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4893         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4895 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4897         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
4898         do_sincos_2, sloww, sloww1): Update comments.
4900         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
4901         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
4903         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
4904         K boolean and rename it.
4905         (__sin): Adjust.
4906         (__cos): Adjust.
4908 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
4909             Siddhesh Poyarekar  <siddhesh@sourceware.org>
4911         * manual/nss.texi: Fix typos in the manual.
4913 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
4915         * manual/contrib.texi: Fix typos in the manual.
4917         * manual/maint.texi: Fix typos in the manual.
4919         * manual/install.texi: Fix typos in the manual.
4920         * INSTALL: Regenerated.
4922         * manual/lang.texi: Fix typos in the manual.
4924         * manual/probes.texi: Fix typos in the manual.
4926         * manual/threads.texi: Fix typos in the manual.
4928         * manual/debug.texi: Fix typos in the manual.
4930         * manual/crypt.texi: Fix typos in the manual.
4932         * manual/conf.texi: Fix typos in the manual.
4934         * manual/sysinfo.texi: Fix typos in the manual.
4936         * manual/users.texi: Fix typos in the manual.
4938         * manual/job.texi: Fix typos in the manual.
4940         * manual/process.texi: Fix typos in the manual.
4942         * manual/argp.texi: Fix typos in the manual.
4943         * manual/getopt.texi: Likewise.
4944         * manual/startup.texi: Likewise.
4946         * manual/signal.texi: Fix typos in the manual.
4948         * manual/setjmp.texi: Fix typos in the manual.
4950         * manual/resource.texi: Fix typos in the manual.
4952         * manual/time.texi: Fix typos in the manual.
4954         * manual/arith.texi: Fix typos in the manual.
4956         * manual/math.texi: Fix typos in the manual.
4958         * manual/syslog.texi: Fix typos in the manual.
4960         * manual/terminal.texi: Fix typos in the manual.
4962         * manual/socket.texi: Fix typos in the manual.
4964         * manual/filesys.texi: Fix typos in the manual.
4966         * manual/llio.texi: Fix typos in the manual.
4968         * manual/stdio.text: Fix typos in the manual.
4970 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4972         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
4973         instead of K1.
4975         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
4976         SHIFT_QUADRANT and make it bool.
4977         (do_sincos_2): Likewise.
4978         (sloww): Likewise.
4979         (sloww1): Likewise.
4980         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
4981         (__cos): Likewise.
4983 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4985         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4987 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
4989         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
4990         Define to __WORDSIZE, not conditional on [LONG_MAX ==
4991         0x7fffffffL].
4992         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
4994 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4996         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
4997         inline by __inline__.
4998         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
4999         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
5000         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
5001         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
5002         sigset_t from signal.h.
5003         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
5004         which is already required.
5006 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
5008         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5010 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
5012         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
5013         (struct tcp_repair_window): New type.
5015 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5017         * libio/tst-memstream3.c: Include string.h.
5019 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5021         [BZ #18241]
5022         [BZ #20181]
5023         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
5024         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
5025         write position is at the end the buffer.
5026         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
5027         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
5028         (_IO_str_seekoff): Set correct offset from negative displacement and
5029         set EINVAL for invalid ones.
5030         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
5031         buffer length.
5032         (_IO_wstr_switch_to_get_mode): New function.
5033         (_IO_wstr_seekoff): Set correct offset from negative displacement and
5034         set EINVAL for invalid ones.
5035         * libio/tst-memstream3.c: New file.
5036         * libio/tst-wmemstream3.c: Likewise.
5037         * manual/examples/memstrm.c: Remove warning when priting size_t.
5039 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
5041         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
5042         macro to use __builtin_fma.
5043         * sysdeps/x86_64/fpu/dla.h: Remove file.
5045         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
5046         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
5047         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
5049 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
5051         [BZ #20292]
5052         * elf/Makefile (routines): Add dl-addr-obj.
5053         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
5054         tst-_dl_addr_inside_object.
5055         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
5056         [ifeq (yesyes,$(have-fpie)$(build-shared))]
5057         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
5058         [ifeq (yesyes,$(have-fpie)$(build-shared))]
5059         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
5060         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
5061         * elf/dl-open.c: Likewise.
5062         * elf/dl-addr-obj.c: New file.
5063         * elf/tst-_dl_addr_inside_object.c: New file.
5065 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
5067         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
5068         <bits/iscanonical.h>.
5069         * bits/iscanonical.h: New file.
5070         * math/s_iscanonicall.c: Likewise.
5071         * math/Versions (__iscanonicall): New libm symbol at version
5072         GLIBC_2.25.
5073         * math/libm-test.inc (iscanonical_test_data): New array.
5074         (iscanonical_test): New function.
5075         (main): Call iscanonical_test.
5076         * math/Makefile (headers): Add bits/iscanonical.h.
5077         (type-ldouble-routines): Add s_iscanonicall.
5078         * manual/arith.texi (Floating Point Classes): Document
5079         iscanonical.
5080         * manual/libm-err-tab.pl: Update comment on interfaces without
5081         ulps tabulated.
5082         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
5083         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
5084         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
5085         Likewise.
5086         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5087         test-iscanonical-ldbl-128ibm.
5088         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
5089         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
5090         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
5091         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
5092         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5093         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5094         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5096         Likewise.
5097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5098         Likewise.
5099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5100         Likewise.
5101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5102         Likewise.
5103         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5104         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5106 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5108         * string/bits/string3.h: Remove C++ style comments.
5110 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5112         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
5113         instead of ternary condition.
5114         (do_sincos_2): Likewise.
5115         (__sin): Likewise.
5116         (__cos): Likewise.
5117         (slow): Likewise.
5118         (sloww): Likewise.
5119         (sloww1): Likewise.
5120         (bsloww): Likewise.
5121         (bsloww1): Likewise.
5123         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
5124         instead of ternary condition.
5125         (do_sin_slow): Likewise.
5126         (do_sincos_1): Likewise.
5127         (do_sincos_2): Likewise.
5128         (__cos): Likewise.
5129         (sloww): Likewise.
5130         (sloww1): Likewise.
5131         (sloww2): Likewise.
5132         (bsloww): Likewise.
5133         (bsloww1): Likewise.
5134         (bsloww2): Likewise.
5136         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
5137         check from here...
5138         (slow2): ... and here...
5139         (__sin): ... to here.
5141 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
5143         * math/math.h
5144         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
5145         Cast argument to its own type.
5146         * math/test-iszero-excess-precision.c: New file.
5147         * math/Makefile (tests): Add test-iszero-excess-precision.
5148         (CFLAGS-test-iszero-excess-precision.c): New variable.
5150 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
5152         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
5153         field, add err field.
5154         (__spawni_child): Report error through err member instead of pipe.
5155         (__spawnix): Likewise.
5157 2016-09-28  Zack Weinberg  <zackw@panix.com>
5159         * scripts/check-installed-headers.sh: Generalize treatment of
5160         sys/elf.h to all target architectures.
5162         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
5163         deleted typedef ucontext_t.
5165 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5167         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
5168         (__INTERNAL_SYSCALL1): Likewise.
5169         (__INTERNAL_SYSCALL2): Likewise.
5170         (__INTERNAL_SYSCALL3): Likewise.
5171         (__INTERNAL_SYSCALL4): Likewise.
5172         (__INTERNAL_SYSCALL5): Likewise.
5173         (__INTERNAL_SYSCALL6): Likewise.
5174         (__INTERNAL_SYSCALL7): Likewise.
5175         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
5176         (__INTERNAL_SYSCALL_NARGS): Likewise.
5177         (__INTERNAL_SYSCALL_DISP): Likewise.
5178         (INTERNAL_SYSCALL_CALL): Likewise.
5179         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
5180         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
5181         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
5182         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
5183         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
5184         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
5185         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
5186         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
5187         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
5188         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
5189         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
5190         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
5191         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
5193 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
5195         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
5196         macro.
5197         * math/libm-test.inc (iszero_test_data): New array.
5198         (iszero_test): New function.
5199         (main): Call iszero_test.
5200         * manual/arith.texi (Floating Point Classes): Document iszero.
5201         * manual/libm-err-tab.pl: Update comment on interfaces without
5202         ulps tabulated.
5204 2016-09-23  Zack Weinberg  <zackw@panix.com>
5206         * scripts/check-installed-headers.sh: New script.
5207         * Rules: In each directory that defines header files to be installed,
5208         run check-installed-headers.sh on them as a special test.
5209         * Makefile: Likewise for the headers installed at top level.
5211         * include/aliases.h, include/alloca.h, include/argz.h
5212         * include/arpa/nameser.h, include/arpa/nameser_compat.h
5213         * include/elf.h, include/envz.h, include/err.h
5214         * include/execinfo.h, include/fpu_control.h, include/getopt.h
5215         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
5216         * include/link.h, include/malloc.h, include/mcheck.h
5217         * include/mntent.h, include/netinet/ether.h
5218         * include/nss.h, include/obstack.h, include/printf.h
5219         * include/pty.h, include/resolv.h, include/rpc/auth.h
5220         * include/rpc/auth_des.h, include/rpc/auth_unix.h
5221         * include/rpc/clnt.h, include/rpc/des_crypt.h
5222         * include/rpc/key_prot.h, include/rpc/netdb.h
5223         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
5224         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
5225         * include/rpc/rpc_msg.h, include/rpc/svc.h
5226         * include/rpc/svc_auth.h, include/rpc/xdr.h
5227         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
5228         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
5229         * include/rpcsvc/ypupd.h, include/shadow.h
5230         * include/stdio_ext.h, include/sys/epoll.h
5231         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
5232         * include/sys/prctl.h, include/sys/profil.h
5233         * include/sys/statfs.h, include/sys/sysctl.h
5234         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
5235         * sysdeps/arm/nacl/include/bits/setjmp.h
5236         * sysdeps/mips/include/sys/asm.h
5237         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
5238         * sysdeps/unix/sysv/linux/include/sys/timex.h
5239         * sysdeps/x86/fpu/include/bits/fenv.h:
5240         Add #ifndef _ISOMAC guard around internal declarations.
5241         Add multiple-inclusion guard if not already present.
5243 2016-09-23  Zack Weinberg  <zackw@panix.com>
5245         * sysdeps/generic/sys/ucontext.h
5246         * sysdeps/arm/sys/ucontext.h
5247         * sysdeps/i386/sys/ucontext.h
5248         * sysdeps/m68k/sys/ucontext.h
5249         * sysdeps/mips/sys/ucontext.h
5250         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
5251         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
5252         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
5253         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
5254         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
5255         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
5256         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5257         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
5258         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
5259         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
5260         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
5261         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
5262         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
5263         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
5264         Include both bits/sigcontext.h and bits/sigstack.h.
5265         Fix grammar error in comment, if present.
5267         * bits/sigstack.h
5268         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
5269         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
5270         * sysdeps/unix/sysv/linux/bits/sigstack.h
5271         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
5272         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
5273         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
5274         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
5275         * bits/sigcontext.h
5276         * sysdeps/mach/hurd/i386/bits/sigcontext.h
5277         * sysdeps/unix/sysv/linux/bits/sigcontext.h
5278         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
5279         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
5280         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
5281         as well as signal.h, if this was not already allowed.  Request
5282         definition of size_t if necessary.  Minimize semantically-null
5283         differences across files.
5285 2016-09-23  Zack Weinberg  <zackw@panix.com>
5287         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
5288         Remove all logic conditional on __need macros.  Move all the
5289         conditionally defined types to their own headers...
5290         * time/bits/types/clock_t.h: Define clock_t here.
5291         * time/bits/types/clockid_t.h: Define clockid_t here.
5292         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
5293         * time/bits/types/struct_timespec.h: Define struct timespec here.
5294         * time/bits/types/struct_timeval.h: Define struct timeval here.
5295         * time/bits/types/struct_tm.h: Define struct tm here.
5296         * time/bits/types/time_t.h: Define time_t here.
5297         * time/bits/types/timer_t.h: Define timer_t here.
5298         * time/Makefile: Install the new headers.
5300         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
5301         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
5302         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
5303         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
5304         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
5305         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
5306         * sysdeps/unix/sysv/linux/bits/resource.h
5307         * sysdeps/unix/sysv/linux/bits/timex.h
5308         * sysdeps/unix/sysv/linux/mips/bits/resource.h
5309         * sysdeps/unix/sysv/linux/net/ppp_defs.h
5310         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
5311         * sysdeps/unix/sysv/linux/sys/acct.h
5312         * sysdeps/unix/sysv/linux/sys/timerfd.h
5313         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
5314         * time/sys/time.h, time/sys/timeb.h
5315         Use the new bits/types headers.
5317         * include/time.h: Remove __need logic.
5318         * include/bits/time.h
5319         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
5320         * include/bits/types/time_t.h, include/bits/types/timer_t.h
5321         * include/bits/types/struct_itimerspec.h
5322         * include/bits/types/struct_timespec.h
5323         * include/bits/types/struct_timeval.h
5324         * include/bits/types/struct_tm.h:
5325         New wrapper headers.
5327 2016-09-23  Zack Weinberg  <zackw@panix.com>
5329         * sysdeps/mach/hurd/net/if_ppp.h
5330         * sysdeps/unix/sysv/linux/net/if_ppp.h:
5331         Only define struct ifpppstatsreq and struct ifpppcstatsreq
5332         if __USE_MISC is defined, to ensure struct ifreq is declared.
5334         * inet/netinet/ether.h: Condition all function prototypes
5335         on __USE_MISC, to ensure struct ether_addr is declared.
5337         * socket/bits/types/struct_osockaddr.h: New header.
5338         * include/bits/types/struct_osockaddr.h: New wrapper.
5339         * socket/Makefile: Install the new header.
5340         * socket/sys/socket.h, inet/protocols/talkd.h:
5341         Refer to bits/types/struct_osockaddr.h for the definition of
5342         struct osockaddr.
5344 2016-09-23  Zack Weinberg  <zackw@panix.com>
5346         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
5347         * inet/protocols/routed.h, inet/protocols/talkd.h
5348         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
5349         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
5350         * sysdeps/generic/netinet/if_ether.h
5351         * sysdeps/generic/netinet/in_systm.h
5352         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
5353         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
5354         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
5355         * sysdeps/mach/hurd/net/if_arp.h
5356         * sysdeps/mach/hurd/net/if_ppp.h
5357         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
5358         * sysdeps/unix/sysv/linux/bits/in.h
5359         * sysdeps/unix/sysv/linux/net/ethernet.h
5360         * sysdeps/unix/sysv/linux/net/if_arp.h
5361         * sysdeps/unix/sysv/linux/net/if_ppp.h
5362         * sysdeps/unix/sysv/linux/net/if_shaper.h
5363         * sysdeps/unix/sysv/linux/net/route.h
5364         * sysdeps/unix/sysv/linux/netinet/if_ether.h
5365         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
5366         * sysdeps/unix/sysv/linux/netinet/if_tr.h
5367         * sysdeps/unix/sysv/linux/netipx/ipx.h
5368         * sysdeps/unix/sysv/linux/sys/acct.h
5369         * include/arpa/nameser.h, include/resolv.h:
5370         Change all uses of u_char to unsigned char,
5371         u_short and ushort to unsigned short, u_int and uint to unsigned int,
5372         u_long and ulong to unsigned long, u_int8_t to uint8_t,
5373         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
5374         and u_int64_t and u_quad_t to uint64_t.
5376         * mach/sys/reboot.h: Remove two casts of integer literals
5377         to the types they already have.
5379         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
5380         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
5381         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
5382         from referring to 'unsigned char' to 'uint8_t' for consistency with
5383         the macro definition below.
5385         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
5386         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
5387         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
5388         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
5389         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
5390         * sysdeps/unix/sysv/linux/sys/acct.h
5391         * include/arpa/nameser.h, include/resolv.h:
5392         Fix indentation disrupted by mechanical edits.
5394         * inet/protocols/talkd.h, resolv/arpa/nameser.h
5395         * sysdeps/generic/netinet/in_systm.h
5396         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
5397         * sysdeps/gnu/netinet/udp.h
5398         * sysdeps/unix/sysv/linux/net/ethernet.h
5399         * sysdeps/unix/sysv/linux/net/if_arp.h
5400         * sysdeps/unix/sysv/linux/net/if_ppp.h
5401         * sysdeps/unix/sysv/linux/net/if_shaper.h
5402         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
5403         * sysdeps/unix/sysv/linux/netinet/if_tr.h
5404         * sysdeps/unix/sysv/linux/netipx/ipx.h
5405         * sysdeps/unix/sysv/linux/sys/acct.h
5406         Include stdint.h for uintNN_t definitions.
5407         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
5409 2016-09-23  Zack Weinberg  <zackw@panix.com>
5411         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
5412         * sysdeps/unix/sysv/linux/netrose/rose.h:
5413         Include sys/socket.h and netax25/ax25.h.
5415         * inet/netinet/icmp6.h, inet/netinet/ip6.h
5416         * resolv/arpa/nameser_compat.h:
5417         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
5419         * sysdeps/unix/sysv/linux/sys/quota.h:
5420         Use __caddr_t instead of caddr_t.
5421         * sysdeps/unix/sysv/linux/sys/timerfd.h:
5422         Use __clockid_t instead of clockid_t.
5424         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
5426         * argp/argp.h: Check whether _LIBC is defined before expanding it.
5427         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
5428         expanding it.
5430         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
5431         Define __glibc_c99_flexarr_available to 1 when the compiler
5432         supports C99-compatible flexible array members, 0 otherwise.
5433         * sysdeps/unix/sysv/linux/bits/socket.h
5434         * sysdeps/mach/hurd/bits/socket.h
5435         * bits/socket.h: Use __glibc_c99_flexarr_available in
5436         definitions of struct cmsghdr and CMSG_DATA.
5438 2016-09-23  Florian Weimer  <fweimer@redhat.com>
5440         * manual/nss.texi (NSS Modules Interface): Adjust function return
5441         type to enum nss_status.  Document errnop argument.  Clarify
5442         h_errnop semantics.  Fix cross-reference formatting.
5443         (NSS Module Function Internals): Mention that *errnop needs to be
5444         set on failure, but not to zero.
5446 2016-09-23  Florian Weimer  <fweimer@redhat.com>
5448         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
5449         (get_random_name): New functions.
5450         (check_wrapper_flags_mode): Use linkat to give the new file a name
5451         determined by get_random_name.
5452         (do_test): Add calls to test open64 and openat64.
5454 2016-09-23  Florian Weimer  <fweimer@redhat.com>
5456         * test-skeleton.c: Remove #include <stdarg.h>.
5458 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
5460         [BZ #19826]
5461         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
5462         initialization of static TLS entries.
5463         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
5464         * nptl/allocatestack.c (init_one_static_tls): Likewise.
5466 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5468         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
5469         _hurd_malloc_fork_prepare.
5470         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
5471         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
5472         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
5473         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
5474         (_hurd_fork_child_hook): Drop malloc_fork_child.
5475         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
5476         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
5477         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
5478         after locking locks (notably hurd_dtable_lock). Call
5479         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
5480         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
5481         __malloc_fork_unlock_child.
5482         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
5484 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
5486         * soft-fp/extendhftf2.c: New.
5487         * soft-fp/fixhfti.c: Likewise.
5488         * soft-fp/fixunshfti.c: Likewise.
5489         * soft-fp/floattihf.c: Likewise.
5490         * soft-fp/floatuntihf.c: Likewise.
5491         * soft-fp/half.h: Likewise.
5492         * soft-fp/trunctfhf2.c: Likewise.
5494 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
5496         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
5497         macro.
5498         * math/libm-test.inc (issubnormal_test_data): New array.
5499         (issubnormal_test): New function.
5500         * manual/arith.texi (Floating Point Classes): Document
5501         issubnormal.
5502         * manual/libm-err-tab.pl: Update comment on interfaces without
5503         ulps tabulated.
5505         * sysdeps/generic/stdint.h: Define
5506         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5507         <bits/libc-header-start.h> instead of including <features.h>.
5508         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
5509         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
5510         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
5511         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
5512         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
5513         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
5514         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
5515         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
5516         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
5517         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
5518         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
5519         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
5520         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
5521         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
5522         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
5523         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
5524         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
5525         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
5526         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
5527         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
5528         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
5529         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
5530         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
5531         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
5532         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
5533         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
5534         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
5535         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
5536         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
5537         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
5538         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
5539         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
5540         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
5541         * manual/arith.texi (Integers): Document these macros for types
5542         specified by width properties.
5543         * manual/lang.texi (Width of Type): Document these macros for
5544         other standard typedefs.
5545         * stdlib/tst-width-stdint.c: New file.
5546         * stdlib/Makefile (tests): Add tst-width-stdint.
5548 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5550         [BZ #20016]
5551         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
5552         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
5553         Move ...
5554         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
5555         ... here, as compatibility symbols in a new file.
5556         * resolv/Makefile (libresolv-routines): Add compat-hooks.
5557         * resolv/res_init.c (__res_vinit): Adjust member names.
5558         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
5559         * resolv/resolv.h (res_sendhookact, res_send_qhook)
5560         (res_send_rhook): Remove.
5561         (struct __res_state): Rename qhook, rhook members.
5563 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5565         malloc: Use __libc_lock wrappers.
5566         * malloc/arena.c (list_lock, free_list_lock): Define using
5567         __libc_lock_define_initialized.
5568         (arena_lock): Adjust formatting.
5569         * malloc/malloc.c (struct malloc_state): Define mutex using
5570         __libc_lock_define.
5571         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
5572         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
5573         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
5574         (mutex_unlock, mutex_trylock): Remove.
5575         (__pthread_initialize): Remove unused macro.
5576         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
5577         (mutex_unlock, mutex_trylock): Remove.
5579 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5581         [BZ #20592]
5582         Remove RR type classification macros.
5583         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
5584         (ns_t_udp_p, ns_t_xfr_p): Remove.
5586 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5588         Remove misleading version information.
5589         * resolv/arpa/nameser.h (__NAMESER): Remove.
5590         * resolv/arpa/nameser_compat.h (__BIND): Remove.
5592 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5594         Remove the always-defined BIND_4_COMPAT macro.
5595         * resolv/arpa/nameser.h: Unconditionally include
5596         <arpa/nameser_compat.h>.
5597         (BIND_4_COMPAT): Remove.
5598         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
5600 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5602         [BZ #20591]
5603         Remove obsolete DNSSEC support.
5604         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
5605         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
5606         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
5607         (ns_verify_tcp, ns_verify_tcp_init): Remove.
5608         (ns_cert_types): Add comment.
5609         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
5610         separately.
5611         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
5612         (dst_s_dns_key_id): Remove.
5613         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
5614         variables.
5616 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5618         [BZ #20524]
5619         * manual/string.texi (String/Array Comparison): Clarify the
5620         strverscmp behavior.
5622 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5624         * test-skeleton.c (xasprintf): Add function.
5625         * io/tst-open-tmpfile.c: New test.
5626         * io/Makefile (tests): Add it.
5628 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5630         Avoid running $(CXX) during build to obtain header file paths.
5631         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
5632         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
5633         * Makerules (cstdlib, cmath): Remove variables.  Use
5634         $(c++-cstdlib-header), $(c++-cmath-header) instead.
5635         * configure: Regenerate.
5637 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5639         * Makeconfig (all-object-suffixes): Include .op only if
5640         $(build-profile).
5642 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5644         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
5645         conditionals.  Do not define PATH_MAX.
5647 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5649         * posix/Makefile (tests): Add tst-spawn3.
5650         * posix/tst-spawn3.c: New file.
5651         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
5652         if it is already opened for open action.
5654         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
5655         all signals when executing the clone vfork child.
5656         (SIGALL_SET): Remove macro.
5658         * nptl/Makefile (tests): Add tst-exec5.
5659         * nptl/tst-exec5.c: New file.
5660         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
5661         asynchronous cancellation.
5663 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5665         * hurd/exc2signal.c: #include <hurd/signal.h>
5666         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
5667         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
5668         accordingly.
5669         * mach/mach_error.c (mach_error): Fix old-style function definition.
5670         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
5672 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5674         * math/Makefile (libm-calls): Remove s_nanF.
5675         (gen-libm-calls): Add s_nanF.
5677         * math/s_nan.c: Refactor into ...
5678         * math/s_nan_template.c: New file.
5680         * math/s_nanf.c: Removed.
5681         * math/s_nanl.c: Removed.
5682         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
5683         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
5685         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
5686         (LDOUBLE_nanl_libm_version): New macro.
5688         * sysdeps/generic/math-type-macros-double.h:
5689         (M_STRTO_NAN): New macro.
5690         * sysdeps/generic/math-type-macros-float.h: Likewise.
5691         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
5693         * sysdeps/generic/math-type-macros.h: Document
5694         M_STRTO_NAN.
5696 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5698         * math/s_nanf.c: Remove __nanf undef.
5699         * math/s_nan.c: Remove __nan undef.
5700         * math/s_nanl.c: Remove __nanl undef.
5702         * sysdeps/generic/math_private.h (__nan): Remove macro
5703         override.
5704         (__nanf): Likewise.
5705         (__nanl): Likewise.
5707 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5709         * math/Makefile (gen-all-calls): New variable.
5710         (generated): Replace gen-libm-calls with gen-all-calls.
5711         (gen-libm-templates.stmp): Likewise.  Also, ensure
5712         the output directory exists or is created and add
5713         dependency on the Makefile.
5714         (calls): Move s_ldexpF into gen-calls.
5715         (gen-calls): New variable.
5717         * math/s_ldexpf.c: Removed.
5718         * math/s_ldexpl.c: Removed.
5719         * math/s_ldexp.c: Refactored into ...
5720         * math/s_ldexp_template.c: New file.
5722         * sysdeps/generic/math-type-macros-double.h: Remove
5723         redundant fall-through definition of declare_mgen_alias.
5724         (declare_mgen_alias_2): New macro.
5726         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
5727         New macro for function aliased to two exported symbols.
5729         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
5730         new template file.
5731         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5733 2016-09-20  Florian Weimer  <fweimer@redhat.com>
5735         * Makeconfig (all-object-suffixes): Remove .og.
5736         * Makerules (elide-routines.og): Remove.
5737         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
5738         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
5739         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
5741 2016-09-20  Florian Weimer  <fweimer@redhat.com>
5743         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
5744         .os objects.
5746 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5748         [BZ #20615]
5749         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
5750         fpu directory by non-fpu.
5751         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
5752         on non-fpu directory from a fpu directory.
5754 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
5756         * include/limits.h: Define
5757         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5758         <bits/libc-header-start.h> instead of including <features.h>.
5759         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
5760         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
5761         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
5762         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
5763         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
5764         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
5765         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
5766         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
5767         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
5768         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
5769         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
5770         * manual/lang.texi (Width of Type): Document these macros.
5771         * stdlib/tst-width.c: New file.
5772         * stdlib/Makefile (tests): Add tst-width.
5774 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5776         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
5777         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
5779 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5781         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
5782         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
5783         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
5785 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5787         [BZ #18243]
5788         * rt/Makefile (test): Add tst-shm-cancel.
5789         * rt/tst-shm-cancel.c: New file.
5790         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
5792         [BZ #18243]
5793         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
5794         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
5795         definition.
5796         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
5797         uncontended case.
5798         * nptl/sem_wait.c (__new_sem_wait): Likewise.
5799         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
5800         (tf): Fix check for uncontended case.
5801         (do_test): Likewise.
5802         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
5803         (tf): Fix check for uncontended case.
5804         (do_test): Likewise.
5805         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
5806         (tf): Fix check for uncontended case.
5807         (do_test): Likewise.
5808         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
5809         (tf): Fix check for uncontended case.
5810         (do_test): Likewise.
5812         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
5813         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
5815         [BZ #15765]
5816         * nptl/Makefile (tests): Add tst-sem16.
5817         * nptl/tst-sem16.c: New file.
5818         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
5820         * nptl/sem_open.c (sem_open): Init pad value to 0.
5821         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
5822         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
5824 2016-09-15  Florian Weimer  <fweimer@redhat.com>
5826         [BZ #20611]
5827         * inet/Makefile (routines): Add inet6_scopeid_pton.
5828         (tests): Add tst-inet6_scopeid_pton.
5829         * inet/inet6_scopeid_pton.c: New file.
5830         * inet/net-internal.h: Likewise.
5831         * inet/tst-inet6_scopeid_pton.c: New test.
5832         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
5833         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
5834         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5836 2016-09-14  Florian Weimer  <fweimer@redhat.com>
5838         Remove support for compiling wrappers with PTW.
5839         * sysdeps/nptl/Makeconfig: Drop ptw- support.
5840         * nptl/Makefile (pthread-compat-wrappers): Define.
5841         (libpthread-routines): Use pthread-compat-wrappers.
5842         * sysdeps/unix/sysv/linux/alpha/Makefile
5843         (libpthread-routines, libpthread-shared-only-routines): Remove
5844         ptw- prefix.
5845         * sysdeps/s390/nptl/Makefile
5846         (libpthread-routines, libpthread-shared-only-routines): Likewise.
5847         * sysdeps/ia64/nptl/Makefile
5848         (libpthread-routines, libpthread-shared-only-routines): Likewise.
5849         * sysdeps/nacl/Makefile (libpthread-routines): Use
5850         pthread-compat-wrappers to filter the routines list instead of the
5851         ptw- prefix.
5853 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5855         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
5856         with L() and remove explicit suffix, convert real literals
5857         which can be equivalentally substituted with integers, and
5858         transform -L(x) to L(-x).
5860         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5861         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5862         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5863         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5864         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5865         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5866         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5867         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5868         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5869         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5870         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5871         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5872         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5873         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5874         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5875         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5876         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5877         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5878         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5879         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5880         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5881         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5882         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5883         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5884         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5885         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5886         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5887         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5888         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5889         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5890         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5891         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
5892         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5893         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5894         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5895         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5896         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5897         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5898         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5899         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5900         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5901         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5902         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5903         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5904         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5905         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5906         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5907         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
5908         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5909         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5911 2016-09-13  Florian Weimer  <fweimer@redhat.com>
5913         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
5915 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5917         * malloc/Makefile (tests): Remove individual static test names
5918         and just add all of tests-static.
5920         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
5922 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
5924         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
5925         file.
5927         * sysdeps/sparc/fpu/fegetmode.c: New file.
5928         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
5930         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
5931         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
5933         * sysdeps/s390/fpu/fegetmode.c: New file.
5934         * sysdeps/s390/fpu/fesetmode.c: Likewise.
5936         * sysdeps/powerpc/fpu/fegetmode.c: New file.
5937         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
5938         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
5939         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
5940         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
5941         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
5943         * sysdeps/mips/fpu/fegetmode.c: New file.
5944         * sysdeps/mips/fpu/fesetmode.c: Likewise.
5946         * sysdeps/m68k/fpu/fegetmode.c: New file.
5947         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
5949         * sysdeps/ia64/fpu/fegetmode.c: New file.
5950         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
5952         * sysdeps/hppa/fpu/fegetmode.c: New file.
5953         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
5955         * sysdeps/arm/fegetmode.c: New file.
5956         * sysdeps/arm/fesetmode.c: Likewise.
5958         * sysdeps/alpha/fpu/fegetmode.c: New file.
5959         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
5961         * sysdeps/aarch64/fpu/fegetmode.c: New file.
5962         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
5964         * math/fegetmode.c: New file.
5965         * math/fesetmode.c: Likewise.
5966         * sysdeps/i386/fpu/fegetmode.c: Likewise.
5967         * sysdeps/i386/fpu/fesetmode.c: Likewise.
5968         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
5969         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
5970         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
5971         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
5972         declaration.
5973         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
5974         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
5975         typedef.
5976         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5977         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5978         (femode_t): New typedef.
5979         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5980         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5981         (femode_t): New typedef.
5982         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5983         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5984         (femode_t): New typedef.
5985         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5986         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5987         (femode_t): New typedef.
5988         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5989         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5990         (femode_t): New typedef.
5991         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5992         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5993         (femode_t): New typedef.
5994         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5995         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5996         (femode_t): New typedef.
5997         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5998         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5999         (femode_t): New typedef.
6000         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6001         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6002         (femode_t): New typedef.
6003         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6004         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6005         (femode_t): New typedef.
6006         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
6007         declaration.
6008         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6009         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6010         (femode_t): New typedef.
6011         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6012         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6013         (femode_t): New typedef.
6014         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6015         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6016         (femode_t): New typedef.
6017         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6018         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6019         (femode_t): New typedef.
6020         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6021         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6022         (femode_t): New typedef.
6023         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6024         * manual/arith.texi (FE_DFL_MODE): Document macro.
6025         (fegetmode): Document function.
6026         (fesetmode): Likewise.
6027         * math/Versions (fegetmode): New libm symbol at version
6028         GLIBC_2.25.
6029         (fesetmode): Likewise.
6030         * math/Makefile (libm-support): Add fegetmode and fesetmode.
6031         (tests): Add test-femode and test-femode-traps.
6032         * math/test-femode-traps.c: New file.
6033         * math/test-femode.c: Likewise.
6034         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
6035         alias for __fe_dfl_env.
6036         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
6037         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
6038         (__fe_dfl_mode): Likewise.
6039         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
6040         version GLIBC_2.25.
6041         * sysdeps/nacl/libm.abilist: Update.
6042         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6043         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6044         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6045         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6046         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6047         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6048         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6049         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6050         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6051         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6052         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6053         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6055         Likewise.
6056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6057         Likewise.
6058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6059         Likewise.
6060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6061         Likewise.
6062         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6063         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6064         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6065         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6066         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6068         Likewise.
6069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6070         Likewise.
6071         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6072         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6073         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6075 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
6077         [BZ #20495]
6078         [BZ #20508]
6079         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
6080         processors, set Use_dl_runtime_resolve_slow and set
6081         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
6082         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
6083         New.
6084         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
6085         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
6086         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
6087         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
6088         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
6089         if Use_dl_runtime_resolve_opt is set.  Use
6090         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
6091         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
6092         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
6093         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
6094         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
6095         New.
6096         (_dl_runtime_resolve_opt): Likewise.
6097         (_dl_runtime_profile): Define only if _dl_runtime_profile is
6098         defined.
6100 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6102         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
6103         __libc_memalign with "+ RELA R_390_GLOB_DAT".
6105 2016-09-06  Florian Weimer  <fweimer@redhat.com>
6107         Convert malloc to __libc_lock.  Automated part, using this Perl
6108         s/// command:
6109           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
6110             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
6111         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
6112         conversion.
6114 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
6116         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
6117         (linknamespace-symlists-tests): Likewise.
6118         (linknamespace-header-tests): Likewise.
6120 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
6122         [BZ #19810]
6123         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
6124         * elf/tst-noload.c: New test case.
6125         * elf/Makefile (tests): Add tst-noload.
6127 2016-09-02  Roland McGrath  <roland@hack.frob.com>
6129         * sysdeps/nacl/dup.c: Add libc_hidden_def.
6131         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
6132         not any more.
6134         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
6136 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6138         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
6139         (do_cos_slow): Likewise.
6140         (do_sin): Likewise.
6141         (do_sin_slow): Likewise.
6142         (slow): Likewise.
6143         (slow1): Likewise.
6144         (slow2): Likewise.
6145         (sloww): Likewise.
6146         (sloww1): Likewise.
6147         (sloww2): Likewise.
6148         (bsloww): Likewise.
6149         (bsloww1): Likewise.
6150         (bsloww2): Likewise.
6151         (cslow2): Likewise.
6153         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
6155         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
6156         arguments.  Consolidate input partitioning from callers here.
6157         (do_cos_slow): Likewise.
6158         (do_sin): Likewise.
6159         (do_sin_slow): Likewise.
6160         (do_sincos_1): Remove the no longer necessary input partitioning.
6161         (do_sincos_2): Likewise.
6162         (__sin): Likewise.
6163         (__cos): Likewise.
6164         (slow1): Likewise.
6165         (slow2): Likewise.
6166         (sloww1): Likewise.
6167         (sloww2): Likewise.
6168         (bsloww1): Likewise.
6169         (bsloww2): Likewise.
6170         (cslow2): Likewise.
6172 2016-09-02  Florian Weimer  <fweimer@redhat.com>
6174         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
6175         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
6176         outside of allocated array.
6178 2016-09-02  Florian Weimer  <fweimer@redhat.com>
6180         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
6181         instead of MB_CUR_MAX to avoid variable-length array.
6183 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6185         * math/Makefile (libm-calls): Remove k_rem_pio2F.
6186         (type-double-routines): Add k_rem_pio2.
6187         (type-float-routines): Add k_rem_pio2f.
6189         * sysdeps/generic/math_private.h:
6190         (__kernel_rem_pio2l): Removed.
6192         * math/k_rem_pio2l.c: Removed.
6193         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
6194         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
6195         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
6196         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
6198 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6200         * math/Makefile (gen-libm-calls): Add s_fmin
6201         (libm-calls): Remove above.
6203         * math/s_fmin.c: Refactor into ...
6204         * math/s_fmin_template.c: New file.
6206         * math/s_fminf.c: Removed.
6207         * math/s_fminl.c: Removed.
6208         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6209         (LDOUBLE_fmin_libm_version): New macro.
6211         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
6212         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
6214 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6216         * math/Makefile: (gen-libm-calls): Add s_fmax.
6217         (libm-calls): Remove above.
6219         * math/s_fmax.c: Refactor into ...
6220         * math/s_fmax_template.c: New file.
6221         * math/s_fmaxf.c: Removed.
6222         * math/s_fmaxl.c: Removed.
6224         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6225         (LDOUBLE_fmaxl_libm_version): New macro.
6227         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
6228         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
6230         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
6231         s_fmin.c to pick the aarch64 version of the file.
6232         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
6233         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
6235 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6237         * math/Makefile: (gen-libm-calls): Add s_nextdown.
6238         (libm-calls): Remove above.
6240         * math/s_nextdown.c: Refactor into ...
6241         * math/s_nextdown_template.c: New file.
6242         * math/s_nextdownf.c: Removed.
6243         * math/s_nextdownl.c: Removed.
6245         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
6247 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6249         * math/Makefile (gen-libm-calls): Add s_fdim.
6250         (libm-calls): Move to above.
6252         * math/s_fdim.c: Renamed and refactored into to ...
6253         * math/s_fdim_template.c: New file.
6254         * math/s_fdiml.c: Removed.
6255         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
6256         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
6258         * sysdeps/generic/math-type-macros-double.h:
6259         (declare_mgen_alias): Don't declare if already declared.
6260         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
6261         Likewise.
6263         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6264         (declare_mgen_alias): Don't declare if already declared.
6265         (M_LIBM_NEED_COMPAT): Likewise.
6266         (declare_mgen_libm_compat): Likewise.
6267         (LDOUBLE_fdiml_libm_version): New macro.
6269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
6270         Include math/s_fdim.c now that ldbl-opt version is not needed.
6271         (declare_mgen_alias): New macro to disable aliasing.
6273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
6274         (declare_mgen_alias): Likewise.
6275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
6276         (declare_mgen_alias): Likewise.
6277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
6278         (declare_mgen_alias): Likewise.
6279         (M_LIBM_NEED_COMPAT): Likewise.
6281 2016-09-01  Florian Weimer  <fweimer@redhat.com>
6283         [BZ #20525]
6284         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
6285         Include <linux/quota.h>.
6286         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
6287         and btodb.
6288         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
6289         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
6290         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
6291         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
6292         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
6293         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
6294         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
6295         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
6296         types.
6297         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
6298         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
6300 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6302         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
6303         (gammal_positive): Fix spacing.
6304         (__ieee754_gammal_r): Likewise.
6306 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6308         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
6309         (_Float128): Define as long double, always.
6310         (L): Apply long double type suffix, always.
6312         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
6313         _Float128, excepting comments.
6315         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6316         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6317         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6318         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6319         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6320         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6321         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6322         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6323         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6324         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
6325         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6326         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6327         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6328         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6329         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6330         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6331         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6332         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6333         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6334         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6335         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6336         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6337         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6338         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6339         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6340         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6341         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6342         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6343         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6344         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6345         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6346         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6347         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6348         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6349         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6350         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6351         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6352         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6353         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6354         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6355         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6356         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6357         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6358         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6359         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6360         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6361         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6362         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6363         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6364         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6365         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6366         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6367         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6368         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6369         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
6370         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6371         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6372         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6373         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6374         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6375         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6376         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6377         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6378         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6379         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6380         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
6381         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6382         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6384         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
6385         _Float128, and include math_private.h.
6386         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6388         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
6389         long double semantics.
6390         (_Float128): Likewise.
6391         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
6392         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6393         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
6394         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
6396 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6398         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
6399         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
6400         * sysdeps/s390/configure: Regenerated.
6401         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
6402         instruction for raising over-/underflow if z196 zarch is supported
6403         by default.
6404         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
6406 2016-08-30  Svante Signell  <svante.signell@gmail.com>
6408         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
6409         it point to a dumb buffer for RPC to fill it.
6411 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6413         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
6414         instead of if/else.
6415         (do_sin_slow): Likewise.
6416         (do_sincos_1): Use fabs instead of if/else.
6417         (do_sincos_2): Likewise.
6418         (__sin): Likewise.
6419         (__cos): Likewise.
6420         (slow2): Likewise.
6421         (sloww): Likewise.
6422         (sloww1): Likewise.  Drop argument M.
6423         (sloww2): Use fabs instead of if/else.
6424         (bsloww): Likewise.
6425         (bsloww1): Likewise.
6426         (bsloww2): Likewise.
6428         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
6429         fall through comment.
6430         (do_sincos_1): Likewise.
6432         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
6433         Consolidate switch cases 0 and 2.
6435 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6437         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
6438         (libm-calls): Remove the above.
6440         * math/s_cexp_template.c: Update using type-generic macros.
6441         * math/s_clog10_template.c: Likewise.
6442         * math/s_cpow_template.c: Likewise.
6443         * math/s_clog_template.c: Likewise.
6444         * math/s_cproj_template.c: Likewise.
6445         * math/s_csqrt_template.c: Likewise.
6447         * math/s_cexp.c: Removed.
6448         * math/s_cexpf.c: Removed.
6449         * math/s_cexpl.c: Removed.
6450         * math/s_clog10.c: Removed.
6451         * math/s_clog10f.c: Removed.
6452         * math/s_clog10l.c: Removed.
6453         * math/s_cpow.c: Removed.
6454         * math/s_cpowf.c: Removed.
6455         * math/s_cpowl.c: Removed.
6456         * math/s_clog.c: Removed.
6457         * math/s_clogf.c: Removed.
6458         * math/s_clogl.c: Removed.
6459         * math/s_cproj.c: Removed.
6460         * math/s_cprojf.c: Removed.
6461         * math/s_cprojl.c: Removed.
6462         * math/s_csqrt.c: Removed.
6463         * math/s_csqrtf.c: Removed.
6464         * math/s_csqrtl.c: Removed.
6466         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
6467         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
6468         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
6469         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
6470         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
6471         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
6473         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
6474         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
6475         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
6476         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
6477         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
6478         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
6479         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
6480         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
6481         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
6482         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
6483         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
6485         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
6486         version.
6488         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
6489         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
6490         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
6491         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
6493 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6495         * s_cexp_template.c: Copy of s_cexp.c.
6496         * s_clog_template.c: Copy of s_clog.c.
6497         * s_clog10_template.c: Copy of s_clog10.c.
6498         * s_cpow_template.c: Copy of s_cpow.c.
6499         * s_cproj_template.c: Copy of s_cproj.c.
6500         * s_csqrt_template.c: Copy of s_csqrt.c.
6502 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6504         [BZ #20517]
6505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
6506         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
6507         exported.
6509 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
6511         * math/fetestexceptflag.c: New file.
6512         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
6513         Stefan Liebler.
6514         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6515         (fetestexceptflag): New function declaration.
6516         * manual/arith.texi (fetestexceptflag): Document function.
6517         * math/Versions (fetestexceptflag): New libm symbol at version
6518         GLIBC_2.25.
6519         * math/Makefile (libm-support): Add fetestexceptflag.
6520         (tests): Add test-fetestexceptflag.
6521         * math/test-fetestexceptflag.c: New file.
6522         * sysdeps/nacl/libm.abilist: Update.
6523         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6524         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6525         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6526         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6527         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6528         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6529         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6530         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6531         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6532         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6533         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6534         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6536         Likewise.
6537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6538         Likewise.
6539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6540         Likewise.
6541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6542         Likewise.
6543         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6544         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6545         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6546         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6547         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6549         Likewise.
6550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6551         Likewise.
6552         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6553         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6554         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6556 2016-08-26  Florian Weimer  <fweimer@redhat.com>
6558         [BZ #20432]
6559         Avoid strong references to malloc-internal symbols when linking
6560         statically, to support statically interposed mallocs.
6561         * include/libc-symbols.h (call_function_static_weak): New macro.
6562         * malloc/Makefile (tests): Add tst-interpose-nothread,
6563         tst-interpose-thread, tst-interpose-static-nothread,
6564         tst-interpose-static-thread.
6565         (tests-static): Add tst-interpose-static-nothread,
6566         tst-interpose-static-thread.
6567         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
6568         tst-interpose-aux-thread.o.
6569         (test-extras): Add tst-interpose-aux-nothread,
6570         tst-interpose-aux-thread.
6571         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
6572         tst-interpose-aux-nothread.o.
6573         (tst-interpose-thread, tst-interpose-static-thread): Link with
6574         tst-interpose-aux-thread.o and libthread.
6575         * malloc/tst-interpose-aux-nothread.c: New file.
6576         * malloc/tst-interpose-aux-thread.c: Likewise.
6577         * malloc/tst-interpose-aux.c: Likewise.
6578         * malloc/tst-interpose-aux.h: Likewise.
6579         * malloc/tst-interpose-nothread.c: Likewise.
6580         * malloc/tst-interpose-skeleton.c: Likewise.
6581         * malloc/tst-interpose-static-nothread.c: Likewise.
6582         * malloc/tst-interpose-static-thread.c: Likewise.
6583         * malloc/tst-interpose-thread.c: Likewise.
6584         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
6585         * sysdeps/mach/hurd/fork.c (__fork): Only call
6586         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
6587         __malloc_fork_unlock_child if defined.
6588         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
6590 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6592         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
6593         timespec C99 designated initialization.
6595 2016-08-26  Florian Weimer  <fweimer@redhat.com>
6597         [BZ #19946]
6598         Avoid expected SIGALRM signals.
6599         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
6600         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
6601         (xpthread_create, xpthread_detach, xpthread_join)
6602         (delayed_exit_thread, delayed_exit): New functions.
6603         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
6604         (tf): Use xpthread_cond_wait.
6605         (do_test): Likewise.  Replace alarm with delayed_exit.
6606         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6607         (do_test): Call delayed_exit.  Report failure.
6608         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6609         (do_test): Call delayed_exit.
6610         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6611         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
6612         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6613         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
6614         error.
6615         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6616         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
6617         error.
6618         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
6619         (do_test): Call delayed_exit.
6620         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
6621         (do_test): Call delayed_exit.
6622         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
6623         (do_test): Call delayed_exit instead of alarm.  Use
6624         xpthread_mutex_lock.
6625         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
6626         (do_test): Call delayed_exit instead of alarm.  Use
6627         xpthread_mutex_lock.
6628         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
6629         (do_test): Call delayed_exit instead of alarm.
6630         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
6631         (do_test): Call delayed_exit instead of alarm.  Use
6632         xpthread_spin_lock.
6633         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
6634         (do_test): Call delayed_exit instead of alarm.  Use
6635         xpthread_join.
6637 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
6639         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
6640         adjust CFA when allocating register save area on re-aligned
6641         stack.
6643 2016-08-26  Florian Weimer  <fweimer@redhat.com>
6645         * string/tst-cmp.c: New test.
6646         * string/Makefile (tests): Add it.
6648 2016-08-25  Mark Wielaard  <mark@klomp.org>
6650         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
6651         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
6652         (check_tree_recurse): Use newly defined accessors.
6653         (check_tree): Likewise.
6654         (maybe_split_for_insert): Likewise.
6655         (__tfind): Likewise.
6656         (__tdelete): Likewise.
6657         (trecurse): Likewise.
6658         (tdestroy_recurse): Likewise.
6659         (__tsearch): Likewise. And add asserts for malloc alignment.
6660         (__twalk): Cast root to node in case CHECK_TREE is defined.
6662 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6664         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
6666 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6668         * math/Makefile (libm-gen-calls): Add
6669         catan, catanh, ctan, ctanh.
6670         (libm-calls): Remove the above.
6672         * math/s_catan_template.c: Update using type-generic macros.
6673         * math/s_catanh_template.c: Likewise.
6674         * math/s_ctan_template.c: Likewise.
6675         * math/s_ctanh_template.c: Likewise.
6677         * math/s_catanf.c: Removed.
6678         * math/s_catan.c: Removed.
6679         * math/s_catanl.c: Removed.
6680         * math/s_catanhf.c: Removed.
6681         * math/s_catanh.c: Removed.
6682         * math/s_catanhl.c: Removed.
6683         * math/s_ctanf.c: Removed.
6684         * math/s_ctan.c: Removed.
6685         * math/s_ctanl.c: Removed.
6686         * math/s_ctanhf.c: Removed.
6687         * math/s_ctanh.c: Removed.
6688         * math/s_ctanhl.c: Removed.
6690         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
6691         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
6692         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
6693         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
6694         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
6695         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
6697         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
6698         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
6699         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
6700         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
6702 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6704         * s_catan_template.c: Copy of s_catan.c.
6705         * s_catanh_template.c: Copy of s_catanh.c.
6706         * s_ctan_template.c: Copy of s_ctan.c.
6707         * s_ctanh_template.c: Copy of s_ctanh.c.
6709 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6711         * math/Makefile (gen-libm-calls): Move
6712         casin, casinh, csin, csinh here.
6713         (libm-calls): Remove the above.
6715         * math/s_casin_template.c: Update using type-generic macros.
6716         * math/s_casinh_template.c: Likewise.
6717         * math/s_csin_template.c: Likewise.
6718         * math/s_csinh_template.c: Likewise.
6719         * math/k_casinh_template.c: Likewise.
6721         * math/s_casinf.c: Removed.
6722         * math/s_casin.c: Removed.
6723         * math/s_casinl.c: Removed.
6724         * math/s_casinh.c: Removed.
6725         * math/s_casinhf.c: Removed.
6726         * math/s_casinhl.c: Removed.
6727         * math/s_csin.c: Removed.
6728         * math/s_csinf.c: Removed.
6729         * math/s_csinl.c: Removed.
6730         * math/s_csinh.c: Removed.
6731         * math/s_csinhf.c: Removed.
6732         * math/s_csinhl.c: Removed.
6733         * math/k_casinh.c: Removed.
6734         * math/k_casinhf.c: Removed.
6735         * math/k_casinhl.c: Removed.
6737         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
6738         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
6739         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
6740         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
6742         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
6743         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
6744         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
6745         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
6746         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
6747         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
6748         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
6749         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
6751         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
6752         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
6753         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
6754         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
6756         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
6757         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
6758         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
6759         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
6761 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6763         * s_casin_template.c: Copy of s_casin.c.
6764         * s_casinh_template.c: Copy of s_casinh.c.
6765         * s_csin_template.c: Copy of s_csin.c.
6766         * s_csinh_template.c: Copy of s_csinh.c.
6767         * k_casinh_template.c: Copy of k_casinh.c.
6769 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6771         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
6773 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6775         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
6776         (mul_split) Remove, rename as mul_splitl, remove
6777         redundant float.h include, and include via mul_splitl.h
6779         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6780         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6781         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6782         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
6783         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6785         * math/mul_splitl.h: New file.
6787         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
6788         Move into mul_split.h, and remove redundant float.h include.
6790         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
6791         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
6792         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6793         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
6795         * math/mul_split.h: New file.
6797 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6799         * math/Makefile (libm-gen-calls): Move
6800         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
6801         (libm-calls): Remove above.
6803         * math/s_cacos_template.c: Update using type-generic macros.
6804         * math/s_cacosh_template.c: Likewise.
6805         * math/s_ccos_template.c: Likewise.
6806         * math/s_ccosh_template.c: Likewise.
6808         * math/s_cacosf.c: Removed.
6809         * math/s_cacos.c: Removed.
6810         * math/s_cacosl.c: Removed.
6811         * math/s_cacoshf.c: Removed.
6812         * math/s_cacosh.c: Removed.
6813         * math/s_cacoshl.c: Removed.
6814         * math/s_ccosf.c: Removed.
6815         * math/s_ccos.c: Removed.
6816         * math/s_ccosl.c: Removed.
6817         * math/s_ccoshf.c: Removed.
6818         * math/s_ccosh.c: Removed.
6819         * math/s_ccoshl.c: Removed.
6821         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
6822         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
6823         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
6824         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
6825         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
6826         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
6828         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
6829         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
6830         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
6831         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
6833         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
6834         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
6835         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
6836         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
6838 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6840         * s_cacos_template.c: Copy of s_cacos.c.
6841         * s_cacosh_template.c: Copy of s_cacosh.c.
6842         * s_ccos_template.c: Copy of s_ccos.c.
6843         * s_ccosh_template.c: Copy of s_ccosh.c.
6845 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6847         * stdlib/tst-strtod-round-skeleton.c:
6848         Refactored from tst-strtod-round.c.
6850         (L_): New macro to apply literal modifier.
6851         (FNPFX): New macro to select str or wcs prefix.
6852         (CHAR): New macro to choose wchar_t or char.
6853         (STRM): New macro to choose printf for tested character type.
6855         (STRTO): New macro to choose appropriate string -> real function.
6856         (FNPFXS): Stringitized version of FNPFX.
6857         (STR): Support for above macro.
6858         (STRX): Likewise.
6860         (TEST): Update with above macros.
6861         (test): Likewise.
6862         (GEN_ONE_TEST): Likewise.
6863         (test_in_one_mode): Likewise.
6865         * stdlib/tst-strtod-round.c: New file.
6866         * wcsmbs/tst-wcstod-round.c: New file.
6868         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
6869         (tst-wcstod-round): Add libm depencency for fesetround.
6871 2016-08-19  Zack Weinberg  <zackw@panix.com>
6873         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
6875 2016-08-18  Torvald Riegel  <triegel@redhat.com>
6877         [BZ #20477]
6878         * resolv/res_hconf.c (do_init): Use atomic access.
6879         * resolv/res_hconf.h: Add comments.
6880         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
6881         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
6882         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6884 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
6886         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6887         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
6888         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6889         Likewise.
6891 2016-08-18  Florian Weimer  <fweimer@redhat.com>
6893         [BZ #16907]
6894         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
6895         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
6896         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
6897         (__attribute__): Remove definition.
6899 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6901         * sysdeps/ieee754/ldbl-128/e_asinl.c:
6902         Remove unused sqrtl declaration.
6904 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6906         * math/Makefile: (gen-libm-templates.stmp): New rule.
6907         (libm-calls): Move carg conj cimag and cabs into ...
6908         (gen-libm-calls): New variable.
6909         (generated): Inform Make objects from gen-libm-calls
6910         may be generated.
6912         * sysdeps/generic/math-type-macros.h: New file.
6913         * sysdeps/generic/math-type-macros-float.h: Likewise.
6914         * sysdeps/generic/math-type-macros-double.h: Likewise.
6915         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6916         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
6917         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
6919         * math/cabs.c: Refactor into
6920         * math/cabs_template.c: new file.
6921         * math/cabsf.c: Removed.
6922         * math/cabsl.c: Removed.
6923         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
6924         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
6926         * math/carg.c: Refactor into
6927         * math/carg_template.c: new file.
6928         * math/cargf.c: Removed.
6929         * math/cargl.c: Removed.
6930         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
6931         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
6933         * math/conj.c: Refactor into
6934         * math/conj_template.c: new file.
6935         * math/conjf.c: Removed.
6936         * math/conjl.c: Removed.
6937         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
6938         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
6940         * math/cimag.c: Refactor into
6941         * math/cimag_template.c: new file.
6942         * math/cimagf.c: Removed.
6943         * math/cimagl.c: Removed.
6944         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
6945         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
6947         * math/cimag.c: Refactor into
6948         * math/cimag_template.c: new file.
6949         * math/cimagf.c: Removed.
6950         * math/cimagl.c: Removed.
6951         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
6952         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
6954 2016-08-17  Florian Weimer  <fweimer@redhat.com>
6956         Reduce time to expected nptl/tst-once5 failure.
6957         * nptl/tst-once5.cc (TIMEOUT): Define.
6959 2016-08-17  Florian Weimer  <fweimer@redhat.com>
6961         [BZ #20452]
6962         Avoid additional copies of objects in libc.a in static libraries.
6963         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
6964         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
6965         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
6966         rt-sysdep.
6967         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
6968         Add nptl-sysdep.
6969         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
6970         Add ptw-sysdep.
6971         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
6972         rt-sysdep.
6973         * sysdeps/unix/sysv/linux/alpha/Makefile
6974         (libpthread-shared-only-routines): Add ptw-sysdep,
6975         ptw-sigprocmask, ptw-rt_sigaction.
6976         * sysdeps/unix/sysv/linux/ia64/Makefile
6977         (librt-shared-only-routines): Add rt-sysdep.
6978         * sysdeps/unix/sysv/linux/i386/Makefile
6979         (libpthread-shared-only-routines): Add libc-do-syscall.
6980         * sysdeps/unix/sysv/linux/microblaze/Makefile
6981         (libpthread-shared-only-routines): Add sysdep.
6982         * sysdeps/unix/sysv/linux/powerpc/Makefile
6983         (librt-shared-only-routines): Add rt-sysdep.
6984         (libpthread-shared-only-routines): Add sysdep.
6985         * sysdeps/unix/sysv/linux/s390/Makefile
6986         (librt-shared-only-routines): Add rt-sysdep.
6987         * sysdeps/unix/sysv/linux/sparc/Makefile
6988         (librt-shared-only-routines): Add rt-sysdep.
6989         (libpthread-shared-only-routines): Add sysdep.
6990         * sysdeps/unix/sysv/linux/tile/Makefile
6991         (libpthread-shared-only-routines): Likewise.
6993 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
6995         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
6996         Mask implicit bit out of unpacked value.
6997         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
6998         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
6999         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
7001         * sysdeps/sparc/fpu/fesetexcept.c: New file.
7003         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
7005         * sysdeps/s390/fpu/fesetexcept.c: New file.
7007         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
7008         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
7009         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
7011         * sysdeps/mips/fpu/fesetexcept.c: New file.
7013         * sysdeps/m68k/fpu/fesetexcept.c: New file.
7015         * sysdeps/ia64/fpu/fesetexcept.c: New file.
7017         * sysdeps/hppa/fpu/fesetexcept.c: New file.
7019         * sysdeps/arm/fesetexcept.c: New file.
7021         * sysdeps/alpha/fpu/fesetexcept.c: New file.
7023         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
7025         * math/fesetexcept.c: New file.
7026         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
7027         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
7028         * math/fenv.h: Define
7029         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7030         <bits/libc-header-start.h> instead of including <features.h>.
7031         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
7032         declaration.
7033         * manual/arith.texi (fesetexcept): Document function.
7034         * math/Versions (fesetexcept): New libm symbol at version
7035         GLIBC_2.25.
7036         * math/Makefile (libm-support): Add fesetexcept.
7037         (tests): Add test-fesetexcept and test-fesetexcept-traps.
7038         * math/test-fesetexcept.c: New file.
7039         * math/test-fesetexcept-traps.c: Likewise.
7040         * sysdeps/nacl/libm.abilist: Update.
7041         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7042         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7043         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7044         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7045         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7046         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7047         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7048         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7049         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7050         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7051         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7052         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7054         Likewise.
7055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7056         Likewise.
7057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7058         Likewise.
7059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7060         Likewise.
7061         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7062         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7063         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7064         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7065         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7067         Likewise.
7068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7069         Likewise.
7070         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7071         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7072         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7074 2016-08-16  Florian Weimer  <fweimer@redhat.com>
7076         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
7077         New.
7078         (do_test): Apply default_stack_size_in_mb if not set.
7079         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
7081 2016-08-15  Andreas Schwab  <schwab@suse.de>
7083         [BZ #20435]
7084         CVE-2016-6323
7085         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
7086         as .cantunwind.
7088 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
7090         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
7091         comment from fraiseexcpt.c.
7093         * math/test-fexcept.c (feraiseexcept_exact): New function.
7094         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
7095         (test_except): Likewise.
7097 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
7099         [BZ #20455]
7100         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
7101         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
7102         to be restored.
7104         * math/test-fexcept-traps.c: New file.
7105         * math/test-fexcept.c: Likewise.
7106         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
7107         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
7108         macro.
7109         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
7110         (EXCEPTION_SET_FORCES_TRAP): Likewise.
7112 2016-08-09  Torvald Riegel  <triegel@redhat.com>
7114         * include/atomic.h (atomic_fetch_and_relaxed,
7115         atomic_fetch_and_release, atomic_fetch_or_release,
7116         atomic_fetch_xor_release): New.
7118 2016-08-06  Christian Seiler  <christian@iwakd.de>
7120         [BZ #20444]
7121         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
7122         MACH_PORT_NULL.
7124 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
7126         * math/s_fdim.c: Avoid alias renamed.
7127         * math/s_fdimf.c: Likewise.
7128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7129         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7130         Add s_fdimf-vis3, s_fdim-vis3.
7131         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7132         (CFLAGS-s_fdim-vis3.c): Likewise.
7133         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
7134         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
7136 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
7138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7139         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7140         Remove s_fdimf-vis3, s_fdim-vis3.
7141         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
7142         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
7143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
7144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
7145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
7146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
7147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
7148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
7149         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
7150         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
7152 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
7154         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
7155         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
7156         -Wa,-Av9a -mvis.
7158 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7160         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
7161         LIT() to individual constants in simple expressions
7162         after splitting on spaces.
7163         (_apply_lit): Rename replaced version, and use it to
7164         apply to what appears to be a token.
7166         * math/libm-test.inc: Fix many, many issues with
7167         spacing.
7169 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
7171         * math/math.h: Move comment about <bits/mathdef.h> definitions
7172         above inclusion of <bits/mathdef.h>.  Do not mention
7173         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
7175 2016-08-05  Torvald Riegel  <triegel@redhat.com>
7177         * include/atomic.h (atomic_exchange_relaxed): New.
7179 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
7181         * math/e_scalb.c: Do not include <fenv.h>.
7182         (invalid_fn): Do calculation resulting in NaN instead of raising
7183         FE_INVALID and returning a NaN explicitly.
7184         * math/e_scalbf.c: Do not include <fenv.h>.
7185         (invalid_fn): Do calculation resulting in NaN instead of raising
7186         FE_INVALID and returning a NaN explicitly.
7187         * math/e_scalbl.c: Do not include <fenv.h>.
7188         (invalid_fn): Do calculation resulting in NaN instead of raising
7189         FE_INVALID and returning a NaN explicitly.
7191 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
7193         * po/de.po: Updated from Translation Project.
7194         * po/fi.po: Likewise.
7195         * po/sv.po: Likewise.
7197 2016-08-04  Florian Weimer  <fweimer@redhat.com>
7199         [BZ #20452]
7200         Use sysdep.o from libc.a in static libraries.
7201         * sysdeps/unix/sysv/linux/i386/Makefile
7202         (libpthread-shared-only-routines): Add sysdep.
7203         (librt-shared-only-routines): Likewise.
7205 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
7207         * math/tgmath.h (nextdown): Define if
7208         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
7209         (nextup): Likewise.
7211         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
7212         macro.
7213         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7214         Document.
7215         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7216         Document macro.
7217         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
7218         (exp10f): Likewise.
7219         (exp10l): Likewise.
7220         * math/bits/mathcalls.h (exp10): Declare if
7221         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
7223         * manual/arith.texi (nextup): Fix typo in last change.
7225 2016-08-03  Zack Weinberg  <zackw@panix.com>
7227         [BZ #19239]
7228         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
7229         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
7230         define major, minor, and makedev to issue deprecation warnings on use.
7231         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
7232         previously-activated deprecation warnings for these macros and prevent
7233         subsequent inclusions of this header from having any effect.
7234         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
7235         including <sys/sysmacros.h>, and undefine it again afterward.
7237 2016-08-03  Zack Weinberg  <zackw@panix.com>
7239         * sysdeps/generic/sys/sysmacros.h: Delete file.
7240         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
7241         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
7242         * bits/sysmacros.h: ... here; this encoding is now the generic
7243         encoding.  Now defines only the following macros:
7244         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
7245         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
7246         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
7248         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
7249         bits/sysmacros.h and the above new macros to generate the
7250         public implementations of major, minor, and makedev.
7251         * misc/tst-makedev.c: New test.
7252         * include/sys/sysmacros.h: New wrapper.
7254         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
7255         (routines): Add makedev.
7256         (tests): Add tst-makedev.
7257         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
7258         gnu_dev_makedev.
7259         * posix/Makefile (headers): Remove sys/sysmacros.h.
7260         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
7262         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
7263         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
7264         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
7265         * sysdeps/unix/sysv/linux/alpha/libc.abilist
7266         * sysdeps/unix/sysv/linux/arm/libc.abilist
7267         * sysdeps/unix/sysv/linux/hppa/libc.abilist
7268         * sysdeps/unix/sysv/linux/i386/libc.abilist
7269         * sysdeps/unix/sysv/linux/ia64/libc.abilist
7270         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
7271         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
7272         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
7273         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7274         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7275         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7276         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7277         * sysdeps/unix/sysv/linux/nios2/libc.abilist
7278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7282         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
7283         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7284         * sysdeps/unix/sysv/linux/sh/libc.abilist
7285         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
7286         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
7287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
7288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
7289         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
7290         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
7291         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
7292         Add GLIBC_2.25.
7294         * include/features.h (__glibc_clang_prereq): New macro.
7295         * misc/sys/cdefs.h (__glibc_clang_has_extension)
7296         (__attribute_deprecated_msg__): New macros.
7298 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
7300         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
7301         macro.
7302         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
7303         * manual/arith.texi (issignaling): Document as ISO from TS
7304         18661-1:2014.
7305         (nextup): Likewise.
7306         (nextupf): Likewise.
7307         (nextupl): Likewise.
7308         (nextdown): Likewise.
7309         (nextdownf): Likewise.
7310         (nextdownl): Likewise.
7311         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
7312         macro.
7313         * math/math.h: Define
7314         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7315         <bits/libc-header-start.h> instead of including <features.h>.
7316         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
7317         [__USE_GNU].
7318         * math/bits/mathcalls.h (nextdown): Declare if
7319         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
7320         (nextup): Likewise.
7321         (__issignaling): Likewise.
7323 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7325         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
7326         check, and remove __glibc_likely hint
7327         from FP_INFINITE check.
7328         * s_csinhf.c (__csinhf): Likewise.
7330         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
7331         hint from FP_INFINITE check.
7332         * s_csinhl.c (__csinhl): Likewise.
7334 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7336         * math/Makefile (libm-calls): Insert F placeholder into
7337         object names.  Move w_lgamma_compat* routines into
7338         (libm-compat-calls): New variable.
7339         (libm-compat-calls-ldouble-yes): New variable.
7340         (calls): Insert F placeholder.
7341         (generated): Redefine using new type-foreach macro call.
7342         (routines): Likewise.
7344         (types): New variable to hold a list of symbolic names
7345         for each type supported by the target machine.
7346         (libm-routines): Redefine using new types variable.
7347         (type-foreach): macro to replace fooF with the
7348         appropriately suffixed foo for each types.
7350         (type-ldouble-suffix): New variable.
7351         (type-ldouble-routines): Likewise.
7352         (type-ldouble-yes): Likewise.
7353         (type-double-suffix): Likewise.
7354         (type-double-routines): Likewise.
7355         (type-float-suffix): Likewise.
7356         (type-float-routines): Likewise.
7358         (dbl-only-routines): Remove.
7359         (long-c-yes): Likewise.
7360         (long-m-routines): Likewise.
7361         (long-m-support): Likewise.
7362         (long-m-yes): Likewise.
7363         (test-longdouble-yes): Likewise.
7365         (test-float.o): Simplify by increasing the scope of the
7366         recipe which adds libm-test.stmp to the vector types.
7367         (test-ifloat.o): Likewise.
7368         (test-float-finite.o): Likewise.
7369         (test-double.o): Likewise
7370         (test-idouble.o): Likewise.
7371         (test-double-finite.o): Likewise.
7372         (test-ldouble.o): Likewise
7373         (test-ildoubl.o): Likewise.
7374         (test-ldouble-finite.o): Likewise.
7376         (libm-tests): Redefine type tests using foreach and the
7377         list of types in types.
7379         (CPPFLAGS-test-ildoubl.c): Rename to
7380         (CPPFLAGS-test-ildouble.c): New variable
7382         * math/test-ildoubl.c: Rename to
7383         * math/test-ildouble.c: New file.
7385 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7387         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
7388         Use fabsl instead of fabs.
7389         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
7390         Likewise.
7391         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
7392         Add long double suffix to constant to ensure proper
7393         promotion to long double.
7395 2016-08-03  Tom Tromey  <tom@tromey.com>
7397         [BZ #20311]
7398         * nptl_db/Makefile (headers): Add proc_service.h.
7399         * nptl_db/proc_service.h: Add include guard.  Use
7400         __BEGIN/__END_DECLS.
7401         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
7402         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
7403         arguments.
7406 2016-08-03  Florian Weimer  <fweimer@redhat.com>
7408         [BZ #17730]
7409         Avoid using memalign for TCB allocations.
7410         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
7411         (_dl_allocate_tls_storage): Use malloc and manual alignment.
7412         Avoid alignment gap in the TLS_DTV_AT_TP case.
7413         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
7414         determine the pointer to free.
7415         * nptl/tst-tls3-malloc.c: New test.
7416         * nptl/Makefile (tests): Add it.
7417         (tst-tls3-malloc): Link with libdl, libpthread.
7418         (LDFLAGS-tst-tls3-malloc): Set.
7419         (tst-tls3-malloc.out): Depend on DSO used in test.
7421 2016-08-03  Florian Weimer  <fweimer@redhat.com>
7423         [BZ #17730]
7424         Avoid using memalign for TLS allocations.
7425         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
7426         is_static member with to_free member.
7427         (union dtv): Use struct dtv_pointer.
7428         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
7429         dtv_pointer instead of is_static.
7430         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
7431         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
7432         instead of val.
7433         (allocate_dtv_entry): New function.
7434         (allocate_and_init): Return struct dtv_pointer.  Call
7435         allocate_dtv_entry instead of __libc_memalign.
7436         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
7437         instead of val.
7438         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
7439         instead of is_static.  Adjust call to allocate_and_init.
7440         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
7441         struct dtv_pointer instead of val.
7443 2016-08-03  Florian Weimer  <fweimer@redhat.com>
7445         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
7446         (MALLOC_ALIGN_MASK): Move ...
7447         * malloc/malloc-internal.h: ... to here.
7448         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
7450 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
7452         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
7453         (UDP_ENCAP_GTP1U): Likewise.
7455         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
7456         (PF_MAX): Update value.
7457         (AF_QIPCRTR): New macro.
7459 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
7461         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
7462         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7463         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7464         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
7465         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7466         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
7467         s_truncf-vis3, s_trunc-vis3.
7468         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7469         (CFLAGS-s_ceil-vis3.c): Likewise.
7470         (CFLAGS-s_floorf-vis3.c): Likewise.
7471         (CFLAGS-s_floor-vis3.c): Likewise.
7472         (CFLAGS-s_truncf-vis3.c): Likewise.
7473         (CFLAGS-s_trunc-vis3.c): Likewise.
7474         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
7475         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7476         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
7477         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7478         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
7479         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7480         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
7481         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7482         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
7483         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7484         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
7485         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7487 2016-08-02  David S. Miller  <davem@davemloft.net>
7489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
7490         (__nearbyint_vis3): Don't check for sNaN before float register is
7491         loaded with the incoming argument.
7492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
7493         (__nearbyintf_vis3): Likewise.
7494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
7495         Likewise.
7496         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
7497         Likewise.
7499         * string/test-strncmp.c (do_test_limit): Make sure the test data
7500         stream is aligned as required for the type "CHAR".
7501         (do_test): Likewise.
7503 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
7505         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
7506         by beq instructions jumping to the end of the function.
7507         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
7508         clobber list. Use "i" constraint instead of "X".
7509         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
7510         of "X".
7512 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
7514         * bits/libc-header-start.h: New file.
7515         * Makefile (headers): Add bits/libc-header-start.h.
7516         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
7517         (__GLIBC_USE): New macro.
7518         * libio/stdio.h: Define
7519         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7520         <bits/libc-header-start.h> instead of including <features.h>.
7521         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
7522         (open_memstream): Likewise.
7523         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
7524         (__asprintf): Likewise.
7525         (asprintf): Likewise.
7526         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
7527         (getdelim): Likewise.
7528         (getline): Likewise.
7529         * string/string.h: Define
7530         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7531         <bits/libc-header-start.h> instead of including <features.h>.
7532         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
7533         (strndup): Likewise.
7534         * wcsmbs/wchar.h: Define
7535         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7536         <bits/libc-header-start.h> instead of including <features.h>.
7537         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
7538         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
7540 2016-08-02  Florian Weimer  <fweimer@redhat.com>
7542         Support linking against compatibility symbols, for use in tests.
7543         * include/libc-symbols.h (symbol_version_reference): New macro.
7544         (symbol_version): Use it.
7545         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
7546         (compat_symbol): Use compat_symbol_reference.
7547         (compat_symbol_1, compat_symbol_2): Remove.
7548         (compat_symbol_reference, compat_symbol_reference_1)
7549         (compat_symbol_reference_2): New macro.  Use
7550         symbol_version_reference.
7552 2016-08-02  Florian Weimer  <fweimer@redhat.com>
7554         [BZ #19469]
7555         * malloc/Makefile (CPPFLAGS): Compile tests with
7556         -DTEST_NO_MALLOPT.
7557         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
7559 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
7561         [BZ #20033]
7562         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
7563         finite version.
7564         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
7565         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
7566         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
7567         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
7568         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
7569         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
7570         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
7571         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
7572         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
7573         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
7574         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
7575         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
7576         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
7577         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
7578         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
7579         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
7580         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
7581         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
7582         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
7583         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
7584         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
7585         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
7586         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
7587         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
7588         in zero power.
7590 2016-08-02  Florian Weimer  <fweimer@redhat.com>
7592         [BZ #20370]
7593         * malloc/arena.c (get_free_list): Update comment.  Assert that
7594         arenas on the free list have no attached threads.
7595         (remove_from_free_list): New function.
7596         (reused_arena): Call it.
7598 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
7600         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
7601         when it is a NaN.
7602         [_IEEE_FP_INEXACT] Remove.
7603         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
7604         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
7605         when it is a NaN.
7606         [_IEEE_FP_INEXACT] Remove.
7607         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
7608         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
7609         when it is a NaN.
7610         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
7611         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
7612         when its absolute value is greater than 0x1.0p52.
7613         [_IEEE_FP_INEXACT] Remove.
7614         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
7615         when its absolute value is greater than 0x1.0p23.
7616         [_IEEE_FP_INEXACT] Remove.
7618 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
7620         * version.h (RELEASE): Set to "development"
7621         (VERSION): Set to 2.24.90.
7622         * NEWS: Add 2.25 section.
7624         * version.h (RELEASE): Set to "stable"
7625         (VERSION): Set to 2.24.
7626         * include/features.h (__GLIBC_MINOR__): Set to 24.
7628         * NEWS: Add 2.24 fixed bugs.
7629         * po/libc.pot: Regenerate.
7631 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
7633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7634         [$(subdir) = math] (libm-sysdep_routines): Remove.
7635         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7636         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
7637         s_truncf-vis3, s_trunc-vis3.
7638         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
7640         file.
7641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
7642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
7643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
7644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
7647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
7648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
7650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
7651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
7652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
7653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
7654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
7655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
7656         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7657         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7658         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7659         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
7660         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
7661         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
7662         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
7663         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7664         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7665         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
7666         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7667         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7668         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
7669         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7670         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7671         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
7672         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7673         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7674         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
7675         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
7676         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
7677         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
7678         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7679         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7680         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
7681         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
7682         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
7683         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
7685 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
7687         [BZ #20384]
7688         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
7689         test-double-libmvec-sincos-avx-main.o,
7690         test-double-libmvec-sincos-avx2-main.o,
7691         test-double-libmvec-sincos-main.o,
7692         test-float-libmvec-sincosf-avx-main.o,
7693         test-float-libmvec-sincosf-avx2-main.o and
7694         test-float-libmvec-sincosf-main.o.
7695         test-float-libmvec-sincosf-avx512-main.o.
7696         ($(objpfx)test-double-libmvec-sincos): Also link with
7697         $(objpfx)test-double-libmvec-sincos-main.o.
7698         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
7699         $(objpfx)test-double-libmvec-sincos-avx-main.o.
7700         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
7701         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
7702         ($(objpfx)test-float-libmvec-sincosf): Also link with
7703         $(objpfx)test-float-libmvec-sincosf-main.o.
7704         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
7705         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
7706         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
7707         test-double-libmvec-sincos-avx512-main.o and
7708         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
7709         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
7710         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
7711         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
7712         (CFLAGS-test-double-libmvec-sincos.c): Removed.
7713         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
7714         (CFLAGS-test-double-libmvec-sincos-main.c): New.
7715         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
7716         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
7717         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
7718         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
7719         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
7720         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
7721         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
7722         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
7723         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
7724         -DREQUIRE_AVX2.
7725         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
7726         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
7727         -DREQUIRE_AVX512F.
7728         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
7729         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
7730         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
7731         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
7732         file.
7733         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
7734         Likewise.
7735         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
7736         Likewise.
7737         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
7738         Likewise.
7739         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
7740         Likewise.
7741         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
7742         Likewise.
7743         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
7744         Likewise.
7745         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
7746         Likewise.
7748 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
7750         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
7752 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
7754         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
7755         and typo in a comment about AT_HWCAP entry.
7757 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7759         * sysdeps/aarch64/libm-test-ulps: Updated.
7761 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7763         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
7764         of r13 as it is not restored in mvcle case.
7766 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
7768         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
7769         Rename "ret" to "__ret".
7770         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
7771         inline_syscall5, inline_syscall6): Likewise.
7773 2016-07-19   Will Newton  <will.newton@gmail.com>
7775         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
7776         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
7777         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
7778         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
7779         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
7781 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
7783         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
7784         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
7785         -mfpmath=387 with $(rtld-CFLAGS).
7786         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
7787         $(rtld-CFLAGS).
7789 2016-07-18   Ross Burton  <ross.burton@intel.com>
7790              Khem Raj  <raj.khem@gmail.com>
7792         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
7793         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
7794         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
7795         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
7796         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
7797         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
7798         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
7799         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
7800         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
7801         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
7802         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
7803         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
7804         R_METAG_TLS_DTPOFF): New.
7806 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7807             Matt Clay  <mclay@lycos.com>
7809         [BZ #20357]
7810         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
7811         to call __mpsin/__mpcos and to negate values.
7812         * math/auto-libm-test-in: Add test.
7813         * math/auto-libm-test-out: Regenerate.
7815 2016-07-18  Zack Weinberg  <zackw@panix.com>
7817         * grp/Makefile: Don't install the internal header grp-merge.h.
7819 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7821         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7823 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7825         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
7827 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7829         [BZ #15368]
7830         * sysdeps/unix/sysv/linux/nptl-signals.h
7831         (__nptl_clear_internal_signals): New function.
7832         (__libc_signal_block_all): Likewise.
7833         (__libc_signal_block_app): Likewise.
7834         (__libc_signal_restore_set): Likewise.
7835         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
7836         implementation.
7837         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
7838         the cached pid/tid value in pthread structure.
7840 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
7842         [BZ #20347]
7843         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
7845 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
7847         [BZ #20348]
7848         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
7849         preadv64, pwrite64 and pwritev64.
7851 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
7853         [BZ #20350]
7854         * posix/tst-preadwrite.c: Renamed to ...
7855         * posix/tst-preadwrite-common.c: This.
7856         (PREAD): Removed.
7857         (PWRITE): Likewise.
7858         (STRINGIFY): Likewise.
7859         (STRINGIFY2): Likewise.
7860         (do_prepare): Make it static and remove function arguments.
7861         (do_test): Likewise.
7862         (PREPARE): Updated.
7863         (TEST_FUNCTION): New.
7864         (name): Make it static.
7865         (fd): Likewise.
7866         (do_prepare): Use create_temp_file.
7867         (do_test): Renamed to ...
7868         (do_test_with_offset): This.  Make it static and accept offset.
7869         Properly check return value of PWRITE and PREAD.  Return bytes
7870         read.  Don't close fd nor unlink name.
7871         * posix/tst-preadwrite.c: Rewrite.
7872         * posix/tst-preadwrite64.c: Likewise.
7874 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
7876         [BZ #20309]
7877         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
7878         -mtls-dialect=gnu2 works.
7879         * configure: Regenerated.
7880         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
7881         (tests): Add tst-gnu2-tls1.
7882         (modules-names): Add tst-gnu2-tls1mod.
7883         ($(objpfx)tst-gnu2-tls1): New.
7884         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
7885         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
7886         * elf/tst-gnu2-tls1.c: New file.
7887         * elf/tst-gnu2-tls1mod.c: Likewise.
7888         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
7889         bytes for push in the PLT entry to align the stack.
7891 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
7893         [BZ #20349]
7894         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
7896 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7898         [BZ #18707]
7899         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
7900         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
7902 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7904         * sysdeps/unix/sysv/linux/sysdep.h
7905         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
7906         guards.
7907         * misc/tst-preadvwritev-common.c: New file.
7908         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
7909         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
7910         a check for files larger than 2GB.
7912         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7913         (__ASSUME_OFF_DIFF_OFF64): Remove define.
7914         * sysdeps/unix/sysv/linux/pread.c
7915         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
7916         __OFF_T_MATCHES_OFF64_T.
7917         * sysdeps/unix/sysv/linux/pread64.c
7918         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
7919         * sysdeps/unix/sysv/linux/preadv.c
7920         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
7921         * sysdeps/unix/sysv/linux/preadv64.c
7922         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
7923         * sysdeps/unix/sysv/linux/pwrite.c
7924         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
7925         * sysdeps/unix/sysv/linux/pwrite64.c
7926         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
7927         * sysdeps/unix/sysv/linux/pwritev.c
7928         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
7929         * sysdeps/unix/sysv/linux/pwritev64.c
7930         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
7932 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
7934         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7935         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
7937 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
7939         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
7941 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
7943         [BZ #20240]
7944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
7945         (CFLAGS-s_modf-ppc32.c): New variable.
7946         (CFLAGS-s_modff-ppc32.c): Likewise.
7947         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7948         (CFLAGS-s_modf-ppc64.c): Likewise.
7949         (CFLAGS-s_modff-ppc64.c): Likewise.
7951 2016-07-07  Andreas Schwab  <schwab@suse.de>
7953         [BZ #20263]
7954         * nptl/tst-robust10.c: New test.
7955         * nptl/Makefile (tests): Add tst-robust10.
7957 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
7959         [BZ #20263]
7960         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
7962 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7964         * sysdeps/s390/linkmap.h (struct link_map_machine):
7965         Remove member gotplt and add member jmprel.
7966         * sysdeps/s390/s390-32/dl-machine.h
7967         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
7968         instead of gotplt with &got[3].
7969         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
7970         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7972 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
7974         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
7976 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7978         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
7979         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
7980         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
7981         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
7982         * libio/vtables.c (_IO_vtable_check)
7983         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
7984         * libio/libioP.h (IO_set_accept_foreign_vtables)
7985         [!PTR_MANGLE]: Do not call PTR_MANGLE.
7987 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
7989         [BZ #20314]
7990         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
7991         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
7992         $(common-objpfx)cmath.
7993         ($(common-objpfx)cstdlib): New target.
7994         ($(common-objpfx)cmath): Likewise.
7996 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
7998         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
8000 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8002         [BZ #20327]
8003         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
8004         are not part of the string.
8006 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8008         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
8009         * nptl/tst-cancel4-common.h (fifoname): New variable.
8010         (fifofd): Likewise.
8011         (cl_fifo): New function.
8012         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
8013         SIGINT.
8014         (tf_open): Add early cancel test.
8016 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
8018         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
8020 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
8022         * sysdeps/generic/ldsodefs.h
8023         (dl_symbol_visibility_binds_local_p): New inline function.
8024         * elf/dl-addr.c (determine_info): Treat hidden and internal
8025         symbols as local.
8026         * elf/dl-lookup.c (do_lookup_x): Likewise.
8027         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
8029 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
8031         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
8032         invalid exception for a sNaN input.
8033         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8034         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
8035         (__nearbyint_vis3): Likewise
8036         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
8037         (__nearbyintf_vis3): Likewise
8038         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
8039         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8040         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
8041         Likewise.
8042         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
8043         Likewise.
8045 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
8047         [BZ #20139]
8048         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
8049         (HAVE_AVX512DQ_ASM_SUPPORT): This.
8050         * sysdeps/x86_64/configure.ac: Require assembler from binutils
8051         2.24 or above.
8052         (HAVE_AVX512_ASM_SUPPORT): Removed.
8053         (HAVE_AVX512DQ_ASM_SUPPORT): New.
8054         * sysdeps/x86_64/configure: Regenerated.
8055         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
8056         check unconditional.
8057         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
8058         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8059         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8060         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
8061         Likewise.
8062         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8063         Likewise.
8064         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
8065         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
8066         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8067         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8068         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8069         Likewise.
8070         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8071         Likewise.
8072         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8073         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8074         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
8075         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
8076         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
8077         Likewise.
8078         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
8079         Likewise.
8080         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
8081         Likewise.
8082         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
8083         Likewise.
8084         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
8085         Likewise.
8086         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
8087         Likewise.
8088         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
8089         Likewise.
8090         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
8091         Likewise.
8092         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
8093         Likewise.
8094         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
8095         Likewise.
8096         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
8097         Likewise.
8099 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
8101         [BZ #20024]
8102         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
8103         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
8104         of this implementation of vector function.
8105         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
8106         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
8107         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
8108         Likewise.
8109         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
8110         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
8111         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
8112         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
8113         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
8114         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
8115         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
8116         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
8117         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
8118         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
8119         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
8120         for testing vector sincos with fixed ABI.
8121         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8122         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8123         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8124         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8125         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8126         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8127         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8128         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
8129         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
8130         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
8131         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
8132         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
8133         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
8134         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
8135         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8136         * sysdeps/x86_64/fpu/Makefile: Added new tests.
8138 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
8140         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
8142 2016-06-30  Anton Blanchard  <anton@samba.org>
8144         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8145         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
8146         s_sinf-ppc64.
8147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
8148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8150         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8152 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8154         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8155         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8156         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
8157         e_expf-ppc64.
8158         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
8159         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
8160         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
8161         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
8163 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
8165         [BZ #20277]
8166         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
8167         when SHARED is defined.
8169 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
8171         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
8172         (index_arch_Prefer_ERMS): Likewise.
8173         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
8174         __memcpy_erms for Prefer_ERMS.
8175         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8176         (__memmove_erms): Enabled for libc.a.
8177         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
8178         __memmove_erms or Prefer_ERMS.
8179         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
8180         __mempcpy_erms for Prefer_ERMS.
8181         * sysdeps/x86_64/multiarch/memset.S (memset): Return
8182         __memset_erms for Prefer_ERMS.
8184 2016-06-30  Andreas Schwab  <schwab@suse.de>
8186         [BZ #20262]
8187         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
8188         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
8189         of memory.
8191 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
8193         [BZ #18645]
8194         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
8195         (test-extras): Add tst-cleanupx4aux.
8196         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
8197         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
8198         tst-cleanupx4aux.o.
8199         * nptl/tst-cleanupx4aux.c: New file.
8201 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
8203         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8205 2016-06-29  Andreas Schwab  <schwab@suse.de>
8207         [BZ #20260]
8208         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
8209         address before the beginning of the string as an integer to avoid
8210         array-bounds warning.
8212 2016-06-28  Richard Henderson  <rth@redhat.com>
8214         * elf/elf.h (EM_BPF): New.
8215         (EM_NUM): Update.
8216         (R_BPF_NONE, R_BPF_MAP_FD): New.
8218         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
8219         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
8220         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
8221         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
8222         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
8223         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
8224         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
8225         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
8226         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
8227         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
8228         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
8229         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
8230         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
8231         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
8232         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
8233         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
8234         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
8235         (EM_NUM): Update.
8237 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
8239         [BZ #18960]
8240         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
8241         Set _nl_current_LC_CATEGORY_used to two instead of one.
8243 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
8245         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
8246         (do_test): ... this.
8247         (TEST_FUNCTION): New macro.
8248          Include test-skeleton.c.
8249         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
8250         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
8252 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
8254         [BZ #15479]
8255         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
8256         floating-point environment rather than just control word.
8257         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8258         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
8259         floating-point environment, with "invalid" exceptions merged in,
8260         rather than just control word.
8261         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
8262         * math/libm-test.inc (trunc_test_data): Do not allow spurious
8263         "inexact" exceptions.
8265         [BZ #15479]
8266         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
8267         floating-point environment rather than just control word.
8268         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8269         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
8270         floating-point environment, with "invalid" exceptions merged in,
8271         rather than just control word.
8272         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
8273         * math/libm-test.inc (floor_test_data): Do not allow spurious
8274         "inexact" exceptions.
8276         [BZ #15479]
8277         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
8278         floating-point environment rather than just control word.
8279         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8280         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
8281         floating-point environment, with "invalid" exceptions merged in,
8282         rather than just control word.
8283         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
8284         * math/libm-test.inc (ceil_test_data): Do not allow spurious
8285         "inexact" exceptions.
8287 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
8289         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
8290         __libc_vfork.
8291         (__vfork) [IS_IN (libc)]: Remove alias.
8292         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
8293         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8294         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8296 2016-06-24  Torvald Riegel  <triegel@redhat.com>
8298         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
8299         of atomic_compare_and_exchange_bool_rel.
8300         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8301         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
8302         catomic_compare_and_exchange_bool_rel): Remove.
8303         * sysdeps/aarch64/atomic-machine.h
8304         (atomic_compare_and_exchange_bool_rel): Likewise.
8305         * sysdeps/alpha/atomic-machine.h
8306         (atomic_compare_and_exchange_bool_rel): Likewise.
8307         * sysdeps/arm/atomic-machine.h
8308         (atomic_compare_and_exchange_bool_rel): Likewise.
8309         * sysdeps/mips/atomic-machine.h
8310         (atomic_compare_and_exchange_bool_rel): Likewise.
8311         * sysdeps/microblaze/atomic-machine.h
8312         ( __arch_compare_and_exchange_bool_8_rel,
8313         __arch_compare_and_exchange_bool_16_rel): Likewise.
8314         * sysdeps/powerpc/atomic-machine.h
8315         ( __arch_compare_and_exchange_bool_8_rel,
8316         __arch_compare_and_exchange_bool_16_rel): Likewise.
8317         * sysdeps/powerpc/powerpc32/atomic-machine.h
8318         ( __arch_compare_and_exchange_bool_32_rel,
8319         __arch_compare_and_exchange_bool_64_rel): Likewise.
8320         * sysdeps/powerpc/powerpc64/atomic-machine.h
8321         ( __arch_compare_and_exchange_bool_32_rel,
8322         __arch_compare_and_exchange_bool_64_rel): Likewise.
8323         * sysdeps/tile/atomic-machine.h
8324         (atomic_compare_and_exchange_bool_rel): Likewise.
8326 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
8328         [BZ #20296]
8329         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
8330         when either argument is a NaN.
8331         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8332         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
8334         * math/libm-test.inc (snan_value_ld): New macro.
8335         (isgreater_test_data): Add sNaN tests.
8336         (isgreaterequal_test_data): Likewise.
8337         (isless_test_data): Likewise.
8338         (islessequal_test_data): Likewise.
8339         (islessgreater_test_data): Likewise.
8340         (isunordered_test_data): Likewise.
8341         (nextafter_test_data): Likewise.
8342         (nexttoward_test_data): Likewise.
8343         (remainder_test_data): Likewise.
8344         (remquo_test_data): Likewise.
8345         (significand_test_data): Likewise.
8346         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
8348 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8350         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
8351         environment macros are defined.
8352         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
8354 2016-06-23  Florian Weimer  <fweimer@redhat.com>
8356         [BZ #20191]
8357         Implement vtable verification in libio.
8358         * Makerules (shlib.lds): Place __libc_IO_vtables section.
8359         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
8360         * debug/vdprintf_chk.c (__vdprintf_chk): Call
8361         _IO_new_file_init_internal instead of _IO_file_init.
8362         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
8363         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
8364         * libio/Makefile (routines): Add vtables.
8365         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
8366         (_IO_init): Remove, not for internal use.
8367         (_IO_init_internal): Declare, internal replacement for _IO_init.
8368         (_IO_file_init): Remove, not for internal use.
8369         (_IO_new_file_init): Remove, not for internal use.
8370         (_IO_new_file_init_internal): Declare, internal replacement for
8371         _IO_new_file_init.
8372         (_IO_old_file_init): Remove, not for internal use.
8373         (_IO_old_file_init_internal): Declare, internal replacement for
8374         _IO_old_file_init.
8375         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
8376         internal use.
8377         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
8378         Declare.
8379         (libio_vtable): New macro.
8380         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
8381         functions.
8382         * libio/fileops.c (_IO_new_file_init_internal): Rename from
8383         _IO_new_file_init.
8384         (_IO_new_file_init): New externally visible wrapper which disables
8385         vtable verification.
8386         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
8387         Define as vtables.
8388         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
8389         (_IO_init): New externally visible wrapper which disables
8390         vtable verification.
8391         * libio/iofdopen.c (_IO_new_fdopen): Call
8392         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
8393         comment.
8394         * libio/iofopen.c (__fopen_internal): Call
8395         _IO_new_file_init_internal instead of _IO_file_init.
8396         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
8397         Define as vtables.
8398         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
8399         _IO_new_file_init_internal instead of _IO_file_init.
8400         * libio/iopopen.c (_IO_new_popen): Likewise.
8401         (_IO_proc_jumps): Define as vtable.
8402         * libio/iovdprintf.c (_IO_vdprintf): Call
8403         _IO_new_file_init_internal instead of _IO_file_init.
8404         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
8405         (__open_memstream): Call _IO_init_internal instead of _IO_init.
8406         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
8407         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
8408         _IO_old_file_init.
8409         (_IO_old_file_init): New externally visible wrapper which disables
8410         vtable verification.
8411         (_IO_old_file_jumps): Define as vtable.
8412         * libio/oldiofdopen.c (_IO_old_fdopen): Call
8413         _IO_old_file_init_internal instead of _IO_old_file_init.
8414         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
8415         * libio/oldiopopen.c (_IO_old_popen): Likewise.
8416         (_IO_old_proc_jumps): Define as vtable.
8417         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
8418         Define as vtables.
8419         * libio/vtables.c: New file.
8420         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
8421         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
8422         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
8423         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
8424         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
8425         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
8426         instead of _IO_init.
8428 2016-06-23  Florian Weimer  <fweimer@redhat.com>
8430         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
8432 2016-06-23  Florian Weimer  <fweimer@redhat.com>
8434         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
8435         potentially unused.
8437 2016-06-22  Florian Weimer  <fweimer@redhat.com>
8439         * test-skeleton.c (write_message): New function.
8440         * malloc/tst-mallocfork2.c (write_message): Remove.
8441         * debug/tst-longjmp_chk2.c (write_indented): New function.
8442         (write_message): Remove.
8443         (stackoverflow_handler): Call write_indented.
8445 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
8447         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
8448         "inexact" exceptions after fnstenv.
8449         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8450         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8451         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8453 2015-06-22  Zack Weinberg  <zackw@panix.com>
8455         * sysdeps/generic/bits/hwcap.h: Moved to ...
8456         * bits/hwcap.h: Here.
8458 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
8460         * sysdeps/aarch64/memcpy.S (memcpy):
8461         Further tuning for performance.
8463 2016-06-21  Florian Weimer  <fweimer@redhat.com>
8465         [BZ #20284]
8466         * malloc/arena.c (reused_arena): Do not return NULL if we start
8467         out with a non-corrupted arena.
8469 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8471         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
8472         * misc/tst-preadvwritev.c: New file.
8473         * misc/tst-preadvwritev64.c: Likewise.
8474         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
8475         usage.
8476         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
8477         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
8478         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
8479         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
8481 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
8483         [BZ #19654]
8484         * sysdeps/x86_64/fpu/Makefile: Added new tests.
8485         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
8486         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
8487         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
8488         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
8489         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
8490         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
8491         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
8492         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
8493         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
8494         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
8495         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
8496         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
8497         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
8498         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
8499         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
8500         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
8501         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
8502         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
8503         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
8504         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
8505         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
8506         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
8507         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
8508         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
8509         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
8511 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
8513         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
8514         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
8516 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
8518         * sysdeps/aarch64/memcpy.S (memcpy):
8519         Rewrite of optimized memcpy and memmove.
8520         * sysdeps/aarch64/memmove.S (memmove): Remove
8521         memmove code (merged into memcpy.S).
8523 2016-06-20  Florian Weimer  <fweimer@redhat.com>
8525         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
8526         * sysdeps/generic/dl-dtv.h: New file.
8527         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8528         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
8529         (dtv_t): Remove.
8530         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8531         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
8532         (dtv_t): Remove.
8533         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8534         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
8535         (dtv_t): Remove.
8536         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8537         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
8538         (dtv_t): Remove.
8539         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8540         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
8541         (dtv_t): Remove.
8542         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8543         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
8544         (dtv_t): Remove.
8545         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8546         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
8547         (dtv_t): Remove.
8548         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
8549         (dtv_t): Remove.
8550         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8551         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
8552         (dtv_t): Remove.
8553         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8554         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
8555         (dtv_t): Remove.
8556         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8557         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
8558         (dtv_t): Remove.
8559         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8560         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
8561         (dtv_t): Remove.
8562         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8563         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
8564         (dtv_t): Remove.
8565         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8566         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
8567         (dtv_t): Remove.
8568         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8569         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
8570         (dtv_t): Remove.
8571         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8572         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
8573         (dtv_t): Remove.
8575 2016-06-20  Florian Weimer  <fweimer@redhat.com>
8577         Revert symbol poisoning of  __malloc_initialize_hook.
8578         * include/stdc-predef.h (__malloc_initialize_hook): Remove
8579         poisoning.
8580         * malloc/Makefile: Remove un-poisoning.
8581         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
8582         instead of old__malloc_initialize_hook.
8583         * malloc/malloc-hooks.h: Likewise.
8584         * malloc/malloc.c: Likewise.
8585         * malloc/mcheck-init.c: Likewise.
8587 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
8589         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
8591 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
8593         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
8594         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
8595         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8596         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8598 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8600         * NEWS: Mention addition of nextup and nextdown.
8601         * manual/arith.texi: Document nextup and nextdown.
8602         * manual/libm-err-tab.pl: Add nextup and nextdown.
8603         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
8604         * math/Versions (libm): Add GLIBC_2.24.
8605         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
8606         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
8607         Add new test.
8608         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
8609         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
8610         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
8611         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
8612         (nextup_test_data): Likewise.
8613         (nextdown_test_data): Likewise.
8614         * math/s_nextdown.c: New file.
8615         * math/s_nextdownf.c: Likewise.
8616         * math/s_nextdownl.c: Likewise.
8617         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
8618         F(nextup): New function.
8619         F(nextdown): Likewise.
8620         * math/tgmath.h: Add nextup and nextdown.
8621         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
8622         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
8623         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
8624         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
8625         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
8626         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
8627         Add nextup and nextdown.
8628         (CFLAGS-nldbl-nextup.c): New variable.
8629         (CFLAGS-nldbl-nextdown.c): Likewise.
8630         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
8631         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
8632         * sysdeps/nacl/libm.abilist: Update.
8633         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8634         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8635         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8636         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8637         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8638         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8639         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8640         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8641         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8642         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8643         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8644         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
8646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8647         Likewise.
8648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
8649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
8650         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8651         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8652         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8653         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8654         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
8656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
8657         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8658         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8659         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
8660         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8662 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8664         * manual/pattern.texi: Fix typos & grammar errors.
8666 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8668         * manual/search.texi: Fix typos & grammar errors.
8670 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8672         * manual/message.texi: Fix typos & grammar errors.
8674 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
8676         * manual/contrib.texi: Fix spelling typos.
8677         * manual/crypt.texi: Likewise.
8678         * manual/filesys.texi: Likewise.
8679         * manual/locale.texi: Likewise.
8680         * manual/message.texi: Likewise.
8681         * manual/nss.texi: Likewise.
8682         * manual/string.texi: Likewise.
8684 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8686         * manual/locale.texi: Fix typos & grammar errors.
8688 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8690         * manual/charset.texi: Fix typos & grammar errors.
8692 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8694         * manual/string.texi: Fix typos.
8696 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8698         * manual/ctype.texi: Fix typos.
8700 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8702         * manual/memory.texi: Fix various typos & grammar errors.
8704 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
8706         [BZ #20255]
8707         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
8708         * math/libm-test.inc (fdim_test_data): Add another test.
8710         [BZ #6796]
8711         [BZ #20255]
8712         [BZ #20256]
8713         * math/s_fdim.c: Include <math_private.h>.
8714         (__fdim): Use math_narrow_eval on result.
8715         * math/s_fdimf.c: Include <math_private.h>.
8716         (__fdimf): Use math_narrow_eval on result.
8717         * sysdeps/i386/fpu/s_fdim.S: Remove file.
8718         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
8719         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
8720         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
8721         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
8722         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
8723         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
8724         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
8725         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
8726         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
8727         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
8728         * math/libm-test.inc (fdim_test_data): Expect errno setting on
8729         overflow.  Add sNaN tests.
8731         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
8732         fpclassify.
8733         * math/s_fdimf.c (__fdimf): Likewise.
8734         * math/s_fdiml.c (__fdiml): Likewise.
8736 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8738         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8739         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
8740         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8741         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
8742         ifunc'ed strcasecmp/strncasecmp.
8743         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
8744         [EALIGN]: Removed.
8745         [END]: Likewise.
8746         [__strcasecmp]: Define instead of the above to control symbol name.
8747         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
8748         for __strcasecmp_power8.
8749         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
8750         for __strncasecmp_power8.
8751         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
8752         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
8753         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
8754         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
8755         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
8756         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
8758 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
8760         [BZ #20252]
8761         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
8762         arguments when second argument is a NaN.
8763         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
8764         qNaN tests.
8766         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
8767         (conj_test_data): Likewise.
8768         (copysign_test_data): Likewise.
8769         (creal_test_data): Likewise.
8770         (fma_test_data): Likewise.
8771         (fmod_test_data): Likewise.
8773         [BZ #20250]
8774         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
8775         itself.
8776         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
8777         zero input to itself.
8778         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
8779         Likewise.
8780         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
8781         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
8782         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
8783         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
8784         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
8786 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8788         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
8789         * nptl/tst-cancel4-common.c: New file.
8790         * nptl/tst-cancel4-common.h: Likewise.
8791         * nptl/tst-cancel4.c: Move common definitions to
8792         tst-cancel4-common.{c,h} file.
8793         * nptl/tst-cancel4_1.c: New test.
8794         * nptl/tst-cancel4_2.c: New test.
8796 2016-06-13  Florian Weimer  <fweimer@redhat.com>
8798         [BZ #20248]
8799         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
8800         (write_message): New function.
8801         (stackoverflow_handler): Call it instead of printf, to avoid
8802         excessive stack usage by printf.
8803         (do_test): Restore SIGSEGV, SIGBUS default handlers.
8805 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8807         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
8808         (prio_inherit_missing): Remove define.
8809         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8810         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8811         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
8812         Likewise.
8813         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8814         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8815         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8816         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8817         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8818         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8820 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
8822         [BZ #19670]
8823         [BZ #19672]
8825         * io/test-lfs.c (do_prepare): Use xmalloc.
8826         * io/tst-fcntl.c (do_prepare): Likewise.
8827         * libio/tst-fopenloc.c (do_bz17916): Likewise.
8828         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
8829         * login/tst-utmp.c (do_prepare): Likewise.
8830         * posix/tst-exec.c (do_prepare): Likewise.
8831         * posix/tst-pathconf.c (prepare): Likewise.
8832         * posix/tst-spawn.c (do_prepare): Likewise.
8833         * posix/tst-truncate.c (do_prepare): Likewise.
8834         * rt/tst-aio.c (do_prepare): Likewise.
8835         * rt/tst-aio64.c (do_prepare): Likewise.
8837 2016-06-11  Florian Weimer  <fweimer@redhat.com>
8839         [BZ #20237]
8840         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
8841         (get*ent): Set entidx to NULL during initialization.  If entidx is
8842         NULL, start iteration from the beginning.
8844 2016-06-11  Florian Weimer  <fweimer@redhat.com>
8846         * malloc/malloc.c (musable): Return correct size for dumped fake
8847         mmapped chunk.
8849 2016-06-11  Florian Weimer  <fweimer@redhat.com>
8851         [BZ #20222]
8852         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
8853         (_IO_cookie_write): Likewise.
8854         (_IO_cookie_seek): Likewise.
8855         (_IO_cookie_close): Likewise.
8856         (_IO_old_cookie_seek): Likewise.
8857         (set_callbacks): New function.
8858         (_IO_cookie_init): Call set_callbacks to copy callbacks.
8860 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
8862         * locale/programs/localedef.c (oldstyle_tables): Remove.
8863         * locale/programs/localedef.h (oldstyle_tables): Likewise.
8865 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
8867         [BZ #20240]
8868         * math/Makefile (CFLAGS-s_modf.c): New variable.
8869         (CFLAGS-s_modff.c): Likewise.
8870         (CFLAGS-s_modfl.c): Likewise.
8871         * math/libm-test.inc (modf_test_data): Add sNaN tests.
8873 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
8875         [BZ #20215]
8876         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
8877         [!__GNUC_PREREQ (3,2)]: Likewise.
8879 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
8881         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
8882         (msghdr.msg_controllen): Likewise.
8883         (cmsghdr.cmsg_len): Likewise.
8884         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
8885         ptw-oldsendmsg.
8886         (CFLAGS-oldrecvmsg.c): Remove rule.
8887         (CFLAGS-oldsendmsg.c): Likewise.
8888         (CFLAGS-recvmsg.c): Add rule.
8889         (CFLAGS-sendmsg.c): Likewise.
8890         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
8891         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
8892         (CFLAGS-recvmsg.c): Remove rule.
8893         (CFLAGS-sendmsg.c): Likewise.
8894         (CFLAGS-oldrecvmsg.c): Likewise.
8895         (CFLAGS-oldsendmsg.c): Likewise.
8896         (CFLAGS-recvmmsg.c): Likewise.
8897         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
8898         to kernel defined interfaces.
8899         (msghdr.msg_controllen): Likewise.
8900         (cmsghdr.cmsg_len): Likewise.
8901         (msghdr.__glibc_reserved1): Remove member.
8902         (msghdr.__glibc_reserved2): Likewise.
8903         (cmsghdr.__glibc_reserved1): Likewise.
8904         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
8905         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
8906         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
8907         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
8908         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
8909         version.
8910         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
8911         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
8912         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
8913         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
8914         Remove recvmsg and sendmsg.
8915         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
8916         Likewise.
8917         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
8918         Likewise.
8919         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
8920         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
8921         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
8922         Likewise.
8923         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
8924         Likewise.
8925         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
8926         [libc] (GLIBC_2.24): Likewise.
8927         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
8928         Likewise.
8929         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
8930         Likewise.
8931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8932         [libc] (GLIBC_2.24): Likewise.
8933         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
8934         Likewise.
8935         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
8936         Likewise.
8937         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
8938         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
8939         Likewise.
8940         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
8941         Likewise.
8942         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
8943         Likewise.
8944         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
8945         Likewise.
8946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
8947         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
8948         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
8949         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
8950         version for {recv,send,recm,sendm}msg.
8951         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8952         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8953         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8954         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8955         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8956         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8957         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8958         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8959         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8960         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8961         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8962         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8964         Likewise.
8965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8966         Likewise.
8967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8969         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8970         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8971         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8972         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8973         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8974         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8975         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8977         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8978         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8979         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8981 2016-06-10  Florian Weimer  <fweimer@redhat.com>
8983         [BZ #19564]
8984         Remove __malloc_initialize_hook from the API.
8985         * malloc/malloc.h (__malloc_initialize_hook): Remove.
8986         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
8987         #pragma GCC poison.
8988         * malloc/malloc-hooks.h: New file.
8989         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
8990         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
8991         (old__malloc_initialize_hook): Rename from
8992         __malloc_initialize_hook to evade poisoning.  Turn into compat
8993         symbol.
8994         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
8995         __malloc_initialize_hook.
8996         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
8997         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
8998         * manual/memory.texi (Hooks for Malloc): Remove
8999         __malloc_initialize_hook.  Adjust hook example.
9001 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
9003         [BZ #20235]
9004         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
9005         itself.
9006         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9007         * math/libm-test.inc (log2_test_data): Add sNaN tests.
9009         [BZ #20234]
9010         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
9011         infinity or NaN input to itself.
9013         [BZ #20233]
9014         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
9015         to itself.
9017         [BZ #20232]
9018         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
9019         itself.
9021 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
9023         * sysdeps/x86_64/start.S (_start): Always indirect branch to
9024         __libc_start_main via GOT.
9026 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
9028         * sysdeps/x86_64/memcopy.h: New file.
9029         * sysdeps/x86_64/wordcopy.c: Likewise.
9031 2016-06-09  Florian Weimer  <fweimer@redhat.com>
9033         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
9034         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
9035         <cstdlib>.
9036         (optimization_barrier): New.
9037         (do_test): Use it.  Call quick_exit in the global namespace.
9038         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
9039         instead of <cstdlib>, <thread>.
9040         (optimization_barrier): New.
9041         (non_main_thread): Adjust declaration.  Call optimization_barrier.
9042         Call quick_exit in the global namespace.
9043         (do_test): Call optimization_barrier.  Use pthread_create,
9044         pthread_join instead of std::thread.
9046 2016-06-09  Andreas Schwab  <schwab@suse.de>
9048         [BZ #19755]
9049         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
9050         new entries in auto-propagate mode.
9051         * nscd/grpcache.c (cache_addgr): Likewise.
9053 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9055         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
9056         New functions.
9057         (add_temp_file): Use them.
9059 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
9061         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
9063 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
9065         [BZ #20229]
9066         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
9067         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
9068         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
9070         [BZ #20228]
9071         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
9072         itself.
9073         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9074         * math/libm-test.inc (log10_test_data): Add sNaN tests.
9076         [BZ #20227]
9077         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
9078         itself.
9079         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9080         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9081         * math/libm-test.inc (log_test_data): Add sNaN tests.
9083         [BZ #20226]
9084         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
9085         itself.
9086         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9087         * math/libm-test.inc (exp_test_data): Add sNaN tests.
9088         (exp10_test_data): Likewise.
9089         (expm1_test_data): Likewise.
9091         [BZ #20225]
9092         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
9093         itself.
9094         * math/s_ldexpf.c (__ldexpf): Likewise.
9095         * math/s_ldexpl.c (__ldexpl): Likewise.
9096         * math/w_scalbln.c (__w_scalbln): Likewise.
9097         * math/w_scalblnf.c (__w_scalblnf): Likewise.
9098         * math/w_scalblnl.c (__w_scalblnl): Likewise.
9099         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
9100         (scalbln_test_data): Likewise.
9102         [BZ #20224]
9103         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
9104         argument to itself.
9105         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
9107 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
9109         [BZ #19776]
9110         * sysdeps/x86_64/memcpy.S: Make it dummy.
9111         * sysdeps/x86_64/mempcpy.S: Likewise.
9112         * sysdeps/x86_64/memmove.S: New file.
9113         * sysdeps/x86_64/memmove_chk.S: Likewise.
9114         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
9115         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
9116         * sysdeps/x86_64/memmove.c: Removed.
9117         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9118         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9119         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
9120         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
9121         Likewise.
9122         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9123         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9124         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9125         memcpy-sse2-unaligned, memmove-avx-unaligned,
9126         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
9127         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9128         (__libc_ifunc_impl_list): Replace
9129         __memmove_chk_avx512_unaligned_2 with
9130         __memmove_chk_avx512_unaligned.  Remove
9131         __memmove_chk_avx_unaligned_2.  Replace
9132         __memmove_chk_sse2_unaligned_2 with
9133         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
9134         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
9135         with __memmove_avx512_unaligned.  Replace
9136         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
9137         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
9138         with __memcpy_chk_avx512_unaligned.  Remove
9139         __memcpy_chk_avx_unaligned_2.  Replace
9140         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
9141         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
9142         Replace __memcpy_avx512_unaligned_2 with
9143         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
9144         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
9145         with __mempcpy_chk_avx512_unaligned.  Remove
9146         __mempcpy_chk_avx_unaligned_2.  Replace
9147         __mempcpy_chk_sse2_unaligned_2 with
9148         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
9149         Replace __mempcpy_avx512_unaligned_2 with
9150         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
9151         Replace __mempcpy_sse2_unaligned_2 with
9152         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
9153         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
9154         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
9155         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
9156         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
9157         (ENTRY): Removed.
9158         (END): Likewise.
9159         (ENTRY_CHK): Likewise.
9160         (libc_hidden_builtin_def): Likewise.
9161         Don't include ../memcpy.S.
9162         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
9163         __memcpy_chk_avx512_unaligned_erms and
9164         __memcpy_chk_avx512_unaligned.  Use
9165         __memcpy_chk_avx_unaligned_erms and
9166         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9167         Default to __memcpy_chk_sse2_unaligned.
9168         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9169         Change function suffix from unaligned_2 to unaligned.
9170         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
9171         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
9172         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
9173         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
9174         (ENTRY): Removed.
9175         (END): Likewise.
9176         (ENTRY_CHK): Likewise.
9177         (libc_hidden_builtin_def): Likewise.
9178         Don't include ../mempcpy.S.
9179         (mempcpy): New.  Add a weak alias.
9180         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
9181         __mempcpy_chk_avx512_unaligned_erms and
9182         __mempcpy_chk_avx512_unaligned.  Use
9183         __mempcpy_chk_avx_unaligned_erms and
9184         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9185         Default to __mempcpy_chk_sse2_unaligned.
9187 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
9189         [BZ #19881]
9190         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
9191         into ...
9192         * sysdeps/x86_64/memset.S: This.
9193         (__bzero): Removed.
9194         (__memset_tail): Likewise.
9195         (__memset_chk): Likewise.
9196         (memset): Likewise.
9197         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
9198         defined.
9199         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
9200         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
9201         (__memset_zero_constant_len_parameter): Check SHARED instead of
9202         PIC.
9203         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9204         memset-avx2 and memset-sse2-unaligned-erms.
9205         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9206         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
9207         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
9208         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9209         (__bzero): Enabled.
9210         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
9211         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
9212         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
9213         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
9214         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
9215         (memset): Removed.
9216         (__memset_chk): Likewise.
9217         (MEMSET_SYMBOL): New.
9218         (libc_hidden_builtin_def): Replace __memset_sse2 with
9219         __memset_sse2_unaligned.
9220         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
9221         __memset_chk_sse2 and __memset_chk_avx2 with
9222         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
9223         Use __memset_chk_sse2_unaligned_erms or
9224         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
9225         __memset_chk_avx512_unaligned_erms and
9226         __memset_chk_avx512_unaligned.
9228 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9230         * math/gen-auto-libm-test.c (fp_format_desc): remove
9231         suffix member.
9232         (output_generic_value): Remove usage of suffix member,
9233         and the resulting unuse of the fp_format argument.
9234         (output_for_one_input_case): Remove unused fp_format
9235         parameter.
9237         * math/auto-libm-test-out: Regenerate.
9239         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
9240         usage with TEST_COND_ibm128.
9241         (TEST_COND_flt_32): Remove.
9242         (TEST_COND_dbl_64): Remove.
9243         (TEST_COND_ldbl_96_intel): Remove.
9244         (TEST_COND_ldbl_96_m68k): Remove.
9245         (TEST_COND_ldbl_128): Remove.
9247 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9249         * auto-libm-test-in:
9250         Replace flt-32 usage with binary32.
9251         Replace dbl-64 usage with binary64.
9252         Replace ldbl-intel-96 usage with intel96.
9253         Replace ldbl-m68k-96 usage with m68k96.
9254         Replace ldbl-128ibm usage with ibm128.
9255         Replace ldbl-128 usage with binary128.
9257         * auto-libm-test-out: Regenerate.
9259 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9261         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
9262         (parse_ulps): Dynamically generate type name matching
9263         string from all_floats.
9264         (get_ulps): Generate the ulps as an array instead.
9265         (output_ulps): Dynamically compose the type based
9266         on the number of supported formats, and print
9267         the indices as type specific helper macros.
9269         * math/libm-test.inc: Remove comment about CHOOSE.
9270         (ulp_data): Generate the type in libm-test-ulps.h.
9271         (ULP_IDX): New macro.
9272         (find_ulps): Update usage of max_ulp.
9274         * math/test-double-vlen2.h (CHOOSE): Remove.
9275         * math/test-double-vlen4.h (CHOOSE): Likewise.
9276         * math/test-double-vlen8.h (CHOOSE): Likewise.
9277         * math/test-float.c (CHOOSE): Likewise.
9278         * math/test-float-finite.c (CHOOSE): Likewise.
9279         * math/test-double.c (CHOOSE): Likewise.
9280         * math/test-double-finite.c (CHOOSE): Likewise.
9281         * math/test-idouble.c (CHOOSE): Likewise.
9282         * math/test-ifloat.c (CHOOSE): Likewise.
9283         * math/test-ildoubl.c (CHOOSE): Likewise.
9284         * math/test-ldouble-finite.c (CHOOSE): Likewise.
9285         * math/test-ldouble.c (CHOOSE): Likewise.
9287         * math/test-float.h (TEST_FLOAT): Remove.
9288         * math/test-double.h (TEST_DOUBLE): Likewise.
9289         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
9291 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9293         * math/gen-libm-test.pl: (apply_lit): New subroutine.
9294         (parse_args): Strip C suffix from floating point literals
9295         typed with 'f' and wrap them with LIT().
9297         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
9298         (test_ff_f_data_nexttoward): Rename to
9299         (test_fj_f_data): New struct.
9300         (nexttoward_test_data): Relabel tests as
9301         TEST_fj_f instead of TEST_ff_f.
9303 2016-06-08  Florian Weimer  <fweimer@redhat.com>
9305         Emacs bug 23726.
9306         * malloc/malloc.c (dumped_main_arena_start): Update comment.
9307         (__libc_realloc): Correct size computation for dumped fake mmapped
9308         chunks.
9310 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
9312         [BZ #20219]
9313         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
9314         to itself.
9315         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
9317         [BZ #20218]
9318         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
9319         to itself.
9320         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
9322 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
9324         [BZ #20195]
9325         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
9326         check to ...
9327         (init_cpu_features): Here.
9329 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
9331         [BZ #20214]
9332         * sysdeps/unix/sysv/linux/bits/in.h
9333         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
9334          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
9335         Define to 1.
9336         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
9337          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
9338         Define to 0.
9339         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
9340         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
9342 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
9344         [BZ #20198]
9345         * stdlib/Makefile (tests): Add tst-quick_exit, and
9346         tst-thread-quick_exit.
9347         [ifeq ($(have-cxx-thread_local),yes)]
9348         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
9349         (CFLAGS-tst-thread-quick_exit.o): Likewise.
9350         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
9351         (LDLIBS-tst-thread-quick_exit): Likewise.
9352         [ifneq ($(have-cxx-thread_local),yes)]
9353         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
9354         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
9355         If run_dtors is true call __call_tls_dtors.
9356         (exit): Call __run_exit_handlers with run_dtors set to true.
9357         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
9358         definition.
9359         * stdlib/quick_exit.c (quick_exit): Remove function.
9360         (__new_quick_exit): New function.
9361         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
9362         function.
9363         * stdlib/tst-quick_exit.cc: New file.
9364         * stdlib/tst-thread-quick_exit.cc: New file.
9365         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
9366         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
9367         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
9368         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
9369         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
9370         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
9371         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
9372         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
9373         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
9374         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
9375         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
9376         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
9377         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
9378         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
9379         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
9380         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
9381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
9382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
9383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
9384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
9385         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
9386         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
9387         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
9388         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
9389         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
9390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
9391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
9392         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
9393         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
9394         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
9396 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
9398         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
9399         a typo in comments.
9401 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
9403         [BZ #20213]
9404         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
9405         argument to itself.
9406         * math/libm-test.inc (asin_test_data): Add sNaN tests.
9408 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9410         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
9411         required flags.
9412         (CFLAGS-pwritev64.c): Likewise.
9413         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
9414         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9415         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
9416         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9417         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
9418         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
9419         syscall from auto-generation.
9420         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
9421         [WORDSIZE == 64] (pwritev64): Remove macro.
9422         [!PWRITEV] (PWRITEV): Likewise.
9423         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
9424         [!PWRITEV] (PWRITE): Likewise.
9425         [!PWRITEV] (OFF_T): Likewise.
9426         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
9427         (LO_HI_LONG): Remove macro.
9428         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
9429         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
9430         (PWRITEV): Remove macro.
9431         (PWRITEV_REPLACEMENTE): Likewise.
9432         (PWRITE): Likewise.
9433         (OFF_T): Likewise.
9434         (pwritev64): New function.
9435         * nptl/tst-cancel4.c (tf_writev): Add test.
9437         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
9438         required flags.
9439         (CFLAGS-preadv64.c): Likewise.
9440         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
9441         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9442         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
9443         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
9444         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
9445         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
9446         syscall from auto-generation.
9447         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
9448         [WORDSIZE == 64] (preadv64): Remove macro.
9449         [!PREADV] (PREADV): Likewise.
9450         [!PREADV] (PREADV_REPLACEMENT): Likewise.
9451         [!PREADV] (PREAD): Likewise.
9452         [!PREADV] (OFF_T): Likewise.
9453         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
9454         (LO_HI_LONG): Remove macro.
9455         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
9456         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
9457         (PREADV): Remove macro.
9458         (PREADV_REPLACEMENTE): Likewise.
9459         (PREAD): Likewise.
9460         (OFF_T): Likewise.
9461         (preadv64): New function.
9462         * nptl/tst-cancel4.c (tf_preadv): Add test.
9464 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
9466         [BZ #20212]
9467         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
9468         argument to itself.
9469         * math/libm-test.inc (acos_test_data): Add sNaN tests.
9471 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9473         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
9474         New symbol defined as libc_hidden_def.
9475         (strcasestr): Became a weak alias to __strcasestr.
9476         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
9477         according to multi-arch support.  Move __stpncpy hidden
9478         definition from here to...
9479         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
9480         symbol stpncpy.
9481         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
9482         libc_hidden_builtin_def.
9483         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
9484         memset symbol to use when multi-arch support is available.
9486 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
9488         * dlfcn/tst-rec-dlopen.c: Include string.h.
9490 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9492         * manual/install.texi: Remove mention of --without-tls
9493         * INSTALL: Regenerate.
9495 2016-06-05  Florian Weimer  <fweimer@redhat.com>
9497         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
9498         Remove.
9499         (call_function, interposed_malloc_called): New variables.
9500         (malloc): New function.
9501         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
9502         and clear call_function as needed.
9504 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
9506         * include/wchar.h (__wmemset): Use __typeof.
9508 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
9510         * include/wchar.h (__wmemset): Declare function without typeof.
9512 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
9514         [BZ #20205]
9515         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
9516         exponent when incrementing negative subnormal with low mantissa
9517         word zero.
9518         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
9519         Add another test.
9521 2016-06-03  Florian Weimer  <fweimer@redhat.com>
9523         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
9524         __wmemset instead of wmemset.
9526 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
9528         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
9529         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
9530         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
9531         __USE_KERNEL_IPV6_DEFS to 0.
9532         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
9533         Update comment.
9535 2016-06-01  Florian Weimer  <fweimer@redhat.com>
9537         [BZ #19861]
9538         Do not use IFUNC resolver with potentially unrelocated symbol.
9539         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
9540         (DEFINE_FORK): Remove macro and inline definition.
9541         (fork_alias): Renamed from fork_ifunc.
9542         (__fork_alias): Renamed from __fork_ifunc.
9544 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
9546         [BZ 19653]
9547         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
9548         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
9550 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9552         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
9553         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
9554         i386-linux-gnu).
9555         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
9556         Set to no.
9557         * sysdeps/mach/hurd/configure: Refresh.
9559 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9561         [BZ #20178]
9562         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
9563         on failure instead of exit.
9565 2016-05-30  Roland McGrath  <roland@hack.frob.com>
9567         [BZ #3629]
9568         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
9569         of POSIX.1-2008.
9571 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9573         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
9574           Use PLT entry for calling _hurd_self_sigstate.
9576 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
9578         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
9579         available logical processors with SMT level type sharing L2
9580         cache for Intel processors.
9582 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
9584         [BZ #20160]
9585         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
9586         argument to itself before returning the result.
9587         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
9588         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
9589         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
9590         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
9591         Likewise.
9592         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
9593         Likewise.
9594         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
9595         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
9596         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
9597         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
9598         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
9599         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
9601         [BZ #20160]
9602         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
9603         argument to itself before returning the result.
9604         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
9605         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
9606         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
9607         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
9608         Likewise.
9609         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9610         Likewise.
9611         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
9612         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
9613         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
9614         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
9615         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
9616         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
9618 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9620         * libm-test.inc: Replace usage of M_El with
9621         (lit_e): New macro.
9623 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9625         * libm-test.inc: Replace usage of M_PI_4l with
9626         (lit_pi_4_d): New macro.
9628 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9630         * libm-test.inc: Replace usage of M_PIl with
9631         (lit_pi): New macro.
9633 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9635         * libm-test.inc: Replace usage of M_PI2l with
9636         (lit_pi_2_d): New macro.
9638         * math/test-double.h (LITM): New macro.
9639         * math/test-float.h (LITM): Likewise.
9640         * math/test-ldouble.h (LITM): Likewise.
9642 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9644         * libm-test.inc (M_PI_34l): Rename to
9645         (lit_pi_3_m_4_d): New Macro.
9646         (M_PI_34_LOG10El): Rename to
9647         (lit_pi_3_m_4_ln10_m_d): New Macro.
9648         (M_PI2_LOG10El): Rename to
9649         (lit_pi_2_ln10_m_d):  New Macro.
9650         (M_PI4_LOG10El): Rename to
9651         (lit_pi_4_ln10_m_d):  New Macro.
9652         (M_PI_LOG10El): Rename to
9653         (lit_pi_ln10_d):  New Macro.
9655 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
9657         [BZ #20157]
9658         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
9659         determine whether to negate low half if [_ARCH_PPCGR], and integer
9660         comparison otherwise.
9661         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
9662         determine whether to negate low half.
9664         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
9665         (NO_TEST_INLINE_DOUBLE): Likewise.
9666         (TEST_COND_x86_64): Likewise.
9667         (TEST_COND_x86): Likewise.
9668         (M_PI_6l): Likewise.
9670 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9672         * math/libm-test.inc:
9673         (TEST_FLOAT): Change usage to TEST_COND_binary32.
9674         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
9675         (TEST_LDOUBLE): Update usage to evaluate as true if
9676         the guarded tests match the property being tested.
9677         (LDBL_MAX_EXP): Change to MAX_EXP.
9678         (LDBL_MIN_EXP): Change to MIN_EXP.
9679         (LDBL_MANT_DIG): Change to MANT_DIG, except for
9680         nexttoward tests.
9682 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9684         * math/libm-test.inc:
9685         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
9686         (TYPE_MIN): Likewise.
9687         (TYPE_TRUE_MIN): Likewise.
9688         (TYPE_MAX): Likewise.
9689         (MIN_EXP): Likewise.
9690         (MAX_EXP): Likewise.
9691         (MANT_DIG): Likewise.
9693         (FSTR_MAX): New macro.
9694         (__CONCATX): Likewise.
9695         (QTYPE_STR): Likewise.
9696         (TEST_COND_binary32): Likewise.
9697         (TEST_COND_binary64): Likewise.
9698         (TEST_COND_binary128): Likewise.
9699         (TEST_COND_ibm128): Likewise.
9700         (TEST_COND_intel96): Likewise.
9701         (TEST_COND_m68k96): Likewise.
9703         (TEST_COND_flt_32): Redefine as equivalent format test macro.
9704         (TEST_COND_dbl_64): Likewise.
9705         (TEST_COND_ldbl_96_intel): Likewise.
9706         (TEST_COND_ldbl_96_m68k): Likewise.
9707         (TEST_COND_ldbl_128): Likewise.
9708         (TEST_COND_ldbl_128ibm): Likewise.
9710         (plus_zero): Redefine using LIT macro.
9711         (minus_zero): Likewise.
9712         (plus_infty): Redefine as (INF).
9713         (minux_infty): Redefine as (-INF).
9714         (max_value): Redefine as TYPE_MAX.
9715         (min_value): Redefine as TYPE_MIN.
9716         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
9718         (print_float): Refactor to use snprintf to convert FLOAT values
9719         to string. This brings it closer to dropin replacement of strtof
9720         for the TS 18661 defined types.
9721         (update_stats): Likewise.
9722         (print_complex_function_ulps): Likewise.
9723         (print_max_error): Likewise.
9724         (print_complex_max_error): Likewise.
9725         (check_float_internal): Likewise.
9727         * math/test-float.h (PREFIX): New macro.
9728         (LIT): Likewise.
9729         (TYPE_STR): Likewise.
9730         (FTOSTR): Likewise.
9732         * math/test-double.h (PREFIX): New macro.
9733         (LIT): Likewise.
9734         (TYPE_STR): Likewise.
9735         (FTOSTR): Likewise.
9737         * math/test-ldouble.h (PREFIX): New macro.
9738         (LIT): Likewise.
9739         (TYPE_STR): Likewise.
9740         (FTOSTR): Likewise.
9742 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
9744         [BZ #20156]
9745         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
9746         to itself when zero or not finite.
9747         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
9748         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9749         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
9750         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9752 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
9754         [BZ #20153]
9755         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
9756         x * x + x for infinities and NaNs.
9758         [BZ #20151]
9759         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
9760         argument to itself before returning result.
9761         (__ieee754_y0l): Likewise.
9762         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9763         (__ieee754_y1l).
9765         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
9766         (atan_test_data): Likewise.
9767         (ceil_test_data): Likewise.
9768         (cos_test_data): Likewise.
9769         (cosh_test_data): Likewise.
9770         (erf_test_data): Likewise.
9771         (exp2_test_data): Likewise.
9772         (fabs_test_data): Likewise.
9773         (floor_test_data): Likewise.
9774         (ilogb_test_data): Likewise.
9775         (j0_test_data): Likewise.
9776         (j1_test_data): Likewise.
9777         (jn_test_data): Likewise.
9778         (lgamma_test_data): Likewise.
9779         (lrint_test_data): Likewise.
9780         (llrint_test_data): Likewise.
9781         (logb_test_data): Likewise.
9782         (lround_test_data): Likewise.
9783         (llround_test_data): Likewise.
9784         (nearbyint_test_data): Likewise.
9785         (rint_test_data): Likewise.
9786         (round_test_data): Likewise.
9787         (sin_test_data): Likewise.
9788         (sincos_test_data): Likewise.
9789         (sinh_test_data): Likewise.
9790         (sqrt_test_data): Likewise.
9791         (tan_test_data): Likewise.
9792         (tanh_test_data): Likewise.
9793         (tgamma_test_data): Likewise.
9794         (trunc_test_data): Likewise.
9795         (y0_test_data): Likewise.
9796         (y1_test_data): Likewise.
9797         (yn_test_data): Likewise.
9799         * math/libm-test.inc: Update comment about NaN testing.
9800         (TEST_SNAN): New macro.
9801         (snan_value): Likewise.
9802         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
9803         (fpclassify_test_data): Add sNaN tests.
9804         (isfinite_test_data): Likewise.
9805         (isinf_test_data): Likewise.
9806         (isnan_test_data): Likewise.
9807         (isnormal_test_data): Likewise.
9808         (issignaling_test_data): Likewise.
9809         (signbit_test_data): Likewise.
9810         * math/gen-libm-test.pl (%beautify): Add snan_value.
9811         (show_exceptions): Add argument $test_snan.
9812         (parse_args): Handle snan_value as non-finite.  Update call to
9813         show_exceptions.
9814         * math/Makefile (libm-test-no-inline-cflags): Add
9815         -fsignaling-nans.
9817 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9819         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
9820         (CFLAGS-oldsendmsg.c): Add rule.
9821         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
9822         Correct recvmsg symbol name.
9823         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
9824         Likewise.
9826 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9828         * sysdeps/unix/sysv/linux/Makefile
9829         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
9830         oldsendmmsg.
9831         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
9832         sendmmsg.
9833         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9834         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9835         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9836         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9838         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9839         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9841         Likewise.
9842         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9843         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
9844         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
9845         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
9846         iovlen and controllen fields to adjust to POSIX specification.
9847         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9849         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
9850         and change to correct expected type.
9851         (msghdr.msg_controllen): Likewise.
9852         (cmsghdr.cmsg_len): Likewise.
9853         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
9854         expected POSIX assumption about the size.
9855         (msghdr.msg_controllen): Likewise.
9856         (msghdr.__glibc_reserved1): Likewise.
9857         (msghdr.__glibc_reserved2): Likewise.
9858         (cmsghdr.cmsg_len): Likewise.
9859         (cmsghdr.__glibc_reserved1): Likewise.
9860         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
9861         Add ptw-oldrecvmsg and ptw-oldsendmsg.
9862         (CFLAGS-sendmsg.c): Remove rule.
9863         (CFLAGS-recvmsg.c): Likewise.
9864         (CFLAGS-oldsendmsg.c): Add rule.
9865         (CFLAGS-oldrecvmsg.c): Likewise.
9866         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
9867         recvmsg and sendmsg.
9868         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
9869         Likewise.
9870         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
9871         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
9872         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
9873         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
9874         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
9875         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
9876         Likewise.
9877         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
9878         Likewise.
9879         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
9880         Likewise.
9881         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
9882         Likewise.
9883         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
9884         Likewise.
9885         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
9886         Likewise.
9887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
9888         (GLIBC_2.24): Likewise.
9889         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
9890         Likewise.
9891         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
9892         Likewise.
9893         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
9894         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
9895         Likewise.
9896         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
9897         Likewise.
9898         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
9899         Likewise.
9900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
9901         (GLIBC_2.24): Likewise.
9902         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
9903         Likewise.
9904         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
9905         Likewise.
9906         * sysdeps/unix/sysv/linux/Makefile
9907         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
9908         (CFLAGS-sendmsg.c): Add rule.
9909         (CFLAGS-recvmsg.c): Likewise.
9910         (CFLAGS-oldsendmsg.c): Likewise.
9911         (CFLAGS-oldrecvmsg.c): Likewise.
9912         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
9913         initialization.
9914         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
9915         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
9916         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
9917         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
9918         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
9919         iovlen and controllen fields to adjust to POSIX specification.
9920         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
9921         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
9922         added recvmsg and sendmsg.
9923         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9924         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9925         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9926         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9927         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9928         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9929         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9930         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9931         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9932         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9933         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9934         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
9935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9936         Likewise.
9937         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
9938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9939         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9940         Likewise.
9941         Likewise.
9942         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9943         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9944         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9945         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9946         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9947         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9949         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9951         Likewise.
9952         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9953         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9955         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
9956         from auto-generation.
9957         (sendmsg): Likewise.
9958         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
9959         (sendmsg): Likewise.
9960         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
9961         (sendmsg): Likewise.
9962         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
9963         (sendmsg): Likewise.
9964         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
9965         (sendmsg): Likewise.
9966         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
9967         (sendmsg): Likewise.
9968         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
9969         Likewise.
9970         (sendmsg): Likewise.
9971         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
9972         (sendmsg): Likewise.
9973         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9974         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9975         Remove.
9976         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9977         Likewise.
9978         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9979         Undefine.
9980         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9981         Likewise.
9982         * sysdeps/unix/sysv/linux/kernel-features.h
9983         (__ASSUME_SENDMSG_SYSCALL): Define.
9984         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9985         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9986         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9987         Remove.
9988         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9989         Likewise.
9990         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9991         Undefine.
9992         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9993         Likewise.
9994         * sysdeps/unix/sysv/linux/s390/kernel-features.h
9995         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9996         Remove.
9997         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9998         Likewise.
9999         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10000         Undefine.
10001         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10002         Likewise.
10003         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10004         (__ASSUME_SENDMSG_SYSCALL): Undefine.
10005         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10006         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10007         (__ASSUME_SENDMSG_SYSCALL): Likewise.
10008         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10009         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10010         (__ASSUME_SENDMSG_SYSCALL): Likewise.
10011         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10013 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10015         * stdlib/gen-tst-strtod-round.c: Add backslash to
10016         compile command in comment.
10017         (printfp): Remove the literal suffix, and define an infinite
10018         value as INF to avoid expansion clash with INFINITY.
10019         (round_str): Remove the literal suffix.
10020         (round_for_all): Likewise, remove the now duplicate ldbl-64
10021         entry, and remove some magic constants.
10023         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
10024         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
10025         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
10026         (_CONCAT): New macro.
10027         (CONCAT): Likewise.
10028         (CHOOSE_ld): Likewise.
10029         (CHOOSE_f): Likewise.
10030         (CHOOSE_d): Likewise.
10031         (FTYPE_MEMBER): Likewise.
10032         (BOOL_MEMBER): Likewise.
10033         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
10034         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
10035         (_XNTRY): Likewise.
10036         (XNTRY): Likewise.
10037         (_ENTRY): Likewise.
10038         (ENTRY): Likewise.
10039         (test_exactness): Generate members via macro.
10040         (test_results): Likewise.
10041         (test): Update members.
10042         (TEST): Redefine using new macros.
10043         (INF): New macro.
10044         (fetestmodes): New structure.
10045         (do_test): Refactor to be type generic.
10046         (test_in_one_mode): Refactor duplicate code into
10047         (GEN_ONE_TEST): New macro.
10049         * stdlib/tst-strtod-round-data.h: Regenerate.
10051         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
10052         Extend to pass additional arbitrary parameters to
10053         generators.
10055 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
10057         [BZ #15479]
10058         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
10059         floating-point state after first floating-point operation on
10060         input.  Restore full floating-point state instead of just rounding
10061         mode.
10062         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10063         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10064         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10065         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10066         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10068         [BZ #15479]
10069         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
10070         floating-point state after first floating-point operation on
10071         input.  Restore full floating-point state instead of just rounding
10072         mode.
10073         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10074         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10075         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10076         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10077         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10079 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10081         [BZ #19727]
10082         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
10083         valid high surrogate.
10084         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
10085         of an utf16 surrogate.
10086         * iconv/gconv_simple.c (BODY): Likewise.
10087         * iconvdata/bug-iconv12.c: New file.
10088         * iconvdata/Makefile (tests): Add bug-iconv12.
10090 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10092         [BZ #19726]
10093         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
10094         outptrp in case of an illegal input.
10095         * iconv/tst-iconv6.c: New file.
10096         * iconv/Makefile (tests): Add tst-iconv6.
10098 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10100         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
10101         an error in case of a value in range of an utf16 low surrogate.
10103 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10105         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
10106         an error in case of a value in range of an utf16 low surrogate.
10108 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10110         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
10111         Move to ...
10112         * sysdeps/s390/Makefile: ... here.
10113         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
10114         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
10115         (BRANCH_ON_COUNT): New define.
10116         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
10117         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
10118         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
10119         run on s390-32, too.
10120         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
10121         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
10122         run on s390-32, too.
10123         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
10124         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
10125         run on s390-32, too.
10127 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10129         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
10130         etf3eh or new vector loop-variant.
10132 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10134         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
10135         etf3eh or new vector loop-variant.
10137 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10139         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
10140         or new vector loop-variant.
10142 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10144         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
10145         Rename to TR_LOOP and usage of tr instead of troo instruction.
10147 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10149         * sysdeps/s390/multiarch/gconv_simple.c: New File.
10150         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
10152 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10154         * sysdeps/s390/multiarch/8bit-generic.c: New File.
10155         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
10156         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
10157         New override define.
10158         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
10160 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10162         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
10163         * sysdeps/s390/configure.ac: Add test for S390 vector register
10164         support in gcc.
10165         * sysdeps/s390/configure: Regenerated.
10167 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10169         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
10170         Install file from $(objpfx)gconv-modules.
10171         ($(objpfx)gconv-modules): Concatenate architecture specific file
10172         in variable sysdeps-gconv-modules and gconv-modules in src dir.
10173         * sysdeps/s390/gconv-modules: New file.
10174         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
10175         Deleted.
10176         ($(objpfx)gconv-modules-s390): Deleted.
10177         (sysdeps-gconv-modules): New variable.
10179 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
10181         [BZ #15479]
10182         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
10183         of immediate operand to rounding instruction.
10184         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
10185         Likewise.
10186         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
10187         Likewise.
10188         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
10189         Likewise.
10191 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10193         * math/libm-test.inc (MIN_EXP): Directly define as
10194         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
10196 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10198         * math/libm-test.inc (MANT_DIG): Directly define as
10199         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
10201 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10203         * stdlib/gen-tst-strtod-round.c (main):
10204           Change usage to more closely match the generated
10205           output.  Add usage and compilation instructions.
10206           (string_to_fp): Add and use FILE* parameter as
10207           output target.
10208           (print_fp): Likewise.
10209           (round_str): Likewise.
10210           (round_for_all): Likewise.
10211         * stdlib/tst-strtod-round.c (tests): Move into
10212         * stdlib/tst-strtod-round-data.h: New file.
10214 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
10216         [BZ #15479]
10217         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
10218         (__round): Do not force "inexact" exception.
10219         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
10220         variable.
10221         (__round): Do not force "inexact" exception.
10222         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
10223         (__roundf): Do not force "inexact" exception.
10224         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
10225         (__roundl): Do not force "inexact" exception.
10226         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
10227         (__roundl): Do not force "inexact" exception.
10228         * math/libm-test.inc (round_test_data): Do not allow spurious
10229         "inexact" exceptions.
10231         [BZ #15479]
10232         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
10233         exception in comment.
10234         (huge): Remove variable.
10235         (__floor): Do not force "inexact" exception.
10236         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
10237         "inexact" exception in comment.
10238         (huge): Remove variable.
10239         (__floor): Do not force "inexact" exception.
10240         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
10241         exception in comment.
10242         (huge): Remove variable.
10243         (__floorf): Do not force "inexact" exception.
10244         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
10245         exception in comment.
10246         (huge): Remove variable.
10247         (__floorl): Do not force "inexact" exception.
10249         [BZ #15479]
10250         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
10251         exception in comment.
10252         (huge): Remove variable.
10253         (__ceil): Do not force "inexact" exception.
10254         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
10255         "inexact" exception in comment.
10256         (huge): Remove variable.
10257         (__ceil): Do not force "inexact" exception.
10258         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
10259         (__ceilf): Do not force "inexact" exception.
10260         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
10261         exception in comment.
10262         (huge): Remove variable.
10263         (__ceill): Do not force "inexact" exception.
10265 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
10267         * config.h.in (BIND_NOW): New.
10268         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
10269         * configure: Regenerated.
10270         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
10271         indirect branch via the GOT slot.
10273 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10275         [BZ #19765]
10276         * sysdeps/s390/mempcpy.S: New File.
10277         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
10278         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
10279         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10280         Add mempcpy variants.
10281         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
10282         (memcpy): Adjust to be usable from mempcpy entry point.
10283         (__memcpy_mvcle): Likewise.
10284         * sysdeps/s390/s390-64/memcpy.S: Likewise.
10285         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
10286         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
10287         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
10288         (__memcpy_z10): Likewise.
10289         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
10291 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10293         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
10294         Remove __GI_ symbol.
10295         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
10296         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
10297         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
10298         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
10299         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
10300         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
10302 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10304         * sysdeps/s390/s390-64/memcpy.S (memcpy):
10305         Use cghi instead of chi to compare 64bit value.
10307 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10309         * sysdeps/s390/s390-32/memcpy.S (memcpy):
10310         Jump to 1MB check before executing mvc-loop.
10312 2016-05-24  Florian Weimer  <fweimer@redhat.com>
10314         [BZ #6527]
10315         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
10316         unconditionally.
10317         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
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  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10328         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
10329         (TEST_STRTOD): New macro.
10330         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
10332 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10334         * stdlib/tst-strtod6.c (do_test): Use new type generic
10335         invocation of the test function.
10336         (test): Refactor into ...
10337         (TEST_STRTOD): New macro base function.
10339 2016-05-23  Florian Weimer  <fweimer@redhat.com>
10341         CVE-2016-4429
10342         [BZ #20112]
10343         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
10344         payload.
10346 2016-05-23  Florian Weimer  <fweimer@redhat.com>
10348         [BZ #20111]
10349         * bits/sockaddr.h (_SS_SIZE): Define.
10350         * bits/socket.h (_SS_SIZE): Remove.
10351         (_SS_PADSIZE): Adjust to account for all padding.
10352         (struct sockaddr_storage): Update comment.  Avoid implicit
10353         padding.
10354         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
10355         (_SS_PADSIZE): Adjust to account for all padding.
10356         (struct sockaddr_storage): Update comment.  Avoid implicit
10357         padding.
10358         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
10359         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
10360         (_SS_PADSIZE): Adjust to account for all padding.
10361         (struct sockaddr_storage): Update comment.  Avoid implicit
10362         padding.
10363         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
10364         __SS_SIZE is 126 in this version.
10365         * inet/tst-sockaddr.c: New file.
10366         * inet/Makefile (tests): Add tst-sockaddr.c
10367         (tst-sockaddr.c): Compile with non-strict aliasing.
10369 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
10371         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
10372         [XPG3 || XPG4].
10373         (NL_ARGMAX): Also expect for [XPG3].
10374         (NL_LANGMAX): Likewise.
10375         (NL_MSGMAX): Likewise.
10376         (NL_NMAX): Likewise.
10377         (NL_SETMAX): Likewise.
10378         (NL_TEXTMAX): Likewise.
10379         (NZERO): Likewise.
10380         (TMP_MAX): Likewise.
10381         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
10382         variable.
10384         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
10385         (PF_MAX): Update value.
10386         (AF_KCM): New macro.
10387         (SOL_NETBEUI): Likewise.
10388         (SOL_LLC): Likewise.
10389         (SOL_DCCP): Likewise.
10390         (SOL_NETLINK): Likewise.
10391         (SOL_TIPC): Likewise.
10392         (SOL_RXRPC): Likewise.
10393         (SOL_PPPOL2TP): Likewise.
10394         (SOL_BLUETOOTH): Likewise.
10395         (SOL_PNPIPE): Likewise.
10396         (SOL_RDS): Likewise.
10397         (SOL_IUCV): Likewise.
10398         (SOL_CAIF): Likewise.
10399         (SOL_ALG): Likewise.
10400         (SOL_NFC): Likewise.
10401         (SOL_KCM): Likewise.
10402         (MSG_BATCH): New enum value and macro.
10404 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
10406         [BZ #18185]
10407         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
10408         sharing L2 cache to 2 for Knights Landing.
10410 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
10412         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
10413         (FTW_DP): Do not expect for [XPG3 || XPG4].
10414         (FTW_SL): Do not expect for [XPG3].
10415         (FTW_SLN): Likewise.
10416         (FTW_PHYS): Likewise.
10417         (FTW_MOUNT): Likewise.
10418         (FTW_DEPTH): Likewise.
10419         (FTW_CHDIR): Likewise.
10420         (nftw): Likewise.
10421         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
10422         variable.
10424 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
10426         * manual/errno.texi: Fix various typos & grammar errors.
10428 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
10430         * manual/intro.texi: Fix duplicated typo.
10432 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
10434         [BZ #13304]
10435         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
10436         <float.h>, <math_private.h> and <stdlib.h>.
10437         (add_split): New function.
10438         (mul_split): Likewise.
10439         (ext_val): New typedef.
10440         (store_ext_val): New function.
10441         (mul_ext_val): New function.
10442         (compare): New function.
10443         (add_split_ext): New function.
10444         (__fmal): After checking for Inf, NaN and zero, compute result as
10445         an exact sum of scaled double values in round-to-nearest before
10446         adding those up and adjusting for other rounding modes.
10447         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
10448         tests of fma.
10449         * math/auto-libm-test-out: Regenerated.
10451 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
10453         [BZ #20119]
10454         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
10455         processor level type mask for CPUID with EAX == 11.
10457 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
10459         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
10460         logical threads if the HTT bit is 0.
10461         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
10462         (index_cpu_HTT): Likewise.
10463         (reg_HTT): Likewise.
10465 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
10467         [BZ #20115]
10468         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
10469         Remove alignments on jump targets.
10471 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
10473         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
10474         (getpwent): Likewise.
10475         (setpwent): Likewise.
10476         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
10477         variable.
10479         * conform/data/search.h-data (insque): Do not expect for [XPG3].
10480         (remque): Likewise.
10481         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
10482         variable.
10484 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
10486         * math/libm-test.inc: Update comment not to refer to signs of NaNs
10487         not being tested.
10489 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
10491         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10492         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
10493         call.
10494         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10495         (__condvar_cleanup1): Likewise.
10497 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
10499         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
10500         New
10501         (__pthread_unwind): Renamed to ...
10502         (PTHREAD_UNWIND): This.
10503         (__pthread_enable_asynccancel): Replace
10504         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
10506 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
10508         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
10509         (CLONE_NEWCGROUP): New macro.
10511         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
10512         (Q_GETNEXTQUOTA): New macro.
10514 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
10516         [BZ #19907]
10517         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
10518         buffer updated by the previous run.
10519         * string/test-memcpy.c (do_one_test): Likewise.
10520         * benchtests/bench-memmove.c (do_one_test): Add a comment.
10521         * string/test-memmove.c (do_one_test): Likewise.
10523 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
10525         [BZ #20094]
10526         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
10527         not [__USE_XOPEN].
10528         (unlockpt): Likewise.
10529         (ptsname): Likewise.
10530         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
10531         variable.
10533         [BZ #20076]
10534         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
10535         instead of [__USE_UNIX98].
10536         (S_ISSOCK): Likewise.
10537         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
10538         variable.
10540         [BZ #20074]
10541         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
10542         [__USE_POSIX].
10543         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
10544         variable.
10546         [BZ #20051]
10547         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
10548         (ttyslot): Do not declare.
10549         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
10550         (ttyslot): New prototype.
10551         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
10552         variable.
10553         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10555 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10557         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
10559 2016-05-13  Florian Weimer  <fweimer@redhat.com>
10561         Fix race condition in tst-mallocfork2, use fewer resources.
10562         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
10563         to current process group.
10564         (signal_sender): Yield in the non-sleeping case.
10566 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
10568         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
10569         (ecvt): Likewise.
10570         (fcvt): Likewise.
10571         (gcvt): Likewise.
10572         (getsubopt): Likewise.
10573         (grantpt): Likewise.
10574         (initstate): Likewise.
10575         (l64a): Likewise.
10576         (mktemp): Likewise.
10577         (mkstemp): Likewise.
10578         (ptsname): Likewise.
10579         (random): Likewise.
10580         (realpath): Likewise.
10581         (setstate): Likewise.
10582         (srandom): Likewise.
10583         (ttyslot): Likewise.
10584         (unlockpt): Likewise.
10585         (valloc): Likewise.
10587         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
10588         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
10589         variable.
10591 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
10593         [BZ #20072]
10594         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
10595         init_cpu_features only if SHARED is defined.
10596         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
10598 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
10600         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
10601         non-inclusive caches on Intel processors.
10603 2016-05-13  Florian Weimer  <fweimer@redhat.com>
10605         * malloc/malloc.c (dumped_main_arena_start)
10606         (dumped_main_arena_end): New variables.
10607         (DUMPED_MAIN_ARENA_CHUNK): New macro.
10608         (do_check_chunk): Skip dumped fake mmapped chunks.
10609         (munmap_chunk): Likewise.
10610         (__libc_free): Do not adjust statistics for fake mmapped chunks.
10611         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
10612         mmapped chunks.
10613         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
10614         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
10615         and dumped_main_arena_end to cover the dumped heap.
10617 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
10619         * conform/data/time.h-data (getdate_err): Do not expect for
10620         [XPG3].
10621         (getdate): Likewise.
10622         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
10623         variable.
10625         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
10626         (F_ULOCK): Likewise.
10627         (F_TEST): Likewise.
10628         (F_TLOCK): Likewise.
10629         (useconds_t): Likewise.
10630         (intptr_t): Do not expect for [XPG3] or [XPG4].
10631         (brk): Do not expect for [XPG3]
10632         (fchown): Likewise.
10633         (fchdir): Likewise.
10634         (ftruncate): Likewise.
10635         (getdtablesize): Likewise.
10636         (gethostid): Likewise.
10637         (getpagesize): Likewise.
10638         (getpgid): Likewise.
10639         (getsid): Likewise.
10640         (getwd): Likewise.
10641         (lchown): Likewise.
10642         (lockf): Likewise.
10643         (readlink): Likewise.
10644         (sbrk): Likewise.
10645         (setpgrp): Likewise.
10646         (setregid): Likewise.
10647         (setreuid): Likewise.
10648         (symlink): Likewise.
10649         (sync): Likewise.
10650         (truncate): Likewise.
10651         (ualarm): Likewise.
10652         (usleep): Likewise.
10653         (vfork): Likewise.
10654         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
10655         variable.
10657         [BZ #20054]
10658         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
10659         not [__USE_UNIX98].
10660         * conform/data/unistd.h-data (gethostname): Do not expect for
10661         [XPG3].
10663         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
10664         [!POSIX] (S_IFBLK): Likewise.
10665         [!POSIX] (S_IFCHR): Likewise.
10666         [!POSIX] (S_IFIFO): Likewise.
10667         [!POSIX] (S_IFREG): Likewise.
10668         [!POSIX] (S_IFDIR): Likewise.
10669         [!POSIX] (S_IFLNK): Likewise.
10670         [!POSIX] (S_IFSOCK): Likewise.
10671         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
10672         variable.
10673         (test-xfail-XPG4/fcntl.h/conform): Likewise.
10675 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
10677         * sysdeps/aarch64/memset.S (__memset):
10678         Rewrite of optimized memset.
10680 2016-05-12  Florian Weimer  <fweimer@redhat.com>
10682         [BZ #19703]
10683         Partially async-signal-safe fork for single-threaded processes.
10684         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
10685         variable.  Do not acquire and reset/release malloc and libio locks
10686         in single-threaded processes.
10687         * malloc/tst-mallocfork2.c: New file.
10688         * malloc/Makefile (tests): Add it.
10690 2016-05-12  Florian Weimer  <fweimer@redhat.com>
10692         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
10693         argument.  Use scratch buffer instead of extend_alloca.
10694         (gethosts): Use scratch buffer instead of extend_alloca.
10695         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
10696         extend_alloca.
10697         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
10699 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
10701         [BZ #20055]
10702         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
10703         instead of [__USE_UNIX98].
10704         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
10705         [__USE_UNIX98].
10706         * conform/data/termios.h-data (tcgetsid): Do not expect for
10707         [XPG3].
10708         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
10709         variable.
10710         (test-xfail-XPG4/termios.h/conform): Likewise.
10712 2016-05-11  Florian Weimer  <fweimer@redhat.com>
10714         Do not use mcheck in localedef.
10715         * locale/programs/localedef.c (turn_on_mcheck)
10716         (__malloc_initialize_hook): Remove.
10718 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10720         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
10721         * sysdeps/s390/s390-64/Makefile: Likewise.
10723 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
10725         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
10726         Remove ifunc-defines.sym.
10727         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
10728         Likewise.
10729         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
10730         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
10731         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
10732         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
10733         rtld-global-offsets.sym.
10734         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
10735         * sysdeps/x86/cpu-features-offsets.sym: This.
10736         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
10737         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
10739 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
10741         [BZ #20073]
10742         * io/sys/stat.h (fchmod): Declare for
10743         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
10744         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
10745         variable.
10747         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
10748         [XPG3] (S_IFSOCK): Likewise.
10749         [XPG3] (S_ISVTX): Likewise.
10750         [XPG3] (S_ISLNK): Likewise.
10751         [XPG3] (S_ISSOCK): Likewise.
10752         [XPG3] (fchmod): Likewise.
10753         [XPG3] (lstat): Likewise.
10754         [XPG3] (mknod): Likewise.
10756         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
10757         [XPG3].  Expect type long and XFAIL for [XPG4].
10758         (st_blocks): Likewise.
10760         [BZ #20044]
10761         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
10762         (pthread_atfork): New prototype.
10763         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
10764         variable.
10766         [BZ #20043]
10767         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
10768         prototype.
10770 2016-05-10  Florian Weimer  <fweimer@redhat.com>
10772         [BZ #20017]
10773         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
10774         gmtime.
10776 2016-05-10  Florian Weimer  <fweimer@redhat.com>
10778         [BZ #19994]
10779         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
10780         flag in _res.options.
10782 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
10784         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
10785         [XPG3 || XPG4].
10786         (blksize_t): Likewise.
10787         (clockid_t): Likewise.
10788         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
10789         variable.
10790         (test-xfail-XPG4/sys/types.h/conform): Likewise.
10792 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10794         * sysdeps/unix/sysv/linux/s390/init-first.c:
10795         Add VDSO_SYMBOL(getcpu).
10796         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
10797         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
10798         Add VDSO_SYMBOL(getcpu).
10799         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
10800         New define HAVE_GETCPU_VSYSCALL.
10801         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10803 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
10805         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
10806         instead of <sysdeps/x86_64/cacheinfo.c>.
10807         * sysdeps/x86_64/cacheinfo.c: Moved to ...
10808         * sysdeps/x86/cacheinfo.c: Here.
10810 2016-05-04  Florian Weimer  <fweimer@redhat.com>
10812         * malloc/malloc-internal.h: Adjust header file guard.
10814 2016-05-04  Florian Weimer  <fweimer@redhat.com>
10816         [BZ #19787]
10817         * inet/getnameinfo.c (check_sprintf_result): New function.
10818         (CHECKED_SNPRINTF): New macro.
10819         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
10820         to the host buffer.
10821         (gni_host_local): Use checked_copy to copy the host name.
10822         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
10823         (gni_serv_local): Use checked_copy to copy the service name.
10824         (getnameinfo): Remove unnecessary truncation of result buffers.
10826 2016-05-04  Florian Weimer  <fweimer@redhat.com>
10828         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
10829         in case of inet_ntop failure.
10831 2016-05-04  Florian Weimer  <fweimer@redhat.com>
10833         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
10834         avoid long lines.
10835         (gni_host_inet_numeric): Likewise.  Reduce scope of local
10836         variables.
10837         (gni_host_inet, gni_host_local): Add comment.
10838         (gni_host): Add comment.  Use temporary to avoid long lines.
10840 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10842         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
10843         registers specifiers where general purpose registers specifiers should
10844         have been used.
10846 2016-05-04  Florian Weimer  <fweimer@redhat.com>
10848         [BZ #19779]
10849         CVE-2016-1234
10850         Avoid copying names of directory entries.
10851         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
10852         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
10853         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
10854         (struct readdir_result): New type.
10855         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
10856         (GL_READDIR): New macros.
10857         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
10858         (convert_dirent, convert_dirent64): New functions.
10859         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
10860         convert_dirent64.  Adjust references to the readdir result.
10861         * sysdeps/unix/sysv/linux/i386/glob64.c:
10862         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
10863         * posix/bug-glob2.c (LONG_NAME): Define.
10864         (filesystem): Add LONG_NAME.
10865         (my_DIR): Increase the size of room_for_dirent.
10867 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
10869         [BZ #20041]
10870         * misc/sys/select.h (__need_timespec): Only define if
10871         [__USE_XOPEN2K].
10872         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
10873         variable.
10874         (test-xfail-XPG4/utmpx.h/conform): Likewise.
10875         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10876         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10878 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10879             Segher Boessenkool  <segher@gcc.gnu.org>
10881         [BZ #20004]
10882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
10883         (__novec_swapcontext): Add missing load.
10885 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
10887         [BZ #20023]
10888         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
10889         <time.h>.
10890         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
10891         variable.
10892         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10894 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
10897         flags CLONE_VM compare.
10899 2016-05-02  Florian Weimer  <fweimer@redhat.com>
10901         [BZ #20031]
10902         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
10903         completely empty.
10905 2016-05-02  Florian Weimer  <fweimer@redhat.com>
10907         [BZ #19573]
10908         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
10909         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
10910         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
10911         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
10912         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
10913         (hesiod_free_list): Mark as hidden.
10914         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
10915         res_set, res_get.
10916         * hesiod/hesiod.c: Remove unnecessary forward declarations.
10917         (init, __hesiod_res_get, __hesiod_res_set): Remove.
10918         (hesiod_init): Remove obsolete res_ninit call.
10919         (hesiod_end): Do not free resolver state.  Do not invoke callback.
10920         (hesiod_bind): Do not call init.
10921         (get_txt_records): Use res_mkquery, res_send instead of
10922         res_nmkquery, res_nsend.
10923         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
10924         instead of _nss_hesiod_init.
10925         (_nss_hesiod_initgroups_dyn): Likewise.
10926         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
10927         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
10928         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
10930 2016-05-02  Florian Weimer  <fweimer@redhat.com>
10932         * hesiod/hesiod_p.h (DEF_RHS): Remove.
10933         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
10935 2016-05-02  Florian Weimer  <fweimer@redhat.com>
10937         * hesiod/hesiod.h: Remove RCS keyword.
10938         * hesiod/hesiod_p.h: Likewise.
10940         * hesiod/hesiod.c: Likewise.
10942 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
10944         [BZ #12450]
10945         * locale/iso-639.def: Add Samogitian/sgs.
10947 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
10949         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
10951         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
10953 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
10954             Carlos O'Donell  <carlos@redhat.com>
10956         [BZ #19072]
10957         * grp/Makefile (headers): Add grp-merge.h
10958         (routines): Add grp-merge.
10959         * grp/getgrgid_r.c: Include grp-merge.h.
10960         (DEEPCOPY_FN): Define.
10961         (MERGE_FN): Define.
10962         * grp/getgrname_r.c: Include grp-merge.h.
10963         (DEEPCOPY_FN): Define.
10964         (MERGE_FN): Define.
10965         * grp/grp-merge.c: New file.
10966         * grp/grp-merge.h: New file.
10967         * include/grp-merge.h: New file.
10968         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
10969         __copy_grp@GLIBC_PRIVATE.
10970         * manual/nss.texi (Actions in the NSS configuration): Describe
10971         return, continue, and merge.
10972         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
10973         (DEEPCOPY_FN): Define.
10974         (MERGE_FN): Define.
10975         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
10976         (DEEPCOPY_FN): Define.
10977         (MERGE_FN): Define.
10978         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
10979         [!MERGE_FN]: Define __merge_einval.
10980         (CHECK_MERGE): Define.
10981         (REENTRANT_NAME): Process merge if do_merge is true.
10982         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
10983         (__nss_getent_r): Likewise.
10984         * nss/nsswitch.c (nss_parse_service_list): Likewise.
10985         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
10987 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10989         [BZ #20012]
10990         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
10991         length to calculate the buffer to read.
10992         (fmemopen_write): Set the buffer position based on bytes written.
10993         (fmemopen_seek): Return EINVAL for invalid whence modes.
10995         [BZ #19957]
10996         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
10997         tst-getpid2.
10998         (test): Add tst-clone2.
10999         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
11000         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
11001         pid/tid fields for CLONE_VM.
11002         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
11003         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
11004         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
11005         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
11006         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
11007         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
11008         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
11009         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
11010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
11011         Likewise.
11012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11013         Likewise.
11014         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
11015         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
11016         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
11017         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
11018         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
11019         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
11020         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
11021         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
11023 2016-04-29  Florian Weimer  <fweimer@redhat.com>
11025         [BZ #19642]
11026         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
11027         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
11028         (gni_serv_local, gni_serv): New functions extracted from
11029         getnameinfo.
11030         (getnameinfo): Call gni_host and gni_serv to perform the
11031         processing.  Always free scratch buffer.
11033 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11035         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
11036         remaining bytes in the dest string, with zeros.
11038 2016-04-29  Florian Weimer  <fweimer@redhat.com>
11040         [BZ #20010]
11041         CVE-2016-3706
11042         * sysdeps/posix/getaddrinfo.c
11043         (convert_hostent_to_gaih_addrtuple): New function.
11044         (gethosts): Call convert_hostent_to_gaih_addrtuple.
11045         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
11046         AF_INET data.
11048 2016-04-29  Florian Weimer  <fweimer@redhat.com>
11050         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
11051         callback function gl_readdir.
11052         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
11053         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
11054         (glob_in_dir): Remove len.  Use strdup instead of malloc and
11055         memcpy to copy the name.
11056         * manual/pattern.texi (Calling Glob): Document requirements for
11057         implementations of the gl_readdir callback function.
11058         * manual/examples/mkdirent.c: New example.
11059         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
11060         per the manual guidance.
11061         * posix/tst-gnuglob.c (my_readdir): Likewise.
11063 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
11065         [BZ #20014]
11066         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
11067         not [__USE_POSIX].
11068         (getchar_unlocked): Likewise.
11069         (putc_unlocked): Likewise.
11070         (putchar_unlocked): Likewise.
11071         (flockfile): Likewise.
11072         (ftrylockfile): Likewise.
11073         (funlockfile): Likewise.
11074         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
11075         variable.
11076         (test-xfail-XPG4/stdio.h/conform): Likewise.
11078         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
11079         Expect constant.
11080         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
11081         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
11082         variable.
11083         (test-xfail-XPG4/langinfo.h/conform): Likewise.
11084         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11086         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
11087         [__USE_LARGEFILE64] (off64_t): Likewise.
11088         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
11089         variable.
11091 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11093         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
11095 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11097         * resolv/inet_addr.c: Reindent preprocessor conditionals.
11098         * resolv/res_init.c: Likewise.
11099         * resolv/res_mkquery.c: Likewise.
11101 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11103         * resolv/res_init.c (isascii): Do not define.  Use definition in
11104         <ctype.h>.
11105         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
11106         (LOG_AUTH): Remove.
11107         (SPRINTF): Remove, adjust caller.
11108         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
11110 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11112         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
11113         SUNSECURITY conditional.
11114         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
11116 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11118         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
11119         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
11120         Remove BSD-related preprocessor conditionals.
11121         * conf/portability.h: Remove.
11123 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11125         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
11126         * resolv/res_data.c: Likewise.
11128 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11130         * resolv/res_comp.c: Remove code conditional on __ultrix__.
11131         * resolv/res_data.c: Remove code conditional on ultrix.
11133 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11135         * resolv/res_init.c (RFC1535): Do not define.  Remove
11136         RFC1535 preprocessor conditionals.
11137         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
11138         because there configuration options which make the resolver
11139         behavior different.
11141 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11143         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
11144         RESOLVSORT preprocessor conditionals.
11145         * resolv/nss_dns/dns-host.c: Likewise.
11146         * resolv/res_init.c: Likewise.
11148 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11150         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
11151         is never defined.
11153 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11155         * inet/inet_lnaof.c: Remove SCSS keyword.
11156         * inet/inet_mkadr.c: Likewise.
11157         * inet/inet_net.c: Likewise.
11158         * inet/inet_netof.c: Likewise.
11159         * inet/rcmd.c: Likewise.
11160         * inet/rexec.c: Likewise.
11161         * inet/ruserpass.c: Likewise.
11163 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11165         * resolv/inet_addr.c: Remove _LIBC conditionals.
11166         * resolv/res_data.c: Likewise.
11167         * resolv/res_init.c: Likewise.
11168         * resolv/res_mkquery.c: Likewise.
11169         * resolv/res_libc.c: Update comment.
11170         * resolv/README: Update.
11172 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11174         * resolv/gethnamaddr.c: Remove SCSS keyword.
11175         * resolv/herror.c: Likewise.
11176         * resolv/inet_addr.c: Likewise.
11177         * resolv/inet_net_ntop.c: Likewise.
11178         * resolv/inet_net_pton.c: Likewise.
11179         * resolv/inet_neta.c: Likewise.
11180         * resolv/inet_ntop.c: Likewise.
11181         * resolv/inet_pton.c: Likewise.
11182         * resolv/ns_date.c: Remove RCS keyword.
11183         * resolv/ns_name.c: Likewise.
11184         * resolv/ns_netint.c: Likewise.
11185         * resolv/ns_parse.c: Likewise.
11186         * resolv/ns_print.c: Likewise.
11187         * resolv/ns_samedomain.c: Likewise.
11188         * resolv/ns_ttl.c: Likewise.
11189         * resolv/nsap_addr.c: Likewise.
11190         * resolv/res_comp.c: Remove SCSS and RCS keyword.
11191         * resolv/res_data.c: Remove RCS keyword.
11192         * resolv/res_debug.c: Remove SCSS and RCS keyword.
11193         * resolv/res_init.c: Likewise.
11194         * resolv/res_mkquery.c: Likewise.
11195         * resolv/res_query.c: Likewise.
11196         * resolv/res_send.c: Likewise.
11198 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
11200         * conform/data/stdio.h-data (fdopen): Expect also for
11201         [XPG3 || XPG4].
11203         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
11204         (fseeko): Likewise.
11205         (ftello): Likewise.
11206         (ftrylockfile): Likewise.
11207         (funlockfile): Likewise.
11208         (getc_unlocked): Likewise.
11209         (getchar_unlocked): Likewise.
11210         (putc_unlocked): Likewise.
11211         (putchar_unlocked): Likewise.
11213 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11215         [BZ #19868]
11216         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
11217         DNS packet syntax checks (which were not needed before).  Skip
11218         over non-PTR records.
11220 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11222         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
11223         definition.  Include <stddef.h> instead.
11225 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11227         [BZ #19831]
11228         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
11229         function.
11230         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
11231         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
11233 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11235         [BZ #19862]
11236         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
11237         (getanswer_r): Do not call syslog.
11238         (gaih_getanswer_slice): Likewise.
11239         * resolv/gethnamaddr.c (AskedForGot): Remove.
11240         (getanswer): Do not call syslog.
11241         (gethostbyaddr): Likewise.
11243 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
11245         * conform/data/signal.h-data (union sigval): Expect also if
11246         [XOPEN2K].
11247         (struct sigevent): Likewise.
11248         (SIGEV_NONE): Likewise.
11249         (SIGEV_SIGNAL): Likewise.
11250         (SIGEV_THREAD): Likewise.
11251         (SIGRTMIN): Likewise.
11252         (SIGRTMAX): Likewise.
11253         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
11254         variable.
11255         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11257 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11259         [BZ #19830]
11260         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
11261         (gaih_getanswer_slice): Likewise.
11262         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
11263         Also check for availability of RR metadata.
11265 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11267         [BZ #19825]
11268         * resolv/res_send.c (send_vc): Remove early *resplen2
11269         initialization.  Set *resplen2 on socket error.  Call
11270         close_and_return_error for other errors.
11272 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
11274         * sysdeps/unix/sysv/linux/netiucv/iucv.h
11275         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
11276         (SCM_IUCV_TRGCLS): New define.
11278 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11280         [BZ #20005]
11281         * libio/fmemopen.c (fmemopen_write): Update internal position after
11282         write.
11283         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
11284         * stdio-common/tst-fmemopen4.c: New file..
11286 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
11288         [BZ #19996]
11289         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
11290         not [__USE_XOPEN2K].
11291         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
11292         variable.
11294         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
11295         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
11296         variable.
11298         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
11299         [__USE_XOPEN2K8].
11300         [__USE_LARGEFILE64] (off64_t): Likewise.
11301         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
11302         variable.
11304 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
11306         [BZ #19989]
11307         * libio/stdio.h (cuserid): Do not declare if
11308         [__USE_XOPEN2K && !__USE_GNU].
11309         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
11310         variable.
11312 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11314         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11315         (sysdep_routines): Add P8 and PPC64 strcspn targets.
11316         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11317         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
11318         ifunc'ed strcspn.
11319         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
11320         [EALIGN]: Removed.
11321         [END]: Likewise
11322         [STRSPN]: Define instead of the above to control symbol name.
11323         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
11324         New file.
11325         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
11326         Likewise.
11327         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
11328         Likewise.
11329         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
11330         Likewise.
11331         * sysdeps/powerpc/powerpc64/power8/strspn.S:
11332         [INITIAL_MASK]: New macro.
11333         [STRCSPN]: Likewise.
11334         [UPDATE_MASK]: Likewise.
11335         [USE_AS_STRCSPN]: Likewise.
11337 2016-04-25  Florian Weimer  <fweimer@redhat.com>
11339         [BZ #19931]
11340         * stdio-common/tst-vfprintf-width-prec.c: New file.
11341         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
11342         (tests-special): Add tst-vfprintf-width-prec-mem.out.
11343         (generated): Add mtrace-related files.
11344         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
11345         (tst-%-mem.out): New pattern rule, replaces
11346         tst-printf-bz18872-mem.out.
11347         * stdio-common/vfprintf.c (vfprintf): When handling a precision
11348         specifier, deallocate any previously allocated work buffer.
11350 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
11352         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
11353         Add nop before __startcontext, add explaining comments.
11355 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
11357         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
11358         any more. Notably since IPV6_PKTINFO has been reintroduced with a
11359         completely different API.
11361         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
11362         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
11363         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
11364         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
11365         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
11366         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
11367         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
11368         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
11369         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
11370         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
11372 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
11374         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
11376 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
11378         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
11379         when it is the default of 0.
11381 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11383         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
11384         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11385         (sysdep_routines): Add new strcasestr targets.
11386         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11387         (__libc_ifunc_impl_list): Likewise.
11388         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
11389         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
11390         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
11391         * sysdeps/powerpc/powerpc64/power8/Makefile:
11392         New file to add strcasestr-ppc64 to sysdep_routines.
11393         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
11394         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
11396 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
11398         * benchtests/Makefile (wcsmbs-benchset): Include only for
11399         native builds and runs.
11400         (LOCALES): Likewise.
11401         (bench-build): Build timing-type here instead of the bench
11402         target.  Generate locale only for native builds.
11403         * benchtests/README: Add note for cross-building.
11405         * benchtests/Makefile (bench-clean): Clean up extra-objs.
11407         * benchtests/README: Update README to include instructions on
11408         using bench-build.
11410         * Makefile.in (bench-build): New target.
11411         * Rules (PHONY): Add bench-build target.
11412         * benchtests/Makefile (bench): Depend on bench-build.
11413         (bench-build): New target.
11415 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11417         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
11418         profil_reply_port.
11419         (profile_waiter): Do not initialize profil_reply_port.
11420         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
11421         frequency instead of tick length in us.
11423 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
11425         [BZ #18712]
11426         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
11427         (__old_mempcpy_small): Likewise.
11428         (__old_strcpy_small): Likewise.
11429         (__old_stpcpy_small): Likewise.
11430         (__old_strpbrk_c2): Fix compat symbol name.
11431         (__old_strpbrk_c3): Likewise.
11432         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
11433         (__mempcpy_small): Remove.
11434         (__strcpy_small): Remove.
11435         (__stpcpy_small): Remove.
11437 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
11439         [BZ #19400]
11440         * locale/iso-639.def: Add the Talossan/tzl language.
11442 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
11444         [BZ #16983]
11445         * locale/programs/ld-address.c (address_finish): Update postal_fmt
11446         comment.  Add "ln" to strchr check on postal_fmt.
11448 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
11450         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
11451         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
11452         tel_dom_fmt.
11454 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11456         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11457         (sysdep_routines): Added __strlen_power8.
11458         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
11459         __strlen_power8 entry.
11460         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
11461         Implementation for POWER8.
11462         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
11463         for __strlen_power8.
11464         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
11465         Implementation for POWER8.
11467 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
11469         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
11471 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
11473         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
11474         Goldmont and Airmont processors.
11476 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
11478         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
11479         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
11480         (__STRING2_SMALL_GET32): Remove.
11481         (memset): Remove.
11482         (__memset_1): Remove.
11483         (__memset_gc): Remove.
11484         (__mempcpy): Remove.
11485         (mempcpy): Remove.
11486         (__mempcpy_args): Remove.
11487         (strchr): Remove.
11488         (strcpy): Remove.
11489         (strcpy_args): Remove.
11490         (__stpcpy_args): Remove.
11491         (__strcmp_cc): Remove.
11492         (__strcmp_gc): Remove.
11493         (strstr): Remove.
11495 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
11497         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
11498         * nis/nis_call.c (nis_server_cache_add): Likewise.
11500 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11502         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
11504 2016-04-14  Florian Weimer  <fweimer@redhat.com>
11506         * malloc/arena.c (__malloc_fork_lock_parent)
11507         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
11508         internal_function attribute.
11510 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
11512         * stdio-common/printf_fp.c (__printf_fp_l):
11513         Rename ___printf_fp_l to __printf_fp_l and
11514         remove strong alias. Use libc_hidden_def instead
11515         of ldbl_hidden_def macro.
11517 2016-04-14  Florian Weimer  <fweimer@redhat.com>
11519         Remove malloc hooks from fork handler.  They are no longer needed
11520         because malloc runs right before fork, and no malloc calls from
11521         other fork handlers are not possible anymore.
11522         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
11523         declarations.
11524         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
11525         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
11526         (atfork_recursive_cntr): Remove.
11527         (__malloc_fork_lock_parent): Do not override malloc hooks and
11528         thread_arena.
11529         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
11530         thread_arena.
11531         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
11532         thread_arena instead of save_arena.
11534 2016-04-14  Florian Weimer  <fweimer@redhat.com>
11536         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
11537         (thread_atfork, thread_atfork_static): Remove.
11538         * sysdeps/mach/hurd/malloc-machine.h:
11539         (thread_atfork, thread_atfork_static): Remove.
11541 2016-04-14  Florian Weimer  <fweimer@redhat.com>
11543         [BZ #19431]
11544         Run the malloc fork handler as late as possible to avoid deadlocks.
11545         * malloc/malloc-internal.h: New file.
11546         * malloc/malloc.c: Include it.
11547         * malloc/arena.c (ATFORK_MEM): Remove.
11548         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
11549         Update comment.
11550         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
11551         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
11552         Remove outdated comment.
11553         (ptmalloc_init): Do not call thread_atfork.  Remove
11554         thread_atfork_static.
11555         * malloc/tst-malloc-fork-deadlock.c: New file.
11556         * Makefile (tests): Add tst-malloc-fork-deadlock.
11557         (tst-malloc-fork-deadlock): Link against libpthread.
11558         * manual/memory.texi (Aligned Memory Blocks): Update safety
11559         annotation comments.
11560         * sysdeps/nptl/fork.c (__libc_fork): Call
11561         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
11562         __malloc_fork_unlock_child.
11563         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
11565 2016-04-14  Florian Weimer  <fweimer@redhat.com>
11567         [BZ #19613]
11568         Remove union wait.
11569         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
11570         (w_stopsig, w_stopval): Remove.
11571         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
11572         stat_loc argument.
11573         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
11574         (__WAIT_STATUS_DEFN): Remove.
11575         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
11576         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
11577         (wait, wait3, wait4): Use int * for the stat_loc argument.
11578         * posix/wait.c (__wait): Likewise.
11579         * posix/wait3.c (__wait3): Likewise.
11580         * posix/wait4.c (__wait4): Likewise.
11581         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
11582         (__WAIT_STATUS_DEFN): Remove.
11583         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
11584         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
11585         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
11586         argument.
11587         * sysdeps/posix/wait.c (__libc_wait): Likewise.
11588         * sysdeps/posix/wait3.c (__wait3): Likewise.
11589         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
11590         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11591         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
11592         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
11593         stat_loc argument.
11594         * manual/process.texi (BSD Wait Functions): Remove union wait.
11596 2016-04-13  Andreas Schwab  <schwab@suse.de>
11598         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
11599         (test-extras): Add tst-tlsalign-vars.
11600         * math/Makefile: Wrap long lines.
11601         (libm-vec-test-wrappers): Define.
11602         (test-extras): Add $(libm-vec-test-wrappers).
11603         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
11604         * nss/Makefile (extra-test-objs): Add nss_test1.os.
11605         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
11606         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
11607         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
11608         (extra-test-objs): Add corresponding objects.
11610 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
11612         [BZ #19928]
11613         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
11614         New.
11615         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
11616         times of shared cache size.
11617         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
11618         (VMOVNT): New.
11619         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
11620         (VMOVNT): Likewise.
11621         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
11622         (VMOVNT): Likewise.
11623         (VMOVU): Changed to movups for smaller code sizes.
11624         (VMOVA): Changed to movaps for smaller code sizes.
11625         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
11626         comments.
11627         (PREFETCH): New.
11628         (PREFETCH_SIZE): Likewise.
11629         (PREFETCHED_LOAD_SIZE): Likewise.
11630         (PREFETCH_ONE_SET): Likewise.
11631         Rewrite to use forward and backward loops, which move 4 vector
11632         registers at a time, to support overlapping addresses and use
11633         non temporal store if size is above the threshold and there is
11634         no overlap between destination and source.
11636 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
11638         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
11639         Include dl-vdso.
11640         * sysdeps/unix/sysv/linux/mips/Versions: Add
11641         __vdso_clock_gettime.
11642         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
11643         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
11644         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
11645         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
11646         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
11647         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
11648         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11649         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
11650         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
11652 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11654         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
11655         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
11656         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
11657         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
11658         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
11659         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
11661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
11662         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
11663         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
11664         syscalls generation.
11665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11666         [__NR_pwrite64] (__NR_write): Remove define.
11667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11668         [__NR_pwrite64] (__NR_write): Remove define.
11669         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
11670         Remove define.
11671         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
11672         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
11673         Remove define.
11674         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
11675         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
11676         Linux implementation as base.
11677         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
11679         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
11680         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
11681         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
11682         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
11683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
11684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
11685         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
11686         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
11687         syscall generation.
11688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11689         [__NR_pread64] (__NR_pread): Remove define.
11690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11691         [__NR_pread64] (__NR_pread): Likewise.
11692         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
11693         define.
11694         (__libc_pread): Use SYSCALL_LL macro on offset argument.
11695         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
11696         Remove define.
11697         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
11698         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
11699         Linux implementation as base.
11700         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
11701         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
11702         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11704         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
11705         definition.
11706         (__ALIGNMENT_COUNT): Likewise.
11707         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
11708         (__ALIGNMENT_COUNT): Likewise.
11709         (SYSCALL_LL): New define.
11710         (SYSCALL_LL64): Likewise.
11711         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
11712         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
11713         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
11714         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
11716         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11717         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
11718         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11719         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
11720         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11721         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
11723 2016-04-11  Florian Weimer  <fweimer@redhat.com>
11725         [BZ #19865]
11726         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
11727         original buffer before retry.
11729 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11731         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
11732         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
11733         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
11734         GLRO(dl_auxv) list.
11735         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
11736         including <ldsodefs.h>.
11737         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
11739 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
11741         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
11742         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
11743         $(CPPFLAGS).
11745 2016-04-09  Khem Raj  <raj.khem@gmail.com>
11747         [BZ #17950]
11748         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
11749         Add -mfpmath=387.
11751 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
11753         * sysdeps/i386/configure.ac: Change == to = when calling test.
11754         * sysdeps/x86_64/configure.ac: Likewise.
11755         * sysdeps/i386/configure: Regenerated.
11756         * sysdeps/x86_64/configure: Likewise.
11758 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
11760         [BZ #16137]
11761         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
11762         * benchtests/bench-strcoll.c (input_files): Likewise.
11763         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
11764         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
11765         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
11767 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
11769         [BZ #19929]
11770         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
11771         [__USE_XOPEN2K8 && !__USE_GNU].
11772         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
11773         variable.
11775         [BZ #19925]
11776         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
11777         define if [!__USE_MISC && __USE_XOPEN2K].
11778         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
11779         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
11780         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
11781         Likewise.
11782         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
11783         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
11784         variable.
11785         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11787 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11789         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11790         (sysdep_routines): Add new strspn targets.
11791         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11792         (__libc_ifunc_impl_list): Add strspn.
11793         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
11794         New file.
11795         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
11796         Likewise.
11797         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
11798         Likewise.
11799         * sysdeps/powerpc/powerpc64/power8/strspn.S:
11800         Likewise.
11802 2016-04-07  Florian Weimer  <fweimer@redhat.com>
11804         * misc/hsearch_r.c: Include <limits.h>.
11806 2016-04-07  Florian Weimer  <fweimer@redhat.com>
11808         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
11810 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
11812         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11813         (MEMCPY_SYMBOL): New.
11814         (MEMPCPY_SYMBOL): Likewise.
11815         (MEMMOVE_CHK_SYMBOL): Likewise.
11816         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
11817         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
11818         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
11819         Provide alias for memcpy in libc.a and ld.so.
11821 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
11823         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11824         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
11825         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
11826         Disabled fro now.
11827         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
11828         symbols.  Properly check USE_MULTIARCH on __memset symbols.
11830 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
11832         * benchtests/Makefile (string-benchset): Add memcpy-large,
11833         memmove-large and memset-large.
11834         * benchtests/bench-memcpy-large.c: New file.
11835         * benchtests/bench-memmove-large.c: Likewise.
11836         * benchtests/bench-memmove-large.c: Likewise.
11837         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
11839 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
11841         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
11842         32-bit displacement to avoid long nop between instructions.
11844 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
11846         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
11847         a comment on VMOVU and VMOVA.
11849 2016-04-04  Florian Weimer  <fweimer@redhat.com>
11851         [BZ #19633]
11852         Use specified locale for number formatting in strfmon_l.
11853         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
11854         (__nl_lookup_word): New inline functions.
11855         * include/printf.h (__print_fp_l): Declare.
11856         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
11857         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
11858         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
11859         (___printf_fp): New function.
11860         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
11861         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
11862         * stdlib/tst-strfmon_l.c (do_test): New test.
11863         * stdlib/Makefile (tests): Add kt.
11864         (LOCALES): Build additional locales.
11865         (tst-strfmon_l.out): Require locales.
11867 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
11869         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
11870         if not in libc.
11871         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
11872         Likewise.
11873         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
11874         Likewise.
11875         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11876         Likewise.
11878 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
11880         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
11881         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
11882         with unaligned_erms.
11883         (__memmove_erms): Skip if source == destination.
11884         (__memmove_unaligned_erms): Don't check source == destination
11885         first.
11887 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
11889         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
11890         bit_arch_Fast_Copy_Backward for Intel Core proessors.
11892 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11894         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
11895         * string/strspn.c (strspn): Likewise.
11897 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
11899         * benchtests/bench-memset.c (do_test): Support 64-byte
11900         alignment.
11901         (test_main): Test 64-byte alignment.
11903 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
11905         * benchtests/bench-memmove.c (test_main): Test 64-byte
11906         alignment.
11908 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
11910         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
11912 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11914         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
11915         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
11916         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
11918         * string/strpbrk.c (strpbrk): Rewrite function.
11919         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
11920         (__strpbrk_c2): Likewise.
11921         (__strpbrk_c3): Likewise.
11922         * string/string-inlines.c
11923         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
11924         Likewise.
11925         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
11926         Likewise.
11928         * string/strspn.c (strcspn): Rewrite function.
11929         * string/bits/string2.h (strspn): Use __builtin_strcspn.
11930         (__strspn_c1): Remove inline function.
11931         (__strspn_c2): Likewise.
11932         (__strspn_c3): Likewise.
11933         * string/string-inlines.c
11934         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
11935         compatibility symbol.
11936         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
11937         Likewise.
11938         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
11939         Likewise.
11940         * string/string-inlines.c: Include generic version.
11942 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
11943             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11945         * string/Version (libc): Add GLIBC_2.24.
11946         * string/strcspn.c (strcspn): Rewrite function.
11947         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
11948         (__strcspn_c1): Remove inline function.
11949         (__strcspn_c2): Likewise.
11950         (__strcspn_c3): Likewise.
11951         * string/string-inline.c
11952         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
11953         compatibility symbol.
11954         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
11955         Likewise.
11956         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
11957         Likewise.
11958         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
11960 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
11962         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11963         Use ahi instead of aghi to adjust stack pointer.
11965 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11967         [BZ #19853]
11968         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
11969         TEST to take significant digits as second parameter.
11970         [TEST]: Redefine in terms of TEST_N taking 30
11971         significant digits.
11972         (do_test): Add test case to demonstrate precision
11973         failure in the ldbl-128ibm printf.
11974         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
11975         (__mpn_extract_long_double): Carry 7 extra intermediate
11976         bits of precision to aide computing difference when
11977         signs differ.
11979 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
11981         [BZ #19881]
11982         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11983         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
11984         memset-avx512-unaligned-erms.
11985         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11986         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
11987         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
11988         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
11989         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
11990         __memset_sse2_unaligned_erms, __memset_erms,
11991         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
11992         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
11993         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
11994         file.
11995         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11996         Likewise.
11997         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
11998         Likewise.
11999         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
12000         Likewise.
12002 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
12004         [BZ #19776]
12005         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12006         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
12007         memmove-avx512-unaligned-erms.
12008         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12009         (__libc_ifunc_impl_list): Test
12010         __memmove_chk_avx512_unaligned_2,
12011         __memmove_chk_avx512_unaligned_erms,
12012         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
12013         __memmove_chk_sse2_unaligned_2,
12014         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
12015         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
12016         __memmove_avx512_unaligned_erms, __memmove_erms,
12017         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
12018         __memcpy_chk_avx512_unaligned_2,
12019         __memcpy_chk_avx512_unaligned_erms,
12020         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
12021         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
12022         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
12023         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
12024         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
12025         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
12026         __mempcpy_chk_avx512_unaligned_erms,
12027         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
12028         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
12029         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
12030         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
12031         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
12032         __mempcpy_erms.
12033         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
12034         file.
12035         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12036         Likewise.
12037         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
12038         Likewise.
12039         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
12040         Likewise.
12042 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12044         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
12045         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
12046         (La_s390_64_regs): Likewise.
12047         (La_s390_32_retval): Append vector register lrv_v24.
12048         (La_s390_64_retval): Likeweise.
12049         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12050         Handle extended structs La_s390_32_regs and La_s390_32_retval.
12051         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12052         Handle extended structs La_s390_64_regs and La_s390_64_retval.
12054 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12056         [BZ #19916]
12057         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
12058         to create a non-vector/vector version for _dl_runtime_resolve and
12059         _dl_runtime_profile. Move implementation to ...
12060         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
12061         (_dl_runtime_resolve) Save and restore fpr/vrs.
12062         (_dl_runtime_profile) Save and restore vrs and fix some issues
12063         if _dl_call_pltexit is called.
12064         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
12065         Choose the correct resolver function if running on a machine with vx.
12066         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
12067         to create a non-vector/vector version for _dl_runtime_resolve and
12068         _dl_runtime_profile. Move implementation to ...
12069         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
12070         (_dl_runtime_resolve) Save and restore fpr/vrs.
12071         (_dl_runtime_profile) Save and restore vrs and fix some issues
12072         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
12073         Choose the correct resolver function if running on a machine with vx.
12075 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12077         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
12079 2016-03-31  Florian Weimer  <fweimer@redhat.com>
12081         [BZ #19509]
12082         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
12083         skip_map != NULL.
12084         * elf/tst-dlsym-error.c: New file.
12085         * elf/Makefile (tests): Add tst-dlsym-error.
12086         (tst-dlsym-error): Link against libdl.
12088 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
12090         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12091         (__ASSUME_FUTIMESAT): Remove macro.
12092         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
12094 2016-03-29  Florian Weimer  <fweimer@redhat.com>
12096         [BZ #19879]
12097         CVE-2016-3075
12098         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
12099         copy name.
12101 2016-03-29  Florian Weimer  <fweimer@redhat.com>
12103         [BZ #19837]
12104         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
12105         error if parse_line fails.
12107 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12109         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
12110         (index_cpu_ERMS): Likewise.
12111         (reg_ERMS): Likewise.
12113 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
12115         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
12116         PER_LINUX_FDPIC): Add.
12118 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12120         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12121         memcpy-avx512-no-vzeroupper.
12122         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
12123         to ...
12124         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
12125         (MEMCPY): Don't define.
12126         (MEMCPY_CHK): Likewise.
12127         (MEMPCPY): Likewise.
12128         (MEMPCPY_CHK): Likewise.
12129         (MEMPCPY_CHK): Renamed to ...
12130         (__mempcpy_chk_avx512_no_vzeroupper): This.
12131         (MEMPCPY_CHK): Renamed to ...
12132         (__mempcpy_chk_avx512_no_vzeroupper): This.
12133         (MEMCPY_CHK): Renamed to ...
12134         (__memmove_chk_avx512_no_vzeroupper): This.
12135         (MEMCPY): Renamed to ...
12136         (__memmove_avx512_no_vzeroupper): This.
12137         (__memcpy_avx512_no_vzeroupper): New alias.
12138         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
12140 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12142         [BZ #18858]
12143         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12144         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
12145         and mempcpy-avx512-no-vzeroupper.
12146         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
12147         New.
12148         (MEMPCPY): Likewise.
12149         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
12150         (MEMPCPY_CHK): New.
12151         (MEMPCPY): Likewise.
12152         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
12153         (MEMPCPY): Likewise.
12154         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
12155         (MEMPCPY): Likewise.
12156         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
12157         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
12158         Likewise.
12159         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
12160         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
12162 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12163              Amit Pawar  <Amit.Pawar@amd.com>
12165         [BZ #19583]
12166         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
12167         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
12168         processors.  Set Fast_Copy_Backward for AMD Excavator
12169         processors.
12170         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
12171         New.
12172         (index_arch_Fast_Unaligned_Copy): Likewise.
12173         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
12174         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
12176 2016-03-25  Florian Weimer  <fweimer@redhat.com>
12178         [BZ #19791]
12179         * resolv/res_send.c (close_and_return_error): New function.
12180         (send_dg): Initialize *resplen2 after reopen failure.  Call
12181         close_and_return_error for error returns.  On error paths without
12182         __res_iclose, initialze *resplen2 explicitly.  Update comment for
12183         successful return.
12185 2016-03-25  Florian Weimer  <fweimer@redhat.com>
12187         [BZ# 19860]
12188         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
12189         zero if the compiler does not provide the AVX512F bit.
12191 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
12193         [BZ #19848]
12194         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
12195         from 8 to 4.
12196         (__ieee754_powl): Compare integer exponent against 4 not 8.
12197         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
12198         from 8 to 4.
12199         (__ieee754_powl): Compare integer exponent against 4 not 8.
12200         * math/auto-libm-test-in: Add more tests of pow.
12201         * math/auto-libm-test-out: Regenerated.
12202         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12205 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
12207         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
12208         Make code unconditional.
12209         [!__NR_utimensat]: Remove conditional code.
12210         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
12211         Make code unconditional.
12212         [!__NR_utimensat]: Remove conditional code.
12213         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
12214         Make code unconditional.
12215         [!__NR_utimensat]: Remove conditional code.
12217 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
12219         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
12220         Make code unconditional.
12222 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
12224         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
12225         call-clobbered %eax on retry path.
12226         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
12228 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12230         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
12231         Don't set %rcx twice before "rep movsb".
12233 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12235         [BZ #19583]
12236         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
12237         inline.  Check family before setting family, model and
12238         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
12239         bits here.
12240         (init_cpu_features): Replace HAS_CPU_FEATURE and
12241         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
12242         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
12243         for Intel processors with usable AVX2.  Call get_common_indeces
12244         for other processors with family == NULL.
12245         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
12246         (CPU_FEATURES_ARCH_P): Likewise.
12247         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
12248         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
12250 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12252         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
12253         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
12254         $(shared-thread-library) instead of hardcoding the path to libpthread.
12256 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
12258         * sysdeps/unix/sysv/linux/kernel-features.h
12259         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
12260         * sysdeps/unix/sysv/linux/getdents.c
12261         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
12262         [!have_no_getdents64_defined]: Likewise.
12263         (__GETDENTS): Remove __have_no_getdents64 conditional.
12265 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
12267         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
12268         Remove macro.
12269         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
12270         <kernel-features.h>.
12271         (signalfd) [__NR_signalfd4]: Make code unconditional.
12272         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
12274 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12276         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
12277         style.
12279 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
12281         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
12282         (__pthread_enable_asynccancel): Use JUMPTARGET to call
12283         __pthread_unwind.
12284         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12285         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
12286         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12287         (__condvar_cleanup1): Likewise.
12289 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
12291         [BZ #19822]
12292         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
12293         move it to the final $@ location.
12295 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12297         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
12298         access where posix_spawn success and pid argument is null.
12299         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
12300         success case.
12302 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
12304         * sysdeps/mach/hurd/i386/c++-types.data: New file.
12306         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
12308         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
12309         and __fcntl.
12310         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
12311         __fcntl only.
12312         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
12313         adding attribute_hidden to __open and __fcntl.
12315         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
12316         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
12317         depend on libc-modules.h,
12318         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
12320 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
12322         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
12323         Remove macro.
12324         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
12325         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
12326         entry.
12328         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
12329         Remove macro.
12330         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
12331         include <kernel-features.h>.
12332         [!__ASSUME_FALLOCATE]: Remove conditional code.
12333         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
12335 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
12337         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
12338         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
12339         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
12340         (_ZGVdN4v_cos_avx2): Likewise.
12341         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
12342         (_ZGVdN4v_cos): Likewise.
12343         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
12344         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
12345         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
12346         (_ZGVdN4v_exp_avx2): Likewise.
12347         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
12348         (_ZGVdN4v_exp): Likewise.
12349         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
12350         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
12351         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
12352         (_ZGVdN4v_log_avx2): Likewise.
12353         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
12354         (_ZGVdN4v_log): Likewise.
12355         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
12356         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
12357         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
12358         (_ZGVdN4vv_pow_avx2): Likewise.
12359         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
12360         (_ZGVdN4vv_pow): Likewise.
12361         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
12362         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
12363         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
12364         (_ZGVdN4v_sin_avx2): Likewise.
12365         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
12366         (_ZGVdN4v_sin): Likewise.
12367         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
12368         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
12369         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
12370         (_ZGVdN4vvv_sincos_avx2): Likewise.
12371         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
12372         (_ZGVdN4vvv_sincos): Likewise.
12373         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
12374         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
12375         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
12376         (_ZGVbN4v_cosf_sse4): Likewise.
12377         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
12378         (_ZGVdN8v_cosf_avx2): Likewise.
12379         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
12380         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
12381         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
12382         (_ZGVbN4v_expf_sse4): Likewise.
12383         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
12384         (_ZGVdN8v_expf_avx2): Likewise.
12385         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
12386         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
12387         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
12388         (_ZGVbN4v_logf_sse4): Likewise.
12389         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
12390         (_ZGVdN8v_logf_avx2): Likewise.
12391         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
12392         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
12393         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
12394         (_ZGVbN4vv_powf_sse4): Likewise.
12395         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
12396         (_ZGVdN8vv_powf_avx2): Likewise.
12397         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
12398         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
12399         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
12400         (_ZGVbN4vvv_sincosf_sse4): Likewise.
12401         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
12402         (_ZGVdN8vvv_sincosf_avx2): Likewise.
12403         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
12404         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
12405         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
12406         (_ZGVbN4v_sinf_sse4): Likewise.
12407         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
12408         (_ZGVdN8v_sinf_avx2): Likewise.
12409         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
12410         Use JUMPTARGET to call callee.
12411         (WRAPPER_IMPL_SSE2_ff): Likewise.
12412         (WRAPPER_IMPL_SSE2_fFF): Likewise.
12413         (WRAPPER_IMPL_AVX): Likewise.
12414         (WRAPPER_IMPL_AVX_ff): Likewise.
12415         (WRAPPER_IMPL_AVX_fFF): Likewise.
12416         (WRAPPER_IMPL_AVX512): Likewise.
12417         (WRAPPER_IMPL_AVX512_ff): Likewise.
12418         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
12419         Likewise.
12420         (WRAPPER_IMPL_SSE2_ff): Likewise.
12421         (WRAPPER_IMPL_SSE2_fFF): Likewise.
12422         (WRAPPER_IMPL_AVX): Likewise.
12423         (WRAPPER_IMPL_AVX_ff): Likewise.
12424         (WRAPPER_IMPL_AVX_fFF): Likewise.
12425         (WRAPPER_IMPL_AVX512): Likewise.
12426         (WRAPPER_IMPL_AVX512_ff): Likewise.
12427         (WRAPPER_IMPL_AVX512_fFF): Likewise.
12429 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12431         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
12432         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
12433         qualifier.
12434         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
12435         internal_function qualifiers.
12437 2016-03-15  Carlos O'Donell <carlos@redhat.com>
12439         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
12440         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
12441         * math/atest-exp.c (exp_mpn): Mark chk unused.
12442         * math/atest-exp2.c (exp_mpn): Likewise.
12443         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
12444         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
12446 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
12448         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
12449         Remove macro.
12450         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
12451         <kernel-features.h>.
12452         [__NR_ppoll]: Make code unconditional.
12453         [!__ASSUME_PPOLL]: Remove conditional code.
12455         * sysdeps/unix/sysv/linux/kernel-features.h
12456         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
12457         (__ASSUME_ACCEPT4): Likewise.
12458         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12459         Define.
12460         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
12461         Likewise.
12462         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12463         Likewise.
12464         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
12465         Likewise.
12466         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
12467         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
12468         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12469         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12470         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12471         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12472         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12473         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12474         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12475         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12476         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12477         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12478         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12479         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12480         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12481         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12482         Likewise.
12483         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12484         Likewise.
12485         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12486         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12487         0x040300].
12488         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12489         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12490         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12491         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12492         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
12493         0x030300].
12494         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
12495         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12496         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12497         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12498         0x040300].
12499         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12500         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12501         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12502         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12503         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12504         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12505         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
12506         0x030300].
12507         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12508         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12509         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12510         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12511         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12512         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12513         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12514         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12515         * sysdeps/unix/sysv/linux/s390/kernel-features.h
12516         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12517         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12518         0x040300].
12519         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12520         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12521         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12522         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12523         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12524         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12525         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12526         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12527         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12528         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12529         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12530         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12531         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12532         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12533         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
12534         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12535         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12536         Likewise.
12537         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12538         Likewise.
12540 2016-03-15  Andreas Schwab  <schwab@suse.de>
12542         [BZ #19257]
12543         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
12544         statp->_u._ext.nscount as loop count.
12546 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
12548         * math/test-signgam-finite-c99.c: Also #undef
12549         __LIBC_INTERNAL_MATH_INLINES.
12550         * math/test-signgam-main.c: Likewise.
12552 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
12554         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
12555         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12556         (MADV_FREE): Likewise.
12557         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
12558         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
12559         EPOLLEXCLUSIVE.
12561 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
12563         * timezone/README: Remove mention of checktab.awk. Mention wiki
12564         SharedSourceFiles.
12566 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
12568         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
12569         WUNTRACED.
12571 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12573         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
12574         order to match the type of p when calling atomic_exchange_acq().
12576 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12578         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
12579         cfi_offset calls.
12580         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
12581         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
12582         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
12583         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
12584         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
12586 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
12588         * timezone/checktab.awk: Removed.
12590 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
12592         * manual/math.texi (Errors in Math Functions): Document relaxed
12593         accuracy goals for IBM long double.
12594         * math/libm-test.inc (test_exceptions): Always allow spurious
12595         "underflow" and "inexact" exceptions for IBM long double.
12597 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
12599         [BZ #19762]
12600         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
12601         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
12602         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
12603         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
12604         (bit_arch_*): This for feature array.
12605         (bit_*): Renamed to ...
12606         (bit_cpu_*): This for cpu array.
12607         (index_*): Renamed to ...
12608         (index_arch_*): This for feature array.
12609         (index_*): Renamed to ...
12610         (index_cpu_*): This for cpu array.
12611         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
12612         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
12613         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
12614         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
12615         bit_##name with index_cpu_##name and bit_cpu_##name.
12616         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
12617         bit_##name with index_arch_##name and bit_arch_##name.
12619 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
12621         [BZ #19792]
12622         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
12623         Terminate FDE before return label.
12625 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
12627         [BZ #19790]
12628         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
12629         (rintl): Define as macro.
12630         [USE_AS_NEARBYINTL] (__rintl): Likewise.
12631         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
12632         of fesetround.  Ensure results are evaluated before end of scope.
12633         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
12634         USE_AS_NEARBYINTL and include s_rintl.c.
12635         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
12636         Disable exception traps in new environment.
12637         (libc_feholdsetround_ppc_ctx): Likewise.
12639 2016-03-08  Roland McGrath  <roland@hack.frob.com>
12641         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
12642         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
12643         (tst_audit10_aux) [__AVX512F__]: ... here.
12645 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
12647         * include/sys/auxv.h: New file.
12649 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
12651         [BZ #19759]
12652         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
12654 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12656         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
12657         operand modifier.
12658         (feclearexcept): Likewise.
12660 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12662         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
12663         to reflect the entire 32-bit HWCAP.
12664         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
12665         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
12667 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
12669         [BZ #19783]
12670         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
12671         $(test-via-rtld-prefix).
12672         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
12674 2016-03-08  Florian Weimer  <fweimer@redhat.com>
12676         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
12677         union wait.  Report any non-zero exit status as error.
12679 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12681         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
12682         configured with --enable-hardcoded-path-in-tests.
12684 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
12686         [BZ #19677]
12687         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
12688         (__ieee754_remainderl): Put zero low parts in canonical form.
12689         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
12690         file.  Based on
12691         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
12692         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
12693         with wrapper round test-fmodrem-ldbl-128ibm.c.
12694         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
12695         file.
12696         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
12697         Likewise.
12698         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
12699         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
12701 2016-03-07  Florian Weimer  <fweimer@redhat.com>
12703         [BZ #19610]
12704         * elf/ldconfig.c (opt_link): Update comment.
12705         (options): Update help string for option -X.
12706         (search_dir): Unlink stale symbolic link only if updating symbolic
12707         links.
12708         * elf/tst-ldconfig-X.sh: New file.
12709         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
12710         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
12712 2016-03-07  Andreas Schwab  <schwab@suse.de>
12714         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
12715         needed arguments.
12717 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
12719         [BZ #15333]
12720         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
12721         to lstat64.
12723 2016-03-07  Florian Weimer  <fweimer@redhat.com>
12725         * libio/filedoalloc.c (isatty): Remove.
12726         (local_isatty): Add comment.  Call __isatty directly.
12727         (_IO_file_doallocate): Update comment.  Assume _LIBC.
12728         * libio/wfiledoalloc.c (isatty): Remove.
12729         (_IO_wfile_doallocate): Update comment.
12731 2016-03-07  Florian Weimer  <fweimer@redhat.com>
12733         [BZ #19269]
12734         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
12735         tst-audit4-aux.o.
12736         (tst-audit10): Depend on tst-audit10-aux.o.
12737         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
12738         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
12739         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
12740         instead of inline AVX code.
12741         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
12742         instead of inline AVX512 code.
12743         * sysdeps/x86_64/tst-audit4-aux.c: New file
12744         * sysdeps/x86_64/tst-audit10-aux.c: New file
12746         [BZ #19648]
12747         * test-skeleton.c (main): Do not set RLIMIT_DATA.
12749 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12751         [BZ #14750]
12752         [BZ #10354]
12753         [BZ #18433]
12754         * include/sched.h (__clone): Add hidden prototype.
12755         (__clone2): Likewise.
12756         * include/unistd.h (__dup): Likewise.
12757         * posix/Makefile (tests): Add tst-spawn2.
12758         * posix/tst-spawn2.c: New file.
12759         * sysdeps/posix/dup.c (__dup): Add hidden definition.
12760         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
12761         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
12762         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
12763         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
12764         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
12765         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
12766         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
12767         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
12768         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
12769         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
12770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
12771         Likewise.
12772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12773         Likewise.
12774         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
12775         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
12776         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
12777         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
12778         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
12779         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
12780         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
12781         * sysdeps/unix/sysv/linux/nptl-signals.h
12782         (____nptl_is_internal_signal): New function.
12783         * sysdeps/unix/sysv/linux/spawni.c: New file.
12785         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
12786         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
12787         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
12788         * posix/tst-execvp2.c (do_test): Likewise.
12789         * posix/tst-execvp3.c (do_test): Likewise.
12790         * posix/tst-execvp4.c (do_test): Likewise.
12791         * posix/tst-execvpe1.c: New file.
12792         * posix/tst-execvpe2.c: Likewise.
12793         * posix/tst-execvpe3.c: Likewise.
12794         * posix/tst-execvpe4.c: Likewise.
12795         * posix/tst-execvpe5.c: Likewise.
12796         * posix/tst-execvpe6.c: Likewise.
12798         [BZ #19534]
12799         * posix/execl.c (execl): Remove dynamic memory allocation.
12800         * posix/execle.c (execle): Likewise.
12801         * posix/execlp.c (execlp): Likewise.
12803 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
12805         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
12806         Replace .text with .text.avx512.
12807         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
12808         Likewise.
12810 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
12812         * sysdeps/generic/libnsl.abilist: New file.
12813         * sysdeps/generic/libutil.abilist: New file.
12815 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
12817         [BZ #19762]
12818         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
12819         HAS_ARCH_FEATURE with Fast_Rep_String.
12820         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
12821         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
12822         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
12823         Likewise.
12824         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
12825         Likewise.
12826         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
12827         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
12828         Likewise.
12829         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
12830         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
12831         Likewise.
12833 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
12835         [BZ #19745]
12836         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
12837         with *%rax in call.
12839 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
12841         [BZ #19745]
12842         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
12843         with *__libc_start_main@GOTPCREL(%rip) in call.
12845 2016-03-04  Roland McGrath  <roland@hack.frob.com>
12847         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
12848         inside conditional for nonempty $(CXX).
12850         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
12851         nonempty.
12853         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
12854         to test for empty $(CXX) rather than $(CXX) of "no".
12856 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
12858         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
12860 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
12861             H.J. Lu  <hongjiu.lu@intel.com>
12863         [BZ #18880]
12864         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
12865         instead of Slow_BSF, and also check for Fast_Copy_Backward to
12866         enable __memcpy_ssse3_back.
12868 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
12870         [BZ #19758]
12871         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
12872         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
12874 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
12876         [BZ #19490]
12877         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
12878         (__fentry__): Likewise.
12880 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
12882         * gmon/Makefile (noprof): Add $(sysdep_noprof).
12883         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
12885 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
12887         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
12888         __mcount_internal directly.
12889         (C_LABEL(__fentry__)): Likewise.
12890         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
12891         directly.
12893 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
12895         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12896         (__start_context): Call __setcontext directly.
12898 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
12900         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12901         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12902         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
12903         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
12904         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12905         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12906         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
12907         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12908         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12909         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
12910         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
12911         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
12912         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12913         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12914         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12915         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12916         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
12917         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12918         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12919         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
12920         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
12921         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12922         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12923         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
12924         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
12925         Remove conditional code.
12926         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12927         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
12928         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12929         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12930         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
12931         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12932         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
12933         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12934         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12935         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12936         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12937         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12939 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
12941         * NEWS (2.23): Fix typo in bug 19048 text.
12943 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
12945         [BZ #14259]
12946         * Makeconfig: Rename msgcatdir to localedir.
12947         Rename inst_msgcatdir to inst_localedir.
12948         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
12949         * config.make.in: Add localedir.
12950         * elf/Makefile ($(objpfx)sotruss): Use localedir.
12951         (ldd-rewrite): Likewise.
12952         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
12953         (install-others): Use inst_localedir.
12954         (CPPFLAGS): Use localedir.
12955         * locale/Makefile (locale-CPPFLAGS): Likewise.
12956         * po/Makefile (mo-installed): Use inst_localedir.
12958         [BZ #19575]
12959         * localedata/charmaps/GB18030: Update comments regarding PAU to
12960         non-PUA mappings.
12962 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
12964         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
12965         test for header.
12966         * sysdeps/unix/sysv/linux/configure: Regenerated.
12967         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
12968         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
12969         Remove conditional code.
12970         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
12972         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12973         Define to 3.2.0.
12974         (arch_minimum_kernel): Likewise.
12975         * sysdeps/unix/sysv/linux/configure: Regenerated.
12976         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
12977         Define to 2.6.32.
12978         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
12979         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
12980         (arch_minimum_kernel): Define to 2.6.32.
12981         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
12982         * README: Document Linux 3.2 requirement.
12983         * manual/install.texi (Linux): Document Linux 3.2 headers
12984         requirement.
12985         * INSTALL: Regenerated.
12987 2016-02-24  Andreas Schwab  <schwab@suse.de>
12989         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
12990         if !NO_LONG_DOUBLE.
12992 2016-02-22  Roland McGrath  <roland@hack.frob.com>
12994         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
12995         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
12997 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
12999         [BZ #19512]
13000         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
13002 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
13004         * posix/tst-dir.c: Include libc-internal.h.
13006 2016-02-20  Florian Weimer  <fweimer@redhat.com>
13008         [BZ #19056]
13009         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
13010         * manual/filesys.texi (Reading/Closing Directory): Mention
13011         deprecaion.
13012         * posix/tst-dir.c (main): Disable deprecation warning in test.
13014 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
13016         [BZ #19679]
13017         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
13018         Renamed to ...
13019         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
13020         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13021         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
13022         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13023         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13024         * sysdeps/x86_64/dl-trampoline.h
13025         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13026         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13028 2016-02-19  Mark Wielaard  <mjw@redhat.com>
13030         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
13032 2016-02-19  Mark Wielaard  <mjw@redhat.com>
13034         * elf/elf.h (R_386_GOT32X): New.
13035         (R_386_NUM): Update.
13036         (R_X86_64_GOTPCRELX: New.
13037         (R_X86_64_REX_GOTPCRELX): New.
13038         (R_X86_64_NUM): Update.
13040 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
13042         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
13044 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
13046         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
13047         assign attr->stackaddr to it, and adjust it down when
13048         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
13049         [_STACK_GROWS_UP]: Delete assert.
13050         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
13051         Implement stack grows up logic.
13052         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
13053         stack grows up logic.
13055 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13057         * NEWS: Update with 2.24 template.
13059 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
13061         [BZ #19678]
13062         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13063         Ensure +0.0 is returned when taking the next value below the least
13064         positive value.
13066 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13068         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
13069         available.  Do not define NO_THREADS.
13070         * malloc/malloc.c: Do not check NO_THREADS.
13071         * malloc/arena.c: Likewise.
13073 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13075         * malloc/malloc.c (__libc_mallinfo): Update comment.
13076         (struct malloc_par): Remove max_total_mem member, it was always 0.
13077         (int_mallinfo): Store 0 into usmblks (no functional change).
13078         * malloc/hooks.c (struct malloc_state): Document that
13079         max_total_mem is always 0.
13080         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
13081         always 0.
13082         * manual/memory.texi (Statistics of Malloc): Likewise.
13084 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13086         * malloc/malloc.c (sysmalloc): Do not update arena_max.
13087         * malloc/arena.c (arena_max): Remove.
13088         (heap_trim, _int_new_arena): Do not update arena_max.
13090 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13092         * resolv/res_init.c (res_ninit): Update comment.
13094 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13096         [BZ #19505]
13097         * posix/spawn_int.h: Add headers and include guard.
13098         (__spawn_valid_fd): New function.
13099         * posix/spawn_faction_addopen.c
13100         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
13101         * posix/spawn_faction_addclose.c
13102         (posix_spawn_file_actions_addclose): Likewise.
13103         * posix/spawn_faction_adddup2.c
13104         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
13105         second file descriptor.
13106         * posix/spawn_valid_fd.c: New file.
13107         * posix/tst-posix_spawn-fd.c: New file.
13108         * posix/Makefile (routines): Add spawn_valid_fd.
13109         (tests): Add tst-posix_spawn-fd.
13111 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13113         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
13114         (do_test): Limit the number of arenas, so that we can use fewer
13115         outer threads.  Limit timeout to 3 seconds, in preparation for a
13116         larger TIMEOUT value.
13118 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
13120         [BZ #19674]
13121         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
13122         sign in overflowing and underflowing results when overflow or
13123         underflow is detected early.  Include sign in result before rather
13124         than after scaling.
13126         [BZ #19603]
13127         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13128         (__ieee754_remainderl): Adjust sign of integer version of low part
13129         when taking absolute value of high part.
13130         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13131         * math/libm-test.inc (remainder_test_data): Add another test.
13132         (remquo_test_data): Likewise.
13134 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
13136         [BZ #19602]
13137         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
13138         equal high parts and both low parts zero specially.
13139         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
13140         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
13141         Add test-fmodl-ldbl-128ibm.
13143         [BZ #19595]
13144         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
13145         common logic for all cases of shifting subnormal results.  Do not
13146         insert sign bit in shifted mantissa.  Always pass -1023 as biased
13147         exponent to ldbl_insert_mantissa in subnormal case.
13149         [BZ #19594]
13150         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
13151         on high and low parts then adjust result and use
13152         ldbl_canonicalize_int if needed.
13154         [BZ #19593]
13155         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
13156         on high part and __floor or __ceil on low part then use
13157         ldbl_canonicalize_int if needed.
13159         [BZ #19592]
13160         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
13161         high and low parts then use ldbl_canonicalize_int if needed.
13163         [BZ #17899]
13164         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
13165         New function.
13166         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
13167         on high and low parts then use ldbl_canonicalize_int if needed.
13169 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13171         * configure: Regenerated.
13173         * po/libc.pot: Regenerated.
13175         * po/be.po: Updated translation.
13176         * po/bg.po: Likewise.
13177         * po/ca.po: Likewise.
13178         * po/cs.po: Likewise.
13179         * po/da.po: Likewise.
13180         * po/el.po: Likewise.
13181         * po/eo.po: Likewise.
13182         * po/es.po: Likewise.
13183         * po/fi.po: Likewise.
13184         * po/fr.po: Likewise.
13185         * po/gl.po: Likewise.
13186         * po/hr.po: Likewise.
13187         * po/hu.po: Likewise.
13188         * po/ia.po: Likewise.
13189         * po/id.po: Likewise.
13190         * po/it.po: Likewise.
13191         * po/ja.po: Likewise.
13192         * po/lt.po: Likewise.
13193         * po/nb.po: Likewise.
13194         * po/nl.po: Likewise.
13195         * po/pt_BR.po: Likewise.
13196         * po/rw.po: Likewise.
13197         * po/sk.po: Likewise.
13198         * po/sl.po: Likewise.
13199         * po/sv.po: Likewise.
13200         * po/tr.po: Likewise.
13201         * po/zh_CN.po: Likewise.
13202         * po/zh_TW.po: Likewise.
13204         * version.h (RELEAES): Set to "development".
13205         (VERSION): Set to 2.23.90.
13207         * version.h (RELEASE): Set to "stable".
13208         (VERSION): Set to 2.23.
13209         * include/feature.h (__GLIBC_MINOR__): Set to 23.
13211         * NEWS: Updated fixed bugs.
13213 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
13214             Wilco Dijkstra  <wdijkstr@arm.com>
13216         [BZ #19462]
13217         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
13218         (_STRING_INLINE_unaligned): This.
13219         * include/string.h: Include <string_private.h>.
13220         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
13221         _STRING_INLINE_unaligned.
13222         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
13223         (_STRING_INLINE_unaligned): New.
13224         * sysdeps/aarch64/string_private.h: New file.
13225         * sysdeps/generic/string_private.h: Likewise.
13226         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
13227         * sysdeps/s390/string_private.h: Likewise.
13228         * sysdeps/x86/string_private.h: Likewise.
13229         * sysdeps/m68k/m680x0/m68020/bits/string.h
13230         (_STRING_ARCH_unaligned): Renamed to ...
13231         (_STRING_INLINE_unaligned): This.
13232         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
13233         to ...
13234         (_STRING_INLINE_unaligned): This.
13235         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
13236         to ...
13237         (_STRING_INLINE_unaligned): This.
13238         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
13239         to ...
13240         (_STRING_INLINE_unaligned): This.
13242 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
13243             H.J. Lu  <hongjiu.lu@intel.com>
13245         [BZ #19590]
13246         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
13247         relocation.
13249 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
13251         [BZ #18665]
13252         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
13253         *herrno_p.
13254         (gaih_getanswer): Document functional behviour. Return tryagain
13255         if any result is tryagain.
13256         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
13257         when freed.
13258         * resolv/res_send.c: Add copyright text.
13259         (__libc_res_nsend): Document that MAXPACKET is expected.
13260         (send_vc): Document. Remove buffer reuse.
13261         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
13262         size of the buffer. Add Dprint for truncated UDP buffer.
13264 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
13266         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
13267         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
13268         * INSTALL: Regenerate.
13270 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
13271             Jonathan Wakely  <jwakely@redhat.com>
13272             Carlos O'Donell  <carlos@redhat.com>
13274         [BZ 19439]
13275         * math/Makefile (tests): Add test-math-isinff.
13276         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
13277         * math/bits/mathcalls.h [__USE_MISC]: Use
13278         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
13279         functions not in C++11 and which don't conflict e.g. isinff,
13280         isinfl etc.
13281         * math/test-math-isinff.cc: New file.
13283 2016-02-12  Florian Weimer  <fweimer@redhat.com>
13285         * misc/bug18240.c (do_test): Set RLIMIT_AS.
13287 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13289         [BZ #19529]
13290         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
13292 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13294         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
13296 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
13298         [BZ #19550]
13299         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
13300         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
13301         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
13302         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
13303         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
13304         New syscall entry.
13305         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
13306         New syscall entry.
13307         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
13308         syscall entry.
13310 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
13312         [BZ #18240]
13313         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
13314         unsigned int wraparound.
13316 2016-01-27  Florian Weimer  <fweimer@redhat.com>
13318         [BZ #18240]
13319         * misc/bug18240.c: New test.
13320         * misc/Makefile (tests): Add it.
13322 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
13323             Joseph Myers  <joseph@codesourcery.com>
13325         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
13326         load in branch delay slot when less than a word of input left.
13328 2016-01-27  Andreas Schwab  <schwab@suse.de>
13330         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
13331         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
13332         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
13333         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
13335 2016-01-26  David S. Miller  <davem@davemloft.net>
13337         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
13339 2016-01-25  David S. Miller  <davem@davemloft.net>
13341         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
13342         __sqrtl_finite.
13343         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
13344         instead using versioned_symbol.
13345         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
13346         of entries.
13348         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
13349         __sqrtl_finite to GLIBC_2.23
13351 2016-01-25  Ricchard Henderson  <rth@redhat.com>
13353         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13355 2016-01-25  Andreas Schwab  <schwab@suse.de>
13357         [BZ #17514]
13358         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
13359         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
13360         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
13361         * nptl/tst-mutex-errorcheck.c: New file.
13363 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13365         [BZ #18560]
13366         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
13367         (IPCOP_semop): Likewise.
13368         (IPCOP_semget): Likewise.
13369         (IPCOP_semctl): Likewise.
13370         (IPCOP_msgsnd): Likewise.
13371         (IPCOP_msgrcv): Likewise.
13372         (IPCOP_msgget): Likewise.
13373         (IPCOP_msgctl): Likewise.
13374         (IPCOP_shmat): Likewise.
13375         (IPCOP_shmdt): Likewise.
13376         (IPCOP_shmget): Likewise.
13377         (IPCOP_shmctl): Likewise.
13379 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
13381         * string/tst-endian.c: Include <libc-internal.h>.
13382         (do_test): Ignore tautological-compare warnings around
13383         "htobeXX (beXXtoh (i)) != i" and
13384         "htoleXX (leXXtoh (i)) != i" if-statements.
13386 2016-01-24  David S. Miller  <davem@davemloft.net>
13388         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
13389         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
13390         alias.
13391         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
13392         __sqrtl_finite.
13394         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13396 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
13398         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
13399         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
13400         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13402 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13404         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
13405         (thread_func): Use new function to simplify barrier check.
13406         (do_test): Use new function to simplify checking barrier exit
13407         code, and actually join the child thread.
13409 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13411         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
13412         semicolon.
13413         (__libc_tend): Likewise.
13414         (__libc_tabort): Likewise.
13416 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
13418         * sysdeps/nios2/libm-test-ulps: Update.
13419         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
13420         (__gtsf2): Likewise.
13421         (__unorddf2): Likewise.
13422         (__unordsf2): Likewise.
13423         (__ledf2): Likewise.
13425 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
13427         * nis/nis_table.c (__follow_path): Disable diagnostic for
13428         uninitialized variable that is a false positive for gcc 4.7.
13429         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
13431 2016-01-20  Roland McGrath  <roland@hack.frob.com>
13433         * sysdeps/nacl/lowlevellock-futex.h
13434         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
13435         Always evaluate PRIVATE argument.
13437 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
13439         [BZ #19490]
13440         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
13441         (pthread_cond_broadcast): Use ENTRY/END
13442         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
13443         (pthread_cond_signal): Likewise.
13444         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
13445         Likewise.
13446         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
13447         Likewise.
13448         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
13449         Likewise.
13451 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
13453         * sysdeps/ieee754/dbl-64/s_finite.c
13454         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
13455         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
13456         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
13457         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
13458         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
13460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13461         (__gtsf2): Add as optional for libc.so.
13462         (__unordsf2): Likewise.
13463         (__signbit): Remove for libc.so.
13464         (__signbitl): Likewise.
13466 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
13468         * iconvdata/bug-iconv11.c (test_ibm93x):
13469         Use %zu printf format specifier for size_t argument.
13471 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
13473         * math/gen-libm-test.pl (parse_ulps): Do not reduce
13474         already-recorded ulps.
13475         * sysdeps/arm/libm-test-ulps: Regenerated.
13476         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13477         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13478         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13480 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
13481             Paul Pluzhnikov  <ppluzhnikov@google.com>
13483         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
13484         assembler not supporting AVX-512.
13486 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
13488         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13490 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
13492         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13493         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13495         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13497         * sysdeps/arm/libm-test-ulps: Regenerated.
13499 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
13501         [BZ #19451]
13502         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
13504 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
13506         [BZ #19486]
13507         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
13508         * sysdeps/generic/fix-fp-int-convert-overflow.h
13509         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
13510         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
13511         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
13512         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
13513         Likewise.
13514         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
13515         Avoid conversions to long int where inexact exceptions
13516         could be raised.
13517         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
13518         Likewise.
13519         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
13520         Avoid conversions to long long int where inexact exceptions
13521         could be raised.
13522         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
13523         Likewise.
13525 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
13527         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
13528         * configure: Regenerated.
13530 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
13532         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
13534 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
13536         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
13537         outside of comment.
13539 2016-01-15  Torvald Riegel  <triegel@redhat.com>
13541         * nptl/tst-barrier1.c: Add description on first line.
13542         * nptl/tst-barrier2.c: Likewise.
13543         * nptl/tst-barrier3.c: Likewise.
13544         * nptl/tst-barrier4.c: Likewise.
13545         * nptl/tst-barrier5.c: Likewise.
13547 2016-01-15  Torvald Riegel  <triegel@redhat.com>
13549         [BZ #18868]
13550         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
13552 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
13554         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
13555         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
13556         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
13557         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
13558         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
13559         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
13560         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13561         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13562         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13563         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13564         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13566 2016-01-15  Torvald Riegel  <triegel@redhat.com>
13568         [BZ #13065]
13569         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
13570         new implementation.
13571         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
13572         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
13573         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
13574         (BARRIER_IN_THRESHOLD): New macro.
13575         * nptl/pthread_barrierattr_setpshared.c
13576         (pthread_barrierattr_setpshared): Clean up.
13577         * nptl/tst-barrier4.c: Correct comment.
13578         * nptl/tst-barrier5.c: New file.
13579         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
13580         (gen-as-const-headers): Remove lowlevelbarrier.sym.
13581         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
13582         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
13583         * nptl/lowlevelbarrier.sym: Remove.
13584         * nptl/DESIGN-barrier.txt: Remove.
13585         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
13586         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
13587         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
13588         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
13589         error.
13590         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
13591         implementation.
13593 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13595         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
13596         (do_child): Mask SIGRTMIN while thr is running.
13598 2016-01-15  Martin Sebor  <msebor@redhat.com>
13600         [BZ #19432]
13601         * iconvdata/Makefile: Add bug-iconv11.
13602         * iconvdata/bug-iconv11.c: New test.
13603         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
13604         * iconvdata/ibm933.c: Same.
13605         * iconvdata/ibm935.c: Same.
13606         * iconvdata/ibm937.c: Same.
13607         * iconvdata/ibm939.c: Same.
13609 2016-01-15  Martin Sebor  <msebor@redhat.com>
13611         [BZ #19443]
13612         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
13613         [DEBUG] (_ufc_set_bits): Declare used.
13614         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
13615         [DEBUG] (print_all): Declare used.
13616         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
13617         operands of the ternary ?: expression to target type.
13618         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
13619         calling the undeclared abort.
13620         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
13622 2016-01-15  Martin Sebor  <msebor@redhat.com>
13624         [BZ #18755]
13625         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
13626         warnings.
13627         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
13628         (__gai_create_helper_thread): Same.
13629         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
13630         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
13631         to suppress -Wmaybe-uninitialized warnings.
13633 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
13635         [BZ #19465]
13636         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
13637         inside if.
13638         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13639         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13640         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13642 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
13644         [BZ #19466]
13645         * time/tst-mktime2.c (time_t_max): Removed.
13646         (time_t_min): Likewise.
13647         (TYPE_SIGNED): New.
13648         (TYPE_MINIMUM): Likewise.
13649         (TYPE_MAXIMUM): Likewise.
13650         (TIME_T_MIN): Likewise.
13651         (TIME_T_MAX): Likewise.
13652         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
13653         and TIME_T_MIN.
13654         (do_test): Likewise.
13656 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
13658         [BZ #19467]
13659         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
13660         index_Fast_Unaligned_Load flag for Excavator family CPUs.
13662 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
13664         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
13666 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
13668         * benchtests/Makefile (PYTHON): Define.
13669         (bench-func): Use $(PYTHON) to run python scripts.
13670         ($(objpfx)bench-%.c): Likewise.
13672 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
13674         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
13675         leading slash when `file_name' is "/".
13677 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
13679         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
13680         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
13681         Likewise.
13682         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
13683         Likewise.
13684         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
13685         Likewise.
13686         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
13687         enum constant and macro.
13688         (PTRACE_SETSIGMASK): Likewise.
13689         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13690         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13691         (PTRACE_GETSIGMASK): Likewise.
13692         (PTRACE_SETSIGMASK): Likewise.
13693         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13694         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
13695         Likewise.
13696         (PTRACE_SETSIGMASK): Likewise.
13697         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13698         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13699         (PTRACE_GETSIGMASK): Likewise.
13700         (PTRACE_SETSIGMASK): Likewise.
13701         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13702         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
13703         Likewise.
13704         (PTRACE_SETSIGMASK): Likewise.
13705         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13706         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
13707         Likewise.
13708         (PTRACE_SETSIGMASK): Likewise.
13709         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13710         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
13711         Likewise.
13712         (PTRACE_SETSIGMASK): Likewise.
13713         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13715 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
13716             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13718         [BZ #19439]
13719         * math/bits/mathcalls.h
13720         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
13721         prototype.
13722         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
13724 2016-01-11  Andreas Schwab  <schwab@suse.de>
13726         [BZ #19253]
13727         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
13728         cache when TZDEFRULES was used.
13729         * time/tst-tzname.c: New file.
13730         * time/Makefile (test): Add tst-tzname.
13731         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
13732         * timezone/Makefile (test-zones): Add $(posixrules-file).
13733         ($(testdata)/$(posixrules-file)): New rule.
13735 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
13737         Fix doc quoting problems with Texinfo 5
13738         Without this change, in the info file output, Texinfo 5 quotes code
13739         in text with undirected single quotes 'like this' and generates
13740         code examples that with many PDF readers cannot be cut out of PDFs
13741         and pasted into code.
13742         * manual/libc.texinfo: Configure the libc manual like the GNU
13743         Emacs manual, by using @documentencoding and setting
13744         txicodequoteundirected and txicodequotebacktick.  This way,
13745         Texinfo 5 quotes code in text with directed single quotes ‘like
13746         this’ and produces examples that can be cut out of PDFs.  This
13747         change causes Texinfo 5 to generate info files that contain UTF-8
13748         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
13749         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
13751 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13753         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
13754         __libc_tabort, __libc_tend): New wrappers that enforce compiler
13755         barriers to their respective compiler built-ins.
13756         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
13757         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
13758         * sysdeps/powerpc/sysdep.h: Likewise.
13759         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
13760         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
13761         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
13763 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
13765         * scripts/config.guess: Revert previous shebang change.
13766         * scripts/config.sub: Likewise.
13767         * scripts/mkinstalldirs: Likewise.
13769 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13771         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
13772         PPC_FEATURE2_HAS_IEEE128.
13773         * sysdeps/powerpc/dl-procinfo.c:
13774         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
13776 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
13778         [BZ #19415]
13779         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
13780         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
13781         (_dl_lookup_address): Rewrite using function resolver trampoline.
13782         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
13783         two bits in address.
13785 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
13787         * longlong.h: Change !__SHMEDIA__ to
13788         (!defined (__SHMEDIA__) || !__SHMEDIA__).
13789         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
13791 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
13792             Joseph Myers  <joseph@codesourcery.com>
13793             Mark Shinwell  <shinwell@codesourcery.com>
13794             Andrew Stubbs  <ams@codesourcery.com>
13795             Rich Felker <dalias@libc.org>
13797         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
13799 2016-01-07  Richard Henderson  <rth@redhat.com>
13801         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
13803 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
13805         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
13806         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
13807         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13808         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13809         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
13811 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
13812             Joseph Myers  <joseph@codesourcery.com>
13814         * timezone/private.h: Update from tzcode 2015g.
13815         * timezone/tzfile.h: Likewise.
13816         * timezone/tzselect.ksh: Likewise.
13817         * timezone/zdump.c: Likewise.
13818         * timezone/zic.c: Likewise.
13819         * timezone/ialloc.c: Remove file.
13820         * timezone/scheck.c: Likewise.
13821         * timezone/Makefile (extra-objs): Remove variable.
13822         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
13823         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
13824         -Wno-maybe-uninitialized.
13825         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
13826         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
13827         (CFLAGS-ialloc.c): Remove variable.
13828         (CFLAGS-scheck.c): Likewise.
13829         * timezone/README: Update list of files from tzcode.
13831 2016-01-07  Khem Raj  <raj.khem@gmail.com>
13833         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
13834         instead of __fxprintf when _LIBC is undefined.
13836 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
13838         * catgets/test-gencat.sh: Remove space after shebang.
13839         * conform/GlibcConform.pm: Likewise.
13840         * conform/check-header-lists.sh: Likewise.
13841         * conform/conformtest.pl: Likewise.
13842         * conform/linknamespace.pl: Likewise.
13843         * conform/list-header-symbols.pl: Likewise.
13844         * debug/catchsegv.sh: Likewise.
13845         * elf/genrtldtbl.awk: Likewise.
13846         * elf/tst-pathopt.sh: Likewise.
13847         * elf/tst-rtld-load-self.sh: Likewise.
13848         * grp/tst_fgetgrent.sh: Likewise.
13849         * iconvdata/gen-8bit-gap-1.sh: Likewise.
13850         * iconvdata/gen-8bit-gap.sh: Likewise.
13851         * iconvdata/gen-8bit.sh: Likewise.
13852         * iconvdata/run-iconv-test.sh: Likewise.
13853         * intl/tst-gettext.sh: Likewise.
13854         * intl/tst-gettext2.sh: Likewise.
13855         * intl/tst-gettext4.sh: Likewise.
13856         * intl/tst-gettext6.sh: Likewise.
13857         * intl/tst-translit.sh: Likewise.
13858         * io/ftwtest-sh: Likewise.
13859         * libio/test-freopen.sh: Likewise.
13860         * locale/gen-translit.pl: Likewise.
13861         * malloc/tst-mtrace.sh: Likewise.
13862         * manual/check-safety.sh: Likewise.
13863         * manual/libc-texinfo.sh: Likewise.
13864         * manual/tsort.awk: Likewise.
13865         * manual/xtract-typefun.awk: Likewise.
13866         * nptl/tst-cancel-wrappers.sh: Likewise.
13867         * nptl/tst-tls6.sh: Likewise.
13868         * posix/globtest.sh: Likewise.
13869         * posix/tst-getconf.sh: Likewise.
13870         * posix/wordexp-tst.sh: Likewise.
13871         * scripts/check-c++-types.sh: Likewise.
13872         * scripts/check-local-headers.sh: Likewise.
13873         * scripts/config.guess: Likewise.
13874         * scripts/config.sub: Likewise.
13875         * scripts/cpp: Likewise.
13876         * scripts/cross-test-ssh.sh: Likewise.
13877         * scripts/documented.sh: Likewise.
13878         * scripts/evaluate-test.sh: Likewise.
13879         * scripts/gen-libc-abis: Likewise.
13880         * scripts/gen-sorted.awk: Likewise.
13881         * scripts/list-fixed-bugs.py: Likewise.
13882         * scripts/merge-test-results.sh: Likewise.
13883         * scripts/mkinstalldirs: Likewise.
13884         * scripts/rellns-sh: Likewise.
13885         * scripts/test-installation.pl: Likewise.
13886         * scripts/update-copyrights: Likewise.
13887         * stdio-common/tst-printf.sh: Likewise.
13888         * stdio-common/tst-unbputc.sh: Likewise.
13889         * stdlib/tst-fmtmsg.sh: Likewise.
13890         * stdlib/tst-setcontext3.sh: Likewise.
13891         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
13892         * sysdeps/unix/make-syscalls.sh: Likewise.
13894 2016-01-06  John David Anglin  <dave.anglin@bell.net>
13896         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
13897         asm stw with atomic_exchange_rel.  Add explanatory comment.
13898         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
13899         Likewise.
13901 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
13903         [BZ #19122]
13904         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
13905         * sysdeps/generic/dl-unistd.h: New file.
13906         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
13908 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
13910          [BZ #19122]
13911          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
13912          * sysdeps/generic/dl-mman.h: New file.
13913          * sysdeps/mach/hurd/dl-mman.h: Likewise.
13915 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
13917         * manual/texinfo.tex: Update to version 2016-01-04.21 with
13918         trailing whitespace removed.
13919         * scripts/config.guess: Update to version 2016-01-01.
13920         * scripts/config.sub: Update to version 2016-01-01.
13921         * scripts/move-if-change: Update from gnulib.
13923 2016-01-04  Anton Blanchard  <anton@samba.org>
13925         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
13926         for array indices.
13927         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
13929 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
13931         * NEWS: Update copyright dates.
13932         * catgets/gencat.c (print_version): Likewise.
13933         * csu/version.c (banner): Likewise.
13934         * debug/catchsegv.sh: Likewise.
13935         * debug/pcprofiledump.c (print_version): Likewise.
13936         * debug/xtrace.sh (do_version): Likewise.
13937         * elf/ldconfig.c (print_version): Likewise.
13938         * elf/ldd.bash.in: Likewise.
13939         * elf/pldd.c (print_version): Likewise.
13940         * elf/sotruss.sh: Likewise.
13941         * elf/sprof.c (print_version): Likewise.
13942         * iconv/iconv_prog.c (print_version): Likewise.
13943         * iconv/iconvconfig.c (print_version): Likewise.
13944         * locale/programs/locale.c (print_version): Likewise.
13945         * locale/programs/localedef.c (print_version): Likewise.
13946         * login/programs/pt_chown.c (print_version): Likewise.
13947         * malloc/memusage.sh (do_version): Likewise.
13948         * malloc/memusagestat.c (print_version): Likewise.
13949         * malloc/mtrace.pl: Likewise.
13950         * manual/libc.texinfo: Likewise.
13951         * nptl/version.c (banner): Likewise.
13952         * nscd/nscd.c (print_version): Likewise.
13953         * nss/getent.c (print_version): Likewise.
13954         * nss/makedb.c (print_version): Likewise.
13955         * posix/getconf.c (main): Likewise.
13956         * scripts/test-installation.pl: Likewise.
13957         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
13959         * All files with FSF copyright notices: Update copyright dates
13960         using scripts/update-copyrights.
13961         * intl/plural.c: Regenerated.
13962         * locale/programs/charmap-kw.h: Likewise.
13963         * locale/programs/locfile-kw.h: Likewise.
13965 2016-01-02  Helge Deller  <deller@gmx.de>
13967         [BZ #19285]
13968         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
13969         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
13970         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
13971         (MADV_xxK_PAGES): Remove.
13973 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
13975         [BZ #15421]
13976         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
13977         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
13978         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
13979         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
13981 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
13983         [BZ #19408]
13984         * sysdeps/unix/sysv/linux/personality.c: New file.
13985         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
13986         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
13987         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
13988         (sysdep_routines): Add personality.
13989         (tests): Add tst-personality.
13990         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
13991         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
13992         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
13993         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
13994         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
13995         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
13996         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
13997         Likewise.
13998         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
13999         Likewise.
14000         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
14001         Likewise.
14002         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
14003         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
14004         Likewise.
14006 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
14008         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
14009         (PATH_ARM_SYSTYPE): Remove.
14010         (PATH_CPUINFO): Likewise.
14011         (IO_BASE_FOOTBRIDGE): Likewise.
14012         (IO_SHIFT_FOOTBRIDGE): Likewise.
14013         (struct platform): Likewise.
14014         (init_iosys): Remove compatibility code for 2.4 kernels.
14015         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
14017 2015-12-29  Florian Weimer  <fweimer@redhat.com>
14019         * malloc/tst-malloc-thread-fail.c: New file.
14020         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
14021         (tst-malloc-thread-fail): Link against libpthread.
14023 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
14025         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
14026         (get_parser): New function.
14027         (main): New function.
14029 2015-12-29  Rob Wu  <rob@robwu.nl>
14031         [BZ #19369]
14032         * resolv/res_init.c (__res_vinit): Reset defdname before use.
14034 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
14036         [BZ #19270]
14037         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
14039 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
14041         [BZ #15421]
14042         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
14044 2015-12-23  Torvald Riegel  <triegel@redhat.com>
14046         [BZ #13690]
14047         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
14048         after releasing it.
14049         (__lll_robust_unlock): Likewise.
14050         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14051         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
14052         (lll_robust_unlock): Likewise.
14053         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
14054         Prevent warnings in callers.
14056 2015-12-23  Florian Weimer  <fweimer@redhat.com>
14058         * malloc/arena.c (list_lock): Update comment.
14060 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14062         * sysdeps/powerpc/hwcapinfo.c: Export symbol
14063         __parse_hwcap_and_convert_at_platform to libc.a.
14065 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14067         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
14068         platform and feature support for POWER9.
14069         * sysdeps/powerpc/dl-procinfo.h: Likewise.
14070         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
14071         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
14072         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
14073         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
14074         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14075         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14076         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14078 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14080         Harmonize generic stdio-lock support with nptl
14082         This fixes build when _IO_funlockfile is a macro, fixes build where
14083         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
14084         stack unwind.
14086         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
14087         _IO_release_lock ): Use cleanup attribute on new
14088         _IO_acquire_lock_file variable instead of assuming that
14089         _IO_release_lock will be called.
14090         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
14091         _IO_acquire_lock_needs_exceptions_enabled.
14092         (_IO_acquire_lock_clear_flags2): New macro.
14094 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14096         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14098 2015-12-21  Florian Weimer  <fweimer@redhat.com>
14100         [BZ #19182]
14101         * malloc/arena.c (list_lock): Document lock ordering requirements.
14102         (free_list_lock): New lock.
14103         (ptmalloc_lock_all): Comment on free_list_lock.
14104         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
14105         (detach_arena): Update comment.  free_list_lock is now needed.
14106         (_int_new_arena): Use free_list_lock around detach_arena call.
14107         Acquire arena lock after list_lock.  Add comment, including FIXME
14108         about incorrect synchronization.
14109         (get_free_list): Switch to free_list_lock.
14110         (reused_arena): Acquire free_list_lock around detach_arena call
14111         and attached threads counter update.  Add two FIXMEs about
14112         incorrect synchronization.
14113         (arena_thread_freeres): Switch to free_list_lock.
14114         * malloc/malloc.c (struct malloc_state): Update comments to
14115         mention free_list_lock.
14117 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
14119         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
14120         Remove functions.
14121         (sloww, sloww1): Accept argument to offset quadrant.
14122         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
14123         quadrant.
14124         (__sin, __cos): Consolidate common code into new functions.
14125         (reduce_sincos_1, do_sincos_1): New functions.
14126         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14128         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
14129         code to new functions.
14130         (reduce_sincos_2, do_sincos_2): New functions.
14131         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14133         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
14134         common code for sincos.
14135         (__cos) [!IN_SINCOS]: Likewise.
14136         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
14137         New function.
14138         (__sincos): Use it.
14140 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
14142         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
14143         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
14144         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14146 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14148         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
14149         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
14150         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14151         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
14152         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14153         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
14154         index_Prefer_No_VZEROUPPER): New feature.
14155         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
14156         Prefer_No_VZEROUPPER for Knights Landing.
14158 015-12-18  Torvald Riegel  <triegel@redhat.com>
14160         * math/atest-exp2.c (mp_exp_m1): Remove.
14162 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14164         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
14165         syscalls.
14166         (__SYSCALL0): New macro.
14167         (__SYSCALL1): Likewise.
14168         (__SYSCALL2): Likewise.
14169         (__SYSCALL3): Likewise.
14170         (__SYSCALL4): Likewise.
14171         (__SYSCALL5): Likewise.
14172         (__SYSCALL6): Likewise.
14173         (__SYSCALL_CONCAT_X): Likewise.
14174         (__SYSCALL_CONCAT): Likewise.
14175         (__SYSCALL_DIST): Likewise.
14176         (__SYSCALL_CALL): Likewise.
14178 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
14180         [BZ #19363]
14181         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
14183 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14185         [BZ #19375]
14186         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
14187         negative subnormals.
14189 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
14191         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14192         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
14193         (INTERNAL_SYSCALL_NCS): Use it.
14194         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14196 2015-12-16  Florian Weimer  <fweimer@redhat.com>
14198         [BZ #19243]
14199         * malloc/arena.c (get_free_list): Remove assert and adjust
14200         reference count handling.  Add comment about reused_arena
14201         interaction.
14202         (reused_arena): Add comments abount get_free_list interaction.
14203         * malloc/tst-malloc-thread-exit.c: New file.
14204         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
14205         (tst-malloc-thread-exit): Link against libpthread.
14207 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
14209         [BZ #19367]
14210         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
14211         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
14212         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
14213         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
14214         (index_Prefer_MAP_32BIT_EXEC): Likewise.
14216 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
14218         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
14219         Silvermont optimizations for Knights Landing.
14221 2015-12-15  Andreas Schwab  <schwab@suse.de>
14223         [BZ #17197]
14224         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
14225         immediately after emitting SI.
14226         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
14227         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
14228         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
14229         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
14230         * iconvdata/bug-iconv10.c: New file.
14231         * iconvdata/Makefile (tests): Add bug-iconv10.
14232         ($(objpfx)bug-iconv10.out): New rule.
14234 2015-12-15  Florian Weimer  <fweimer@redhat.com>
14236         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
14237         aliasing violation.
14239 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
14241         [BZ #18472]
14242         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
14243         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
14244         conditionals for them.
14245         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
14246         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
14247         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
14248         sys/kdaemon.h.
14249         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
14250         compat-only syscall, obsoleted in glibc 2.23.
14251         (create_module): Likewise.
14252         (get_kernel_syms): Likewise.
14253         (query_module): Likewise.
14254         (uselib): Likewise.
14255         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
14257 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
14259         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
14260         <linux/version.h>.
14261         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
14262         conditional code.
14263         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
14264         and ioshift_name initialization.
14266 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
14268         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14269         Fix indentation.
14271 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
14273         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
14275 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
14277         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
14279 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
14280             Jakub Wilk  <jwilk@debian.org>
14282         [BZ #19347]
14283         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
14284         to change the group of the device to the tty group.
14286 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
14288         Split large string section; add truncation advice
14289         * manual/examples/strncat.c: Remove.
14290         This example was misleading, as the code would have undefined
14291         behavior if "hello" was longer than SIZE.  Anyway, the manual
14292         shouldn't encourage strncpy+strncat for this sort of thing.
14293         * manual/string.texi (Copying Strings and Arrays): Split into
14294         three sections Copying Strings and Arrays, Concatenating Strings,
14295         and Truncating Strings, as this section was way too long.  All
14296         cross-referenced changed.  Add advice about string-truncation
14297         functions.  Remove misleading strncat example.
14299 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
14301         * manual/nss.texi (NSS Modules Interface): Document
14302         NSS_STATUS_NOTFOUND and SUCCESS.
14304 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
14306         [BZ 18568]
14307         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
14308         201505L, for Unicode 8.
14310 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
14312         * locale/C-translit.h: Regenerate.
14314 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
14316         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
14317         and U+0153.
14319 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
14321         [BZ #19351]
14322         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
14323         expanding log(1+z), compare z rather than its square with epsilon
14324         to determine when to avoid evaluating the expansion.
14326         [BZ #19350]
14327         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14328         Increase overflow threshold.
14330         [BZ #19349]
14331         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
14332         when small.
14334         * sysdeps/unix/sysv/linux/i386/kernel-features.h
14335         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
14336         New macro.
14337         [__LINUX_KERNEL_VERSION >= 0x040300]
14338         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14339         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
14340         Likewise.
14341         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
14342         Likewise.
14343         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
14344         Likewise.
14345         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
14346         Likewise.
14347         [__LINUX_KERNEL_VERSION >= 0x040300]
14348         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
14349         [__LINUX_KERNEL_VERSION >= 0x040300]
14350         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14351         [__LINUX_KERNEL_VERSION >= 0x040300]
14352         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14353         [__LINUX_KERNEL_VERSION >= 0x040300]
14354         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14355         [__LINUX_KERNEL_VERSION >= 0x040300]
14356         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14357         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
14358         Likewise.
14359         [__LINUX_KERNEL_VERSION >= 0x040300]
14360         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
14361         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14362         Likewise.
14363         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
14364         Likewise.
14365         [__LINUX_KERNEL_VERSION >= 0x040300]
14366         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
14367         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14368         Likewise.
14369         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
14370         Likewise.
14371         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14372         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
14373         Likewise.
14374         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
14375         Likewise.
14376         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
14377         Likewise.
14378         [__LINUX_KERNEL_VERSION >= 0x040300]
14379         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14380         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
14381         Likewise.
14382         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
14383         Likewise.
14384         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
14385         Likewise.
14386         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
14387         Likewise.
14388         [__LINUX_KERNEL_VERSION >= 0x040300]
14389         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
14390         [__LINUX_KERNEL_VERSION >= 0x040300]
14391         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14392         [__LINUX_KERNEL_VERSION >= 0x040300]
14393         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14394         [__LINUX_KERNEL_VERSION >= 0x040300]
14395         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14396         [__LINUX_KERNEL_VERSION >= 0x040300]
14397         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14398         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
14399         Likewise.
14400         [__LINUX_KERNEL_VERSION >= 0x040300]
14401         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
14402         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14403         Likewise.
14404         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
14405         Likewise.
14406         [__LINUX_KERNEL_VERSION >= 0x040300]
14407         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
14408         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14409         Likewise.
14410         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
14411         Likewise.
14412         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14413         (__ASSUME_SOCKET_SYSCALL): Likewise.
14414         (__ASSUME_BIND_SYSCALL): Likewise.
14415         (__ASSUME_CONNECT_SYSCALL): Likewise.
14416         (__ASSUME_LISTEN_SYSCALL): Likewise.
14417         (__ASSUME_ACCEPT_SYSCALL): Likewise.
14418         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14419         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14420         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14421         (__ASSUME_SEND_SYSCALL): Likewise.
14422         (__ASSUME_SENDTO_SYSCALL): Likewise.
14423         (__ASSUME_RECV_SYSCALL): Likewise.
14424         (__ASSUME_RECVFROM_SYSCALL): Likewise.
14425         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
14426         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14427         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14428         (__ASSUME_SENDMSG_SYSCALL): Likewise.
14429         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14430         * sysdeps/unix/sysv/linux/sh/kernel-features.h
14431         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
14432         Likewise.
14433         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
14434         Likewise.
14435         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
14436         Likewise.
14437         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
14438         Likewise.
14439         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
14440         Likewise.
14441         [__LINUX_KERNEL_VERSION >= 0x020625]
14442         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14443         [__LINUX_KERNEL_VERSION >= 0x020625]
14444         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14445         [__LINUX_KERNEL_VERSION >= 0x020625]
14446         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14447         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
14448         Likewise.
14449         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
14450         Likewise.
14451         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
14452         Likewise.
14453         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
14454         Likewise.
14455         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
14456         Likewise.
14457         [__LINUX_KERNEL_VERSION >= 0x020625]
14458         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14459         [__LINUX_KERNEL_VERSION >= 0x020625]
14460         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14461         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
14462         Likewise.
14463         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
14464         Likewise.
14466 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
14468         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
14469         record the current if the current ABI and CPU support the FP64
14470         extension.
14471         (has-modd-spreg): Define to record the current if the current ABI and
14472         CPU support 32-bit floating point values in odd FPU registers.
14473         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14474         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
14475         $(has-modd-spreg) equals yes.
14476         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
14477         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
14478         $(has-modd-spreg) equal yes.
14480 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
14482         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
14483         basename.
14485 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
14487         * benchtests/Makefile (bench-math): Move ffs and ffsll...
14488         (bench-string): ... here.
14489         (bench): Add bench-string.
14490         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
14491         to *-benchset to reflect what they are.
14492         (benchset): Adjust.
14494         * benchtests/sincos-inputs: Add inputs from sin-inputs and
14495         cos-inputs.
14497 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
14499         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
14500         __attribute__ ((__simd__)) for vector math function declarations.
14502 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14504         Fix typo in strncat, wcsncat manual entries
14505         * manual/string.texi (Copying and Concatenation): Fix typos in
14506         sample implementations of strncat and wcsncat, by having them use
14507         the old value of the destination length, not the new one.
14509 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
14511         [BZ #16961]
14512         [BZ #16962]
14513         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
14514         string on the stack for strtod.
14515         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
14516         a string on the stack for strtof.
14517         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
14518         constructing a string on the stack for strtold.
14519         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
14520         __strtold_nan to GLIBC_PRIVATE.
14521         * math/test-nan-overflow.c: New file.
14522         * math/test-nan-payload.c: Likewise.
14523         * math/Makefile (tests): Add test-nan-overflow and
14524         test-nan-payload.
14526 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14528         Consistency about byte vs character in string.texi
14529         * manual/string.texi (String and Array Utilities):
14530         Distinguish more carefully among bytes, multibyte characters,
14531         and wide characters.  Use "byte" when talking about C 'char',
14532         to distinguish it more clearly from multibyte characters.
14533         Say "wide character" or "multibyte character" instead of
14534         "character", when a wide or multibyte character is intended.
14535         Similarly for "multibyte string" versus "string".
14536         Define these terms more carefully.
14538 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
14540         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
14541         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
14542         Likewise.
14543         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
14544         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
14545         * sysdeps/sh/math_private.h: New file.
14546         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
14547         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
14548         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
14549         long double function name.
14550         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14551         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14552         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14553         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14554         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
14556         Remove __finitel, __isinfl, and __isnanl.
14557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
14558         Likewise.
14559         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14561         Remove __finitel.
14562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14563         Likewise.
14564         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14566 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
14568         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
14569         installed libmvec_nonshared.a.
14571 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14573         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
14574         (sysdep_routines): Likewise.
14575         (sysdep-rtld-routines): Likewise.
14576         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
14577         [$(subdir) = nptl](tests-static): test-get_hwcap-static
14578         * sysdeps/powerpc/Versions: Added new
14579         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
14580         * sysdeps/powerpc/hwcapinfo.c: New file.
14581         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
14582         and parse hwcap, hwcap2 and platform number information.
14583         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
14584         to store HWCAP+HWCAP2 and platform number.
14585         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
14586         for HWCAP+HWCAP2 and platform number in the TCB.
14587         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
14588         the HWCAP, HWCAP2 and platform number in the TCB.
14589         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
14590         (TLS_INIT_TP): Included calls to add the hwcap and
14591         at_platform values in the TCB in TP initialization.
14592         (TLS_DEFINE_INIT_TP): Likewise.
14593         (THREAD_GET_HWCAP): New macro.
14594         (THREAD_SET_HWCAP): Likewise.
14595         (THREAD_GET_AT_PLATFORM): Likewise.
14596         (THREAD_SET_AT_PLATFORM): Likewise.
14597         * sysdeps/powerpc/powerpc32/dl-machine.h:
14598         (dl_platform_init): New function that calls
14599         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
14600         powerpc32.
14601         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
14602         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
14603         this functionality, static linking case.
14604         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
14605         linking case.
14606         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
14607         __parse_hwcap_and_convert_at_platform for the static linking case.
14608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
14609         Included the new __parse_hwcap_and_convert_at_platform symbol in the
14610         ABI list for GLIBC 2.23.
14611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
14612         Likewise.
14613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
14614         Likewise.
14616 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
14618         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
14619         * configure: Regenerate.
14620         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
14621         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
14623 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
14625         * iconvdata/ibm930.c: Add comment explaining encoding uses.
14626         * iconvdata/ibm933.c: Likewise.
14627         * iconvdata/ibm935.c: Likewise.
14628         * iconvdata/ibm937.c: Likewise.
14629         * iconvdata/ibm939.c: Likewise.
14631 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14633         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
14634         pthread_join.
14635         * nptl/tst-cancel21.c (tf): Likewise.
14637 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
14639         [BZ #19313]
14640         * bits/typesizes.h (__CPU_MASK_TYPE): New.
14641         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
14642         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
14643         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
14644         Likewise.
14645         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
14646         Likewise.
14647         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
14648         Likewise.
14649         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
14650         Likewise.
14651         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
14652         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
14653         unsigned long int with __CPU_MASK_TYPE.
14655 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14657         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14659 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
14661         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
14662         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
14663         t512.x.
14664         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
14666 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
14668         [BZ #19214]
14669         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
14670         argument to return extended model.  Update family and model
14671         with extended family and model when family == 0x0f.
14672         (init_cpu_features): Updated.
14674 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14676         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
14677         signed off_t, so 32bit bigger than 2GiB values are fine actually.
14679         * sysdeps/mach/hurd/mmap64.c: New file.
14681 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
14683         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
14684         rights for its main user thread in NEWTASK.
14686 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
14688         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
14689         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
14691 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
14693         [BZ #14259]
14694         * Makeconfig: Rename localedir to complocaledir.
14695         Rename inst_localedir to inst_complocaledir.
14696         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
14697         * config.make.in: Use complocaledir and libc_cv_complocaledir.
14698         * configure.ac: Use libc_cv_complocaledir.
14699         * configure: Regenerate.
14700         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
14701         -DCOMPLOCALEDIR.
14702         * locale/findlocale.c: Use COMPLOCALEDIR.
14703         * locale/loadarchive.c: Likewise.
14704         * locale/programs/locale.c: Likewise.
14705         * locale/programs/localedef.c: Likewise.
14706         * locale/programs/locarchive.c: Likewise.
14707         * localedata/Makefile: Use inst_complocaledir.
14708         * sysdeps/gnu/configure: Regenerate.
14709         * sysdeps/hppa/configure: Regenerate.
14710         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
14711         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14713         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
14714         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
14715         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
14716         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
14718 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
14720         [BZ #19058]
14721         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
14722         AS_NEEDED.
14723         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
14724         workaround.
14725         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
14726         libmvec-static-only-routines): Added new file.
14727         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
14729 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14731         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
14732         of interrupted RPC instead of restoring it.
14734         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
14735         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
14736         libc_hidden_def.
14737         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
14738         into initialized data instead of common. Define rtld_hidden_data_def.
14739         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
14740         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
14741         libc_hidden_def.
14742         (if_freenameindex): Add libc_hidden_weak.
14743         (if_nameindex): Add libc_hidden_weak.
14744         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
14745         __open64.
14746         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
14747         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
14748         * sysdeps/mach/nanosleep.c: Include <time.h>
14749         (__nanosleep): Rename to __libc_nanosleep.
14750         (__nanosleep): Add weak_alias.
14751         (nanosleep): Update alias.
14753 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
14755         * stdlib/strtod_nan.c: New file.
14756         * stdlib/strtod_nan_double.h: Likewise.
14757         * stdlib/strtod_nan_float.h: Likewise.
14758         * stdlib/strtod_nan_main.c: Likewise.
14759         * stdlib/strtod_nan_narrow.h: Likewise.
14760         * stdlib/strtod_nan_wide.h: Likewise.
14761         * stdlib/strtof_nan.c: Likewise.
14762         * stdlib/strtold_nan.c: Likewise.
14763         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
14764         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
14765         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
14766         * wcsmbs/wcstod_nan.c: Likewise.
14767         * wcsmbs/wcstof_nan.c: Likewise.
14768         * wcsmbs/wcstold_nan.c: Likewise.
14769         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
14770         strtold_nan.
14771         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
14772         wcstof_nan.
14773         * include/stdlib.h (__strtof_nan): Declare and use
14774         libc_hidden_proto.
14775         (__strtod_nan): Likewise.
14776         (__strtold_nan): Likewise.
14777         (__wcstof_nan): Likewise.
14778         (__wcstod_nan): Likewise.
14779         (__wcstold_nan): Likewise.
14780         * include/wchar.h (____wcstoull_l_internal): Declare.
14781         * stdlib/strtod_l.c: Do not include <ieee754.h>.
14782         (____strtoull_l_internal): Remove declaration.
14783         (STRTOF_NAN): Define macro.
14784         (SET_MANTISSA): Remove macro.
14785         (STRTOULL): Likewise.
14786         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
14787         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
14788         (STRTOF_NAN): Define macro.
14789         (SET_MANTISSA): Remove macro.
14790         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
14791         (SET_MANTISSA): Remove macro.
14792         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
14793         macro.
14794         (SET_MANTISSA): Remove macro.
14795         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
14796         macro.
14797         (SET_MANTISSA): Remove macro.
14798         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
14799         (SET_MANTISSA): Remove macro.
14800         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
14801         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
14802         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
14804         [BZ #19266]
14805         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
14806         upper case and lower case letters inside NAN(), not using TOLOWER.
14807         * stdlib/tst-strtod-nan-locale-main.c: New file.
14808         * stdlib/tst-strtod-nan-locale.c: Likewise.
14809         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
14810         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
14811         Depend on $(gen-locales).
14812         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
14813         * wcsmbs/tst-wcstod-nan-locale.c: New file.
14814         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
14815         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
14816         Depend on $(gen-locales).
14817         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
14819 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
14821         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
14823         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
14824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
14825         __finitel, __isinfl, and __isnanl.
14826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
14827         Likewise.
14828         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
14830         __finitel.
14831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14832         Likewise.
14833         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14835 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
14837         * malloc/memusage.c (me): Remove redundant getenv call.
14839 2015-10-24  Florian Weimer  <fweimer@redhat.com>
14841         [BZ #19143]
14842         [BZ #19164]
14843         * nptl/check-cpuset.h: Remove.
14844         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
14845         Remove CPU set size check.
14846         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
14847         Likewise.
14848         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
14849         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
14850         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
14851         (__pthread_setaffinity_new): Remove CPU set size check.
14852         * sysdeps/unix/sysv/linux/sched_setaffinity.c
14853         (__kernel_cpumask_size): Remove.
14854         (__sched_setaffinity_new): Remove CPU set size check.
14855         * manual/threads.texi (Default Thread Attributes): Remove stale
14856         reference to check_cpuset_attr, determine_cpumask_size in comment.
14857         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
14858         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
14859         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
14860         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
14861         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
14862         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
14863         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
14864         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
14865         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
14866         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
14867         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
14868         skeleton test file.
14869         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
14870         tst-affinity-pid.
14872 2015-11-24  Florian Weimer  <fweimer@redhat.com>
14874         * scripts/update-abilist.sh: New file.
14875         * Makefile (+subdir_targets): Add subdir_update-all-abi.
14876         * Makerules (update-all-abi-%, update-all-abi)
14877         (subdir_update-all-abi): New targets.
14878         * elf/Makefile (update-all-abi): New target.
14880 2015-11-24  Florian Weimer  <fweimer@redhat.com>
14882         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
14883         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
14884         (__libc_lock_define_initialized): Use it.
14885         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
14886         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
14887         * malloc/malloc.c (main_arena): Likewise.
14888         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
14889         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
14891 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
14893         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14894         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
14895         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14896         (PTRACE_O_MASK): Update value.
14897         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
14898         New value in enum __ptrace_setoptions.
14899         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14900         (PTRACE_O_MASK): Update value.
14901         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14902         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14903         (PTRACE_O_MASK): Update value.
14904         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14905         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14906         (PTRACE_O_MASK): Update value.
14907         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14908         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14909         (PTRACE_O_MASK): Update value.
14910         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
14911         New value in enum __ptrace_setoptions.
14912         (PTRACE_O_MASK): Update value.
14913         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
14914         New value in enum __ptrace_setoptions.
14915         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14916         (PTRACE_O_MASK): Update value.
14918         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
14919         New macro.
14920         (PACKET_AUXDATA): Likewise.
14921         (PACKET_ORIGDEV): Likewise.
14922         (PACKET_VERSION): Likewise.
14923         (PACKET_HDRLEN): Likewise.
14924         (PACKET_RESERVE): Likewise.
14925         (PACKET_TX_RING): Likewise.
14926         (PACKET_LOSS): Likewise.
14927         (PACKET_VNET_HDR): Likewise.
14928         (PACKET_TX_TIMESTAMP): Likewise.
14929         (PACKET_TIMESTAMP): Likewise.
14930         (PACKET_FANOUT): Likewise.
14931         (PACKET_TX_HAS_OFF): Likewise.
14932         (PACKET_QDISC_BYPASS): Likewise.
14933         (PACKET_ROLLOVER_STATS): Likewise.
14934         (PACKET_FANOUT_DATA): Likewise.
14935         (PACKET_MR_UNICAST): Likewise.
14937         [BZ #19242]
14938         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
14939         (TOUPPER): Likewise.
14940         * stdlib/tst-strtol-locale-main.c: New file.
14941         * stdlib/tst-strtol-locale.c: Likewise.
14942         * stdlib/Makefile (tests): Add tst-strtol-locale.
14943         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
14944         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
14945         Depend on $(gen-locales).
14946         * wcsmbs/tst-wcstol-locale.c: New file.
14947         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
14948         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
14949         tr_TR.ISO-8859-9.
14950         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
14951         Depend on $(gen-locales).
14953 2015-11-20  Roland McGrath  <roland@hack.frob.com>
14955         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
14956         __glibc_likely instead of __builtin_expect.  After falling back to
14957         dyncode_create in a non-ET_DYN case, use the allocate_code_data
14958         system interface to register the code pages as occupied.
14960 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
14962         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14963         [!ARM_MATH_PRIVATE_H].
14964         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
14965         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14966         [!HPPA_MATH_PRIVATE_H].
14967         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
14968         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
14969         to [!I386_MATH_PRIVATE_H].
14970         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
14971         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
14972         Change guard to [!M68K_MATH_PRIVATE_H].
14973         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
14974         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
14975         guard to [!MICROBLAZE_MATH_PRIVATE_H].
14976         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
14977         macro.
14978         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14979         [!MIPS_MATH_PRIVATE_H].
14980         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
14981         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14982         [!NIO2_MATH_PRIVATE_H].
14983         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
14984         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14985         [!TILE_MATH_PRIVATE_H].
14986         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
14988         [BZ #15421]
14989         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
14990         initialize with 0 and define as weak alias of __signgam.
14991         * include/math.h [!_ISOMAC] (__signgam): Declare.
14992         * math/Makefile (libm-calls): Add w_lgamma_compat.
14993         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
14994         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
14995         test-signgam-ullong-init.
14996         (tests-static): Add test-signgam-uchar-static,
14997         test-signgam-uchar-init-static, test-signgam-uint-static,
14998         test-signgam-uint-init-static, test-signgam-ullong-static and
14999         test-signgam-ullong-init-static.
15000         (CFLAGS-test-signgam-uchar.c): New variable.
15001         (CFLAGS-test-signgam-uchar-init.c): Likewise.
15002         (CFLAGS-test-signgam-uchar-static.c): Likewise.
15003         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
15004         (CFLAGS-test-signgam-uint.c): Likewise.
15005         (CFLAGS-test-signgam-uint-init.c): Likewise.
15006         (CFLAGS-test-signgam-uint-static.c): Likewise.
15007         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
15008         (CFLAGS-test-signgam-ullong.c): Likewise.
15009         (CFLAGS-test-signgam-ullong-init.c): Likewise.
15010         (CFLAGS-test-signgam-ullong-static.c): Likewise.
15011         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
15012         * math/Versions (libm): Add GLIBC_2.23.
15013         * math/lgamma-compat.h: New file.
15014         * math/test-signgam-main.c: Likewise.
15015         * math/test-signgam-uchar-init-static.c: Likewise.
15016         * math/test-signgam-uchar-init.c: Likewise.
15017         * math/test-signgam-uchar-static.c: Likewise.
15018         * math/test-signgam-uchar.c: Likewise.
15019         * math/test-signgam-uint-init-static.c: Likewise.
15020         * math/test-signgam-uint-init.c: Likewise.
15021         * math/test-signgam-uint-static.c: Likewise.
15022         * math/test-signgam-uint.c: Likewise.
15023         * math/test-signgam-ullong-init-static.c: Likewise.
15024         * math/test-signgam-ullong-init.c: Likewise.
15025         * math/test-signgam-ullong-static.c: Likewise.
15026         * math/test-signgam-ullong.c: Likewise.
15027         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
15028         wrapper of w_lgamma_main.c.
15029         * math/w_lgamma_compat.c: New file.
15030         * math/w_lgamma_compatf.c: Likewise.
15031         * math/w_lgamma_compatl.c: Likewise.
15032         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
15033         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
15034         defining compatibility symbols.
15035         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
15036         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
15037         wrapper of w_lgammaf_main.c.
15038         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
15039         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
15040         defining compatibility symbols.
15041         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
15042         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
15043         wrapper of w_lgammal_main.c.
15044         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
15045         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
15046         defining compatibility symbols.
15047         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
15048         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
15049         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
15050         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
15051         <lgamma-compat.h>.
15052         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
15053         (__ieee754_gamma): Define as alias.
15054         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
15055         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
15056         <lgamma-compat.h>.
15057         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
15058         (__ieee754_gammaf): Define as alias.
15059         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
15060         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
15061         <lgamma-compat.h>.
15062         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
15063         (__ieee754_gammal): Define as alias.
15064         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
15065         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
15066         <math/w_lgamma_compat.c>.
15067         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
15068         Define as alias of __lgamma_compat and use in defining lgammal.
15069         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
15070         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
15071         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
15072         (USE_AS_COMPAT): New macro.
15073         (LGAMMA_OLD_VER): Undefine and redefine.
15074         (lgammal): Do not define here.
15075         (gammal): Only define here if [GAMMA_ALIAS].
15076         * conform/linknamespace.pl (@whitelist): Remove signgam.
15077         * sysdeps/nacl/libm.abilist: Update.
15078         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15079         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15080         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15081         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15082         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15083         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15084         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15085         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15086         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15087         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15088         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15089         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15091         Likewise.
15092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15093         Likewise.
15094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15095         Likewise.
15096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15097         Likewise.
15098         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15099         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15100         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15101         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15102         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15104         Likewise.
15105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15106         Likewise.
15107         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15108         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15109         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15111 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15113         [BZ #16364]
15114         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
15115         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
15117 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15119         * sysdeps/s390/fpu/bits/mathinline.h:
15120         Use __asm__ [__volatile__] instead of asm [volatile].
15121         * sysdeps/s390/abort-instr.h: Likewise.
15122         * sysdeps/s390/atomic-machine.h: Likewise.
15123         * sysdeps/s390/bits/string.h: Likewise.
15124         * sysdeps/s390/dl-tls.h: Likewise.
15125         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15126         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15127         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15128         * sysdeps/s390/fpu/fesetround.c: Likewise.
15129         * sysdeps/s390/fpu/fpu_control.h: Likewise.
15130         * sysdeps/s390/fpu/s_fma.c: Likewise.
15131         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
15132         * sysdeps/s390/memusage.h: Likewise.
15133         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
15134         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
15135         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
15136         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
15137         * sysdeps/s390/nptl/tls.h: Likewise.
15138         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
15139         * sysdeps/s390/s390-32/backtrace.c: Likewise.
15140         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15141         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15142         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15143         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15144         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
15145         * sysdeps/s390/s390-64/backtrace.c: Likewise.
15146         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15147         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
15148         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15149         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15150         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15151         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
15152         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15153         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15154         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
15155         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
15156         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
15157         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15158         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
15159         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15160         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
15162 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15163             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15165         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
15166         Add lwarx hint, and use macro for acquire instruction.
15167         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15168         Likewise.
15169         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
15170         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
15171         update to use new atomic macros.
15173 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15175         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15176         (__lll_trylock_elision): Fix setting of adapt_count.
15177         * sysdeps/unix/sysv/linux/powerpc/htm.h
15178         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
15179         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
15180         (_ABORT_SYSCALL): Renumber, and clarify definition.
15181         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
15183 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15185         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
15186         after system headers to prevent MIN/MAX redefinition.  Define
15187         HAVE_ALLOCA to preserve builtin alloca usage.
15189 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
15191         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
15192         static and don't set or restore rounding.
15193         (__cos)[IN_SINCOS]: Likewise.
15194         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
15195         (__sincos): Set and restore rounding mode.  Remove check for infinite
15196         or NaN input.
15198         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
15200         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
15201         as used.
15203 2015-11-16  Florian Weimer  <fweimer@redhat.com>
15205         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
15207 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
15209         * config.make.in (have-glob-dat-reloc): New.
15210         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
15211         target supports GLOB_DAT relocaton. AC_SUBST.
15212         * configure: Regenerated.
15213         * elf/Makefile (tests): Add tst-prelink.
15214         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15215         (tst-prelink-ENV): New.
15216         ($(objpfx)tst-prelink-conflict.out): Likewise.
15217         ($(objpfx)tst-prelink-cmp.out): Likewise.
15218         * sysdeps/x86/tst-prelink.c: Moved to ...
15219         * elf/tst-prelink.c: Here.
15220         * sysdeps/x86/tst-prelink.exp: Moved to ...
15221         * elf/tst-prelink.exp: Here.
15222         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
15223         (tst-prelink-ENV): Removed.
15224         ($(objpfx)tst-prelink-conflict.out): Likewise.
15225         ($(objpfx)tst-prelink-cmp.out): Likewise.
15226         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
15228 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
15230         [BZ #14551]
15231         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
15232         (__mpn_construct_long_double): If high part overflows to infinity,
15233         set errno and recompute overflowed result of the correct sign.
15234         * sysdeps/ieee754/ldbl-128ibm/Makefile
15235         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
15236         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
15237         $(libm).
15238         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
15240 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
15242         [BZ #15479]
15243         [BZ #19238]
15244         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
15245         floating-point state after first operation on input.  Restore full
15246         state rather than just rounding mode.
15247         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
15248         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
15249         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
15251         [BZ #19235]
15252         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
15253         add 0.5 to integer arguments.
15254         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
15255         Likewise.
15256         (.LC2): New object.
15258 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
15260         * scripts/pylintrc (reports): Set to no.
15262 2015-11-10  Roland McGrath  <roland@hack.frob.com>
15264         * elf/dl-load.c (open_verify): Take new argument FD.
15265         Skip __open call if passed FD is not -1.
15266         (_dl_map_object, open_path): Update callers.
15267         * elf/dl-sysdep-open.h: New file.
15268         * elf/dl-load.c: Include it.
15269         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
15270         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
15271         * sysdeps/nacl/dl-sysdep-open.h: New file.
15272         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
15273         from libc to rtld.
15275 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
15277         [BZ #19228]
15278         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
15279         and restore full floating-point state.
15280         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15281         Likewise.
15282         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
15283         Likewise.
15284         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
15285         Likewise.
15286         * math/test-nearbyint-except-2.c: New file.
15287         * math/Makefile (tests): Add test-nearbyint-except-2.
15289 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
15291         [BZ #19178]
15292         * sysdeps/x86/Makefile (tests): Add tst-prelink.
15293         (tst-prelink-ENV): New.
15294         ($(objpfx)tst-prelink-conflict.out): Likewise.
15295         ($(objpfx)tst-prelink-cmp.out): Likewise.
15296         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15297         * sysdeps/x86/tst-prelink.c: New file.
15298         * sysdeps/x86/tst-prelink.exp: Likewise.
15300 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
15302         * math/auto-libm-test-in: Add another test of pow.
15303         * math/auto-libm-test-out: Regenerated.
15304         * math/libm-test.inc (pow_test_data): Add another test.
15306 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15308         [BZ #19219]
15309         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
15310         weak_alias to nearbyintl.
15312 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
15314         * sysdeps/aarch64/bits/string.h: New file.
15315         (_STRING_ARCH_unaligned): Define.
15317 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
15319         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
15320         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
15321         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
15322         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
15323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
15325 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
15327         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
15328         for original name of the DSO.  Add it to the name list of the DSO
15329         if it is actually given.
15330         (_dl_map_object): Keep track of whether an audit module rewrote
15331         the file name.  If yes, pass the original name to
15332         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
15333         debugging is enabled, log the change of the file name.
15334         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
15335         _dl_map_object_from_fd.
15336         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
15337         * elf/tst-audit11.c: New file
15338         * elf/tst-auditmod11.c: New file.
15339         * elf/tst-audit11mod1.c: New file.
15340         * elf/tst-audit11mod2.c: New file.
15341         * elf/tst-audit11mod2.map: New file.
15342         * elf/tst-audit12.c: New file
15343         * elf/tst-auditmod12.c: New file.
15344         * elf/tst-audit12mod1.c: New file.
15345         * elf/tst-audit12mod2.c: New file.
15346         * elf/tst-audit12mod2.map: New file.
15347         * elf/tst-audit12mod3.c: New file.
15349 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
15351         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
15352         Don't create weak aliases,
15353         because versioned symbols are created later.
15354         * sysdeps/s390/s390-32/setjmp.S
15355         (setjmp, _setjmp): Remove weak and rename to an unique name
15356         in SHARED case due to existing versioned symbols.
15357         * sysdeps/s390/s390-64/setjmp.S: Likewise.
15358         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
15359         (getcontext): Create weak alias only in non SHARED case.
15360         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15362 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
15364         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
15365         (__ASSUME_*_SYSCALL) Define new macros.
15366         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
15367         Remove socketcall syscalls.
15368         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
15369         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
15370         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
15371         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
15372         * sysdeps/unix/sysv/linux/send.c (__libc_send):
15373         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
15375 2015-11-09  Florian Weimer  <fweimer@redhat.com>
15377         [BZ #12926]
15378         Terminate process on invalid netlink response.
15379         * sysdeps/unix/sysv/linux/netlinkaccess.h
15380         (__netlink_assert_response): Declare.
15381         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
15382         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
15383         (sysdep_routines): Add netlink_assert_response.
15384         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
15385         __netlink_assert_response.
15386         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
15387         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
15388         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
15389         __netlink_assert_response.
15391 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
15393         [BZ #19178]
15394         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
15395         (RTYPE_CLASS_PLT): Likewise.
15396         (RTYPE_CLASS_COPY): Likewise.
15397         (RTYPE_CLASS_TLS): Likewise.
15398         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
15399         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
15400         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
15401         DL_DEBUG_PRELINK.
15403 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
15405         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
15406         calls with argument -0.5.
15407         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
15409         * configure.ac (libc_cv_z_nodelete): Remove configure test.
15410         (libc_cv_z_nodlopen): Likewise.
15411         (libc_cv_z_initfirst): Likewise.
15412         * configure: Regenerated.
15414 2015-11-06  Florian Weimer  <fweimer@redhat.com>
15416         Simplify abilist format to be line-based.
15417         * scripts/abilist.awk: Collect descriptors in the descs variable.
15418         (emit): Write descs variable and sort it
15419         externally, with sort.
15420         * sysdeps/**/*.abilist: Convert to new format.
15422 2015-11-06  Mark Wielaard  <mjw@redhat.com>
15424         [BZ #11460]
15425         * io/Makefile (routines): Add fts64.
15426         (tests): Add tst-fts and tst-fts-lfs.
15427         (CFLAGS-fts64.c): New.
15428         * io/Versions (GLIBC_2.23): New.
15429         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
15430         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
15431         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
15432         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
15433         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
15434         (FTSENT64): Likewise.
15435         (fts64_children): Likewise.
15436         (fts64_close): Likewise.
15437         (fts64_open): Likewise.
15438         (fts64_read): Likewise.
15439         (fts64_set): Likewise.
15440         * io/fts64.c: New file.
15441         * io/tst-fts.c: New test.
15442         * io/tst-fts-lfs.c: Likewise.
15443         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
15444         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
15445         fts64_set.
15446         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15447         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15448         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15449         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15450         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15451         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15452         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15453         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15454         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15455         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15456         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15457         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15458         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15460         Likewise.
15461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15462         Likewise.
15463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15465         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15466         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15467         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15468         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15469         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15472         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15473         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15474         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15475         * sysdeps/wordsize-64/fts.c: New file.
15476         * sysdeps/wordsize-64/fts64.c: Likewise.
15477         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
15478         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
15479         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
15480         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
15482 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
15484         * math/libm-test.inc (NON_FINITE): New macro.
15485         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
15486         * math/gen-libm-test.pl (show_exceptions): Add argument
15487         $non_finite.
15488         (parse_args): Update call to show_exceptions.
15489         * math/test-math-finite.h: New file.
15490         * math/test-math-no-finite.h: Likewise.
15491         * math/test-double-finite.c: Likewise.
15492         * math/test-float-finite.c: Likewise.
15493         * math/test-ldouble-finite.c: Likewise.
15494         * math/test-double.c: Include "test-math-no-finite.h".
15495         * math/test-float.c: Include "test-math-no-finite.h".
15496         * math/test-ldouble.c: Include "test-math-no-finite.h".
15497         * math/test-math-inline.h (TEST_FINITE): New macro.
15498         * math/test-math-vector.h (TEST_FINITE): Likewise.
15499         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
15500         (libm-tests): Add test-float-finite and test-double-finite.
15501         ($(objpfx)test-float-finite.o): New dependency on
15502         $(objpfx)libm-test.stmp.
15503         ($(objpfx)test-double-finite.o): Likewise.
15504         ($(objpfx)test-ldouble-finite.o): Likewise.
15505         (libm-test-no-inline-cflags): New variable.
15506         (libm-test-finite-cflags): Likewise.
15507         (CFLAGS-test-float-finite.c): Likewise.
15508         (CFLAGS-test-double-finite.c): Likewise.
15509         (CFLAGS-test-ldouble-finite.c): Likewise.
15510         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
15511         (CFLAGS-test-double.c): Likewise.
15512         (CFLAGS-test-ldouble.c): Likewise.
15514 2015-11-05  Roland McGrath  <roland@hack.frob.com>
15516         * io/fcntl.c (__fcntl): Add ... to prototype.
15517         * misc/ioctl.c (__ioctl): Likewise.
15518         * misc/syscall.c (syscall): Likewise.
15520 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
15522         * scripts/list-fixed-bugs.py: New file.
15524         [BZ #19213]
15525         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
15526         returned for argument 1.
15527         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
15528         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
15529         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
15530         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
15531         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
15532         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
15534         [BZ #19211]
15535         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
15536         __USE_XOPEN], not if [!__USE_ISOC99].
15537         (lgammaf): Likewise.
15538         (lgammal): Likewise.
15539         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
15540         (gammaf): Likewise.
15541         (gammal): Likewise.
15542         * math/test-signgam-finite-c11.c: New file.
15543         * math/test-signgam-finite-c99.c: Likewise.
15544         * math/test-signgam-finite.c: Likewise.
15545         * math/Makefile (tests): Add test-signgam-finite,
15546         test-signgam-finite-c99 and test-signgam-finite-c11.
15547         (CFLAGS-test-signgam-finite.c): New variable.
15548         (CFLAGS-test-signgam-finite-c99.c): Likewise.
15549         (CFLAGS-test-signgam-finite-c11.c): Likewise.
15551         [BZ #19212]
15552         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
15553         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
15554         500].
15555         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
15556         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
15557         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
15558         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
15559         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
15560         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
15561         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
15562         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
15563         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
15564         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
15566         [BZ #19209]
15567         * math/bits/math-finite.h (ldexp): Remove declaration.
15568         (ldexpf): Likewise.
15569         (ldexpl): Likewise.
15571         [BZ #19205]
15572         * math/bits/math-finite.h (acosf): Condition declaration on
15573         [__USE_ISOC99].
15574         (acosl): Likewise.
15575         (acoshf): Likewise.
15576         (acoshl): Likewise.
15577         (asinf): Likewise.
15578         (asinl): Likewise.
15579         (atan2f): Likewise.
15580         (atan2l): Likewise.
15581         (atanhf): Likewise.
15582         (atanhl): Likewise.
15583         (coshf): Likewise.
15584         (coshl): Likewise.
15585         (expf): Likewise.
15586         (expl): Likewise.
15587         (fmodf): Likewise.
15588         (fmodl): Likewise.
15589         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
15590         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
15591         (j0l): Likewise.
15592         (y0f): Likewise.
15593         (y0l): Likewise.
15594         (j1f): Likewise.
15595         (j1l): Likewise.
15596         (y1f): Likewise.
15597         (y1l): Likewise.
15598         (jnf): Likewise.
15599         (jnl): Likewise.
15600         (ynf): Likewise.
15601         (ynl): Likewise.
15602         (lgammaf_r): Condition declaration on [__USE_ISOC99].
15603         (lgammal_r): Likewise.
15604         (__lgamma_r_finite): New declaration.
15605         (__lgammaf_r_finite): Likewise.
15606         (__lgammal_r_finite): Likewise.
15607         (lgamma): Use __lgamma_r_finite.
15608         (lgammaf): Condition definition on [__USE_ISOC99].  Use
15609         __lgammaf_r_finite.
15610         (lgammal): Condition definition on [__USE_ISOC99].  Use
15611         __lgammal_r_finite.
15612         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
15613         __lgamma_r_finite.
15614         (gammaf): Condition definition on [__USE_ISOC99].  Use
15615         __lgammaf_r_finite.
15616         (gammal): Condition definition on [__USE_ISOC99].  Use
15617         __lgammal_r_finite.
15618         (logf): Condition declaration on [__USE_ISOC99].
15619         (logl): Likewise.
15620         (log10f): Likewise.
15621         (log10l): Likewise.
15622         (ldexpf): Likewise.
15623         (ldexpl): Likewise.
15624         (powf): Likewise.
15625         (powl): Likewise.
15626         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
15627         __USE_ISOC99].
15628         (remainderf): Condition declaration on [__USE_ISOC99].
15629         (remainderl): Likewise.
15630         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
15631         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
15632         (scalbl): Likewise.
15633         (sinhf): Condition declaration on [__USE_ISOC99].
15634         (sinhl): Likewise.
15635         (sqrtf): Likewise.
15636         (sqrtl): Likewise.
15638 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
15640         * sysdeps/arm/atomic-machine.h
15641         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
15642         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
15643         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
15644         Remove conditional code.
15645         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
15646         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
15647         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
15648         Change conditional to [__ASSEMBLER__].
15649         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
15650         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
15651         [!__ASSEMBLER__].
15652         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
15653         code.
15654         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
15655         conditional macro definitions.
15656         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
15657         (__arch_compare_and_exchange_val_16_acq): Likewise.
15658         (__arch_compare_and_exchange_val_32_acq): Likewise.
15659         (atomic_exchange_and_add): Likewise.
15660         (atomic_add): Likewise.
15661         (atomic_add_negative): Likewise.
15662         (atomic_add_zero): Likewise.
15663         (atomic_bit_set): Likewise.
15664         (atomic_bit_test_set): Likewise.
15665         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
15666         code unconditional.
15667         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15669         * math/test-math-errno.h: New file.
15670         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
15671         empty.
15672         (TEST_ERRNO): New macro.
15673         (TEST_EXCEPTIONS): Likewise.
15674         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
15675         (TEST_EXCEPTIONS): Likewise.
15676         * math/test-math-vector.h (TEST_ERRNO): Likewise.
15677         * math/test-double.c: Include "test-math-errno.h".
15678         * math/test-float.c: Likewise.
15679         * math/test-ldouble.c: Likewise.
15680         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
15681         code unconditional.
15682         (test_exceptions): Only run code if TEST_EXCEPTIONS.
15683         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
15684         unconditional.
15685         (test_errno): Only run code if TEST_ERRNO.
15686         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
15688 2015-11-04  Florian Weimer  <fweimer@redhat.com>
15690         * nptl/tst-once5.cc: Remove attribution.
15692 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
15694         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
15695         sqrt, tan, tanh, y0, y1 and yn.
15696         * math/auto-libm-test-out: Regenerated.
15697         * math/libm-test.inc (scalb_test_data): Add more tests.
15698         (scalbn_test_data): Likewise.
15699         (scalbln_test_data): Likewise.
15700         (signbit_test_data): Likewise.
15701         (sin_test_data): Likewise.
15702         (sincos_test_data): Likewise.
15703         (sinh_test_data): Likewise.
15704         (sqrt_test_data): Likewise.
15705         (tan_test_data): Likewise.
15706         (tanh_test_data): Likewise.
15707         (tgamma_test_data): Likewise.
15708         (y0_test_data): Likewise.
15709         (y1_test_data): Likewise.
15710         (yn_test_data): Likewise.
15711         (significand_test_data): Likewise.
15712         * sysdeps/i386/fpu/libm-test-ulps: Update.
15714 2015-11-03  David Kastrup  <dak@gnu.org>
15716         [BZ #18604]
15717         * assert/assert.h (assert): Don't macro-expand failed assertion
15718         expression in error message.
15719         * malloc/malloc.c (assert): Likewise.
15721 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
15723         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
15724         test.
15725         * configure: Regenerated.
15727 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
15729         * math/libm-test.inc (modf_test_data): Add more tests.
15730         (nearbyint_test_data): Likewise.
15731         (nextafter_test_data): Likewise.
15732         (nexttoward_test_data): Likewise.
15733         (pow_test_data): Likewise.
15734         (remainder_test_data): Likewise.
15735         (remquo_test_data): Likewise.
15736         (rint_test_data): Likewise.
15738         [BZ #19201]
15739         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15740         Check for zero remainder in case of large exponents and ensure
15741         correct sign of result in that case.
15742         * math/libm-test.inc (remainder_test_data): Add more tests.
15744         [BZ #6799]
15745         * math/s_nextafter.c: Include <errno.h>.
15746         (__nextafter): Set errno on overflow and underflow.
15747         * math/s_nexttowardf.c: Include <errno.h>.
15748         (__nexttowardf): Set errno on overflow and underflow.
15749         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
15750         (__nextafterl): Set errno on overflow and underflow.
15751         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
15752         (__nexttoward): Set errno on overflow and underflow.
15753         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
15754         (__nexttowardf): Set errno on overflow and underflow.
15755         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
15756         (__nextafterf): Set errno on overflow and underflow.
15757         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
15758         (__nextafterl): Set errno on overflow and underflow.
15759         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
15760         (__nexttoward): Set errno on overflow and underflow.
15761         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
15762         (__nexttowardf): Set errno on overflow and underflow.
15763         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
15764         (__nextafterl): Set errno on overflow and underflow.
15765         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
15766         (__nexttoward): Set errno on overflow and underflow.
15767         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
15768         (__nexttowardf): Set errno on overflow and underflow.
15769         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
15770         (__nexttoward): Set errno on overflow and underflow.
15771         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
15772         (__nexttowardf): Set errno on overflow and underflow.
15773         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
15774         (__nldbl_nexttowardf): Set errno on overflow and underflow.
15775         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
15776         (__nextafterl): Set errno on overflow and underflow.
15777         * math/libm-test.inc (nextafter_test_data): Do not allow errno
15778         setting to be missing on overflow.  Add more tests.
15779         (nexttoward_test_data): Likewise.
15781         * configure.ac (libc_cv_initfini_array): Remove configure test.
15782         * configure: Regenerated.
15784 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
15786         [BZ #19189]
15787         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
15788         non-finite argument handle arguments with negative sign.
15790         * math/libm-test.inc (j0_test_data): Do not test sign of zero
15791         result from infinite argument.
15792         (j1_test_data): Likewise.
15793         (jn_test_data): Likewise.
15794         (y0_test_data): Likewise.
15795         (y1_test_data): Likewise.
15796         (yn_test_data): Likewise.
15798         [BZ #16171]
15799         * math/w_remainder.c (drem): Define as weak alias of __remainder.
15800         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
15801         * math/w_remainderf.c (dremf): Define as weak alias of
15802         __remainderf.
15803         * math/w_remainderl.c (dreml): Define as weak alias of
15804         __remainderl.
15805         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
15806         __remainder.
15807         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
15808         __remainderf.
15809         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
15810         __remainderl.
15811         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
15812         weak alias of remainderl.
15813         * sysdeps/ieee754/ldbl-opt/w_remainder.c
15814         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
15815         alias of __remainder.
15816         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
15817         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
15818         strong alias of __remainderl.
15819         (dreml): Use long_double_symbol.
15820         * math/Makefile (libm-calls): Remove w_drem.
15821         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
15822         (CFLAGS-nldbl-drem.c): Remove variable.
15823         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
15824         * math/w_drem.c: Remove file.
15825         * math/w_dremf.c: Likewise.
15826         * math/w_dreml.c: Likewise.
15827         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
15828         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
15829         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
15831         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
15832         * sysdeps/i386/configure: Regenerated.
15833         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
15834         * sysdeps/x86_64/configure: Regenerated.
15836         * configure.ac (libc_cv_asm_protected_directive): Remove configure
15837         test.
15838         (libc_cv_visibility_attribute): Likewise.
15839         (libc_cv_protected_data): Test unconditionally.
15840         (libc_cv_broken_visibility_attribute): Remove configure test.
15841         (libc_cv_have_sdata_section): Test unconditionally.
15842         * configure: Regenerated.
15844         * include/libc-internal.h (libc_max_align_t): Remove typedef.
15845         * include/scratch_buffer.h: Include <stddef.h> instead of
15846         <libc-internal.h>.
15847         (struct scratch_buffer): Use max_align_t instead of
15848         libc_max_align_t.
15850 2015-10-29  Florian Weimer  <fweimer@redhat.com>
15852         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
15853         instead of extend_alloca.  Change control flow to avoid a goto.
15854         Remove assert which is trivially always true.
15856 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
15858         [BZ #16068]
15859         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
15860         (FE_ALL_EXCEPT_X86): New macro.
15861         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
15862         FE_ALL_EXCEPT.  Ensure precision control is included in
15863         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
15864         handle "denormal operand exception" and clear FZ and DAZ bits.
15865         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
15866         (FE_ALL_EXCEPT_X86): New macro.
15867         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
15868         FE_ALL_EXCEPT.  Ensure precision control is included in
15869         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
15870         handle "denormal operand exception" and clear FZ and DAZ bits.
15871         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
15872         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
15873         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15874         test-fenv-x87 and test-fenv-sse-2.
15875         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
15877         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
15878         * math/test-double.h (BUILD_COMPLEX): New macro.
15879         * math/test-float.h (BUILD_COMPLEX): Likewise.
15880         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
15882         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
15883         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
15884         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
15885         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
15886         instead of DBL_DENORM_MIN in comment.
15887         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
15888         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
15889         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
15890         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
15891         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
15892         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
15894 2015-10-28  Florian Weimer  <fweimer@redhat.com>
15896         [BZ# 19048]
15897         * malloc/malloc.c (struct malloc_state): Update comment.  Add
15898         attached_threads member.
15899         (main_arena): Initialize attached_threads.
15900         * malloc/arena.c (list_lock): Update comment.
15901         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
15902         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
15903         (deattach_arena): New function.
15904         (_int_new_arena): Initialize arena reference count and deattach
15905         replaced arena.
15906         (get_free_list, reused_arena): Update reference count and deattach
15907         replaced arena.
15908         (arena_thread_freeres): Update arena reference count and only put
15909         unreferenced arenas on the free list.
15911 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
15913         [BZ #19181]
15914         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
15915         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
15916         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
15917         * math/test-fenv-clear-main.c: New file.
15918         * math/test-fenv-clear.c: Likewise.
15919         * math/Makefile (tests): Add test-fenv-clear.
15920         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
15921         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15922         test-fenv-clear-sse.
15923         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
15925         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
15926         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
15927         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
15929 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15931         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
15932         static libc.
15934 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
15936         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
15937         test.
15938         * sysdeps/i386/configure: Regenerated.
15939         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
15940         test.
15941         * sysdeps/x86_64/configure: Regenerated.
15942         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
15943         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15944         memset-avx2 unconditionally instead of conditionally on
15945         [$(config-cflags-avx2) = yes].
15946         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15947         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
15948         unconditional.
15949         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
15950         * sysdeps/x86_64/multiarch/memset_chk.S
15951         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
15952         to [IS_IN (libc) && SHARED].
15954 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
15956         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
15957         configure test.
15958         * sysdeps/arm/configure: Regenerated.
15959         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
15960         Define variable if not already defined.
15962         [BZ #17404]
15963         * sysdeps/mips/atomic-machine.h
15964         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
15965         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
15966         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
15968         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
15969         unconditional.
15970         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
15971         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15972         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
15973         unconditional.
15974         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15975         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
15976         unconditional.
15977         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15978         * stdlib/setenv.c
15979         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
15980         code unconditional.
15981         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
15982         Remove conditional code.
15983         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
15984         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
15985         unconditional.
15986         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15987         code.
15988         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
15989         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
15990         unconditional.
15991         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15992         code.
15993         * sysdeps/ieee754/ldbl-128/k_tanl.c
15994         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
15995         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15996         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
15997         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
15998         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15999         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
16000         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
16001         unconditional.
16002         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16003         code.
16004         * sysdeps/ieee754/ldbl-96/k_tanl.c
16005         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16006         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16008         * nptl/tst-initializers1-c11.c: New file.
16009         * nptl/tst-initializers1-gnu11.c: Likewise.
16010         * nptl/Makefile (tests): Add these new tests.
16011         (CFLAGS-tst-initializers1-c11.c): New variable.
16012         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
16014         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
16015         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
16016         instead of -std=gnu99.
16017         * configure.ac (systemtap): Test with -std=gnu11 instead of
16018         -std=gnu99.
16019         * configure: Regenerated.
16020         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
16021         in compilation command in comment.
16023         * sysdeps/nptl/configure.ac: Remove file.
16024         * sysdeps/nptl/configure: Remove generated file.
16025         * configure.ac (libc_cv_forced_unwind): Do not substitute.
16026         * configure: Regenerated.
16027         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
16028         * config.make.in (have-forced-unwind): Remove variable.
16029         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16030         unconditional.
16031         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
16032         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
16033         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
16034         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
16035         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16036         unconditional.
16038 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16040         [BZ #19174]
16041         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
16042         .skip_lock_out_of_tbegin_retries.
16043         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16044         (__lll_lock_elision): Likewise, and respect a value of
16045         try_tbegin <= 0.
16047 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16049         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
16050         statement.
16052 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
16054         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
16055         variable.
16056         (test-xfail-ISO11/stdalign.h/conform): Likewise.
16057         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16059         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
16060         of -std=c1x -D_ISOC11_SOURCE.
16062         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
16063         * configure: Regenerated.
16064         * manual/install.texi (Tools for Compilation): Document
16065         requirement for GCC 4.7 or later.
16066         * INSTALL: Regenerated.
16068 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
16070         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
16071         on CNT to a conditional jump to 'puntdata'.
16073 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
16075         * configure.ac (libc_cv_gcc___thread): Remove configure test.
16076         (libc_cv_gcc_tls_model_attr): Likewise.
16077         * configure: Regenerated.
16079         * configure.ac (libc_cv_need_minus_P): Remove configure test.
16080         * configure: Regenerated.
16081         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
16083 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
16085         * configure.ac (old_glibc_headers): Remove configure test.
16086         * configure: Regenerated.
16087         * config.make.in (old-glibc-headers): Remove variable.
16088         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
16089         (install): Remove dependency on remove-old-headers.
16090         (headers2_0): Remove variable.
16091         (remove-old-headers): Remove rule.
16093         * configure.ac (libc_cv_dot_text): Remove configure test.
16094         (libc_cv_asm_set_directive): Use .text instead of
16095         ${libc_cv_dot_text} in configure test.
16096         * configure: Regenerated.
16098 2015-10-26  Florian Weimer  <fweimer@redhat.com>
16100         [BZ #19168]
16101         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16103 2015-10-26  Florian Weimer  <fweimer@redhat.com>
16105         * configure.ac (CXX): Clear the variable if the C++ toolchain does
16106         not support static linking.
16107         * configure: Regenerate.
16109 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
16111         * math/libm-test.inc (check_float_internal): Do not special-case
16112         errors up to 0.5 ulp.
16114         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16115         log2.
16116         * math/auto-libm-test-out: Regenerated.
16117         * math/libm-test.inc (MAX_EXP): New macro.
16118         (ilogb_test_data): Add more tests.
16119         (isfinite_test_data): Likewise.
16120         (isgreater_test_data): Likewise.
16121         (isgreaterequal_test_data): Likewise.
16122         (isinf_test_data): Likewise.
16123         (isless_test_data): Likewise.
16124         (islessequal_test_data): Likewise.
16125         (islessgreater_test_data): Likewise.
16126         (isnan_test_data): Likewise.
16127         (isnormal_test_data): Likewise.
16128         (issignaling_test_data): Likewise.
16129         (isunordered_test_data): Likewise.
16130         (j0_test_data): Likewise.
16131         (j1_test_data): Likewise.
16132         (jn_test_data): Likewise.
16133         (lgamma_test_data): Likewise.
16134         (log_test_data): Likewise.
16135         (log10_test_data): Likewise.
16136         (log1p_test_data): Likewise.
16137         (log2_test_data): Likewise.
16138         (logb_test_data): Likewise.
16139         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16141         [BZ #18611]
16142         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
16143         avoid excess range and precision on underflow.
16144         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16145         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16146         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16147         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
16148         underflow.
16149         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16150         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16151         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16152         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16153         * math/auto-libm-test-in: Do not allow missing errno setting for
16154         tests of j1 and jn.
16155         * math/auto-libm-test-out: Regenerated.
16157 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
16159         [BZ #15491]
16160         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
16161         floating-point environment instead of clearing all exceptions.
16162         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16163         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
16164         merging in "invalid" exceptions from frndint.
16165         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16166         * math/test-nearbyint-except.c: New file.
16167         * math/Makefile (tests): Add test-nearbyint-except.
16169 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
16171         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
16173         * sysdeps/tile/libm-test-ulps: Regenerated.
16175 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
16178         (__NR_sync_file_range2): Assume it is always defined.
16179         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
16180         (__NR_sync_file_range): Assume it is always defined.
16182 2015-10-22  Andreas Schwab  <schwab@suse.de>
16184         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
16185         INTERNAL_SYSCALL_ERRNO.
16186         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16187         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
16188         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16189         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
16190         Likewise.
16191         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16193 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
16195         * io/tst-fcntl.c (fd): New static variable.
16196         (do_prepare): Open temporary file here....
16197         (do_test): ...not here.
16199         * io/ftwtest-sh: Also trap on exit to remove temporary files.
16201 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
16203         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
16204         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16205         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16206         Moved before "#ifdef __ASSEMBLER__".
16208 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
16210         [BZ #19156]
16211         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
16212         arguments very close to 0.
16214 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
16216         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
16217         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
16219 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
16221         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16222         New.  Defined for GCC 5 and above when not compiling for
16223         profiling.
16224         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16226         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
16227         Renamed to ...
16228         (CFLAGS-epoll_pwait.o): This.
16229         (CFLAGS-mmap.c): Renamed to ...
16230         (CFLAGS-mmap.o): This.
16231         (CFLAGS-mmap64.c): Renamed to ...
16232         (CFLAGS-mmap64.o): This.
16233         (CFLAGS-epoll_pwait.os): New.
16234         (CFLAGS-mmap.os): Likewise.
16235         (CFLAGS-mmap64.os): Likewise.
16236         (CFLAGS-semtimedop.os): Likewise.
16237         (CFLAGS-semtimedop.c): Renamed to ...
16238         (CFLAGS-semtimedop.o): This.
16240 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16242         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
16243         warning message.
16245 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
16247         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
16248         * Makefile ($(objpfx)c++-types-check.out): Filter out
16249         $(+gccwarn-c) instead of -Wstrict-prototypes.
16251         * io/fts.c (fts_open): Convert to prototype-style function
16252         definition.
16253         * malloc/mcheck.c (mcheck): Likewise.
16254         (mcheck_pedantic): Likewise.
16255         * posix/regexec.c (re_search_2_stub): Likewise.  Use
16256         internal_function.
16257         (re_search_internal): Likewise.
16258         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
16259         prototype-style function definition.
16260         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16261         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
16262         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
16263         (xdr_utmpptr): Likewise.
16264         (xdr_utmparr): Likewise.
16265         (xdr_utmpidle): Likewise.
16266         (xdr_utmpidleptr): Likewise.
16267         (xdr_utmpidlearr): Likewise.
16269         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
16270         log, log10 and log2.
16271         * math/auto-libm-test-out: Regenerated.
16272         * math/libm-test.inc (fmod_test_data): Add more tests.
16273         (fpclassify_test_data): Likewise.
16274         (frexp_test_data): Likewise.
16275         (hypot_test_data): Likewise.
16276         (ilogb_test_data): Likewise.
16278 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
16280         * debug/fortify_fail.c (__fortify_fail): Convert to
16281         prototype-style function definition.  Use internal_function.
16282         * libio/genops.c (save_for_backup): Convert to prototype-style
16283         function definition.
16284         * libio/wgenops.c (save_for_wbackup): Likewise.
16285         * login/grantpt.c (grantpt): Likewise.
16286         * login/ptsname.c (ptsname): Likewise.
16287         (__ptsname_r): Likewise.
16288         * login/unlockpt.c (unlockpt): Likewise.
16289         * mach/msgserver.c (__mach_msg_server): Likewise.
16290         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
16291         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
16292         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
16293         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
16294         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
16295         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
16296         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
16297         Likewise.
16298         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
16299         internal_function.
16300         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
16301         prototype-style function definition.
16302         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
16303         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
16304         (__pthread_create_2_0): Likewise.
16305         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
16306         * nptl/register-atfork.c (__register_atfork): Likewise.
16307         * posix/glob.c (glob): Likewise.
16308         * posix/regcomp.c (re_comp): Likewise.
16309         * posix/regexec.c (re_exec): Likewise.
16310         * stdlib/add_n.c [__STDC__]: Make code unconditional.
16311         [!__STDC__]: Remove conditional code.
16312         * stdlib/cmp.c [__STDC__]: Make code unconditional.
16313         [!__STDC__]: Remove conditional code.
16314         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
16315         [!__STDC__]: Remove conditional code.
16316         * stdlib/divrem.c [__STDC__]: Make code unconditional.
16317         [!__STDC__]: Remove conditional code.
16318         * stdlib/lshift.c [__STDC__]: Make code unconditional.
16319         [!__STDC__]: Remove conditional code.
16320         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
16321         [!__STDC__]: Remove conditional code.
16322         * stdlib/mul.c [__STDC__]: Make code unconditional.
16323         [!__STDC__]: Remove conditional code.
16324         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
16325         [!__STDC__]: Remove conditional code.
16326         * stdlib/rshift.c [__STDC__]: Make code unconditional.
16327         [!__STDC__]: Remove conditional code.
16328         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
16329         function definition.
16330         (STRTOF): Likewise.
16331         * stdlib/strtod_l.c (__STRTOF): Likewise.
16332         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
16333         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
16334         (__strtol_l): Likewise.
16335         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
16336         [!__STDC__]: Remove conditional code.
16337         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
16338         definition.
16339         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
16340         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16341         type.
16342         (__strcasecmp): Convert to prototype-style function definition.
16343         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
16344         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16345         type.
16346         (__strncasecmp): Convert to prototype-style function definition.
16347         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
16348         * sunrpc/xdr.c (xdr_union): Likewise.
16349         * sunrpc/xdr_array.c (xdr_array): Likewise.
16350         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
16351         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
16352         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
16353         Likewise.
16354         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
16355         Likewise.
16356         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
16357         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16358         Likewise.
16359         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
16360         (LOCALE_PARAM_PROTO): Likewise.
16361         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
16362         argument type.
16363         (ut_argument_spec): Remove macro.
16364         (ut_argument_spec_iso): Rename to ut_argument_spec.
16365         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
16366         prototype-style function definition.
16367         (memcpy_uppcase): Likewise.
16368         (__strftime_internal): Likewise.
16369         (my_strftime): Likewise.
16370         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
16371         (LOCALE_PARAM_DECL): Likewise.
16372         [_LIBC] (LOCALE_PARAM): Include argument type.
16373         (__strptime_internal): Convert to prototype-style function
16374         definition.
16375         (strptime): Likewise.
16376         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
16377         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16378         type.
16379         (__wcscasecmp): Convert to prototype-style function definition.
16380         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
16381         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16382         type.
16383         (__wcsncasecmp): Convert to prototype-style function definition.
16385         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
16386         function definition.
16387         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16388         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16389         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
16390         * elf/dl-minimal.c (_itoa): Likewise.
16391         * hurd/hurdmalloc.c (malloc): Likewise.
16392         (free): Likewise.
16393         (realloc): Likewise.
16394         * inet/inet6_option.c (inet6_option_space): Likewise.
16395         (inet6_option_init): Likewise.
16396         (inet6_option_append): Likewise.
16397         (inet6_option_alloc): Likewise.
16398         (inet6_option_next): Likewise.
16399         (inet6_option_find): Likewise.
16400         * io/ftw.c (FTW_NAME): Likewise.
16401         (NFTW_NAME): Likewise.
16402         (NFTW_NEW_NAME): Likewise.
16403         (NFTW_OLD_NAME): Likewise.
16404         * libio/iofwide.c (_IO_fwide): Likewise.
16405         * libio/strops.c (_IO_str_init_static_internal): Likewise.
16406         (_IO_str_init_static): Likewise.
16407         (_IO_str_init_readonly): Likewise.
16408         (_IO_str_overflow): Likewise.
16409         (_IO_str_underflow): Likewise.
16410         (_IO_str_count): Likewise.
16411         (_IO_str_seekoff): Likewise.
16412         (_IO_str_pbackfail): Likewise.
16413         (_IO_str_finish): Likewise.
16414         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
16415         (_IO_wstr_overflow): Likewise.
16416         (_IO_wstr_underflow): Likewise.
16417         (_IO_wstr_count): Likewise.
16418         (_IO_wstr_seekoff): Likewise.
16419         (_IO_wstr_pbackfail): Likewise.
16420         (_IO_wstr_finish): Likewise.
16421         * locale/programs/localedef.c (normalize_codeset): Likewise.
16422         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16423         (add_locales_to_archive): Likewise.
16424         (delete_locales_from_archive): Likewise.
16425         * malloc/malloc.c (__libc_mallinfo): Likewise.
16426         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
16427         * misc/tsearch.c (__tfind): Likewise.
16428         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
16429         * nptl/pthread_attr_getdetachstate.c
16430         (__pthread_attr_getdetachstate): Likewise.
16431         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
16432         Likewise.
16433         * nptl/pthread_attr_getinheritsched.c
16434         (__pthread_attr_getinheritsched): Likewise.
16435         * nptl/pthread_attr_getschedparam.c
16436         (__pthread_attr_getschedparam): Likewise.
16437         * nptl/pthread_attr_getschedpolicy.c
16438         (__pthread_attr_getschedpolicy): Likewise.
16439         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
16440         Likewise.
16441         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
16442         Likewise.
16443         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
16444         Likewise.
16445         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
16446         Likewise.
16447         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
16448         (__pthread_attr_init_2_0): Likewise.
16449         * nptl/pthread_attr_setdetachstate.c
16450         (__pthread_attr_setdetachstate): Likewise.
16451         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
16452         Likewise.
16453         * nptl/pthread_attr_setinheritsched.c
16454         (__pthread_attr_setinheritsched): Likewise.
16455         * nptl/pthread_attr_setschedparam.c
16456         (__pthread_attr_setschedparam): Likewise.
16457         * nptl/pthread_attr_setschedpolicy.c
16458         (__pthread_attr_setschedpolicy): Likewise.
16459         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
16460         Likewise.
16461         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
16462         Likewise.
16463         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
16464         Likewise.
16465         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
16466         Likewise.
16467         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
16468         Likewise.
16469         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
16470         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
16471         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
16472         use internal_function.
16473         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
16474         prototype-style function definition.
16475         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
16476         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
16477         internal_function.
16478         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
16479         Convert to prototype-style function definition.
16480         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
16481         Likewise.
16482         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
16483         Likewise.
16484         (__pthread_mutex_unlock): Likewise.
16485         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
16486         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
16487         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
16488         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
16489         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
16490         * nss/makedb.c (process_input): Likewise.
16491         * posix/fnmatch.c (__strchrnul): Likewise.
16492         (__wcschrnul): Likewise.
16493         (fnmatch): Likewise.
16494         * posix/fnmatch_loop.c (FCT): Likewise.
16495         * posix/glob.c (globfree): Likewise.
16496         (__glob_pattern_type): Likewise.
16497         (__glob_pattern_p): Likewise.
16498         * posix/regcomp.c (re_compile_pattern): Likewise.
16499         (re_set_syntax): Likewise.
16500         (re_compile_fastmap): Likewise.
16501         (regcomp): Likewise.
16502         (regerror): Likewise.
16503         (regfree): Likewise.
16504         * posix/regexec.c (regexec): Likewise.
16505         (re_match): Likewise.
16506         (re_search): Likewise.
16507         (re_match_2): Likewise.
16508         (re_search_2): Likewise.
16509         (re_search_stub): Likewise.  Use internal_function
16510         (re_copy_regs): Likewise.
16511         (re_set_registers): Convert to prototype-style function
16512         definition.
16513         (prune_impossible_nodes): Likewise.  Use internal_function.
16514         * resolv/inet_net_pton.c (inet_net_pton): Convert to
16515         prototype-style function definition.
16516         (inet_net_pton_ipv4): Likewise.
16517         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16518         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
16519         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
16520         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
16521         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16522         Make variadic.
16523         * time/strptime_l.c (localtime_r): Convert to prototype-style
16524         function definition.
16525         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
16526         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
16527         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
16528         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
16530         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
16531         definition.
16532         (_ufc_doit_r): Likewise.
16533         * crypt/crypt_util.c (_ufc_copymem): Likewise.
16534         (_ufc_output_conversion_r): Likewise.
16535         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
16536         * inet/rcmd.c (rcmd_af): Likewise.
16537         (rcmd): Likewise.
16538         (ruserok_af): Likewise.
16539         (ruserok): Likewise.
16540         (ruserok2_sa): Likewise.
16541         (ruserok_sa): Likewise.
16542         (iruserok_af): Likewise.
16543         (iruserok): Likewise.
16544         (__ivaliduser): Likewise.
16545         (__validuser2_sa): Likewise.
16546         * inet/rexec.c (rexec_af): Likewise.
16547         (rexec): Likewise.
16548         * inet/ruserpass.c (ruserpass): Likewise.
16549         * locale/programs/xmalloc.c (xcalloc): Likewise.
16550         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
16551         * math/w_drem.c (__drem): Likewise.
16552         * math/w_dremf.c (__dremf): Likewise.
16553         * math/w_dreml.c (__dreml): Likewise.
16554         * misc/daemon.c (daemon): Likewise.
16555         * resolv/res_debug.c (p_fqnname): Likewise.
16556         * stdlib/div.c (div): Likewise.
16557         * string/memcmp.c (memcmp_bytes): Likewise.
16558         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
16559         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
16561         * crypt/cert.c (main): Convert to prototype-style function
16562         definition.
16563         * io/pipe.c (__pipe): Likewise.
16564         * io/pipe2.c (__pipe2): Likewise.
16565         * misc/futimesat.c (futimesat): Likewise.
16566         * misc/utimes.c (__utimes): Likewise.
16567         * posix/execve.c (__execve): Likewise.
16568         * posix/execvp.c (execvp): Likewise.
16569         * posix/execvpe.c (__execvpe): Likewise.
16570         * posix/fexecve.c (fexecve): Likewise.
16571         * socket/socketpair.c (socketpair): Likewise.
16572         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16573         * stdlib/erand48.c (erand48): Likewise.
16574         * stdlib/erand48_r.c (__erand48_r): Likewise.
16575         * stdlib/jrand48.c (jrand48): Likewise.
16576         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
16577         * stdlib/lcong48.c (lcong48): Likewise.
16578         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
16579         * stdlib/nrand48.c (nrand48): Likewise.
16580         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
16581         * stdlib/seed48.c (seed48): Likewise.
16582         * stdlib/seed48_r.c (__seed48_r): Likewise.
16583         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
16584         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
16585         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
16587 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
16589         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
16590         * configure: Regenerated.
16591         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
16592         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
16593         unconditional.
16594         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16595         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16596         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16597         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
16598         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
16599         unconditional.
16600         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16602         * posix/Makefile (CFLAGS-regex.c): Remove variable.
16603         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
16605         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
16606         function definition.
16607         * crypt/crypt_util.c (__encrypt_r): Likewise.
16608         * libio/genops.c (_IO_no_init): Likewise.
16609         * libio/iofopncook.c (_IO_fopencookie): Likewise.
16610         (_IO_old_fopencookie): Likewise.
16611         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16612         * libio/iogetline.c (_IO_getline): Likewise.
16613         (_IO_getline_info): Likewise.
16614         * libio/iogetwline.c (_IO_getwline): Likewise.
16615         (_IO_getwline_info): Likewise.
16616         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
16617         * libio/vswprintf.c (_IO_vswprintf): Likewise.
16618         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
16619         (find_entry): Likewise.
16620         (iterate_table): Likewise.
16621         (lookup): Likewise.
16622         * login/forkpty.c (forkpty): Likewise.
16623         * misc/hsearch_r.c (__hsearch_r): Likewise.
16624         * misc/select.c (__select): Likewise.
16625         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
16626         Likewise.
16627         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
16628         Likewise.
16629         * nptl/old_pthread_cond_timedwait.c
16630         (__pthread_cond_timedwait_2_0): Likewise.
16631         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
16632         * nptl/pthread_barrierattr_getpshared.c
16633         (pthread_barrierattr_getpshared): Likewise.
16634         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
16635         Likewise.
16636         * nptl/pthread_mutex_setprioceiling.c
16637         (pthread_mutex_setprioceiling): Likewise.
16638         * nptl/pthread_mutexattr_getprioceiling.c
16639         (pthread_mutexattr_getprioceiling): Likewise.
16640         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
16641         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16642         Likewise.
16643         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16644         Likewise.
16645         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
16646         Likewise.
16647         * socket/recvfrom.c (__recvfrom): Likewise.
16648         * socket/sendto.c (__sendto): Likewise.
16649         * socket/setsockopt.c (__setsockopt): Likewise.
16650         * stdio-common/_itoa.c (_itoa): Likewise.
16651         * stdio-common/_itowa.c (_itowa): Likewise.
16652         * stdio-common/reg-printf.c (__register_printf_specifier):
16653         Likewise.
16654         (__register_printf_function): Likewise.
16655         * stdio-common/tempname.c (__path_search): Likewise.
16656         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
16657         * stdlib/mul_1.c (mpn_mul_1): Likewise.
16658         * stdlib/random_r.c (__initstate_r): Likewise.
16659         * stdlib/setenv.c (__add_to_environ): Likewise.
16660         * stdlib/submul_1.c (mpn_submul_1): Likewise.
16661         * streams/getpmsg.c (getpmsg): Likewise.
16662         * streams/putmsg.c (putmsg): Likewise.
16663         * streams/putpmsg.c (putpmsg): Likewise.
16664         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
16665         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
16666         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
16667         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
16668         * sunrpc/pm_getport.c (pmap_getport): Likewise.
16669         * sunrpc/svc_udp.c (cache_get): Likewise.
16670         * sunrpc/xdr_array.c (xdr_vector): Likewise.
16671         * sysdeps/mach/hurd/getcwd.c
16672         (__canonicalize_directory_name_internal): Likewise.
16673         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
16674         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
16675         * sysdeps/mach/hurd/select.c (__select): Likewise.
16676         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
16677         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
16678         * sysdeps/sparc/nptl/pthread_barrier_init.c
16679         (__pthread_barrier_init): Likewise.
16680         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
16681         (__pthread_cond_timedwait): Likewise.
16682         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
16683         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
16684         Likewise.
16685         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
16686         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
16687         Likewise.
16688         * sysvipc/semtimedop.c (semtimedop): Likewise.
16689         * time/setitimer.c (__setitimer): Likewise.
16690         * time/strftime_l.c (emacs_strftime): Likewise.
16692 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
16694         * config.make.in (have-ssp): Delete.
16695         (stack-protector): New variable.
16696         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
16697         cache test for -fstack-protector-strong.  Export stack_protector to
16698         the best ssp flag.
16699         * configure: Regenerated.
16700         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
16701         * nscd/Makefile (CFLAGS-nscd): Likewise.
16702         * resolv/Makefile (CFLAGS-libresolv): Likewise.
16704 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
16706         [BZ #19122]
16707         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
16708         attribute_hidden.
16710 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16712         [BZ #18743]
16713         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
16714         code to...
16715         (ELIDE_LOCK): ...here.
16716         (__get_new_count): New function with part of the code from
16717         __elide_lock that updates the value of adapt_count after a
16718         transaction abort.
16719         (__elided_trylock): Moved this code to...
16720         (ELIDE_TRYLOCK): ...here.
16722 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
16724         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
16725         * configure: Regenerate.
16726         * INSTALL: Regenerate.
16727         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
16728         and tweak grammar.
16730 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
16732         * login/programs/pt_chown.c: Include signal.h
16733         (main): Clear any signal mask from the parent process.
16735 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
16737         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
16738         * configure: Regenerated.
16739         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
16740         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
16741         $(gnu89-inline-CFLAGS).
16743         * configure.ac (libc_cv_asm_weak_directive): Remove configure
16744         test.
16745         (libc_cv_asm_weakext_directive): Likewise.
16746         * configure: Regenerated.
16747         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
16748         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
16749         * include/libc-symbols.h
16750         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
16751         #error.
16752         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
16753         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
16755         * sysdeps/arm/backtrace.c (__backtrace): Convert to
16756         prototype-style function definition.
16757         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
16758         * sysdeps/i386/ffs.c (__ffs): Likewise.
16759         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16760         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
16761         Likewise.
16762         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
16763         Likewise.
16764         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
16765         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16766         Likewise.
16767         * sysdeps/m68k/ffs.c (__ffs): Likewise.
16768         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
16769         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
16770         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
16771         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
16772         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
16773         * sysdeps/mach/hurd/access.c (__access): Likewise.
16774         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
16775         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
16776         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
16777         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
16778         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
16779         (cthread_getspecific): Likewise.
16780         (cthread_setspecific): Likewise.
16781         (__libc_getspecific): Likewise.
16782         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
16783         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
16784         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
16785         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
16786         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
16787         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
16788         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
16789         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
16790         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
16791         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
16792         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
16793         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
16794         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
16795         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
16796         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
16797         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
16798         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
16799         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
16800         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
16801         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
16802         * sysdeps/mach/hurd/link.c (__link): Likewise.
16803         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
16804         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
16805         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
16806         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
16807         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
16808         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
16809         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
16810         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
16811         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
16812         * sysdeps/mach/hurd/rename.c (rename): Likewise.
16813         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
16814         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
16815         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
16816         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
16817         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
16818         * sysdeps/mach/hurd/send.c (__send): Likewise.
16819         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
16820         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
16821         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
16822         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
16823         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
16824         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
16825         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
16826         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
16827         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
16828         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
16829         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
16830         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
16831         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
16832         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
16833         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
16834         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
16835         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
16836         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
16837         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
16838         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
16839         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
16840         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
16841         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
16842         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
16843         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
16844         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
16845         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
16846         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
16847         * sysdeps/posix/alarm.c (alarm): Likewise.
16848         * sysdeps/posix/cuserid.c (cuserid): Likewise.
16849         * sysdeps/posix/dirfd.c (dirfd): Likewise.
16850         * sysdeps/posix/dup.c (__dup): Likewise.
16851         * sysdeps/posix/dup2.c (__dup2): Likewise.
16852         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
16853         (main): Likewise.
16854         * sysdeps/posix/flock.c (__flock): Likewise.
16855         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
16856         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
16857         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
16858         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
16859         * sysdeps/posix/isatty.c (__isatty): Likewise.
16860         * sysdeps/posix/killpg.c (killpg): Likewise.
16861         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16862         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
16863         * sysdeps/posix/raise.c (raise): Likewise.
16864         * sysdeps/posix/remove.c (remove): Likewise.
16865         * sysdeps/posix/rename.c (rename): Likewise.
16866         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
16867         * sysdeps/posix/seekdir.c (seekdir): Likewise.
16868         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
16869         * sysdeps/posix/sigignore.c (sigignore): Likewise.
16870         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
16871         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
16872         * sysdeps/posix/sigset.c (sigset): Likewise.
16873         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
16874         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
16875         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
16876         * sysdeps/posix/time.c (time): Likewise.
16877         * sysdeps/posix/ttyname.c (getttyname): Likewise.
16878         (ttyname): Likewise.
16879         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
16880         * sysdeps/posix/utime.c (utime): Likewise.
16881         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
16882         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
16883         Likewise.
16884         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
16885         (pthread_spin_trylock): Likewise.
16886         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
16887         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
16888         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
16889         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
16890         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
16891         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
16892         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
16893         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
16894         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
16895         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
16896         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
16897         * sysdeps/s390/ffs.c (__ffs): Likewise.
16898         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
16899         Likewise.
16900         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
16901         Likewise.
16902         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
16903         Likewise.
16904         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
16905         (pthread_barrier_destroy): Likewise.
16906         * sysdeps/sparc/nptl/pthread_barrier_wait.c
16907         (__pthread_barrier_wait): Likewise.
16908         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
16909         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
16910         (__pthread_barrier_wait): Likewise.
16911         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
16912         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
16913         (memcmp_not_common_alignment): Likewise.
16914         (MEMCMP): Likewise.
16915         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
16916         (_wordcopy_fwd_dest_aligned): Likewise.
16917         (_wordcopy_bwd_aligned): Likewise.
16918         (_wordcopy_bwd_dest_aligned): Likewise.
16919         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
16920         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
16921         * sysdeps/unix/bsd/stty.c (stty): Likewise.
16922         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
16923         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
16924         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
16925         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
16926         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
16927         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
16928         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
16929         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
16930         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
16931         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
16932         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
16933         * sysdeps/unix/stime.c (stime): Likewise.
16934         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
16935         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
16936         Likewise.  Use internal_function.
16937         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
16938         Convert to prototype-style function definition.
16939         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16940         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16941         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
16942         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16943         Likewise.  Use internal_function.
16944         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
16945         prototype-style function definition
16946         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16947         Likewise.
16948         (__getlogin_r): Likewise.
16949         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
16950         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
16951         (__pthread_cond_broadcast): Likewise.
16952         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
16953         (__pthread_cond_destroy): Likewise.
16954         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
16955         (__pthread_cond_init): Likewise.
16956         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
16957         (__pthread_cond_signal): Likewise.
16958         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
16959         (__pthread_cond_wait): Likewise.
16960         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
16961         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
16962         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
16963         Likewise.
16964         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
16965         Likewise.
16966         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
16967         Likewise.
16968         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
16969         Likewise.
16970         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
16971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
16972         (__ftruncate64): Likewise.
16973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
16974         (truncate64): Likewise.
16975         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
16976         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
16977         (pthread_getcpuclockid): Likewise.
16978         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
16979         Likewise.
16980         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
16981         Likewise.
16982         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
16983         Likewise.
16984         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
16985         Likewise.
16986         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
16987         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
16988         (__libc_sigaction): Likewise.
16989         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
16990         Likewise.
16991         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
16992         (__sigprocmask): Likewise.
16993         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
16994         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
16995         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
16996         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
16997         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
16998         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
16999         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17000         Likewise.
17001         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
17002         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
17003         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17004         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
17005         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
17006         Likewise.
17007         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
17008         (__sigprocmask): Likewise.
17009         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
17010         (cfgetispeed): Likewise.
17011         (cfsetospeed): Likewise.
17012         (cfsetispeed): Likewise.
17013         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
17014         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
17015         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17016         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
17017         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
17018         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
17019         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
17020         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
17021         Likewise.
17022         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
17023         Likewise.
17024         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
17025         Likewise.
17026         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
17027         Likewise.
17028         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17030 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17032         sunrpc: Rewrite with explicit TLS access using __thread.
17033         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
17034         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
17035         directly.
17036         (__rpc_thread_variables): Access thread_rpc_vars directly.
17037         Eliminate redundant assignment of the tvp variable.
17039 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17041         malloc: Rewrite with explicit TLS access using __thread.
17042         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
17043         (tsd_setspecific, tsd_getspecific): Remove.
17044         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
17045         (tsd_setspecific, tsd_getspecific): Likewise.
17046         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
17047         (tsd_setspecific, tsd_getspecific): Likewise.
17048         * malloc/arena.c (thread_arena): New TLS variable.
17049         (arena_key): Remove variable.
17050         (arena_get): Use thread_arena.
17051         (arena_lookup): Remove macro.
17052         (malloc_atfork, free_atfork, ptmalloc_lock_all)
17053         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
17054         (_int_new_arena, get_free_list, reused_arena)
17055         (arena_thread_freeres): Use thread_arena.
17056         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
17057         tsd_getspecific, tsd_setspecific from safety annotations.
17058         (Allocating Cleared Space): Remove arena_lookup from safety
17059         annotations.
17061 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17063         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
17064         struct scratch_buffer instead of extend_alloca.
17066 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17068         * sysdeps/unix/sysv/linux/kernel-features.h
17069         (__ASSUME_SOCK_CLOEXEC): Remove.
17070         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
17071         (__have_paccept): Remove unused macro.
17072         * include/unistd.h (__have_sock_cloexec): Remove declaration.
17073         * misc/syslog.c (openlog_internal): Remove fallback code for
17074         !__ASSUME_SOCK_CLOEXEC.
17075         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
17076         missing SOCK_CLOEXEC.
17077         * nscd/connections.c (have_sock_cloexec): Remove definition.
17078         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17079         * nscd/nscd_helper.c (open_socket): Remove fallback code for
17080         !__ASSUME_SOCK_CLOEXEC.
17081         * resolv/res_send.c (__have_o_nonblock): Remove definition.
17082         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17083         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
17084         definition.
17085         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
17086         code for !__ASSUME_SOCK_CLOEXEC.
17088 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17090         [BZ #18982]
17091         * manual/stdio.texi (Variable Arguments Output): Add portability
17092         note, explaining that vfprintf clobbers the va_list pointer.
17094 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
17096         * math/libm-test.inc (fabs_test_data): Add more tests.
17097         (fdim_test_data): Likewise.
17098         (fma_test_data): Likewise.
17099         (fmax_test_data): Likewise.
17100         (fmin_test_data): Likewise.
17101         (fmod_test_data): Likewise.
17103 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
17105         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
17106         data.
17108 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
17110         * math/libm-test.inc (ceil_test_data): Add more tests and more
17111         expectations for "inexact".
17112         (floor_test_data): Add more tests.
17113         (round_test_data): Likewise.
17114         (trunc_test_data): Likewise.
17116         * crypt/cert.c (good_bye): Convert to prototype-style function
17117         definition.
17118         (get8): Likewise.
17119         (put8): Likewise.
17120         * crypt/crypt-entry.c (crypt): Likewise.
17121         (__fcrypt): Likewise.
17122         * crypt/crypt_util.c (_ufc_prbits): Likewise.
17123         (_ufc_set_bits): Likewise.
17124         (_ufc_clearmem): Likewise.
17125         (__init_des_r): Likewise.
17126         (shuffle_sb): Likewise.
17127         (shuffle_sb): Likewise.
17128         (_ufc_setup_salt_r): Likewise.
17129         (_ufc_mk_keytab_r): Likewise.
17130         (_ufc_dofinalperm_r): Likewise.
17131         (encrypt): Likewise.
17132         (__setkey_r): Likewise.
17133         (setkey): Likewise.
17134         * crypt/md5.c (md5_init_ctx): Likewise.
17135         (md5_read_ctx): Likewise.
17136         (md5_finish_ctx): Likewise.
17137         (md5_stream): Likewise.
17138         (md5_buffer): Likewise.
17139         (md5_process_bytes): Likewise.
17140         * crypt/sha256.c (__sha256_init_ctx): Likewise.
17141         (__sha256_finish_ctx): Likewise.
17142         (__sha256_process_bytes): Likewise.
17143         * crypt/sha512.c (__sha512_init_ctx): Likewise.
17144         (__sha512_finish_ctx): Likewise.
17145         (__sha512_process_bytes): Likewise.
17146         * ctype/isctype.c (__isctype): Likewise.
17147         * debug/backtrace.c (__backtrace): Likewise.
17148         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
17149         * debug/fgets_chk.c (__fgets_chk): Likewise.
17150         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
17151         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
17152         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17153         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17154         * debug/memset_chk.c (__memset_chk): Likewise.
17155         * debug/strcat_chk.c (__strcat_chk): Likewise.
17156         * debug/strncat_chk.c (__strncat_chk): Likewise.
17157         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
17158         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
17159         * dirent/dirfd.c (dirfd): Likewise.
17160         * dirent/getdents.c (__getdirentries): Likewise.
17161         * dirent/getdents64.c (getdirentries64): Likewise.
17162         * dirent/rewinddir.c (__rewinddir): Likewise.
17163         * dirent/seekdir.c (seekdir): Likewise.
17164         * dirent/telldir.c (telldir): Likewise.
17165         * elf/sln.c (makesymlinks): Likewise.
17166         (makesymlink): Likewise.
17167         * gmon/gmon.c (__moncontrol): Likewise.
17168         (__monstartup): Likewise.
17169         (write_hist): Likewise.
17170         (write_call_graph): Likewise.
17171         (write_bb_counts): Likewise.
17172         * grp/setgroups.c (setgroups): Likewise.
17173         * inet/inet_lnaof.c (inet_lnaof): Likewise.
17174         * inet/inet_net.c (inet_network): Likewise.
17175         * inet/inet_netof.c (inet_netof): Likewise.
17176         * inet/rcmd.c (rresvport_af): Likewise.
17177         (rresvport): Likewise.
17178         * io/access.c (__access): Likewise.
17179         * io/chdir.c (__chdir): Likewise.
17180         * io/chmod.c (__chmod): Likewise.
17181         * io/chown.c (__chown): Likewise.
17182         * io/close.c (__close): Likewise.
17183         * io/creat.c (creat): Likewise.
17184         * io/creat64.c (creat64): Likewise.
17185         * io/dup.c (__dup): Likewise.
17186         * io/dup2.c (__dup2): Likewise.
17187         * io/dup3.c (__dup3): Likewise.
17188         * io/euidaccess.c (__euidaccess): Likewise.
17189         * io/faccessat.c (faccessat): Likewise.
17190         * io/fchmod.c (__fchmod): Likewise.
17191         * io/fchmodat.c (fchmodat): Likewise.
17192         * io/fchown.c (__fchown): Likewise.
17193         * io/fchownat.c (fchownat): Likewise.
17194         * io/fcntl.c (__fcntl): Likewise.
17195         * io/flock.c (__flock): Likewise.
17196         * io/fts.c (fts_load): Likewise.
17197         (fts_close): Likewise.
17198         (fts_read): Likewise.
17199         (fts_set): Likewise.
17200         (fts_children): Likewise.
17201         (fts_build): Likewise.
17202         (fts_stat): Likewise.
17203         (fts_sort): Likewise.
17204         (fts_alloc): Likewise.
17205         (fts_lfree): Likewise.
17206         (fts_palloc): Likewise.
17207         (fts_padjust): Likewise.
17208         (fts_maxarglen): Likewise.
17209         (fts_safe_changedir): Likewise.
17210         * io/getwd.c (getwd): Likewise.
17211         * io/isatty.c (__isatty): Likewise.
17212         * io/lchown.c (__lchown): Likewise.
17213         * io/link.c (__link): Likewise.
17214         * io/linkat.c (linkat): Likewise.
17215         * io/lseek.c (__libc_lseek): Likewise.
17216         * io/mkdir.c (__mkdir): Likewise.
17217         * io/mkdirat.c (mkdirat): Likewise.
17218         * io/mkfifo.c (mkfifo): Likewise.
17219         * io/mkfifoat.c (mkfifoat): Likewise.
17220         * io/open.c (__libc_open): Likewise.
17221         * io/open64.c (__libc_open64): Likewise.
17222         * io/readlink.c (__readlink): Likewise.
17223         * io/readlinkat.c (readlinkat): Likewise.
17224         * io/rmdir.c (__rmdir): Likewise.
17225         * io/symlink.c (__symlink): Likewise.
17226         * io/symlinkat.c (symlinkat): Likewise.
17227         * io/ttyname.c (ttyname): Likewise.
17228         * io/ttyname_r.c (__ttyname_r): Likewise.
17229         * io/umask.c (__umask): Likewise.
17230         * io/unlink.c (__unlink): Likewise.
17231         * io/unlinkat.c (unlinkat): Likewise.
17232         * io/utime.c (utime): Likewise.
17233         * libio/clearerr.c (clearerr): Likewise.
17234         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
17235         * libio/feof.c (_IO_feof): Likewise.
17236         * libio/feof_u.c (feof_unlocked): Likewise.
17237         * libio/ferror.c (_IO_ferror): Likewise.
17238         * libio/ferror_u.c (ferror_unlocked): Likewise.
17239         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17240         * libio/fileno.c (__fileno): Likewise.
17241         * libio/fputc.c (fputc): Likewise.
17242         * libio/fputc_u.c (fputc_unlocked): Likewise.
17243         * libio/fputwc.c (fputwc): Likewise.
17244         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
17245         * libio/freopen.c (freopen): Likewise.
17246         * libio/freopen64.c (freopen64): Likewise.
17247         * libio/fseek.c (fseek): Likewise.
17248         * libio/fseeko.c (fseeko): Likewise.
17249         * libio/fseeko64.c (fseeko64): Likewise.
17250         * libio/ftello.c (__ftello): Likewise.
17251         * libio/ftello64.c (ftello64): Likewise.
17252         * libio/fwide.c (fwide): Likewise.
17253         * libio/genops.c (_IO_un_link): Likewise.
17254         (_IO_link_in): Likewise.
17255         (_IO_least_marker): Likewise.
17256         (_IO_switch_to_main_get_area): Likewise.
17257         (_IO_switch_to_backup_area): Likewise.
17258         (_IO_switch_to_get_mode): Likewise.
17259         (_IO_free_backup_area): Likewise.
17260         (_IO_switch_to_put_mode): Likewise.
17261         (__overflow): Likewise.
17262         (__underflow): Likewise.
17263         (__uflow): Likewise.
17264         (_IO_setb): Likewise.
17265         (_IO_doallocbuf): Likewise.
17266         (_IO_default_underflow): Likewise.
17267         (_IO_default_uflow): Likewise.
17268         (_IO_default_xsputn): Likewise.
17269         (_IO_sgetn): Likewise.
17270         (_IO_default_xsgetn): Likewise.
17271         (_IO_sync): Likewise.
17272         (_IO_default_setbuf): Likewise.
17273         (_IO_default_seekpos): Likewise.
17274         (_IO_default_doallocate): Likewise.
17275         (_IO_init): Likewise.
17276         (_IO_old_init): Likewise.
17277         (_IO_default_sync): Likewise.
17278         (_IO_default_finish): Likewise.
17279         (_IO_default_seekoff): Likewise.
17280         (_IO_sputbackc): Likewise.
17281         (_IO_sungetc): Likewise.
17282         (_IO_set_column): Likewise.
17283         (_IO_set_column): Likewise.
17284         (_IO_adjust_column): Likewise.
17285         (_IO_get_column): Likewise.
17286         (_IO_init_marker): Likewise.
17287         (_IO_remove_marker): Likewise.
17288         (_IO_marker_difference): Likewise.
17289         (_IO_marker_delta): Likewise.
17290         (_IO_seekmark): Likewise.
17291         (_IO_unsave_markers): Likewise.
17292         (_IO_nobackup_pbackfail): Likewise.
17293         (_IO_default_pbackfail): Likewise.
17294         (_IO_default_seek): Likewise.
17295         (_IO_default_stat): Likewise.
17296         (_IO_default_read): Likewise.
17297         (_IO_default_write): Likewise.
17298         (_IO_default_showmanyc): Likewise.
17299         (_IO_default_imbue): Likewise.
17300         (_IO_iter_next): Likewise.
17301         (_IO_iter_file): Likewise.
17302         * libio/getc.c (_IO_getc): Likewise.
17303         * libio/getwc.c (_IO_getwc): Likewise.
17304         * libio/iofclose.c (_IO_new_fclose): Likewise.
17305         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17306         * libio/iofflush.c (_IO_fflush): Likewise.
17307         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
17308         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
17309         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
17310         * libio/iofgets.c (_IO_fgets): Likewise.
17311         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
17312         * libio/iofgetws.c (fgetws): Likewise.
17313         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17314         * libio/iofopen64.c (_IO_fopen64): Likewise.
17315         * libio/iofopncook.c (_IO_cookie_read): Likewise.
17316         (_IO_cookie_write): Likewise.
17317         (_IO_cookie_seek): Likewise.
17318         (_IO_cookie_close): Likewise.
17319         (_IO_cookie_seekoff): Likewise.
17320         (_IO_old_cookie_seek): Likewise.
17321         * libio/iofputs.c (_IO_fputs): Likewise.
17322         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
17323         * libio/iofputws.c (fputws): Likewise.
17324         * libio/iofputws_u.c (fputws_unlocked): Likewise.
17325         * libio/iofread.c (_IO_fread): Likewise.
17326         * libio/iofread_u.c (__fread_unlocked): Likewise.
17327         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
17328         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
17329         * libio/ioftell.c (_IO_ftell): Likewise.
17330         * libio/iofwrite.c (_IO_fwrite): Likewise.
17331         * libio/iogetdelim.c (_IO_getdelim): Likewise.
17332         * libio/iogets.c (_IO_gets): Likewise.
17333         * libio/iopadn.c (_IO_padn): Likewise.
17334         * libio/iopopen.c (_IO_new_proc_open): Likewise.
17335         (_IO_new_popen): Likewise.
17336         (_IO_new_proc_close): Likewise.
17337         * libio/ioputs.c (_IO_puts): Likewise.
17338         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
17339         (_IO_seekoff): Likewise.
17340         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
17341         (_IO_seekpos): Likewise.
17342         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
17343         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
17344         * libio/ioungetc.c (_IO_ungetc): Likewise.
17345         * libio/ioungetwc.c (ungetwc): Likewise.
17346         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17347         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
17348         * libio/iowpadn.c (_IO_wpadn): Likewise.
17349         * libio/libc_fatal.c (__libc_fatal): Likewise.
17350         * libio/memstream.c (__open_memstream): Likewise.
17351         (_IO_mem_sync): Likewise.
17352         (_IO_mem_finish): Likewise.
17353         * libio/oldfileops.c (_IO_old_file_init): Likewise.
17354         (_IO_old_file_close_it): Likewise.
17355         (_IO_old_file_finish): Likewise.
17356         (_IO_old_file_fopen): Likewise.
17357         (_IO_old_file_attach): Likewise.
17358         (_IO_old_file_setbuf): Likewise.
17359         (_IO_old_do_write): Likewise.
17360         (old_do_write): Likewise.
17361         (_IO_old_file_underflow): Likewise.
17362         (_IO_old_file_overflow): Likewise.
17363         (_IO_old_file_sync): Likewise.
17364         (_IO_old_file_seekoff): Likewise.
17365         (_IO_old_file_write): Likewise.
17366         (_IO_old_file_xsputn): Likewise.
17367         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
17368         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17369         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
17370         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
17371         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17372         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
17373         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
17374         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
17375         (_IO_old_popen): Likewise.
17376         (_IO_old_proc_close): Likewise.
17377         * libio/oldpclose.c (__old_pclose): Likewise.
17378         * libio/pclose.c (__new_pclose): Likewise.
17379         * libio/peekc.c (_IO_peekc_locked): Likewise.
17380         * libio/putc.c (_IO_putc): Likewise.
17381         * libio/putc_u.c (putc_unlocked): Likewise.
17382         * libio/putchar.c (putchar): Likewise.
17383         * libio/putchar_u.c (putchar_unlocked): Likewise.
17384         * libio/putwc.c (putwc): Likewise.
17385         * libio/putwc_u.c (putwc_unlocked): Likewise.
17386         * libio/putwchar.c (putwchar): Likewise.
17387         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
17388         * libio/rewind.c (rewind): Likewise.
17389         * libio/setbuf.c (setbuf): Likewise.
17390         * libio/setlinebuf.c (setlinebuf): Likewise.
17391         * libio/vasprintf.c (_IO_vasprintf): Likewise.
17392         * libio/vscanf.c (_IO_vscanf): Likewise.
17393         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
17394         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
17395         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
17396         * libio/wgenops.c (_IO_least_wmarker): Likewise.
17397         (_IO_switch_to_main_wget_area): Likewise.
17398         (_IO_switch_to_wbackup_area): Likewise.
17399         (_IO_wsetb): Likewise.
17400         (_IO_wdefault_pbackfail): Likewise.
17401         (_IO_wdefault_finish): Likewise.
17402         (_IO_wdefault_uflow): Likewise.
17403         (__woverflow): Likewise.
17404         (__wuflow): Likewise.
17405         (__wunderflow): Likewise.
17406         (_IO_wdefault_xsputn): Likewise.
17407         (_IO_wdefault_xsgetn): Likewise.
17408         (_IO_wdoallocbuf): Likewise.
17409         (_IO_wdefault_doallocate): Likewise.
17410         (_IO_switch_to_wget_mode): Likewise.
17411         (_IO_free_wbackup_area): Likewise.
17412         (_IO_switch_to_wput_mode): Likewise.
17413         (_IO_sputbackwc): Likewise.
17414         (_IO_sungetwc): Likewise.
17415         (_IO_adjust_wcolumn): Likewise.
17416         (_IO_init_wmarker): Likewise.
17417         (_IO_wmarker_delta): Likewise.
17418         (_IO_seekwmark): Likewise.
17419         (_IO_unsave_wmarkers): Likewise.
17420         * libio/wmemstream.c (open_wmemstream): Likewise.
17421         (_IO_wmem_sync): Likewise.
17422         (_IO_wmem_finish): Likewise.
17423         * locale/nl_langinfo.c (nl_langinfo): Likewise.
17424         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
17425         * locale/programs/simple-hash.c (init_hash): Likewise.
17426         (delete_hash): Likewise.
17427         (insert_entry): Likewise.
17428         (set_entry): Likewise.
17429         (next_prime): Likewise.
17430         (is_prime): Likewise.
17431         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
17432         (xmalloc): Likewise.
17433         (xrealloc): Likewise.
17434         * locale/programs/xstrdup.c (xstrdup): Likewise.
17435         * localedata/collate-test.c (xstrcoll): Likewise.
17436         * localedata/xfrm-test.c (xstrcmp): Likewise.
17437         * login/getlogin_r.c (__getlogin_r): Likewise.
17438         * login/getpt.c (__posix_openpt): Likewise.
17439         * login/login_tty.c (login_tty): Likewise.
17440         * login/setlogin.c (setlogin): Likewise.
17441         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
17442         (mach_msg_destroy_port): Likewise.
17443         (mach_msg_destroy_memory): Likewise.
17444         * malloc/mcheck.c (flood): Likewise.
17445         * misc/acct.c (acct): Likewise.
17446         * misc/brk.c (__brk): Likewise.
17447         * misc/chflags.c (chflags): Likewise.
17448         * misc/chroot.c (chroot): Likewise.
17449         * misc/fchflags.c (fchflags): Likewise.
17450         * misc/fstab.c (getfsspec): Likewise.
17451         (getfsfile): Likewise.
17452         * misc/fsync.c (fsync): Likewise.
17453         * misc/ftruncate.c (__ftruncate): Likewise.
17454         * misc/ftruncate64.c (__ftruncate64): Likewise.
17455         * misc/getdomain.c (getdomainname): Likewise.
17456         (getdomainname): Likewise.
17457         * misc/gethostname.c (__gethostname): Likewise.
17458         * misc/getpass.c (getpass): Likewise.
17459         * misc/getttyent.c (skip): Likewise.
17460         (value): Likewise.
17461         * misc/gtty.c (gtty): Likewise.
17462         * misc/hsearch.c (hsearch): Likewise.
17463         (hcreate): Likewise.
17464         * misc/hsearch_r.c (__hcreate_r): Likewise.
17465         (__hdestroy_r): Likewise.
17466         * misc/ioctl.c (__ioctl): Likewise.
17467         * misc/mkdtemp.c (mkdtemp): Likewise.
17468         * misc/mkostemp.c (mkostemp): Likewise.
17469         * misc/mkostemp64.c (mkostemp64): Likewise.
17470         * misc/mkostemps.c (mkostemps): Likewise.
17471         * misc/mkostemps64.c (mkostemps64): Likewise.
17472         * misc/mkstemp.c (mkstemp): Likewise.
17473         * misc/mkstemp64.c (mkstemp64): Likewise.
17474         * misc/mkstemps.c (mkstemps): Likewise.
17475         * misc/mkstemps64.c (mkstemps64): Likewise.
17476         * misc/mktemp.c (__mktemp): Likewise.
17477         * misc/preadv.c (preadv): Likewise.
17478         * misc/preadv64.c (preadv64): Likewise.
17479         * misc/pwritev.c (pwritev): Likewise.
17480         * misc/pwritev64.c (pwritev64): Likewise.
17481         * misc/readv.c (__readv): Likewise.
17482         * misc/revoke.c (revoke): Likewise.
17483         * misc/setdomain.c (setdomainname): Likewise.
17484         * misc/setegid.c (setegid): Likewise.
17485         * misc/seteuid.c (seteuid): Likewise.
17486         * misc/sethostid.c (sethostid): Likewise.
17487         * misc/sethostname.c (sethostname): Likewise.
17488         * misc/setregid.c (__setregid): Likewise.
17489         * misc/setreuid.c (__setreuid): Likewise.
17490         * misc/sstk.c (sstk): Likewise.
17491         * misc/stty.c (stty): Likewise.
17492         * misc/syscall.c (syscall): Likewise.
17493         * misc/syslog.c (setlogmask): Likewise.
17494         * misc/truncate.c (__truncate): Likewise.
17495         * misc/truncate64.c (truncate64): Likewise.
17496         * misc/ualarm.c (ualarm): Likewise.
17497         * misc/usleep.c (usleep): Likewise.
17498         * misc/ustat.c (ustat): Likewise.
17499         * misc/writev.c (__writev): Likewise.
17500         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
17501         * nptl/old_pthread_cond_broadcast.c
17502         (__pthread_cond_broadcast_2_0): Likewise.
17503         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
17504         Likewise.
17505         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
17506         Likewise.
17507         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
17508         Likewise.
17509         * nptl/pt-raise.c (raise): Likewise.
17510         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
17511         Likewise.
17512         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
17513         * nptl/pthread_barrierattr_destroy.c
17514         (pthread_barrierattr_destroy): Likewise.
17515         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
17516         Likewise.
17517         * nptl/pthread_barrierattr_setpshared.c
17518         (pthread_barrierattr_setpshared): Likewise.
17519         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
17520         Likewise.
17521         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
17522         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
17523         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
17524         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
17525         Likewise.
17526         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
17527         Likewise.
17528         * nptl/pthread_condattr_getpshared.c
17529         (pthread_condattr_getpshared): Likewise.
17530         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
17531         Likewise.
17532         * nptl/pthread_condattr_setpshared.c
17533         (pthread_condattr_setpshared): Likewise.
17534         * nptl/pthread_detach.c (pthread_detach): Likewise.
17535         * nptl/pthread_equal.c (__pthread_equal): Likewise.
17536         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
17537         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
17538         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
17539         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
17540         Likewise.
17541         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
17542         Likewise.
17543         * nptl/pthread_mutex_getprioceiling.c
17544         (pthread_mutex_getprioceiling): Likewise.
17545         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
17546         Likewise.
17547         * nptl/pthread_mutexattr_getprotocol.c
17548         (pthread_mutexattr_getprotocol): Likewise.
17549         * nptl/pthread_mutexattr_getpshared.c
17550         (pthread_mutexattr_getpshared): Likewise.
17551         * nptl/pthread_mutexattr_getrobust.c
17552         (pthread_mutexattr_getrobust): Likewise.
17553         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
17554         Likewise.
17555         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
17556         Likewise.
17557         * nptl/pthread_mutexattr_setprioceiling.c
17558         (pthread_mutexattr_setprioceiling): Likewise.
17559         * nptl/pthread_mutexattr_setprotocol.c
17560         (pthread_mutexattr_setprotocol): Likewise.
17561         * nptl/pthread_mutexattr_setpshared.c
17562         (pthread_mutexattr_setpshared): Likewise.
17563         * nptl/pthread_mutexattr_setrobust.c
17564         (pthread_mutexattr_setrobust): Likewise.
17565         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
17566         Likewise.
17567         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
17568         Likewise.
17569         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
17570         Likewise.
17571         * nptl/pthread_rwlockattr_getkind_np.c
17572         (pthread_rwlockattr_getkind_np): Likewise.
17573         * nptl/pthread_rwlockattr_getpshared.c
17574         (pthread_rwlockattr_getpshared): Likewise.
17575         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
17576         Likewise.
17577         * nptl/pthread_rwlockattr_setkind_np.c
17578         (pthread_rwlockattr_setkind_np): Likewise.
17579         * nptl/pthread_rwlockattr_setpshared.c
17580         (pthread_rwlockattr_setpshared): Likewise.
17581         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
17582         Likewise.
17583         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
17584         Likewise.
17585         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
17586         Likewise.
17587         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
17588         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
17589         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
17590         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
17591         * nptl/sem_close.c (sem_close): Likewise.
17592         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
17593         * nptl/sem_init.c (__old_sem_init): Likewise.
17594         * nptl/sigaction.c (__sigaction): Likewise.
17595         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
17596         * posix/_exit.c (_exit): Likewise.
17597         * posix/alarm.c (alarm): Likewise.
17598         * posix/confstr.c (confstr): Likewise.
17599         * posix/fpathconf.c (__fpathconf): Likewise.
17600         * posix/getgroups.c (__getgroups): Likewise.
17601         * posix/getpgid.c (__getpgid): Likewise.
17602         * posix/group_member.c (__group_member): Likewise.
17603         * posix/pathconf.c (__pathconf): Likewise.
17604         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
17605         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
17606         * posix/setgid.c (__setgid): Likewise.
17607         * posix/setpgid.c (__setpgid): Likewise.
17608         * posix/setuid.c (__setuid): Likewise.
17609         * posix/sleep.c (__sleep): Likewise.
17610         * posix/sysconf.c (__sysconf): Likewise.
17611         * posix/times.c (__times): Likewise.
17612         * posix/uname.c (__uname): Likewise.
17613         * posix/waitid.c (__waitid): Likewise.
17614         * pwd/getpw.c (__getpw): Likewise.
17615         * resolv/base64.c (b64_pton): Likewise.
17616         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
17617         * resolv/gethnamaddr.c (Dprintf): Likewise.
17618         (gethostbyname): Likewise.
17619         (gethostbyname2): Likewise.
17620         (gethostbyaddr): Likewise.
17621         (_sethtent): Likewise.
17622         (_gethtbyname): Likewise.
17623         (_gethtbyname2): Likewise.
17624         (_gethtbyaddr): Likewise.
17625         (map_v4v6_address): Likewise.
17626         (map_v4v6_hostent): Likewise.
17627         (addrsort): Likewise.
17628         (ht_sethostent): Likewise.
17629         (ht_gethostbyname): Likewise.
17630         (ht_gethostbyaddr): Likewise.
17631         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
17632         (inet_net_ntop_ipv4): Likewise.
17633         * resolv/inet_neta.c (inet_neta): Likewise.
17634         * resolv/inet_ntop.c (inet_ntop): Likewise.
17635         (inet_ntop4): Likewise.
17636         (inet_ntop6): Likewise.
17637         * resolv/inet_pton.c (__inet_pton): Likewise.
17638         (inet_pton4): Likewise.
17639         (inet_pton6): Likewise.
17640         * resolv/res_debug.c (loc_aton): Likewise.
17641         (loc_ntoa): Likewise.
17642         * resource/getpriority.c (__getpriority): Likewise.
17643         * resource/getrusage.c (__getrusage): Likewise.
17644         * resource/nice.c (nice): Likewise.
17645         * resource/setpriority.c (__setpriority): Likewise.
17646         * resource/setrlimit64.c (setrlimit64): Likewise.
17647         * resource/vlimit.c (vlimit): Likewise.
17648         * resource/vtimes.c (vtimes): Likewise.
17649         * rt/aio_error.c (aio_error): Likewise.
17650         * rt/aio_return.c (aio_return): Likewise.
17651         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
17652         * signal/kill.c (__kill): Likewise.
17653         * signal/killpg.c (killpg): Likewise.
17654         * signal/raise.c (raise): Likewise.
17655         * signal/sigaction.c (__sigaction): Likewise.
17656         * signal/sigaddset.c (sigaddset): Likewise.
17657         * signal/sigaltstack.c (sigaltstack): Likewise.
17658         * signal/sigandset.c (sigandset): Likewise.
17659         * signal/sigblock.c (__sigblock): Likewise.
17660         * signal/sigdelset.c (sigdelset): Likewise.
17661         * signal/sigempty.c (sigemptyset): Likewise.
17662         * signal/sigfillset.c (sigfillset): Likewise.
17663         * signal/sighold.c (sighold): Likewise.
17664         * signal/sigignore.c (sigignore): Likewise.
17665         * signal/sigintr.c (siginterrupt): Likewise.
17666         * signal/sigisempty.c (sigisemptyset): Likewise.
17667         * signal/sigismem.c (sigismember): Likewise.
17668         * signal/signal.c (signal): Likewise.
17669         * signal/sigorset.c (sigorset): Likewise.
17670         * signal/sigpause.c (__sigpause): Likewise.
17671         * signal/sigpending.c (sigpending): Likewise.
17672         * signal/sigprocmask.c (__sigprocmask): Likewise.
17673         * signal/sigrelse.c (sigrelse): Likewise.
17674         * signal/sigreturn.c (__sigreturn): Likewise.
17675         * signal/sigset.c (sigset): Likewise.
17676         * signal/sigsetmask.c (__sigsetmask): Likewise.
17677         * signal/sigstack.c (sigstack): Likewise.
17678         * signal/sigsuspend.c (__sigsuspend): Likewise.
17679         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
17680         * signal/sysv_signal.c (__sysv_signal): Likewise.
17681         * socket/accept.c (accept): Likewise.
17682         * socket/accept4.c (__libc_accept4): Likewise.
17683         * socket/bind.c (__bind): Likewise.
17684         * socket/connect.c (__connect): Likewise.
17685         * socket/getpeername.c (getpeername): Likewise.
17686         * socket/getsockname.c (__getsockname): Likewise.
17687         * socket/getsockopt.c (getsockopt): Likewise.
17688         * socket/listen.c (__listen): Likewise.
17689         * socket/recv.c (__recv): Likewise.
17690         * socket/recvmsg.c (__recvmsg): Likewise.
17691         * socket/send.c (__send): Likewise.
17692         * socket/sendmsg.c (__sendmsg): Likewise.
17693         * socket/shutdown.c (shutdown): Likewise.
17694         * socket/sockatmark.c (sockatmark): Likewise.
17695         * socket/socket.c (__socket): Likewise.
17696         * stdio-common/ctermid.c (ctermid): Likewise.
17697         * stdio-common/cuserid.c (cuserid): Likewise.
17698         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
17699         * stdio-common/remove.c (remove): Likewise.
17700         * stdio-common/rename.c (rename): Likewise.
17701         * stdio-common/renameat.c (renameat): Likewise.
17702         * stdio-common/tempname.c (__gen_tempname): Likewise.
17703         * stdio-common/xbug.c (InitBuffer): Likewise.
17704         (AppendToBuffer): Likewise.
17705         (ReadFile): Likewise.
17706         * stdlib/a64l.c (a64l): Likewise.
17707         * stdlib/drand48_r.c (drand48_r): Likewise.
17708         * stdlib/getcontext.c (getcontext): Likewise.
17709         * stdlib/getenv.c (getenv): Likewise.
17710         * stdlib/l64a.c (l64a): Likewise.
17711         * stdlib/llabs.c (llabs): Likewise.
17712         * stdlib/lldiv.c (lldiv): Likewise.
17713         * stdlib/lrand48_r.c (lrand48_r): Likewise.
17714         * stdlib/mrand48_r.c (mrand48_r): Likewise.
17715         * stdlib/putenv.c (putenv): Likewise.
17716         * stdlib/random.c (__srandom): Likewise.
17717         (__initstate): Likewise.
17718         (__setstate): Likewise.
17719         * stdlib/random_r.c (__srandom_r): Likewise.
17720         (__setstate_r): Likewise.
17721         (__random_r): Likewise.
17722         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
17723         * stdlib/setcontext.c (setcontext): Likewise.
17724         * stdlib/setenv.c (setenv): Likewise.
17725         (unsetenv): Likewise.
17726         * stdlib/srand48.c (srand48): Likewise.
17727         * stdlib/srand48_r.c (__srand48_r): Likewise.
17728         * stdlib/swapcontext.c (swapcontext): Likewise.
17729         * stdlib/system.c (__libc_system): Likewise.
17730         * stdlib/tst-strtod.c (expand): Likewise.
17731         * stdlib/tst-strtol.c (expand): Likewise.
17732         * stdlib/tst-strtoll.c (expand): Likewise.
17733         * streams/fattach.c (fattach): Likewise.
17734         * streams/fdetach.c (fdetach): Likewise.
17735         * streams/getmsg.c (getmsg): Likewise.
17736         * streams/isastream.c (isastream): Likewise.
17737         * string/ffs.c (__ffs): Likewise.
17738         * string/ffsll.c (ffsll): Likewise.
17739         * string/memcmp.c (memcmp_common_alignment): Likewise.
17740         (memcmp_not_common_alignment): Likewise.
17741         (MEMCMP): Likewise.
17742         * string/memcpy.c (memcpy): Likewise.
17743         * string/memmove.c (MEMMOVE): Likewise.
17744         * string/memset.c (memset): Likewise.
17745         * string/rawmemchr.c (RAWMEMCHR): Likewise.
17746         * string/strchrnul.c (STRCHRNUL): Likewise.
17747         * string/strerror.c (strerror): Likewise.
17748         * string/strndup.c (__strndup): Likewise.
17749         * string/strverscmp.c (__strverscmp): Likewise.
17750         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
17751         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
17752         (clnttcp_freeres): Likewise.
17753         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
17754         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
17755         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
17756         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
17757         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
17758         (xdr_callhdr): Likewise.
17759         * sunrpc/rpcinfo.c (udpping): Likewise.
17760         (tcpping): Likewise.
17761         (pstatus): Likewise.
17762         (pmapdump): Likewise.
17763         (brdcst): Likewise.
17764         (deletereg): Likewise.
17765         (getprognum): Likewise.
17766         (getvers): Likewise.
17767         (get_inet_address): Likewise.
17768         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
17769         * sunrpc/svc_udp.c (svcudp_create): Likewise.
17770         (svcudp_stat): Likewise.
17771         (svcudp_recv): Likewise.
17772         (svcudp_reply): Likewise.
17773         (svcudp_getargs): Likewise.
17774         (svcudp_freeargs): Likewise.
17775         (svcudp_destroy): Likewise.
17776         * sunrpc/xdr.c (xdr_bytes): Likewise.
17777         (xdr_netobj): Likewise.
17778         (xdr_string): Likewise.
17779         (xdr_wrapstring): Likewise.
17780         * sunrpc/xdr_float.c (xdr_float): Likewise.
17781         (xdr_double): Likewise.
17782         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
17783         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
17784         * sysvipc/ftok.c (ftok): Likewise.
17785         * sysvipc/msgctl.c (msgctl): Likewise.
17786         * sysvipc/msgget.c (msgget): Likewise.
17787         * sysvipc/msgrcv.c (msgrcv): Likewise.
17788         * sysvipc/msgsnd.c (msgsnd): Likewise.
17789         * sysvipc/semget.c (semget): Likewise.
17790         * sysvipc/semop.c (semop): Likewise.
17791         * sysvipc/shmat.c (shmat): Likewise.
17792         * sysvipc/shmctl.c (shmctl): Likewise.
17793         * sysvipc/shmdt.c (shmdt): Likewise.
17794         * sysvipc/shmget.c (shmget): Likewise.
17795         * termios/cfmakeraw.c (cfmakeraw): Likewise.
17796         * termios/speed.c (cfgetospeed): Likewise.
17797         (cfgetispeed): Likewise.
17798         (cfsetospeed): Likewise.
17799         (cfsetispeed): Likewise.
17800         * termios/tcflow.c (tcflow): Likewise.
17801         * termios/tcflush.c (tcflush): Likewise.
17802         * termios/tcgetattr.c (__tcgetattr): Likewise.
17803         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
17804         * termios/tcgetsid.c (tcgetsid): Likewise.
17805         * termios/tcsendbrk.c (tcsendbreak): Likewise.
17806         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
17807         * time/adjtime.c (__adjtime): Likewise.
17808         * time/dysize.c (dysize): Likewise.
17809         * time/ftime.c (ftime): Likewise.
17810         * time/getitimer.c (__getitimer): Likewise.
17811         * time/gettimeofday.c (__gettimeofday): Likewise.
17812         * time/gmtime.c (__gmtime_r): Likewise.
17813         (gmtime): Likewise.
17814         * time/localtime.c (__localtime_r): Likewise.
17815         (localtime): Likewise.
17816         * time/offtime.c (__offtime): Likewise.
17817         * time/settimeofday.c (__settimeofday): Likewise.
17818         * time/stime.c (stime): Likewise.
17819         * time/strftime_l.c (tm_diff): Likewise.
17820         (iso_week_days): Likewise.
17821         * time/strptime.c (strptime): Likewise.
17822         * time/time.c (time): Likewise.
17823         * time/timespec_get.c (timespec_get): Likewise.
17824         * time/tzset.c (tzset_internal): Likewise.
17825         (compute_change): Likewise.
17826         (__tz_compute): Likewise.
17827         * wcsmbs/btowc.c (__btowc): Likewise.
17828         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
17829         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
17830         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
17831         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
17832         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
17833         * wcsmbs/wcscat.c (__wcscat): Likewise.
17834         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17835         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
17836         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
17837         * wcsmbs/wcscspn.c (wcscspn): Likewise.
17838         * wcsmbs/wcsdup.c (wcsdup): Likewise.
17839         * wcsmbs/wcslen.c (__wcslen): Likewise.
17840         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
17841         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
17842         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
17843         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
17844         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17845         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
17846         * wcsmbs/wcsspn.c (wcsspn): Likewise.
17847         * wcsmbs/wcsstr.c (wcsstr): Likewise.
17848         * wcsmbs/wcstok.c (wcstok): Likewise.
17849         * wcsmbs/wctob.c (wctob): Likewise.
17850         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
17851         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17852         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
17853         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
17854         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
17855         * wcsmbs/wmemset.c (__wmemset): Likewise.
17856         * wctype/wcfuncs.c (__towlower): Likewise.
17857         (__towupper): Likewise.
17859         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
17860         (lll_unlock_elision): Add adapt_count parameter.
17862 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
17864         * sysdeps/nptl/configure.ac: Do not give errors based on the
17865         results of top-level configure tests.
17866         * sysdeps/nptl/configure: Regenerated.
17868         * configure.ac (libc_cv_Bgroup): Remove configure test.
17869         * configure: Regenerated.
17870         * config.make.in (have-Bgroup): Remove variable.
17872         * configure.ac (sizeof_long_double): Remove configure test.
17873         * configure: Regenerated.
17874         * config.make.in (sizeof-long-double): Remove variable.
17876         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
17877         * configure: Regenerated.
17878         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
17879         variable.
17880         (exceptions): Likewise.
17881         * sysdeps/arm/configure: Regenerated.
17882         * config.make.in (exceptions): Remove variable.
17883         * Makeconfig (uses-callbacks): Use -fexceptions instead of
17884         $(exceptions).
17885         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
17886         (CFLAGS-vdprintf_chk.c): Likewise.
17887         (CFLAGS-printf_chk.c): Likewise.
17888         (CFLAGS-fprintf_chk.c): Likewise.
17889         (CFLAGS-vprintf_chk.c): Likewise.
17890         (CFLAGS-vfprintf_chk.c): Likewise.
17891         (CFLAGS-gets_chk.c): Likewise.
17892         (CFLAGS-fgets_chk.c): Likewise.
17893         (CFLAGS-fgets_u_chk.c): Likewise.
17894         (CFLAGS-fread_chk.c): Likewise.
17895         (CFLAGS-fread_u_chk.c): Likewise.
17896         (CFLAGS-wprintf_chk.c): Likewise.
17897         (CFLAGS-fwprintf_chk.c): Likewise.
17898         (CFLAGS-vwprintf_chk.c): Likewise.
17899         (CFLAGS-vfwprintf_chk.c): Likewise.
17900         (CFLAGS-fgetws_chk.c): Likewise.
17901         (CFLAGS-fgetws_u_chk.c): Likewise.
17902         * libio/Makefile (CFLAGS-fileops.c): Likewise.
17903         (CFLAGS-fputc.c): Likewise.
17904         (CFLAGS-fputwc.c): Likewise.
17905         (CFLAGS-freopen64.c): Likewise.
17906         (CFLAGS-freopen.c): Likewise.
17907         (CFLAGS-fseek.c): Likewise.
17908         (CFLAGS-fseeko64.c): Likewise.
17909         (CFLAGS-fseeko.c): Likewise.
17910         (CFLAGS-ftello64.c): Likewise.
17911         (CFLAGS-ftello.c): Likewise.
17912         (CFLAGS-fwide.c): Likewise.
17913         (CFLAGS-genops.c): Likewise.
17914         (CFLAGS-getc.c): Likewise.
17915         (CFLAGS-getchar.c): Likewise.
17916         (CFLAGS-getwc.c): Likewise.
17917         (CFLAGS-getwchar.c): Likewise.
17918         (CFLAGS-iofclose.c): Likewise.
17919         (CFLAGS-iofflush.c): Likewise.
17920         (CFLAGS-iofgetpos64.c): Likewise.
17921         (CFLAGS-iofgetpos.c): Likewise.
17922         (CFLAGS-iofgets.c): Likewise.
17923         (CFLAGS-iofgetws.c): Likewise.
17924         (CFLAGS-iofputs.c): Likewise.
17925         (CFLAGS-iofputws.c): Likewise.
17926         (CFLAGS-iofread.c): Likewise.
17927         (CFLAGS-iofsetpos64.c): Likewise.
17928         (CFLAGS-iofsetpos.c): Likewise.
17929         (CFLAGS-ioftell.c): Likewise.
17930         (CFLAGS-iofwrite.c): Likewise.
17931         (CFLAGS-iogetdelim.c): Likewise.
17932         (CFLAGS-iogetline.c): Likewise.
17933         (CFLAGS-iogets.c): Likewise.
17934         (CFLAGS-iogetwline.c): Likewise.
17935         (CFLAGS-ioputs.c): Likewise.
17936         (CFLAGS-ioseekoff.c): Likewise.
17937         (CFLAGS-ioseekpos.c): Likewise.
17938         (CFLAGS-iosetbuffer.c): Likewise.
17939         (CFLAGS-iosetvbuf.c): Likewise.
17940         (CFLAGS-ioungetc.c): Likewise.
17941         (CFLAGS-ioungetwc.c): Likewise.
17942         (CFLAGS-oldfileops.c): Likewise.
17943         (CFLAGS-oldiofclose.c): Likewise.
17944         (CFLAGS-oldiofgetpos64.c): Likewise.
17945         (CFLAGS-oldiofgetpos.c): Likewise.
17946         (CFLAGS-oldiofsetpos64.c): Likewise.
17947         (CFLAGS-oldiofsetpos.c): Likewise.
17948         (CFLAGS-peekc.c): Likewise.
17949         (CFLAGS-putc.c): Likewise.
17950         (CFLAGS-putchar.c): Likewise.
17951         (CFLAGS-putwc.c): Likewise.
17952         (CFLAGS-putwchar.c): Likewise.
17953         (CFLAGS-rewind.c): Likewise.
17954         (CFLAGS-wfileops.c): Likewise.
17955         (CFLAGS-wgenops.c): Likewise.
17956         (CFLAGS-oldiofopen.c): Likewise.
17957         (CFLAGS-iofopen.c): Likewise.
17958         (CFLAGS-iofopen64.c): Likewise.
17959         (CFLAGS-oldtmpfile.c): Likewise.
17960         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
17961         (CFLAGS-fprintf.c): Likewise.
17962         (CFLAGS-printf.c): Likewise.
17963         (CFLAGS-vfwprintf.c): Likewise.
17964         (CFLAGS-vfscanf.c): Likewise.
17965         (CFLAGS-vfwscanf.c): Likewise.
17966         (CFLAGS-fscanf.c): Likewise.
17967         (CFLAGS-scanf.c): Likewise.
17968         (CFLAGS-isoc99_vfscanf.c): Likewise.
17969         (CFLAGS-isoc99_vscanf.c): Likewise.
17970         (CFLAGS-isoc99_fscanf.c): Likewise.
17971         (CFLAGS-isoc99_scanf.c): Likewise.
17972         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
17973         (CFLAGS-isoc99_fwscanf.c): Likewise.
17974         (CFLAGS-isoc99_vwscanf.c): Likewise.
17975         (CFLAGS-isoc99_vfwscanf.c): Likewise.
17977         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
17978         after mkstemp64.
17979         * login/tst-utmp.c (do_prepare): Likewise.
17980         * rt/tst-aio.c (do_prepare): Likewise.
17981         * rt/tst-aio64.c (do_prepare): Likewise.
17983 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17985         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
17986         (__lll_lock_elision): Remove adapt_count decrement...
17987         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17988         (__lll_trylock_elision): Likewise.
17989         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
17990         (__lll_unlock_elision): ... to here. And utilize
17991         new adapt_count parameter.
17992         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
17993         (__lll_unlock_elision): Update to include adapt_count
17994         parameter.
17995         (lll_unlock_elision): Pass pointer to adapt_count
17996         variable.
17998 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18000         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
18001         Add elision adapt_count parameter to list of arguments.
18002         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
18003         (lll_unlock_elision): Update with new parameter list
18004         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
18005         (lll_unlock_elision): Likewise.
18006         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
18007         (lll_unlock_elision): Likewise.
18009 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18011         [BZ #19122]
18012         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
18013         attribute_hidden.
18015         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
18016         attribute_hidden.
18017         [IS_IN (rtld)] (__strdup): Likewise.
18018         [IS_IN (rtld)] (__strerror_r): Likewise.
18019         [IS_IN (rtld)] (__strsep_g): Likewise.
18020         [IS_IN (rtld)] (memchr): Likewise.
18021         [IS_IN (rtld)] (memcmp): Likewise.
18022         [IS_IN (rtld)] (memcpy): Likewise.
18023         [IS_IN (rtld)] (memmove): Likewise.
18024         [IS_IN (rtld)] (memset): Likewise.
18025         [IS_IN (rtld)] (rawmemchr): Likewise.
18026         [IS_IN (rtld)] (stpcpy): Likewise.
18027         [IS_IN (rtld)] (strchr): Likewise.
18028         [IS_IN (rtld)] (strcmp): Likewise.
18029         [IS_IN (rtld)] (strlen): Likewise.
18030         [IS_IN (rtld)] (strnlen): Likewise.
18031         [IS_IN (rtld)] (strsep): Likewise.
18033         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
18034         attribute_hidden.
18035         [IS_IN (rtld)] (__strtoul_internal): Likewise.
18037         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
18038         attribute_hidden.
18039         [IS_IN (rtld)] (__libc_sigaction): Likewise.
18041         * include/setjmp.h (__longjmp): Add attribute_hidden.
18042         [IS_IN (rtld)] (__sigsetjmp): Likewise.
18044         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
18045         Add attribute_hidden.
18047         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
18048         [IS_IN (rtld)] (__open): Likewise.
18049         [IS_IN (rtld)] (__fcntl): Likewise.
18051         * include/dirent.h (__opendirat): Add attribute_hidden.
18052         (__getdents): Likewise.
18053         (__getdents64): Likewise.
18054         (__alloc_dir): Likewise.
18055         [IS_IN (rtld)] (__closedir): Likewise.
18056         [IS_IN (rtld)] (__fdopendir): Likewise.
18057         [IS_IN (rtld)] (__readdir): Likewise.
18058         [IS_IN (rtld)] (__readdir64): Likewise.
18059         [IS_IN (rtld)] (__rewinddir): Likewise.
18061         * include/dlfcn.h (_dl_catch_error): Moved to ...
18062         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
18063         attribute_hidden.
18065         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
18066         (_itoa_word): Likewise.
18068         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
18069         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
18070         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
18071         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
18072         (_dl_higher_prime_number): Likewise.
18073         (_dl_debug_printf_c): Likewise.
18074         (_dl_signal_cerror): Likewise.
18075         (_dl_receive_error): Likewise.
18076         (_dl_reloc_bad_type): Likewise.
18077         (_dl_resolve_conflicts): Likewise.
18078         (_dl_check_all_versions): Likewise.
18079         (_dl_check_map_versions): Likewise.
18080         (_dl_sort_fini): Likewise.
18081         (_dl_debug_initialize): Likewise.
18082         (_dl_init_paths): Likewise.
18083         (_dl_show_auxv): Likewise.
18084         (_dl_next_ld_env_entry): Likewise.
18085         (_dl_important_hwcaps): Likewise.
18086         (_dl_load_cache_lookup): Likewise.
18087         (_dl_update_slotinfo): Likewise.
18088         (_dl_show_scope): Likewise.
18090         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
18091         attribute_hidden.
18092         (_wordcopy_fwd_dest_aligned): Likewise.
18093         (_wordcopy_bwd_aligned): Likewise.
18094         (_wordcopy_bwd_dest_aligned): Likewise.
18096         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18097         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18098         Likewise.
18099         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18100         Likewise.
18101         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
18103 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18105         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
18106         GCC 5 requirement.
18108 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
18110         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
18111         test.
18112         * sysdeps/i386/configure: Regenerated.
18113         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
18114         code unconditional.
18116         * configure.ac (libc_cv_asm_previous_directive): Remove configure
18117         test.
18118         (libc_cv_asm_popsection_directive): Likewise.
18119         * configure: Regenerated.
18120         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
18121         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
18122         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
18123         (__make_section_unallocated): Make definition unconditional.
18124         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
18125         Remove conditional definition.
18126         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
18127         (__make_section_unallocated): Likewise.
18129         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
18130         * configure: Regenerated.
18131         * config.make.in (static-libgcc): Remove variable.
18132         * Makerules (build-shlib-helper): Use -static-libgcc instead of
18133         $(static-libgcc).
18134         (build-module-helper): Likewise.
18136         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
18137         * configure: Regenerated.
18139 2015-10-15  Florian Weimer  <fweimer@redhat.com>
18141         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
18142         (struct char_buffer): New type.
18143         (char_buffer_start, char_buffer_size, char_buffer_error)
18144         (char_buffer_rewind, char_buffer_add): New functions.
18145         (ADDW): Remove macro, replaced by the char_buffer_add function.
18146         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
18147         of extend_alloca.  Make control flow more explicit.
18149 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18151         [BZ #19137]
18152         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
18153         Add -fomit-frame-pointer.
18154         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
18156 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18158         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
18159         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
18160         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
18161         only if !__GNUC_PREREQ (5,0).
18162         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
18163         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
18164         (INTERNAL_SYSCALL_NCS): Likewise.
18165         (LOADREGS_0): New macro for GCC 5.
18166         (ASMARGS_0): Likewise.
18167         (LOADREGS_1): Likewise.
18168         (ASMARGS_1): Likewise.
18169         (LOADREGS_2): Likewise.
18170         (ASMARGS_2): Likewise.
18171         (LOADREGS_3): Likewise.
18172         (ASMARGS_3): Likewise.
18173         (LOADREGS_4): Likewise.
18174         (ASMARGS_4): Likewise.
18175         (LOADREGS_5): Likewise.
18176         (ASMARGS_5): Likewise.
18177         (LOADREGS_6): Likewise.
18178         (ASMARGS_6): Likewise.
18180 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18182         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
18183         -fomit-frame-pointer.
18184         (CFLAGS-mmap64.c): Likewise.
18185         (CFLAGS-semtimedop.c): Likewise.
18186         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
18187         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
18188         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18189         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18191 2015-10-15  Florian Weimer  <fweimer@redhat.com>
18193         [BZ #18928]
18194         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
18195         _dl_pointer_guard member.
18196         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
18197         initializer.
18198         (security_init): Always set up pointer guard.
18199         (process_envvars): Do not process LD_POINTER_GUARD.
18201 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
18203         [BZ #19134]
18204         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
18205         (.LC2): Likewise.
18206         (.LC3): Likewise.
18207         (__lround): Do not add 0.5 to integer or out-of-range arguments.
18209 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18211         [BZ #19129]
18212         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
18213         r0 and r1.
18215 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
18217         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
18219 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
18221         * include/stap-probe.h: Fix macro definition formatting.
18223 2015-10-14  Florian Weimer  <fweimer@redhat.com>
18225         [BZ #19074]
18226         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
18227         load and store num_ifs.
18229 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
18231         [BZ #18822]
18232         * sysdeps/unix/sysv/linux/sched_getaffinity.c
18233         (__sched_getaffinity_new): Add libc_hidden_proto and
18234         libc_hidden_def.
18236 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
18238         [BZ #19007]
18239         * scripts/localplt.awk: Also allow GOT references.
18240         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
18241         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
18242         with "+ REL R_386_GLOB_DAT".
18243         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
18244         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
18246 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
18248         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
18249         INLINE_SYSCALL_ERROR_RETURN_VALUE.
18250         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
18251         Likewise.
18252         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
18253         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
18254         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
18255         INTERNAL_SYSCALLINTERNAL_SYSCALL and
18256         INLINE_SYSCALL_ERROR_RETURN_VALUE.
18257         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
18258         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18259         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
18260         Likewise.
18261         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18263 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
18265         [BZ #19125]
18266         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
18267         <math_private.h> and <stdint.h>.
18268         (__llround): Avoid conversions to and from long long int, and
18269         subtractions, where those might raise spurious exceptions.
18270         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
18271         <math_private.h> and <stdint.h>.
18272         (__llroundf): Avoid conversions to and from long long int, and
18273         subtractions, where those might raise spurious exceptions.
18275 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
18277         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
18278         INLINE_SYSCALL_ERROR_RETURN_VALUE.
18279         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
18280         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
18281         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18282         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18283         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
18284         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
18285         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
18286         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18287         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18288         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18289         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
18290         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18291         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18292         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
18293         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
18294         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18295         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
18296         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
18297         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
18298         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
18299         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
18300         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
18301         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
18302         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
18303         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
18304         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18305         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18306         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
18307         (__xstat64_conv): Likewise.
18308         (__xstat32_conv): Likewise.
18310 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
18312         * sysdeps/unix/sysv/linux/sysdep.h: New file.
18313         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
18314         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
18315         <sysdeps/unix/sysv/linux/sysdep.h>.
18316         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
18317         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
18318         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
18319         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18320         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
18321         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
18322         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
18323         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
18324         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
18325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18327         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18328         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18329         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18330         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18331         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18332         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
18333         (sysdep-dl-routines): Add sysdep.
18334         [$(subdir) == nptl] (libpthread-routines): Likewise.
18335         [$(subdir) == rt] (librt-routines): Likewise.
18336         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
18337         PIC when branching to SYSCALL_ERROR_LABEL.
18338         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
18339         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
18340         <sysdeps/unix/sysv/linux/sysdep.h>.
18341         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
18342         (SYSCALL_ERROR_ERRNO): Removed.
18343         (SYSCALL_ERROR_HANDLER): Changed to empty.
18344         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
18345         (__syscall_error): New prototype.
18346         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
18347         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
18349 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
18351         [BZ #19124]
18352         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
18353         (_dl_runtime_resolve_avx512): Make it a hidden alias of
18354         _dl_runtime_resolve_avx.
18355         (_dl_runtime_profile_avx512): Make it a hidden alias of
18356         _dl_runtime_profile_avx.
18358 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
18360         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
18361         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
18362         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
18363         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
18365         [BZ #16422]
18366         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
18367         New configure test.
18368         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
18369         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
18370         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
18371         <math_private.h> and <stdint.h>.
18372         (__llrint): Avoid conversions to long long int where those might
18373         raise spurious exceptions.
18374         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
18375         <math_private.h> and <stdint.h>.
18376         (__llrintf): Avoid conversions to long long int where those might
18377         raise spurious exceptions.
18379 2015-10-12  Andreas Schwab  <schwab@suse.de>
18381         [BZ #18969]
18382         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
18383         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
18384         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
18385         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
18386         $(gen-locales).
18387         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
18388         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
18389         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
18390         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
18391         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
18392         $(gen-locales).
18393         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
18394         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
18395         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
18396         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
18397         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
18398         ($(objpfx)tst-ftell-active-handler.out)
18399         ($(objpfx)tst-ftell-append.out)
18400         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
18401         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
18402         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
18403         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
18404         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
18405         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
18406         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
18407         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
18408         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
18409         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
18410         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
18411         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
18412         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
18413         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
18414         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
18415         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
18416         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
18417         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
18418         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
18419         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
18420         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
18421         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
18422         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
18423         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
18424         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
18425         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
18426         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
18427         $(gen-locales).
18428         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
18429         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
18430         $(gen-locales).
18431         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
18432         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
18433         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
18434         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
18435         $(gen-locales).
18436         * libio/tst_wprintf2.c (main): Use explicit locale.
18437         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
18439 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18441         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
18442         __msg_sig_post.
18443         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
18445 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
18447         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18448         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18450         * sysdeps/arm/libm-test-ulps: Regenerated.
18452         [BZ #15470]
18453         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
18455         [BZ #16399]
18456         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
18457         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
18458         and <fix-fp-int-convert-overflow.h>.
18459         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
18460         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18461         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
18462         and <fix-fp-int-convert-overflow.h>.
18463         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
18464         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18465         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
18466         <fix-fp-int-convert-overflow.h>.
18467         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
18468         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18469         * sysdeps/ieee754/dbl-64/s_lround.c: Include
18470         <fix-fp-int-convert-overflow.h>.
18471         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
18472         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18473         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
18474         and <fix-fp-int-convert-overflow.h>.
18475         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
18476         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18477         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
18478         <limits.h> and <fix-fp-int-convert-overflow.h>.
18479         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
18480         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18481         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
18482         and <fix-fp-int-convert-overflow.h>.
18483         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
18484         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18485         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
18486         and <fix-fp-int-convert-overflow.h>.
18487         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
18488         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18489         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
18491 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
18493         [BZ #18589]
18494         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
18495         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
18496         $(gen-locales).
18498 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18499             Phil Blundell <pb@pbcl.net>
18501         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
18502         * nptl/tst-cancel26.c: New file.
18503         * nptl/tst-cancel27.c: Likewise.
18505 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
18507         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
18508         __ILP32__ isn't defined.
18509         (lrint): Likewise.
18510         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
18511         (lrintf): Likewise.
18512         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
18513         (lrintl): Likewise.
18514         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
18515         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
18516         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
18518 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18520         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
18521         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
18523         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
18524         file.
18525         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
18526         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
18528 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
18530         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
18531         configure test.
18532         * sysdeps/i386/configure: Regenerated.
18533         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
18534         configure test.
18535         * sysdeps/x86_64/configure: Regenerated.
18536         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
18537         Make code unconditional.
18539         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
18540         test.
18541         * sysdeps/i386/configure: Regenerated.
18542         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
18543         test.
18544         * sysdeps/x86_64/configure: Regenerated.
18545         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
18546         Make code unconditional.
18547         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
18548         Likewise.
18549         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
18550         Likewise.
18551         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18552         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
18553         code unconditional.
18554         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18555         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
18556         code unconditional.
18557         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18558         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
18559         code unconditional.
18560         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
18561         code unconditional.
18562         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18563         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
18564         code unconditional.
18565         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18566         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
18567         code unconditional.
18568         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18569         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
18570         code unconditional.
18571         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18572         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
18573         code unconditional.
18574         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18575         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
18577         [BZ #19095]
18578         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
18579         mantissa to long int before shifting left.
18581 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
18583         [BZ #19094]
18584         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
18585         <limits.h>.
18586         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18587         when result overflows but exception would not result from cast.
18588         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
18589         <limits.h>.
18590         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18591         when result overflows but exception would not result from cast.
18592         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
18593         <limits.h>.
18594         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18595         when result overflows but exception would not result from cast.
18596         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
18597         <limits.h>.
18598         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18599         when result overflows but exception would not result from cast.
18600         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
18601         <limits.h>.
18602         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18603         when result overflows but exception would not result from cast.
18604         * math/libm-test.inc (lrint_test_data): Add more tests.
18605         (llrint_test_data): Likewise.
18607 2015-10-08  Roland McGrath  <roland@hack.frob.com>
18609         [BZ #18872]
18610         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
18611         Move out from under [$(run-built-tests) = yes] conditional.
18612         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
18613         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
18615 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
18617         [BZ #18589]
18618         * string/Makefile (tests): Add bug-strcoll2.
18619         (LOCALES): Add cs_CZ.UTF-8.
18620         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
18622         [BZ #18589]
18623         * string/bug-strcoll2.c: New file.
18624         * locale/categories.def: Revert commit
18625         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
18626         * locale/langinfo.h: Likewise.
18627         * locale/localeinfo.h: Likewise.
18628         * locale/C-collate.c: Likewise.
18629         * locale/programs/ld-collate.c (collate_output): Likewise.
18630         * string/strcoll_l.c (STRDIFF): Likewise.
18631         (STRCOLL): Likewise.
18632         * wcsmbs/wcscoll_l.c: Likewise.
18634 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
18636         * math/libm-test.inc (lround_test_data): Do not expect the absence
18637         of "inexact" for some tests with non-integer arguments.
18638         (llround_test_data): Likewise.
18640         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
18641         test.
18642         (libc_cv_cc_sse2avx): Likewise.
18643         * sysdeps/i386/configure: Regenerated.
18644         * sysdeps/i386/i686/multiarch/Makefile
18645         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
18646         [$(subdir) = math].
18647         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
18648         code unconditional.
18649         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
18650         Likewise.
18651         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
18652         Likewise.
18653         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
18654         Likewise.
18655         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
18656         test.
18657         (libc_cv_cc_sse2avx): Likewise.
18658         * sysdeps/x86_64/configure: Regenerated.
18659         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
18660         unconditional.
18661         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
18662         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
18663         unconditional.
18664         (_dl_runtime_profile)
18665         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
18666         conditional code.
18667         * sysdeps/x86_64/fpu/multiarch/Makefile
18668         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
18669         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
18670         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18671         * sysdeps/x86_64/fpu/multiarch/e_exp.c
18672         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18673         * sysdeps/x86_64/fpu/multiarch/e_log.c
18674         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18675         * sysdeps/x86_64/fpu/multiarch/s_atan.c
18676         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18677         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
18678         Likewise.
18679         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
18680         Likewise.
18681         * sysdeps/x86_64/fpu/multiarch/s_sin.c
18682         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18683         * sysdeps/x86_64/fpu/multiarch/s_tan.c
18684         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18685         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
18686         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
18687         (HAVE_SSE2AVX_SUPPORT): Likewise.
18689 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
18691         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
18692         instead of #pragma optimize.
18694 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
18696         [BZ #17195]
18697         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
18698         as is similarly done in systrim and _int_free already.
18700 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18702         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
18704 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
18706         [BZ #19088]
18707         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
18708         <limits.h>.
18709         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
18710         overflows but exception would not result from cast.
18711         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
18712         and <limits.h>.
18713         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
18714         overflows but exception would not result from cast.
18715         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
18716         <limits.h>.
18717         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
18718         overflows but exception would not result from cast.
18719         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
18720         <limits.h>.
18721         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
18722         overflows but exception would not result from cast.
18723         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
18724         <limits.h>.
18725         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
18726         overflows but exception would not result from cast.
18727         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
18728         <limits.h>.
18729         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
18730         overflows but exception would not result from cast.
18731         * math/libm-test.inc (lround_test_data): Add more tests.
18732         (llround_test_data): Likewise.
18734 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
18736         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
18737         (CFLAGS-ialloc.c): Ditto.
18738         (CFLAGS-scheck.c): Ditto.
18740 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
18742         [BZ #19086]
18743         * manual/filesys.texi (Storage Allocation): Fix argument order for
18744         posix_fallocate64.
18746 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
18748         [BZ #19085]
18749         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
18750         exponent below 48 inside case for non-overflowing exponent.
18751         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
18753 2015-10-07  Florian Weimer  <fweimer@redhat.com>
18755         * iconvdata/cp737.h (from_idx): Add const.
18756         * iconvdata/cp775.h (from_idx): Likewise.
18758 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
18760         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
18761         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
18762         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
18764         [BZ #19079]
18765         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
18766         file, conditioned on [!_LP64].
18767         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
18768         [!_LP64] (__lround): Do not define as function or alias.
18769         [!_LP64] (lround): Likewise.
18770         [!_LP64] (__lroundl): Likewise.
18771         [!_LP64] (lroundl): Likewise.
18772         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
18773         macro.
18774         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
18775         Likewise.
18777 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
18779         * math/libm-test.inc (lrint_test_data): Add more tests.
18780         (llrint_test_data): Likewise.
18781         (lround_test_data): Likewise.
18782         (llround_test_data): Likewise.
18784         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
18785         (llrint_test_data): Add tests used for lrint.
18787         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
18788         test.
18789         * sysdeps/i386/configure: Regenerated.
18790         * sysdeps/i386/i686/multiarch/Makefile
18791         [$(config-cflags-sse4) = yes]: Make code unconditional.
18792         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
18793         Likewise.
18794         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
18795         Likewise.
18796         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
18797         test.
18798         * sysdeps/x86_64/configure: Regenerated.
18799         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
18800         Make code unconditional.
18801         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
18802         Likewise.
18803         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
18804         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
18806         * scripts/rpm2dynsym.sh: Remove file.
18808 2015-10-06  Florian Weimer  <fweimer@redhat.com>
18810         * configure.ac (libc_cv_cxx_thread_local): Define.
18811         * configure: Regenerate.
18812         * config.make.in (have-cxx-thread_local): Define.
18813         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
18814         (LDLIBS-tst-thread_local1): Define.
18815         (tests): Add tst-thread_local1.
18816         [have-cxx-thread_local != yes] (tests-unsupported): Add
18817         tst-thread_local1.
18818         * nptl/tst-thread_local1.cc: New file.
18820 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
18822         [BZ #19078]
18823         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
18824         (u_thres): Likewise.
18825         (__expl): Determine whether to call __kernel_standard_l based on
18826         value of result, not argument.
18828         * math/libm-test.inc (scalb_test_data): Add more expectations for
18829         the "inexact" exception.
18831         [BZ #19077]
18832         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
18833         0.0L for argument 1.0L.
18835         [BZ #19076]
18836         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
18837         constant 0.0L when computing infinite result.
18839 2015-10-06  Florian Weimer  <fweimer@redhat.com>
18841         [BZ #10432]
18842         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
18843         malloc_usable_size.
18845 2015-10-06  Florian Weimer  <fweimer@redhat.com>
18847         [BZ #19018]
18848         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18849         Mangle function pointer before storing it.
18850         (__call_tls_dtors): Demangle function pointer before calling it.
18852 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18854         [BZ #19012]
18855         * iconv/gconv_db.c (gen_steps): Check for additional errors.
18856         Clean up on failure.
18858 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
18860         [BZ #19071]
18861         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
18862         long int variable to store possibly incremented high part of
18863         mantissa.
18864         * math/libm-test.inc (lround_test_data): Add tests used for
18865         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
18866         for tests requiring 64-bit long.  Do not condition tests on
18867         [TEST_FLOAT] unnecessarily.
18868         (llround_test_data): Add tests used for lround.  Add another
18869         expectation for the "inexact" exception.  Do not condition tests
18870         on [TEST_FLOAT] unnecessarily.
18872         [BZ #887]
18873         [BZ #19049]
18874         [BZ #19050]
18875         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
18876         * sysdeps/ieee754/dbl-64/e_log10.c: Include
18877         <fix-int-fp-convert-zero.h>.
18878         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18879         * sysdeps/ieee754/dbl-64/e_log2.c: Include
18880         <fix-int-fp-convert-zero.h>.
18881         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18882         * sysdeps/ieee754/dbl-64/s_erf.c: Include
18883         <fix-int-fp-convert-zero.h>.
18884         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18885         * sysdeps/ieee754/dbl-64/s_logb.c: Include
18886         <fix-int-fp-convert-zero.h>.
18887         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18888         * sysdeps/ieee754/flt-32/e_log10f.c: Include
18889         <fix-int-fp-convert-zero.h>.
18890         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18891         * sysdeps/ieee754/flt-32/e_log2f.c: Include
18892         <fix-int-fp-convert-zero.h>.
18893         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18894         * sysdeps/ieee754/flt-32/s_erff.c: Include
18895         <fix-int-fp-convert-zero.h>.
18896         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18897         * sysdeps/ieee754/flt-32/s_logbf.c: Include
18898         <fix-int-fp-convert-zero.h>.
18899         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18900         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
18901         <fix-int-fp-convert-zero.h>.
18902         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18903         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
18904         <fix-int-fp-convert-zero.h>.
18905         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18906         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
18907         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
18908         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
18909         file.
18910         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
18912 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
18914         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18916 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
18918         [BZ #19059]
18919         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
18920         overflowing computation.
18921         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18922         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
18923         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18924         Likewise.
18925         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18926         Likewise.
18927         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
18928         Likewise.
18929         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18930         Likewise.
18931         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18932         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18933         Likewise.
18934         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18935         Likewise.
18936         * math/libm-test.inc (nexttoward_test_data): Add more tests.
18938         * nss/rewrite_field.c (__nss_rewrite_field): Use
18939         internal_function.
18940         * nss/valid_field.c (__nss_valid_field): Likewise.
18941         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
18943 2015-10-02  Florian Weimer  <fweimer@redhat.com>
18945         [BZ #18724]
18946         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
18947         (__nss_invalid_field_characters, __nss_valid_field)
18948         (__nss_valid_list_field, __nss_rewrite_field): Declare.
18949         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
18950         tst-field.c: New file.
18951         * nss/Makefile (routines): Add valid_field, rewrite_field.
18952         (tests-static): Define unconditionally.
18953         (tests): Include tests-static.
18954         [build-static-nss] (tests-static): Use append.
18955         [build-static-nss] (tests): Remove modification.
18956         * nss/getent.c (print_group): Call putgrent.  Report error.
18957         (print_gshadow): Call putsgent.  Report error.
18958         (print_passwd): Call putpwent.  Report error.
18959         (print_shadow): Call putspent.  Report error.
18960         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
18961         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
18962         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
18963         name, password, directory, shell fields for valid syntax.  Rewrite
18964         GECOS field to match syntax.
18965         * pwd/Makefile (tests): Add tst-putpwent.
18966         * pwd/tst-putpwent.c: New file.
18967         * grp/putgrent.c (putgrent): Convert to ISO function definition.
18968         Check grName, grpasswd, gr_mem fields for valid syntax.
18969         Change loop variable i to size_t.
18970         * grp/Makefile (tests): Add tst-putgrent.
18971         * grp/tst-putgrent.c: New file.
18972         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
18973         valid syntax.
18974         * shadow/Makefile (tests): Add tst-putspent.
18975         * shadow/tst-putspent.c: New file.
18976         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
18977         sg_mem fields for valid syntax.
18978         * gshadow/Makefile (tests): Add tst-putsgent.
18979         * gshadow/tst-putsgent.c: New file.
18981 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18983         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
18984         assembly instructions.
18986 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18988         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
18989         prefix from operands.
18991 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
18993         [BZ #16347]
18994         [BZ #19046]
18995         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
18996         <libc-internal.h>.
18997         (MAXLGM): Do not use diagnostic control macros.
18998         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
18999         threshold for ldbl-128ibm.
19000         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
19001         instead of multiplying by log then subtracting.
19002         * math/auto-libm-test-in: Add more tests of lgamma.
19003         * math/auto-libm-test-out: Regenerated.
19005         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
19006         (TYPE_HEX_DIG): Likewise.
19007         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
19008         precisions when printing floating-point numbers.
19009         (check_float_internal): Likewise.
19011 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
19013         [BZ #16620]
19014         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
19015         of log (10) rounded downward to 48 bits.
19016         (log10_low): Use corresponding low part of log (10).
19018         [BZ #19032]
19019         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
19020         compute result as (x - x) / (x - x) not as 0 / 0.
19021         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19022         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
19024         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19025         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
19026         and expm1.
19027         * math/auto-libm-test-out: Regenerated.
19028         * math/libm-test.inc (acos_test_data): Add more tests.
19029         (asin_test_data): Likewise.
19030         (asinh_test_data): Likewise.
19031         (atan_test_data): Likewise.
19032         (atanh_test_data): Likewise.
19033         (atan2_test_data): Likewise.
19034         (cbrt_test_data): Likewise.
19035         (ceil_test_data): Likewise.
19036         (copysign_test_data): Likewise.
19037         (cos_test_data): Likewise.
19038         (cosh_test_data): Likewise.
19039         (erf_test_data): Likewise.
19040         (erfc_test_data): Likewise.
19041         (exp_test_data): Likewise.
19042         (exp10_test_data): Likewise.
19043         (exp2_test_data): Likewise.
19044         (expm1_test_data): Likewise.
19045         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19047 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
19049         [BZ #19006]
19050         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
19051         to ...
19052         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
19053         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
19054         to ...
19055         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
19056         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
19057         to ...
19058         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
19059         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
19060         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
19061         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
19062         to ...
19063         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
19064         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19065         Moved to ...
19066         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
19067         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19068         Moved to ...
19069         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
19070         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
19071         to ...
19072         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
19073         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19074         Moved to ...
19075         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
19076         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
19077         to ...
19078         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
19079         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
19080         Removed.
19081         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
19082         Likewise.
19083         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
19084         Likewise.
19085         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
19086         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
19087         Likewise.
19088         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19089         Likewise.
19090         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19091         Likewise.
19092         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19093         Likewise.
19094         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19095         Likewise.
19096         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
19097         Likewise.
19098         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
19099         Likewise.
19100         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
19101         Likewise.
19102         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
19103         Likewise.
19104         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
19105         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
19106         Likewise.
19107         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19108         Likewise.
19109         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19110         Likewise.
19111         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19112         Likewise.
19113         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
19114         Likewise.
19115         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19116         Replace ../i486/pthread_cond_timedwait.S with
19117         ../pthread_cond_timedwait.S.
19119 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
19121         * math/libm-test.inc (acos_test_data): Refine expectations for
19122         errno and "inexact" exceptions.
19123         (acosh_test_data): Likewise.
19124         (asin_test_data): Likewise.
19125         (asinh_test_data): Likewise.
19126         (atan_test_data): Likewise.
19127         (atanh_test_data): Likewise.
19128         (atan2_test_data): Likewise.
19129         (cbrt_test_data): Likewise.
19130         (ceil_test_data): Likewise.
19131         (copysign_test_data): Likewise.
19132         (cosh_test_data): Likewise.
19133         (erf_test_data): Likewise.
19134         (erfc_test_data): Likewise.
19135         (exp_test_data): Likewise.
19136         (exp10_test_data): Likewise.
19137         (exp2_test_data): Likewise.
19138         (expm1_test_data): Likewise.
19139         (fabs_test_data): Likewise.
19140         (floor_test_data): Likewise.
19141         (fma_test_data): Likewise.
19142         (fmax_test_data): Likewise.
19143         (fmin_test_data): Likewise.
19144         (fmod_test_data): Likewise.
19145         (fpclassify_test_data): Likewise.
19146         (frexp_test_data): Likewise.
19147         (hypot_test_data): Likewise.
19148         (ilogb_test_data): Likewise.
19149         (isgreater_test_data): Likewise.
19150         (isgreaterequal_test_data): Likewise.
19151         (isinf_test_data): Likewise.
19152         (isless_test_data): Likewise.
19153         (islessequal_test_data): Likewise.
19154         (islessgreater_test_data): Likewise.
19155         (isnan_test_data): Likewise.
19156         (isnormal_test_data): Likewise.
19157         (issignaling_test_data): Likewise.
19158         (isunordered_test_data): Likewise.
19159         (j0_test_data): Likewise.
19160         (j1_test_data): Likewise.
19161         (jn_test_data): Likewise.
19162         (lgamma_test_data): Likewise.
19163         (lrint_test_data): Likewise.
19164         (llrint_test_data): Likewise.
19165         (log_test_data): Likewise.
19166         (log10_test_data): Likewise.
19167         (log1p_test_data): Likewise.
19168         (log2_test_data): Likewise.
19169         (logb_test_data): Likewise.
19170         (lround_test_data): Likewise.
19171         (llround_test_data): Likewise.
19172         (modf_test_data): Likewise.
19173         (nearbyint_test_data): Likewise.
19174         (nextafter_test_data): Likewise.
19175         (nexttoward_test_data): Likewise.
19176         (pow_test_data): Likewise.
19177         (remainder_test_data): Likewise.
19178         (remquo_test_data): Likewise.
19179         (rint_test_data): Likewise.
19180         (round_test_data): Likewise.
19181         (signbit_test_data): Likewise.
19182         (sinh_test_data): Likewise.
19183         (sqrt_test_data): Likewise.
19184         (tanh_test_data): Likewise.
19185         (tgamma_test_data): Likewise.
19186         (trunc_test_data): Likewise.
19187         (y0_test_data): Likewise.
19188         (y1_test_data): Likewise.
19189         (yn_test_data): Likewise.
19190         (significand_test_data): Likewise.
19192 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
19194         * manual/filesys.texi (Storage Allocation): Document that
19195         posix_fallocate emulation fails when fd is open with O_WRONLY.
19197 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
19199         [BZ #19016]
19200         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
19201         allow more cases with X^2 + Y^2 >= 0.5.
19202         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
19203         normal element in sum instead of special-casing based on values of
19204         arguments.
19205         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
19206         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
19207         -1 as normal element in sum instead of special-casing based on
19208         values of arguments.
19209         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
19210         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
19211         (__x2y2m1): Update comment.
19212         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
19213         as normal element in sum instead of special-casing based on values
19214         of arguments.
19215         * math/s_clog.c (__clog): Handle more cases using log1p without
19216         hypot.
19217         * math/s_clog10.c (__clog10): Likewise.
19218         * math/s_clog10f.c (__clog10f): Likewise.
19219         * math/s_clog10l.c (__clog10l): Likewise.
19220         * math/s_clogf.c (__clogf): Likewise.
19221         * math/s_clogl.c (__clogl): Likewise.
19222         * math/auto-libm-test-in: Add more tests of clog and clog10.
19223         * math/auto-libm-test-out: Regenerated.
19224         * sysdeps/i386/fpu/libm-test-ulps: Update.
19225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19227 2015-09-28  Martin Sebor  <msebor@redhat.com>
19229         [BZ #18969]
19230         * string/Makefile (LOCALES): Define.
19231         (gen-locales.mk): Include.
19232         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
19233         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
19234         * string/tst-strxfrm2.c (do_test): Print the name of the locale
19235         on setlocale failure.
19237 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
19239         [BZ #18985]
19240         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
19241         (__strftime_internal): Likewise.
19242         * time/tst-strftime.c (do_bz18985): New test.
19243         (do_test): Call it.
19245 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
19247         [BZ #18956]
19248         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
19249         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
19250         extracting high part.
19251         * math/auto-libm-test-in: Add another test of pow.
19252         * math/auto-libm-test-out: Regenerated.
19253         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19255 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
19257         [BZ #18825]
19258         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
19259         New macro.
19260         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
19261         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19262         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
19263         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
19264         DBL_NARROW_EVAL, reloading the PIC register as needed.
19265         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
19266         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
19267         FLT_NARROW_EVAL.  Use separate return path for case when first
19268         argument is NaN.
19269         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
19270         DEFINE_LDBL_MIN.
19271         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
19272         PIC register.
19273         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
19274         math_check_force_underflow_nonneg.
19275         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
19276         underflow for subnormal result.
19277         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
19278         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
19279         math_check_force_underflow_nonneg.
19280         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
19281         math_check_force_underflow.
19282         * sysdeps/x86_64/fpu/x86_64-math-asm.h
19283         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
19284         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
19285         DEFINE_LDBL_MIN.
19286         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
19287         * math/auto-libm-test-in: Add more tests of pow.
19288         * math/auto-libm-test-out: Regenerated.
19290 2015-09-25  Florian Weimer  <fweimer@redhat.com>
19292         * nss/bug17079.c (init_test_items): Add diagnostic for
19293         inconsistent entries.
19294         (test_buffer_size): Skip inconsistent entries.
19296 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
19298         [BZ #13304]
19299         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
19300         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19301         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
19303         [BZ #13304]
19304         * sysdeps/microblaze/s_fma.c: New file.
19305         * sysdeps/microblaze/s_fmaf.c: Likewise.
19306         * sysdeps/microblaze/sfp-machine.h: Likewise.
19308 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
19310         [BZ #17250]
19311         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
19312         member.
19314 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
19316         [BZ #18803]
19317         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
19318         (MO): New macro.
19319         (__ieee754_hypot) [PIC]: Load PIC register.
19320         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
19321         DBL_NARROW_EVAL.
19322         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
19323         math_check_force_underflow_nonneg in case where result might be
19324         tiny.
19325         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19326         Likewise.
19327         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19328         Likewise.
19329         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
19330         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
19331         * math/auto-libm-test-in: Add more tests of hypot.
19332         * math/auto-libm-test-out: Regenerated.
19334 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
19336         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
19338 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
19340         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
19341         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
19342         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
19343         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
19344         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
19345         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
19346         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
19348         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
19349         LOAD_PIC_REG.
19351         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
19352         (FLT_CHECK_FORCE_UFLOW): Likewise.
19353         (DBL_CHECK_FORCE_UFLOW): Likewise.
19354         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
19355         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
19356         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
19357         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19358         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19359         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19360         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19361         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19362         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
19363         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19364         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
19365         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
19366         (flt_min): Replace with use of DEFINE_FLT_MIN.
19367         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
19368         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
19369         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19370         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
19371         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
19372         (flt_min): Replace with use of DEFINE_FLT_MIN.
19373         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
19374         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
19375         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19376         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
19377         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
19378         (flt_min): Replace with use of DEFINE_FLT_MIN.
19379         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
19380         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
19381         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
19382         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
19383         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
19384         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
19385         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
19386         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
19387         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19388         (__atan): Use DBL_CHECK_FORCE_UFLOW.
19389         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
19390         (flt_min): Replace with use of DEFINE_FLT_MIN.
19391         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
19392         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
19393         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19394         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
19395         main computation.
19396         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
19397         (flt_min): Replace with use of DEFINE_FLT_MIN.
19398         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
19399         main computation.
19400         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
19401         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19402         (MO): New macro.
19403         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
19404         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
19405         (flt_min): Replace with use of DEFINE_FLT_MIN.
19406         (MO): New macro.
19407         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
19408         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
19409         (__log1pl): Use MO.
19411         [BZ #19003]
19412         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
19413         $(config-cflags-nofma).
19415 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19417         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19419 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
19421         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
19422         (TWO127): Likewise.
19424         * sysdeps/generic/math_private.h (fabs_tg): New macro.
19425         (min_of_type): Likewise.
19426         (math_check_force_underflow): Likewise.
19427         (math_check_force_underflow_nonneg): Likewise.
19428         (math_check_force_underflow_complex): Likewise.
19429         * math/e_exp2l.c (__ieee754_exp2l): Use
19430         math_check_force_underflow_nonneg.
19431         * math/k_casinh.c (__kernel_casinh): Likewise.
19432         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19433         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19434         * math/s_catan.c (__catan): Use
19435         math_check_force_underflow_complex.
19436         * math/s_catanf.c (__catanf): Likewise.
19437         * math/s_catanh.c (__catanh): Likewise.
19438         * math/s_catanhf.c (__catanhf): Likewise.
19439         * math/s_catanhl.c (__catanhl): Likewise.
19440         * math/s_catanl.c (__catanl): Likewise.
19441         * math/s_ccosh.c (__ccosh): Likewise.
19442         * math/s_ccoshf.c (__ccoshf): Likewise.
19443         * math/s_ccoshl.c (__ccoshl): Likewise.
19444         * math/s_cexp.c (__cexp): Likewise.
19445         * math/s_cexpf.c (__cexpf): Likewise.
19446         * math/s_cexpl.c (__cexpl): Likewise.
19447         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
19448         * math/s_clog10.c (__clog10): Likewise.
19449         * math/s_clog10f.c (__clog10f): Likewise.
19450         * math/s_clog10l.c (__clog10l): Likewise.
19451         * math/s_clogf.c (__clogf): Likewise.
19452         * math/s_clogl.c (__clogl): Likewise.
19453         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
19454         * math/s_csinf.c (__csinf): Likewise.
19455         * math/s_csinh.c (__csinh): Likewise.
19456         * math/s_csinhf.c (__csinhf): Likewise.
19457         * math/s_csinhl.c (__csinhl): Likewise.
19458         * math/s_csinl.c (__csinl): Likewise.
19459         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
19460         * math/s_csqrtf.c (__csqrtf): Likewise.
19461         * math/s_csqrtl.c (__csqrtl): Likewise.
19462         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
19463         * math/s_ctanf.c (__ctanf): Likewise.
19464         * math/s_ctanh.c (__ctanh): Likewise.
19465         * math/s_ctanhf.c (__ctanhf): Likewise.
19466         * math/s_ctanhl.c (__ctanhl): Likewise.
19467         * math/s_ctanl.c (__ctanl): Likewise.
19468         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
19469         instead of volatile.
19470         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
19471         math_check_force_underflow.
19472         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19473         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
19474         volatile when forcing underflow.
19475         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
19476         math_check_force_underflow_nonneg.
19477         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
19478         Likewise.
19479         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
19480         math_check_force_underflow.
19481         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19482         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19483         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19484         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
19485         math_check_force_underflow_nonneg.
19486         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
19487         math_check_force_underflow.
19488         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
19489         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
19490         instead of volatile.
19491         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
19492         math_check_force_underflow.
19493         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19494         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
19495         math_check_force_underflow_nonneg.
19496         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
19497         math_check_force_underflow.
19498         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
19499         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19500         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
19501         math_check_force_underflow_nonneg.
19502         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
19503         Likewise.
19504         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
19505         math_check_force_underflow.
19506         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19507         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
19508         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
19509         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
19510         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
19511         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
19512         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
19513         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
19514         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19515         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
19516         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
19517         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
19518         Likewise.
19519         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
19520         math_check_force_underflow_nonneg.
19521         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
19522         Likewise.
19523         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
19524         math_check_force_underflow.
19525         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19526         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
19527         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19528         Likewise.
19529         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
19530         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
19531         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
19532         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
19533         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
19534         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
19535         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
19536         instead of volatile.
19537         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
19538         math_check_force_underflow.
19539         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
19540         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
19541         math_check_force_underflow.
19542         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
19543         Likewise.
19544         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19545         Use math_check_force_underflow_nonneg.
19546         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
19547         math_check_force_underflow.
19548         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
19549         Likewise.
19550         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
19551         Likewise.
19552         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19553         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19554         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19555         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19556         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
19557         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19558         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
19559         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
19560         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
19561         math_check_force_underflow_nonneg.
19562         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
19563         math_check_force_underflow.
19564         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19565         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
19566         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
19567         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
19568         math_check_force_underflow_nonneg.
19569         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
19570         math_check_force_underflow.
19571         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
19572         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
19573         instead of volatile.
19574         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
19575         math_check_force_underflow.
19577         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
19578         * stdlib/strtod_l.c: Include <math_private.h>.
19579         (overflow_value): Use math_narrow_eval.
19580         (underflow_value): Likewise.
19581         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19582         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
19583         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
19584         (__ieee754_gamma_r): Likewise.
19585         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
19586         Likewise.
19587         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
19588         Likewise.
19589         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
19590         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
19591         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
19592         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
19593         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
19594         (__ieee754_gammaf_r): Likewise.
19595         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
19596         Likewise.
19597         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
19598         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
19599         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
19600         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
19601         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
19602         volatile.
19603         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
19604         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
19605         math_narrow_eval.
19606         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
19607         Likewise.
19608         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19609         Likewise.
19610         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
19611         Likewise.
19612         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
19613         volatile.
19614         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
19615         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
19616         math_narrow_eval.
19617         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19618         Likewise.
19619         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19620         Likewise.
19622 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
19624         * nptl/Versions: Remove ignored symbols.
19626 2015-09-22  Florian Weimer  <fweimer@redhat.com>
19628         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
19629         * nss/Makefile (tests): Update.
19631 2015-09-22  Florian Weimer  <fweimer@redhat.com>
19633         * nss/bug18287.c: New file.
19634         * nss/Makefile (tests): Add bug18287.
19636 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19638         * mach/Versions (__mach_host_self_): Add symbol.
19640 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19642         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
19643         vm_page_size.
19645 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19647         Really fix sysdeps/i386/fpu/s_scalbn.S build
19649         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
19650         (libc: GLIBC_2_22): Remove unused version set.
19652 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
19654         * config.make.in (enable-timezone-tools): New variable.
19655         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
19656         (enable_timezone_tools): Export to generated files.
19657         * configure: Regenerate.
19658         * INSTALL: Regenerate.
19659         * manual/install.texi (--disable-timezone-tools): Document new flag.
19660         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
19661         ifeq ($(enable-timezone-tools),yes) check.
19663 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
19665         * timezone/Makefile: Revert previous change.
19667         [BZ #18980]
19668         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
19669         (DEFINE_DBL_MIN): Likewise.
19670         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
19671         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
19672         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
19673         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
19674         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
19675         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19676         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
19677         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
19678         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
19679         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19680         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
19681         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
19682         (flt_min): Replace with use of DEFINE_FLT_MIN.
19683         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
19684         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
19685         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19686         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
19687         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
19688         (flt_min): Replace with use of DEFINE_FLT_MIN.
19689         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
19690         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
19691         (flt_min): Replace with use of DEFINE_FLT_MIN.
19692         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
19693         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
19694         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
19695         (__ieee754_hypot): Use DBL_NARROW_EVAL.
19696         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
19697         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
19698         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
19699         (__ieee754_pow): Use DBL_NARROW_EVAL.
19700         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
19701         (__ieee754_powf): Use FLT_NARROW_EVAL.
19702         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
19703         (__ieee754_expf_sse2): Convert double-precision result to single
19704         precision.
19705         * sysdeps/i386/fpu/libm-test-ulps: Update.
19707 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19709         * timezone/Makefile: Ignore unused variable errors due to private.h
19710         (time_t_min) and (time_t_max).
19711         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
19712         Likewise.
19714 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
19716         [BZ #18981]
19717         * sysdeps/i386/fpu/i386-math-asm.h: New file.
19718         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
19719         (__ieee754_scalb): Use DBL_NARROW_EVAL.
19720         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
19721         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
19722         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
19723         (__scalbn): Use DBL_NARROW_EVAL.
19724         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
19725         (__scalbnf): Use FLT_NARROW_EVAL.
19727 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19729         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
19730         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
19731         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
19732         * stdio-common/printf_fp.c (___printf_fp):
19733         Use signbit to get the sign. Use isinf macro to allow inlining.
19734         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
19735         * stdio-common/printf_size.c (__printf_size): Likewise.
19737 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
19739         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
19741 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
19743         [BZ #18980]
19744         * sysdeps/generic/math_private.h: Include <float.h>.
19745         (math_narrow_eval): New macro.
19746         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
19747         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
19748         math_narrow_eval on overflowing return value.
19749         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
19750         Likewise.
19751         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19752         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
19753         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
19754         Likewise.
19755         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
19757 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19759         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
19760         * math/Makefile: Remove isinf_ns.c.
19761         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
19762         * math/multc3.c (__multc3): Likewise.
19763         * math/s_casin.c (__casin): Likewise.
19764         * math/s_casinf.c (__casinf): Likewise.
19765         * math/s_casinl.c (__casinl): Likewise.
19766         * math/s_cproj.c (__cproj): Likewise.
19767         * math/s_cprojf.c (__cprojf): Likewise.
19768         * math/s_cprojl.c (__cprofl): Likewise.
19769         * math/s_ctan.c (__ctan): Likewise.
19770         * math/s_ctanf.c (__ctanf): Likewise.
19771         * math/s_ctanh.c (__ctanh): Likewise.
19772         * math/s_ctanhf.c (__ctanhf): Likewise.
19773         * math/s_ctanhl.c (__ctanhl): Likewise.
19774         * math/s_ctanl.c (__ctanl): Likewise.
19775         * math/w_fmod.c (__fmod): Likewise.
19776         * math/w_fmodf.c (__fmodf): Likewise.
19777         * math/w_fmodl.c (_fmodl): Likewise.
19778         * math/w_remainder.c (__remainder): Likewise.
19779         * math/w_remainderf.c (__remainderf): Likewise.
19780         * math/w_remainderl.c (__remainderl): Likewise.
19781         * math/w_scalb.c (__scalb): Likewise.
19782         * math/w_scalbf.c (__scalbf): Likewise.
19783         * math/w_scalbl.c (__scalbl): Likewise.
19784         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
19785         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
19786         with isinf.
19787         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
19788         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
19789         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
19790         __isinf_nsf with isinf.
19791         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
19792         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
19793         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
19794         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
19795         with isinf.
19796         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
19797         __isinf_nsl with isinf.
19798         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
19799         with isinf.
19800         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
19801         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
19802         __isinf_nsl with isinf.
19803         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
19804         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
19805         with isinf.
19807 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19809         * resolv/base64.c (rcsid): Remove unused static.
19810         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
19811         static.  (tqpi1): Likewise.
19812         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
19813         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
19814         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
19815         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
19816         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
19817         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
19818         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
19819         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
19820         Likewise.
19822 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
19824         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
19825         <nptl/pthreadP.h>.
19826         (_longjmp_unwind): Use __libc_ptf_call.
19827         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
19829 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
19831         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
19832         * sysdeps/arm/__longjmp.S: Likewise.
19834 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19836         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
19837         Use __builtin_signbit.
19838         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
19839         Use __builtin_signbitf.
19840         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
19841         Use __builtin_signbitl.
19842         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19843         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
19845 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19847         [BZ #15367]
19848         [BZ #17441]
19850         * math/Makefile: Build test-snan.c with -fsignaling-nans.
19851         * math/math.h (fpclassify): Use __builtin_fpclassify when
19852         available.  (signbit): Use __builtin_signbit(f/l).
19853         (isfinite): Use__builtin_isfinite.  (isnormal): Use
19854         __builtin_isnormal.  (isnan): Use __builtin_isnan.
19855         (isinf): Use __builtin_isinf_sign.
19857 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19859         * benchtests/Makefile: Add bench-math-inlines, link with libm.
19860         * benchtests/bench-math-inlines.c: New benchmark.
19861         * benchtests/bench-util.h: New file.
19862         * benchtests/bench-util.c: New file.
19863         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
19865 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
19867         * elf/tst-dlmopen1.c: Define TEST_SO.
19868         (do_test): Use TEST_SO.
19870         * elf/dl-load.c: Include libc-internal.h.
19871         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
19873 2015-09-18  Vincent Bernat  <vincent@bernat.im>
19875         [BZ #17887]
19876         * time/strptime_l.c (__strptime_internal): Make %z accept
19877         [+-]HH:MM time zones.
19879 2015-09-18  Vincent Bernat  <vincent@bernat.im>
19881         [BZ #17886]
19882         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
19883         valid time zone.
19885 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
19887         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
19888         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
19889         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19890         (__ASSUME_FDATASYNC): Delete.
19892 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
19894         * conform/linknamespace.pl: Require weak undefined symbols to be
19895         in the standard namespace.
19896         (%strong_syms): Rename to %seen_syms.
19897         (%strong_seen): Rename to %seen_where.
19899 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
19901         [BZ #18970]
19902         * misc/error.c (error): Replace pthread_setcancelstate with
19903         __pthread_setcancelstate.
19904         (error_at_line): Likewise.
19905         * posix/wordexp.c (parse_comm): Likewise.
19906         * stdlib/fmtmsg.c (fmtmsg): Likewise.
19907         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
19908         (__pthread_setcancelstate): This.
19909         (pthread_setcancelstate): Add an alias.
19910         * nptl/nptl-init.c (pthread_functions): Replace
19911         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
19912         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
19913         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
19914         hidden_proto.
19915         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
19916         it with hidden_def.
19917         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
19918         (pthread_setcancelstate): Renamed to ...
19919         (__pthread_setcancelstate): This.
19920         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
19921         __libc_ptf_call with __pthread_setcancelstate.
19923 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
19924             Andreas Schwab  <schwab@suse.de>
19926         [BZ #17118]
19927         * math/s_ctan.c (__ctan): Determine sign of zero real part of
19928         result when imaginary part of argument is infinite using sine and
19929         cosine.
19930         * math/s_ctanf.c (__ctanf): Likewise.
19931         * math/s_ctanl.c (__ctanl): Likewise.
19932         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
19933         of result when real part of argument is infinite using sine and
19934         cosine.
19935         * math/s_ctanhf.c (__ctanhf): Likewise.
19936         * math/s_ctanhl.c (__ctanhl): Likewise.
19937         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
19938         (ctanh_test_data): Add more tests of ctanh.
19940 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
19942         [BZ #15384]
19943         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
19944         bit-mask as in subtraction.
19945         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
19946         Likewise.
19947         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
19948         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
19949         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
19951         [BZ #18951]
19952         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
19953         underflow exception for small results.
19954         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
19955         Likewise.
19956         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
19957         Likewise.
19958         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19959         Likewise.
19960         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19961         Likewise.
19962         * math/auto-libm-test-in: Add more tests of tgamma.
19963         * math/auto-libm-test-out: Regenerated.
19965 2015-09-17  Andreas Schwab  <schwab@suse.de>
19967         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
19969 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
19971         [BZ #18977]
19972         * math/bits/mathcalls.h
19973         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
19974         not declare.
19975         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
19976         Likewise.
19977         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
19978         Likewise.
19979         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
19980         Likewise.
19981         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
19982         Likewise.
19983         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
19984         Likewise.
19985         * conform/data/math.h-data
19986         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
19987         function.
19988         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
19989         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
19990         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
19991         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
19992         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
19993         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
19994         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
19995         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
19996         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
19997         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
19998         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
20000         [BZ #6803]
20001         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
20002         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
20003         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
20004         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
20005         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
20006         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
20007         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
20008         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
20009         [NO_LONG_DOUBLE] (scalbnl): Likewise.
20010         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
20011         Likewise.
20012         [NO_LONG_DOUBLE] (scalbnl): Likewise.
20013         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
20014         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
20015         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
20016         long_double_symbol calls.
20017         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
20018         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
20019         strong alias of __ldexpl.
20020         (scalbnl): Define using long_double_symbol.
20021         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
20022         Remove alias.
20023         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
20024         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
20025         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
20026         (scalbln_test_data): Add more errno expectations.
20028 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
20030         Cache the host port like we cache the task port.  This way we do not
20031         need to call the kernel just to get the port.  Furthermore, we no
20032         longer increase the reference count on every invocation of
20033         `mach_host_self'.
20035         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
20036         Protect declarations against the macro expansion.
20037         * mach/mach_init.c (__mach_host_self_): New variable.
20038         (mach_init): Initialize `__mach_host_self_'.
20039         * mach/mach_init.h (__mach_host_self_): New declaration.
20040         (__mach_host_self, mach_host_self): New macros.
20041         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
20042         Release reference.
20044 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
20046         [BZ #4404]
20047         * po/de.po: Update from Translation Project.
20049         [BZ #16415]
20050         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
20051         (__expm1l): Remove code to handle positive infinity and overflow.
20052         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
20053         variable.
20054         (__expm1l): Remove code to handle positive infinity and overflow.
20056 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
20057             Paul Pluzhnikov  <ppluzhnikov@google.com>
20059         [BZ #18872]
20060         * stdio-common/Makefile (tst-printf-bz18872): New test.
20061         (tst-printf-bz18872-mem.out): Likewise.
20062         * stdio-common/tst-printf-bz18872.sh: Generate new test.
20063         * stdio-common/vfprintf.c: Fix memory leaks.
20065 2015-09-16  Andreas Schwab  <schwab@suse.de>
20067         [BZ #17244]
20068         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
20069         Remove extra va_start/va_end calls.
20071         [BZ #17243]
20072         * posix/execl.c (execl): Add missing va_end.
20073         * posix/execle.c (execle): Likewise.
20074         * posix/execlp.c (execlp): Likewise.
20076 2015-09-15  Roland McGrath  <roland@hack.frob.com>
20078         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
20079         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
20081 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
20083         [BZ #18967]
20084         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
20085         undefine around includes of <bits/mathcalls.h>.
20086         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
20087         not declare function.
20088         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
20089         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
20090         (scalb): Likewise.
20091         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
20092         not define macro.
20093         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
20094         variable.
20095         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20096         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20097         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20099         [BZ #18857]
20100         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
20101         return non-finite argument without doing ordered comparisons on
20102         it.
20104         [BZ #16296]
20105         * math/fenv.h (fegetround): Use __attribute_pure__.
20106         * include/fenv.h (__fegetround): Likewise.
20108         [BZ #18595]
20109         * math/s_ctan.c (__ctan): Force underflow exception for results
20110         whose real or imaginary part has small absolute value.
20111         * math/s_ctanf.c (__ctanf): Likewise.
20112         * math/s_ctanh.c (__ctanh): Likewise.
20113         * math/s_ctanhf.c (__ctanhf): Likewise.
20114         * math/s_ctanhl.c (__ctanhl): Likewise.
20115         * math/s_ctanl.c (__ctanl): Likewise.
20116         * math/auto-libm-test-in: Do not allow missing underflow for ctan
20117         and ctanh.  Add more tests of ctan and ctanh.
20119         [BZ #15918]
20120         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
20121         handling of cases where one argument is an infinity.
20123         [BZ #18875]
20124         [BZ #18966]
20125         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
20126         (MO): New macro.
20127         (__ieee754_exp10): For small results, force underflow exception
20128         and remove excess range and precision from return value.
20129         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
20130         (MO): New macro.
20131         (__ieee754_exp10f): For small results, force underflow exception
20132         and remove excess range and precision from return value.
20133         * math/auto-libm-test-in: Add more tests of exp10.
20134         * math/auto-libm-test-out: Regenerated.
20136 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
20138         [BZ #18875]
20139         [BZ #18961]
20140         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
20141         (MO): New macro.
20142         (__ieee754_exp): For small results, force underflow exception and
20143         remove excess range and precision from return value.
20144         (__exp_finite): Likewise.
20145         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
20146         (MO): New macro.
20147         (__ieee754_expf): For small results, force underflow exception and
20148         remove excess range and precision from return value.
20149         (__expf_finite): Likewise.
20150         * math/auto-libm-test-in: Add more tests of exp.
20151         * math/auto-libm-test-out: Regenerated.
20153         [BZ #16521]
20154         [BZ #18875]
20155         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
20156         small results.
20157         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
20158         (MO): New macro.
20159         (__ieee754_exp2): For small results, force underflow exception and
20160         remove excess range and precision from return value.
20161         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
20162         (MO): New macro.
20163         (__ieee754_exp2f): For small results, force underflow exception
20164         and remove excess range and precision from return value.
20165         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
20166         (MO): New macro.
20167         (__ieee754_exp2l): Force underflow exception for small results.
20168         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20169         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20170         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
20171         (MO): New macro.
20172         (__ieee754_exp2l): Force underflow exception for small results.
20173         * math/auto-libm-test-in: Add more tests or exp2.
20174         * math/auto-libm-test-out: Regenerated.
20176 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
20178         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
20180         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
20181         /dev/null.
20183 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20185         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20186         io fs process)): Drop spurious backslash.
20188 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
20190         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
20191         Use sysinfo system call instead of parsing /proc/meminfo.
20192         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
20193         Likewise.
20195 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
20197         [BZ #16985]
20198         * programs/localedef.c (main): Display argv[remaining] when
20199         output_path is NULL.
20201 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
20203         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20204         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
20205         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
20206         tanh.
20207         * math/auto-libm-test-out: Regenerated.
20208         * sysdeps/i386/fpu/libm-test-ulps: Update.
20209         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20210         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20213 2015-09-11  Roland McGrath  <roland@hack.frob.com>
20215         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
20216         Use 'override' keyword to freeze the value here, preventing
20217         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
20219 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
20221         [BZ #14912]
20222         * sysdeps/aarch64/bits/atomic.h: Move to ...
20223         * sysdeps/aarch64/atomic-machine.h: ...here.
20224         (_AARCH64_BITS_ATOMIC_H): Rename macro to
20225         _AARCH64_ATOMIC_MACHINE_H.
20226         * sysdeps/alpha/bits/atomic.h: Move to ...
20227         * sysdeps/alpha/atomic-machine.h: ...here.
20228         * sysdeps/arm/bits/atomic.h: Move to ...
20229         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
20230         * bits/atomic.h: Move to ...
20231         * sysdeps/generic/atomic-machine.h: ...here.
20232         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20233         * sysdeps/i386/bits/atomic.h: Move to ...
20234         * sysdeps/i386/atomic-machine.h: ...here.
20235         * sysdeps/ia64/bits/atomic.h: Move to ...
20236         * sysdeps/ia64/atomic-machine.h: ...here.
20237         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
20238         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
20239         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20240         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
20241         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
20242         * sysdeps/microblaze/bits/atomic.h: Move to ...
20243         * sysdeps/microblaze/atomic-machine.h: ...here.
20244         * sysdeps/mips/bits/atomic.h: Move to ...
20245         * sysdeps/mips/atomic-machine.h: ...here.
20246         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
20247         * sysdeps/powerpc/bits/atomic.h: Move to ...
20248         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
20249         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
20250         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
20251         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
20252         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
20253         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
20254         <atomic-machine.h> instead of <bits/atomic.h>.
20255         * sysdeps/s390/bits/atomic.h: Move to ...
20256         * sysdeps/s390/atomic-machine.h: ...here.
20257         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
20258         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
20259         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20260         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
20261         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
20262         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
20263         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
20264         * sysdeps/tile/bits/atomic.h: Move to ...
20265         * sysdeps/tile/atomic-machine.h: ...here.
20266         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
20267         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
20268         <sysdeps/tile/atomic-machine.h> instead of
20269         <sysdeps/tile/bits/atomic.h>.
20270         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20271         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
20272         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
20273         <sysdeps/tile/atomic-machine.h> instead of
20274         <sysdeps/tile/bits/atomic.h>.
20275         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20276         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
20277         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
20278         <sysdeps/arm/atomic-machine.h> instead of
20279         <sysdeps/arm/bits/atomic.h>.
20280         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
20281         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
20282         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20283         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
20284         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
20285         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20286         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
20287         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
20288         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
20289         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
20290         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
20291         * sysdeps/x86_64/bits/atomic.h: Move to ...
20292         * sysdeps/x86_64/atomic-machine.h: ...here.
20293         * include/atomic.h: Include <atomic-machine.h> instead of
20294         <bits/atomic.h>.
20296         * sysdeps/mips/mips32/libm-test-ulps: Update.
20297         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20299         [BZ #18952]
20300         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
20301         not convert non-integer negative arguments to int to determine the
20302         value of signgam.
20303         * math/auto-libm-test-in: Add more tests of lgamma.
20304         * math/auto-libm-test-out: Regenerated.
20306         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
20307         cosh, csqrt, erfc, expm1 and lgamma.
20308         * math/auto-libm-test-out: Regenerated.
20309         * sysdeps/i386/fpu/libm-test-ulps: Update.
20310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20312 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
20314         [BZ #2542]
20315         [BZ #2543]
20316         [BZ #2558]
20317         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
20318         __lgamma_neg for arguments from -28.0 to -2.0.
20319         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
20320         __lgamma_negf for arguments from -15.0 to -2.0.
20321         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20322         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
20323         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
20324         Call __lgamma_negl for arguments from -33.0 to -2.0.
20325         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
20326         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
20327         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
20328         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
20329         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
20330         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
20331         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
20332         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
20333         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
20334         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
20335         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
20336         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
20337         (__lgamma_neg): Likewise.
20338         (__lgamma_negl): Likewise.
20339         (__lgamma_product): Likewise.
20340         (__lgamma_productl): Likewise.
20341         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
20342         * math/auto-libm-test-in: Add more tests of lgamma.
20343         * math/auto-libm-test-out: Regenerated.
20344         * sysdeps/i386/fpu/libm-test-ulps: Update.
20345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20347 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
20349         [BZ #18675]
20350         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
20352 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
20354         [BZ #14912]
20355         * bits/libc-lock.h: Move to ...
20356         * sysdeps/generic/libc-lock.h: ...here.
20357         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20358         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
20359         * sysdeps/mach/hurd/libc-lock.h: ...here.
20360         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20361         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
20362         * sysdeps/mach/bits/libc-lock.h: Move to ...
20363         * sysdeps/mach/libc-lock.h: ...here.
20364         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20365         * sysdeps/nptl/bits/libc-lock.h: Move to ...
20366         * sysdeps/nptl/libc-lock.h: ...here.
20367         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20368         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
20369         * sysdeps/nptl/libc-lockP.h: ...here.
20370         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
20371         * crypt/crypt_util.c: Include <libc-lock.h> instead of
20372         <bits/libc-lock.h>.
20373         * dirent/scandir-tail.c: Likewise.
20374         * dlfcn/dlerror.c: Likewise.
20375         * elf/dl-close.c: Likewise.
20376         * elf/dl-iteratephdr.c: Likewise.
20377         * elf/dl-lookup.c: Likewise.
20378         * elf/dl-open.c: Likewise.
20379         * elf/dl-support.c: Likewise.
20380         * elf/dl-writev.h: Likewise.
20381         * elf/rtld.c: Likewise.
20382         * grp/fgetgrent.c: Likewise.
20383         * gshadow/fgetsgent.c: Likewise.
20384         * gshadow/sgetsgent.c: Likewise.
20385         * iconv/gconv_conf.c: Likewise.
20386         * iconv/gconv_db.c: Likewise.
20387         * iconv/gconv_dl.c: Likewise.
20388         * iconv/gconv_int.h: Likewise.
20389         * iconv/gconv_trans.c: Likewise.
20390         * include/link.h: Likewise.
20391         * inet/getnameinfo.c: Likewise.
20392         * inet/getnetgrent.c: Likewise.
20393         * inet/getnetgrent_r.c: Likewise.
20394         * intl/bindtextdom.c: Likewise.
20395         * intl/dcigettext.c: Likewise.
20396         * intl/finddomain.c: Likewise.
20397         * intl/gettextP.h: Likewise.
20398         * intl/loadmsgcat.c: Likewise.
20399         * intl/localealias.c: Likewise.
20400         * intl/textdomain.c: Likewise.
20401         * libidn/idn-stub.c: Likewise.
20402         * libio/libioP.h: Likewise.
20403         * locale/duplocale.c: Likewise.
20404         * locale/freelocale.c: Likewise.
20405         * locale/newlocale.c: Likewise.
20406         * locale/setlocale.c: Likewise.
20407         * login/getutent_r.c: Likewise.
20408         * login/getutid_r.c: Likewise.
20409         * login/getutline_r.c: Likewise.
20410         * login/utmp-private.h: Likewise.
20411         * login/utmpname.c: Likewise.
20412         * malloc/mtrace.c: Likewise.
20413         * misc/efgcvt.c: Likewise.
20414         * misc/error.c: Likewise.
20415         * misc/fstab.c: Likewise.
20416         * misc/getpass.c: Likewise.
20417         * misc/mntent.c: Likewise.
20418         * misc/syslog.c: Likewise.
20419         * nis/nis_call.c: Likewise.
20420         * nis/nis_callback.c: Likewise.
20421         * nis/nss-default.c: Likewise.
20422         * nis/nss_compat/compat-grp.c: Likewise.
20423         * nis/nss_compat/compat-initgroups.c: Likewise.
20424         * nis/nss_compat/compat-pwd.c: Likewise.
20425         * nis/nss_compat/compat-spwd.c: Likewise.
20426         * nis/nss_nis/nis-alias.c: Likewise.
20427         * nis/nss_nis/nis-ethers.c: Likewise.
20428         * nis/nss_nis/nis-grp.c: Likewise.
20429         * nis/nss_nis/nis-hosts.c: Likewise.
20430         * nis/nss_nis/nis-network.c: Likewise.
20431         * nis/nss_nis/nis-proto.c: Likewise.
20432         * nis/nss_nis/nis-pwd.c: Likewise.
20433         * nis/nss_nis/nis-rpc.c: Likewise.
20434         * nis/nss_nis/nis-service.c: Likewise.
20435         * nis/nss_nis/nis-spwd.c: Likewise.
20436         * nis/nss_nisplus/nisplus-alias.c: Likewise.
20437         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
20438         * nis/nss_nisplus/nisplus-grp.c: Likewise.
20439         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
20440         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
20441         * nis/nss_nisplus/nisplus-network.c: Likewise.
20442         * nis/nss_nisplus/nisplus-proto.c: Likewise.
20443         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
20444         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
20445         * nis/nss_nisplus/nisplus-service.c: Likewise.
20446         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
20447         * nis/ypclnt.c: Likewise.
20448         * nptl/libc_pthread_init.c: Likewise.
20449         * nss/getXXbyYY.c: Likewise.
20450         * nss/getXXent.c: Likewise.
20451         * nss/getXXent_r.c: Likewise.
20452         * nss/nss_db/db-XXX.c: Likewise.
20453         * nss/nss_db/db-netgrp.c: Likewise.
20454         * nss/nss_db/nss_db.h: Likewise.
20455         * nss/nss_files/files-XXX.c: Likewise.
20456         * nss/nss_files/files-alias.c: Likewise.
20457         * nss/nsswitch.c: Likewise.
20458         * posix/regex_internal.h: Likewise.
20459         * posix/wordexp.c: Likewise.
20460         * pwd/fgetpwent.c: Likewise.
20461         * resolv/res_hconf.c: Likewise.
20462         * resolv/res_libc.c: Likewise.
20463         * shadow/fgetspent.c: Likewise.
20464         * shadow/lckpwdf.c: Likewise.
20465         * shadow/sgetspent.c: Likewise.
20466         * socket/opensock.c: Likewise.
20467         * stdio-common/reg-modifier.c: Likewise.
20468         * stdio-common/reg-printf.c: Likewise.
20469         * stdio-common/reg-type.c: Likewise.
20470         * stdio-common/vfprintf.c: Likewise.
20471         * stdio-common/vfscanf.c: Likewise.
20472         * stdlib/abort.c: Likewise.
20473         * stdlib/cxa_atexit.c: Likewise.
20474         * stdlib/fmtmsg.c: Likewise.
20475         * stdlib/random.c: Likewise.
20476         * stdlib/setenv.c: Likewise.
20477         * string/strsignal.c: Likewise.
20478         * sunrpc/auth_none.c: Likewise.
20479         * sunrpc/bindrsvprt.c: Likewise.
20480         * sunrpc/create_xid.c: Likewise.
20481         * sunrpc/key_call.c: Likewise.
20482         * sunrpc/rpc_thread.c: Likewise.
20483         * sysdeps/arm/backtrace.c: Likewise.
20484         * sysdeps/generic/ldsodefs.h: Likewise.
20485         * sysdeps/generic/stdio-lock.h: Likewise.
20486         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
20487         * sysdeps/i386/backtrace.c: Likewise.
20488         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20489         * sysdeps/m68k/backtrace.c: Likewise.
20490         * sysdeps/mach/hurd/cthreads.c: Likewise.
20491         * sysdeps/mach/hurd/dirstream.h: Likewise.
20492         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
20493         * sysdeps/nptl/malloc-machine.h: Likewise.
20494         * sysdeps/nptl/stdio-lock.h: Likewise.
20495         * sysdeps/posix/dirstream.h: Likewise.
20496         * sysdeps/posix/getaddrinfo.c: Likewise.
20497         * sysdeps/posix/system.c: Likewise.
20498         * sysdeps/pthread/aio_suspend.c: Likewise.
20499         * sysdeps/s390/s390-32/backtrace.c: Likewise.
20500         * sysdeps/s390/s390-64/backtrace.c: Likewise.
20501         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20502         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
20503         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
20504         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
20505         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
20506         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
20507         * sysdeps/unix/sysv/linux/system.c: Likewise.
20508         * sysdeps/x86_64/backtrace.c: Likewise.
20509         * time/alt_digit.c: Likewise.
20510         * time/era.c: Likewise.
20511         * time/tzset.c: Likewise.
20512         * wcsmbs/wcsmbsload.c: Likewise.
20513         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
20514         instead of <bits/libc-lock.h> in comment.
20516 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
20518         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
20519         Only use .set mips2 if the current ISA is below mips2.
20520         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
20521         Likewise.
20522         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
20523         mips32r2 if the current ISA is below mips32r2.
20524         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
20525         (TLS_IE): Updated to use the TLD_RDHWR macro.
20526         (TLS_LE): Likewise.
20527         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
20528         __ASSEMBLER__ condition.
20530 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20532         Fix parallel build of before-compile targets.
20534         * sysdeps/mach/Makefile ($(patsubst
20535         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
20536         mach-before-compile target.
20537         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20538         io fs process)): Move rule to dedicated hurd-before-compile target.
20540 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20542         Fix rules generating headers in hurd/ and mach/ when initial make call
20543         has subdir= explicitly set.
20545         * sysdeps/mach/Makefile ($(patsubst
20546         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
20547         calling $(MAKE).
20548         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20549         io fs process)): Force subdir to hurd when calling $(MAKE).
20550         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
20551         subdir to mach when calling $(MAKE).
20553 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
20555         Check sysheaders when looking for Mach and Hurd headers
20557         * sysdeps/mach/configure.ac: Add sysheaders check.
20558         * sysdeps/mach/configure: Regenerate.
20559         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
20560         * sysdeps/mach/hurd/configure: Regenerate.
20562 2015-09-04  Roland McGrath  <roland@hack.frob.com>
20564         [BZ #18921]
20565         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
20566         Fix inverted sense of test of 'o_directory_works' value.
20567         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
20568         Bernhard Voelker <mail@bernhard-voelker.de>.
20570 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
20572         [BZ #14912]
20573         * bits/linkmap.h: Move to ...
20574         * sysdeps/generic/linkmap.h: ...here.
20575         * sysdeps/aarch64/bits/linkmap.h: Move to ...
20576         * sysdeps/aarch64/linkmap.h: ...here.
20577         * sysdeps/arm/bits/linkmap.h: Move to ...
20578         * sysdeps/arm/linkmap.h: ...here.
20579         * sysdeps/hppa/bits/linkmap.h: Move to ...
20580         * sysdeps/hppa/linkmap.h: ...here.
20581         * sysdeps/ia64/bits/linkmap.h: Move to ...
20582         * sysdeps/ia64/linkmap.h: ...here.
20583         * sysdeps/mips/bits/linkmap.h: Move to ...
20584         * sysdeps/mips/linkmap.h: ...here.
20585         * sysdeps/s390/bits/linkmap.h: Move to ...
20586         * sysdeps/s390/linkmap.h: ...here.
20587         * sysdeps/sh/bits/linkmap.h: Move to ...
20588         * sysdeps/sh/linkmap.h: ...here.
20589         * sysdeps/x86/bits/linkmap.h: Move to ...
20590         * sysdeps/x86/linkmap.h: ...here.
20591         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
20593 2015-09-04  Andreas Schwab  <schwab@suse.de>
20595         [BZ #18635]
20596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
20597         (__makecontext): Terminate FDE before return label.
20598         (__novec_makecontext): Likewise.
20600 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20602         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
20603         first member of struct sv in syscall macro.
20605 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
20607         [BZ #14912]
20608         * bits/stdio-lock.h: Move to ...
20609         * sysdeps/generic/stdio-lock.h: ...here.
20610         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
20611         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
20612         * sysdeps/nptl/stdio-lock.h: ...here.
20613         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
20614         * include/libio.h: Include <stdio-lock.h> instead of
20615         <bits/stdio-lock.h>.
20616         * sysdeps/nptl/fork.c: Likewise.
20617         * sysdeps/pthread/flockfile.c: Likewise.
20618         * sysdeps/pthread/ftrylockfile.c: Likewise.
20619         * sysdeps/pthread/funlockfile.c: Likewise.
20621         [BZ #14912]
20622         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
20623         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
20624         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
20625         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
20626         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
20627         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
20628         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
20630 2015-09-03  Roland McGrath  <roland@hack.frob.com>
20632         * elf/Makefile (test-xfail-tst-protected1a): New variable.
20633         (test-xfail-tst-protected1b): New variable.
20635 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
20637         [BZ #14912]
20638         * bits/libc-tsd.h: Move to ...
20639         * sysdeps/generic/libc-tsd.h: ...here.
20640         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
20641         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
20642         * sysdeps/mach/hurd/libc-tsd.h: ...here.
20643         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
20644         * include/ctype.h: Include <libc-tsd.h> instead of
20645         <bits/libc-tsd.h>.
20646         * include/rpc/rpc.h: Likewise.
20647         * locale/localeinfo.h: Likewise.
20648         * sunrpc/rpc_thread.c: Likewise.
20649         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
20650         * sysdeps/nptl/malloc-machine.h: Likewise.
20652         * Makefile (headers): Remove bits/libc-lock.h.
20653         * libio/Makefile (headers): Remove bits/stdio-lock.h.
20655         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
20656         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
20657         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
20658         <bits/stdio-lock.h>.
20659         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
20660         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
20662 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
20664         [BZ #18757]
20665         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
20666         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
20667         BZ #18757.
20669 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
20671         * malloc/mtrace.pl: Filter out NULL entries.
20673 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
20675         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
20676         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
20677         macro.
20679         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
20680         (TCP_CC_INFO): Likewise.
20681         (TCP_SAVE_SYN): Likewise.
20682         (TCP_SAVED_SYN): Likewise.
20684 2015-08-31  Brett Neumeier <brett@neumeier.us>
20686         [BZ #18870]
20687         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
20689 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
20691         [BZ #18873]
20692         Fix broken overflow check in posix_fallocate
20693         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
20694         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
20695         Fix parenthesization typo.
20697 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
20699         [BZ #18887]
20700         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
20701         tst-mntent-blank-passno.
20702         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
20703         * misc/tst-mntent-blank-corrupt.c: New test.
20704         * misc/tst-mntent-blank-passno.c: New test ripped from ...
20705         * misc/tst-mntent.c (do_test): ... here.
20707 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
20709         [BZ #4404]
20710         * po/de.po: Fix SIGALRM typo.
20712 2015-08-28  James Perkins  <james@loowit.net>
20714         * time/tst-strptime2.c (tests): Replace short list of test
20715         strings for strptime %z specifier with code which exhaustively
20716         tests every combination of sign and 0 to 5 digits. Tests for
20717         rejection of invalid strings.
20719 2015-08-28  James Perkins  <james@loowit.net>
20721         [BZ #16141]
20722         * time/strptime_l.c (__strptime_internal): Fix %z minutes
20723         calculation, removing incorrect decimal time rounding, so that
20724         all minute values result in a valid seconds value.
20725         * time/strptime_l.c (__strptime_internal): Extend %z time zone
20726         offset range limits to UTC-99:59 through UTC+99:59 to parse
20727         current and historical use cases.
20728         * time/tst-strptime2.c (tests): Modify and add tests for the
20729         strptime %z input field descriptor, specifically conversion of
20730         minutes to seconds and validating an offset range of -9959 to
20731         +9959.
20733 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20734             Dmitry V. Levin  <ldv@altlinux.org>
20736         [BZ #18877]
20737         * posix/Makefile (tests): Add tst-mmap-offset.
20738         * posix/tst-mmap.c: New file.
20739         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
20740         offset calculation for negative values.
20742 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20744         * sysdeps/i386/init-arch.h: New file.
20745         * sysdeps/i386/i586/init-arch.h: Likewise.
20746         * sysdeps/i386/i686/init-arch.h: Likewise.
20747         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
20748         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
20749         * sysdeps/x86/cpu-features.h (bit_I586): New.
20750         (bit_I686): Likewise.
20751         (bit_CX8): Likewise.
20752         (bit_CMOV): Likewise.
20753         (index_CX8): Likewise.
20754         (index_CMOV): Likewise.
20755         (index_I586): Likewise.
20756         (index_I686): Likewise.
20757         (reg_CX8): Likewise.
20758         (reg_CMOV): Likewise.
20759         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
20760         available at compile-time.
20761         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
20762         available at compile-time.
20763         * sysdeps/x86/init-arch.h (USE_I586): New macro.
20764         (USE_I686): Likewise.
20766 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20768         * sysdeps/i386/bcopy.S: New file.
20769         * sysdeps/i386/bzero.S: Likewise.
20770         * sysdeps/i386/memcpy.S: Likewise.
20771         * sysdeps/i386/memmove.S: Likewise.
20772         * sysdeps/i386/mempcpy.S: Likewise.
20773         * sysdeps/i386/memset.S: Likewise.
20774         * sysdeps/i386/bzero.c: Removed.
20775         * sysdeps/i386/memset.c: Likewise.
20776         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
20777         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
20778         * sysdeps/i386/i586/memset_chk.S: Likewise.
20779         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
20780         * sysdeps/i386/memcpy_chk.S: Here.
20781         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
20782         * sysdeps/i386/memmove_chk.S: Here.
20783         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
20784         * sysdeps/i386/mempcpy_chk.S: Likewise.
20785         * sysdeps/i386/i686/memset_chk.S: Moved to ...
20786         * sysdeps/i386/memset_chk.S: Likewise.
20788 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
20790         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
20791         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
20792         file, move DIAG_POP_NEEDS_COMMENT to end of file.
20793         * soft-fp/fmadf4.c: Ditto.
20794         * soft-fp/fmatf4.c: Ditto.
20796 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20798         * sysdeps/i386/i586/Implies: Removed.
20799         * sysdeps/i386/i686/Implies: Likewise.
20801 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20803         * sysdeps/i386/i486/strlen.S: Moved to ...
20804         * sysdeps/i386/strlen.S: Here.
20806 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20808         * sysdeps/i386/i486/strcat.S: Moved to ...
20809         * sysdeps/i386/strcat.S: Here.
20811 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20813         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
20814         * sysdeps/i386/pthread_spin_trylock.S: Here.
20815         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
20816         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
20818 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20820         * sysdeps/i386/i486/string-inlines.c: Moved to ...
20821         * sysdeps/i386/string-inlines.c: Here.
20823 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20825         * sysdeps/i386/i486/htonl.S: Moved ...
20826         * sysdeps/i386/htonl.S: here.
20828 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20830         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
20831         * sysdeps/i386/bits/atomic.h: Here.
20833 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20835         * sysdeps/i386/i486/Versions: Removed.
20837 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
20839         [BZ #2898]
20840         * misc/mktemp.c: Add mkdtemp to the link_warning message.
20841         Based on patch by Aurelien Jarno.
20843 2015-08-26  Stan Shebs  <stanshebs@google.com>
20845         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
20846         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20848 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20850         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
20851         * sysdeps/powerpc/dl-procinfo.c:
20852         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
20853         feature so it shows when LD_SHOW_AUXV=1.
20855 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20857         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
20858         (__arch_compare_and_exchange_val_32_acq): Remove and use common
20859         definition.  ISA 2.07B no longer requires full sync.
20861 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
20863         [BZ #18863]
20864         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
20865         (si_call_addr): Define.
20866         (si_syscall): Define.
20867         (si_arch): Define.
20869 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
20871         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
20872         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
20873         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
20874         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
20875         (__memset_zero_constant_len_parameter): New.
20876         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
20877         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
20878         (__memset_zero_constant_len_parameter): Don't define if
20879         __memset_chk or USE_AS_BZERO are defined.
20881         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
20882         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
20883         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
20885         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
20886         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
20887         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
20888         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
20889         comments.
20890         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
20891         -mno-mmx for $(all-rtld-routines).
20892         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
20893         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
20894         i386.
20896 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
20898         * sysdeps/generic/unwind.h
20899         (_Unwind_Word): Use __mode__(__unwind_word__)
20900         instead of __mode__(__word__).
20901         (_Unwind_Sword): Likewise.
20903         * sysdeps/s390/s390-64/utf8-utf16-z9.c
20904         (MAX_NEEDED_INPUT): New define.
20905         (MAX_NEEDED_OUTPUT): New define.
20907         * NEWS: New item for IBM z13 string optimizations.
20909         * sysdeps/s390/multiarch/memrchr-c.c: New File.
20910         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
20911         * sysdeps/s390/multiarch/memrchr.c: Likewise.
20912         * sysdeps/s390/multiarch/Makefile
20913         (sysdep_routines): Add memrchr functions.
20914         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20915         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
20917         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
20918         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
20919         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
20920         * sysdeps/s390/multiarch/Makefile
20921         (sysdep_routines): Add wmemcmp functions.
20922         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20923         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
20924         * benchtests/bench-wmemcmp.c: New File.
20925         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
20927         * sysdeps/s390/multiarch/wmemset-c.c: New File.
20928         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
20929         * sysdeps/s390/multiarch/wmemset.c: Likewise.
20930         * sysdeps/s390/multiarch/Makefile
20931         (sysdep_routines): Add wmemset functions.
20932         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20933         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
20934         * wcsmbs/wmemset.c: Use WMEMSET if defined.
20935         * string/test-memset.c: Add wmemset support.
20936         * wcsmbs/test-wmemset.c: New File.
20937         * wcsmbs/Makefile (strop-tests): Add wmemset.
20938         * benchtests/bench-memset.c: Add wmemset support.
20939         * benchtests/bench-wmemset.c: New File.
20940         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
20942         * sysdeps/s390/multiarch/memccpy-c.c: New File.
20943         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
20944         * sysdeps/s390/multiarch/memccpy.c: Likewise.
20945         * sysdeps/s390/multiarch/Makefile
20946         (sysdep_routines): Add memccpy functions.
20947         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20948         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
20949         * string/memccpy.c: Use MEMCCPY if defined.
20951         * sysdeps/s390/multiarch/memchr-vx.S: New File.
20952         * sysdeps/s390/multiarch/memchr.c: Likewise.
20953         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
20954         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
20955         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
20956         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
20957         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
20958         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
20959         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
20960         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
20961         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
20962         and rawmemchr functions.
20963         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20964         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
20965         and wmemchr.
20966         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
20967         * string/test-memchr.c: Add wmemchr support.
20968         * wcsmbs/test-wmemchr.c: New File.
20969         * wcsmbs/Makefile (strop-tests): Add wmemchr.
20970         * benchtests/bench-memchr.c: Add wmemchr support.
20971         * benchtests/bench-wmemchr.c: New File.
20972         * benchtests/Makefile (wcsmbs-bench): wmemchr.
20974         * sysdeps/s390/multiarch/strcspn-c.c: New File.
20975         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
20976         * sysdeps/s390/multiarch/strcspn.c: Likewise.
20977         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
20978         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
20979         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
20980         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
20981         wcscspn functions.
20982         * sysdeps/s390/multiarch/ifunc-impl-list.c
20983         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
20984         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
20985         * string/test-strcspn.c: Add wcscspn support.
20986         * wcsmbs/test-wcscspn.c: New File.
20987         * wcsmbs/Makefile (strop-tests): Add wcscspn.
20988         * benchtests/bench-strcspn.c: Add wcscspn support.
20989         * benchtests/bench-wcscspn.c: New File.
20990         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
20992         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
20993         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
20994         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
20995         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
20996         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
20997         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
20998         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
20999         wcspbrk functions.
21000         * sysdeps/s390/multiarch/ifunc-impl-list.c
21001         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
21002         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
21003         * string/test-strpbrk.c: Add wcspbrk support.
21004         * wcsmbs/test-wcspbrk.c: New File.
21005         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
21006         * benchtests/bench-strpbrk.c: Add wcspbrk support.
21007         * benchtests/bench-wcspbrk.c: New File.
21008         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
21010         * sysdeps/s390/multiarch/strspn-c.c: New File.
21011         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
21012         * sysdeps/s390/multiarch/strspn.c: Likewise.
21013         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
21014         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
21015         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
21016         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
21017         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
21018         wcsspn functions.
21019         * sysdeps/s390/multiarch/ifunc-impl-list.c
21020         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
21021         * string/test-strspn.c: Add wcsspn support.
21022         * wcsmbs/test-wcsspn.c: New File.
21023         * wcsmbs/Makefile (strop-tests): Add wcsspn.
21024         * benchtests/bench-strspn.c: Add wcsspn support.
21025         * benchtests/bench-wcsspn.c: New File.
21026         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
21028         * sysdeps/s390/multiarch/strrchr-c.c: New File.
21029         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
21030         * sysdeps/s390/multiarch/strrchr.c: Likewise.
21031         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
21032         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
21033         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
21034         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
21035         wcsrchr functions.
21036         * sysdeps/s390/multiarch/ifunc-impl-list.c
21037         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
21038         * benchtests/bench-wcsrchr.c: New File.
21039         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
21041         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
21042         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
21043         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
21044         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
21045         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
21046         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
21047         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
21048         wcschrnul functions.
21049         * sysdeps/s390/multiarch/ifunc-impl-list.c
21050         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
21051         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
21052         * string/test-strchr.c: Add wcschrnul support.
21053         * wcsmbs/test-wcschrnul.c: New File.
21054         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
21055         * benchtests/bench-strchr.c: Add wcschrnul support.
21056         * benchtests/bench-wcschrnul.c: New File.
21057         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
21059         * sysdeps/s390/multiarch/strchr-c.c: New File.
21060         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
21061         * sysdeps/s390/multiarch/strchr.c: Likewise.
21062         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
21063         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
21064         * sysdeps/s390/multiarch/wcschr.c: Likewise.
21065         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
21066         wcschr functions.
21067         * sysdeps/s390/multiarch/ifunc-impl-list.c
21068         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
21069         * string/strchr.c (STRCHR): Define and use macro.
21070         * benchtests/bench-wcschr.c: New File.
21071         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
21073         * sysdeps/s390/multiarch/strncmp-c.c: New File.
21074         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
21075         * sysdeps/s390/multiarch/strncmp.c: Likewise.
21076         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
21077         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
21078         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
21079         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
21080         wcsncmp functions.
21081         * sysdeps/s390/multiarch/ifunc-impl-list.c
21082         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
21083         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
21084         * benchtests/bench-strncmp.c: Add wcsncmp support.
21085         * benchtests/bench-wcsncmp.c: New File.
21086         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
21088         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
21089         * sysdeps/s390/multiarch/strcmp.c: Likewise.
21090         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
21091         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
21092         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
21093         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
21094         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
21095         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
21096         wcscmp functions.
21097         * sysdeps/s390/multiarch/ifunc-impl-list.c
21098         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
21099         * string/strcmp.c (STRCMP): Define and use macro.
21100         * benchtests/bench-wcscmp.c: New File.
21101         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
21102         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
21103         instead of _HAVE_STRING_ARCH_memchr.
21105         * sysdeps/s390/multiarch/strncat-c.c: New File.
21106         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
21107         * sysdeps/s390/multiarch/strncat.c: Likewise.
21108         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
21109         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
21110         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
21111         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
21112         wcsncat functions.
21113         * sysdeps/s390/multiarch/ifunc-impl-list.c
21114         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
21115         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
21116         * string/test-strncat.c: Add wcsncat support.
21117         * wcsmbs/test-wcsncat.c: New File.
21118         * wcsmbs/Makefile (strop-tests): Add wcsncat.
21119         * benchtests/bench-strncat.c: Add wcsncat support.
21120         * benchtests/bench-wcsncat.c: New File.
21121         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
21123         * sysdeps/s390/multiarch/strcat-c.c: New File.
21124         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
21125         * sysdeps/s390/multiarch/strcat.c: Likewise.
21126         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
21127         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
21128         * sysdeps/s390/multiarch/wcscat.c: Likewise.
21129         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
21130         wcscat functions.
21131         * sysdeps/s390/multiarch/ifunc-impl-list.c
21132         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
21133         * string/strcat.c (STRCAT): Define and use macro.
21134         * wcsmbs/wcscat.c: Use WCSCAT if defined.
21135         * string/test-strcat.c: Add wcscat support.
21136         * wcsmbs/test-wcscat.c: New File.
21137         * wcsmbs/Makefile (strop-tests): Add wcscat.
21138         * benchtests/bench-strcat.c: Add wcscat support.
21139         * benchtests/bench-wcscat.c: New File.
21140         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
21142         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
21143         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
21144         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
21145         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
21146         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
21147         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
21148         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
21149         wcpncpy functions.
21150         * sysdeps/s390/multiarch/ifunc-impl-list.c
21151         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
21152         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
21153         * string/test-stpncpy.c: Add wcpncpy support.
21154         * wcsmbs/test-wcpncpy.c: New File.
21155         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
21156         * benchtests/bench-stpncpy.c: Add wcpncpy support.
21157         * benchtests/bench-wcpncpy.c: New File.
21158         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
21160         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
21161         * sysdeps/s390/multiarch/strncpy.c: Likewise.
21162         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
21163         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
21164         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
21165         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
21166         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
21167         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
21168         wcsncpy functions.
21169         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
21170         * sysdeps/s390/multiarch/ifunc-impl-list.c
21171         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
21172         * string/test-strncpy.c: Add wcsncpy support.
21173         * wcsmbs/test-wcsncpy.c: New File.
21174         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
21175         * benchtests/bench-strncpy.c: Add wcsncpy support.
21176         * benchtests/bench-wcsncpy.c: New File.
21177         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
21179         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
21180         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
21181         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
21182         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
21183         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
21184         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
21185         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
21186         wcpcpy functions.
21187         * string/stpcpy.c: Use STPCPY if defined.
21188         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
21189         * sysdeps/s390/multiarch/ifunc-impl-list.c
21190         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
21191         * string/test-stpcpy.c: Add wcpcpy support.
21192         * wcsmbs/test-wcpcpy.c: New File.
21193         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
21194         * benchtests/bench-stpcpy.c: Add wcpcpy support.
21195         * benchtests/bench-wcpcpy.c: New File.
21196         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
21198         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
21199         * sysdeps/s390/multiarch/strcpy.c: Likewise.
21200         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
21201         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
21202         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
21203         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
21204         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
21205         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
21206         wcscpy functions.
21207         * sysdeps/s390/multiarch/ifunc-impl-list.c
21208         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
21209         * benchtests/bench-wcscpy.c: New File.
21210         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
21212         * sysdeps/s390/multiarch/strnlen-c.c: New File.
21213         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
21214         * sysdeps/s390/multiarch/strnlen.c: Likewise.
21215         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
21216         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
21217         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
21218         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
21219         wcsnlen functions.
21220         * sysdeps/s390/multiarch/ifunc-impl-list.c
21221         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
21222         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
21223         * string/test-strnlen.c: Add wcsnlen support.
21224         * wcsmbs/test-wcsnlen.c: New File.
21225         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
21226         * benchtests/bench-strnlen.c: Add wcsnlen support.
21227         * benchtests/bench-wcsnlen.c: New File.
21228         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
21230         * sysdeps/s390/multiarch/Makefile: New File.
21231         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
21232         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
21233         * sysdeps/s390/multiarch/strlen.c: Likewise.
21234         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
21235         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
21236         * sysdeps/s390/multiarch/wcslen.c: Likewise.
21237         * string/strlen.c (STRLEN): Define and use macro.
21238         * sysdeps/s390/multiarch/ifunc-impl-list.c
21239         (IFUNC_VX_IMPL): New macro function.
21240         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
21241         * benchtests/Makefile (wcsmbs-bench): New variable.
21242         (string-bench-all): Added wcsmbs-bench.
21243         * benchtests/bench-wcslen.c: New File.
21245         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
21246         s390_vx_libc_ifunc2): New macro function.
21248         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
21249         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
21250         assembler support.
21251         * sysdeps/s390/configure: Regenerated.
21253         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
21254         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
21256         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
21257         * sysdeps/s390/dl-procinfo.h: Add vector capability.
21258         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
21260         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
21261         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
21262         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
21263         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
21264         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
21265         (memcmp, bcmp): Use __memcmp_default as alias source.
21266         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
21267         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
21268         Rename to __memcmp_default.
21269         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
21270         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
21271         (memcpy): Use __memcpy_default as alias source.
21272         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
21273         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
21274         Rename to __memcpy_default.
21275         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
21276         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
21277         (memset): Use __memset_default as alias source.
21278         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
21279         * sysdeps/s390/s390-32/memset.S (__memset_g5):
21280         Rename to __memset_default.
21281         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
21282         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
21283         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
21284         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
21285         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
21286         (memcmp, bcmp): Use __memcmp_default as alias source.
21287         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
21288         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
21289         Rename to __memcmp_default.
21290         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
21291         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
21292         (memcpy): Use __memcpy_default as alias source.
21293         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
21294         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
21295         Rename to __memcpy_default.
21296         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
21297         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
21298         (memset): Use __memset_default as alias source.
21299         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
21300         * sysdeps/s390/s390-64/memset.S (__memset_z900):
21301         Rename to __memset_default.
21302         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
21303         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
21305         [BZ #18610]
21306         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
21307         __ieee_instruction_pointer to __unused.
21308         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
21309         __ieee_instruction_pointer.
21310         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
21311         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
21312         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21313         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21314         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
21315         Mark dxc-field as reserved.
21317 2015-08-25  Roland McGrath  <roland@hack.frob.com>
21319         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
21320         if the weak reference is not null.
21322 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
21324         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
21326         [BZ #11214]
21327         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
21329 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21331         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
21332         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
21333         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
21334         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
21335         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
21336         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
21337         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
21338         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
21339         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
21340         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
21341         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
21342         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
21343         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
21344         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
21345         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
21346         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
21347         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
21348         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
21350 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21352         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
21353         register other than r0 for tabort, it has special meaning.
21354         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
21355         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
21356         transaction before starting syscall.
21358 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21360         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
21362 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
21364         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
21366         * sysdeps/x86_64/rtld-memcmp.c: Removed.
21367         * sysdeps/x86_64/rtld-memset.S: Likewise.
21368         * sysdeps/x86_64/rtld-strchr.S: Likewise.
21369         * sysdeps/x86_64/rtld-strlen.S: Likewise.
21370         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
21371         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
21373         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
21375 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
21377         * debug/strcpy_chk.c: Improve performance.
21378         * debug/stpcpy_chk.c: Likewise.
21379         * sysdeps/x86_64/strcpy_chk.S: Remove.
21380         * sysdeps/x86_64/stpcpy_chk.S: Remove.
21382         [BZ #18240]
21383         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
21385 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
21387         [BZ #15128]
21388         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
21389         ifuncmain8.
21390         (modules-names): Add ifuncmod8.
21391         ($(objpfx)ifuncmain8): New rule.
21392         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
21393         <cpuid.h>.
21394         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
21395         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
21396         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
21397         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
21398         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
21399         * sysdeps/x86_64/dl-trampoline.h: Likewise.
21400         * sysdeps/x86_64/ifuncmain8.c: New file.
21401         * sysdeps/x86_64/ifuncmod8.c: Likewise.
21402         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
21403         Removed.
21404         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
21405         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
21406         Change rtld_savespace_sse to __glibc_unused2.
21407         (RTLD_CHECK_FOREIGN_CALL): Removed.
21408         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
21409         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
21410         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
21412 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
21414         * sysdeps/aarch64/bzero.S (__bzero): Remove.
21416 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
21418         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
21419         Unconditionally set __fpcr to avoid uninialized warning.
21420         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
21422 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21424         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
21425         is corrupt.
21427         * malloc/arena.c (arena_get2): Drop unused argument.
21428         (arena_lock): Adjust.
21429         (arena_get_retry): Likewise.
21431 2015-08-24  Andreas Schwab  <schwab@suse.de>
21433         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
21434         Don't define.
21435         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21436         (__ASSUME_IPC64): Don't undef.
21437         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
21438         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21439         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21440         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
21441         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
21442         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
21443         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
21444         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
21445         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
21446         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
21447         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
21448         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
21449         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
21450         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
21451         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
21452         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
21453         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
21454         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
21455         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
21456         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
21457         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
21459 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
21461         * manual/Makefile (install): Only build manual when perl is available.
21463 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21465         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
21466         '#undef memcpy' by '#undef memchr'.
21468 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21470         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
21471         memchr not point to the internal __GI_memchr implementation.
21473 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
21475         * timezone/Makefile (CFLAGS-zdump.c): Remove
21476         -Wno-strict-prototypes.
21477         (CFLAGS-zic.c): Likewise.
21478         (CFLAGS-ialloc.c): Likewise.
21479         (CFLAGS-scheck.c): Likewise.
21481         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
21482         -Wno-error=undef.
21484 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
21486         * i386/i686/multiarch/strcasestr-c.c: Removed.
21487         * x86_64/multiarch/strcasestr.c: Likewise.
21488         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21489         Remove strcasestr.
21491 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
21493         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
21495         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
21496         variables for high and low parts before possibly modifying them.
21498 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
21500         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
21501         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
21502         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
21503         of "multiarch/init-arch.h".
21504         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
21505         * sysdeps/x86/init-arch.h: This.
21507 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
21509         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
21510         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
21512 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
21514         [BZ #17787]
21515         * manual/macros.texi: Add twoexp macro.
21516         * manual/filesys.texi: Fix exponents.
21517         * manual/llio.texi: Likewise.
21518         * manual/stdio.texi: Likewise.
21520 2015-08-20  Florian Weimer  <fweimer@redhat.com>
21522         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
21523         incorrect use.
21525 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
21527         [BZ #18370]
21528         * math/s_csqrt.c (__csqrt): Force underflow exception for results
21529         whose real or imaginary part has small absolute value.
21530         * math/s_csqrtf.c (__csqrtf): Likewise.
21531         * math/s_csqrtl.c (__csqrtl): Likewise.
21532         * math/auto-libm-test-in: Add more tests of csqrt.
21533         * math/auto-libm-test-out: Regenerated.
21534         * sysdeps/i386/fpu/libm-test-ulps: Update.
21536 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21538         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
21539         __ppc_set_ppr_very_low): New functions.
21540         * manual/platform.texi: Add documentation about
21541         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
21543 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
21545         * string/stpncpy.c (stpncpy): Improve performance using
21546         __strnlen/memcpy/memset.
21548 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
21550         [BZ #18796]
21551         * scripts/test-installation.pl: Don't add -lmvec to build options if
21552         libmvec wasn't built.
21554 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
21556         [BZ #14341]
21557         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
21558         case when there is a gap between DT_REL and DT_JMPREL sections.
21559         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
21560         (LDFLAGS-tst-split-dynreloc): New.
21561         (tst-split-dynreloc-ENV): Likewise.
21562         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
21563         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
21565 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
21567         [BZ #18822]
21568         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
21569         attribute_hidden.
21570         (__xstat64_conv): Likewise.
21571         (__xstat32_conv): Likewise.
21573 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
21575         [BZ #18822]
21576         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
21577         Don't load %ebx when calling __setcontext.  Call __setcontext
21578         with HIDDEN_JUMPTARGET.
21579         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
21580         libc_hidden_def.
21582 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
21584         * sysdeps/i386/i686/Makefile
21585         [$(subdir) == string] (sysdep_routines): Moved to ...
21586         * sysdeps/i386/Makefile: Here.
21587         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
21588         * sysdeps/i386/cacheinfo.c: Here.
21589         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
21590         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
21591         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
21592         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
21594 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
21596         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
21597         __i586__ is defined.
21598         (HAS_I686): Defined to 1 if __i686__ is defined.
21600 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
21602         * elf/Makefile [$(have-z-execstack) = yes]
21603         (CPPFLAGS-tst-execstack.c): New variable.
21605         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
21606         conditional to [defined UTMPX || _HAVE_UT_TYPE].
21607         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
21608         UTMPX || _HAVE_UT_TV].
21609         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
21610         UTMPX || _HAVE_UT_TV - 0].
21612 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
21614         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
21615         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
21616         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
21618 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21620         * sysdeps/powerpc/dl-procinfo.c:
21621         (_dl_powerpc_cap_flags): Added missing strings for some
21622         hwcap features.
21623         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
21625 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
21627         Port the 0x7efe...feff pattern to GCC 6.
21628         See Steve Ellcey's bug report in:
21629         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
21630         * string/memrchr.c (MEMRCHR):
21631         * string/rawmemchr.c (RAWMEMCHR):
21632         * string/strchr.c (strchr):
21633         * string/strchrnul.c (STRCHRNUL):
21634         Rewrite code to avoid issues with signed shift overflow.
21636 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
21638         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
21639         whether cpuid is available only if HAS_CPUID is 0.
21640         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
21641         (HAS_I586): Likewise.
21642         (HAS_I686): Likewise.
21644 2015-08-18  Zack Weinberg  <zackw@panix.com>
21646         * misc/Versions (libc): Add GLIBC_2.23.
21648 2015-08-18  Alan Modra  <amodra@gmail.com>
21650         [BZ #18421]
21651         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
21652         .Lp__global.
21653         (_start): Load %dp via .Lp__global.
21654         [!SHARED]: Use .section .rodata.
21656 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21658         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
21659         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
21661 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21663         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
21664         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
21666 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21668         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
21669         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
21671 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21673         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
21674         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
21676 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21678         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
21679         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
21681 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21683         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
21684         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
21686 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21688         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
21690 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21692         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
21693         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
21694         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21695         (__ASSUME_LWS_CAS): Delete.
21697 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21699         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
21700         * sysdeps/hppa/configure: Regenerated.
21701         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
21702         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
21703         * sysdeps/hppa/nptl/tls.h: Likewise.
21705 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
21707         [BZ #18823]
21708         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
21709         for scaling up small arguments.
21710         * math/s_csqrtf.c (__csqrtf): Likewise.
21711         * math/s_csqrtl.c (__csqrtl): Likewise.
21712         * math/auto-libm-test-in: Add more tests of csqrt.
21713         * math/auto-libm-test-out: Regenerated.
21715 2015-08-17  Andreas Schwab  <schwab@suse.de>
21717         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
21718         version set GLIBC_2.19.
21720 2015-08-16  Zack Weinberg  <zackw@panix.com>
21722         [BZ #18681]
21723         * misc/regexp.h: This interface is no longer supported.
21724         Remove all contents, leaving only an #error directive.
21725         * misc/regexp.c (loc1, loc2, locs, step, advance):
21726         Demote to compatibility symbols.
21728 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
21730         [BZ #18084]
21731         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
21732         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
21733         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
21734         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
21735         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
21736         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
21737         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
21738         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
21739         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
21741 2015-08-15  Zack Weinberg  <zackw@panix.com>
21743         [BZ #18795]
21744         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
21745         buffer length is known to be too large, not if it's known to be
21746         small enough.
21747         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
21748         overflow at runtime, involving a length parameter, twice: once
21749         with a compile-time constant length parameter, once without.
21751 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
21753         [BZ #18824]
21754         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
21755         scaling x * y up instead of down.
21756         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21757         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21758         * math/auto-libm-test-in: Add more tests of fma.
21759         * math/auto-libm-test-out: Regenerated.
21761 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
21763         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21765 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21767         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
21768         unnecessary movq.
21769         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
21770         Likewise.
21772 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
21774         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21775         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
21776         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
21777         and tgamma.
21778         * math/auto-libm-test-out: Regenerated.
21779         * sysdeps/i386/fpu/libm-test-ulps: Update.
21780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21782         [BZ #16520]
21783         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
21784         (__tanh): Force underflow exception for arguments with small
21785         absolute value.
21786         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
21787         (__tanhf): Force underflow exception for arguments with small
21788         absolute value.
21789         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
21790         (__tanhl): Force underflow exception for arguments with small
21791         absolute value.
21792         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
21793         (__tanhl): Force underflow exception for arguments with small
21794         absolute value.
21795         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
21796         (__tanhl): Force underflow exception for arguments with small
21797         absolute value.
21798         * math/auto-libm-test-in: Add more tests of tanh.
21799         * math/auto-libm-test-out: Regenerated.
21800         * sysdeps/i386/fpu/libm-test-ulps: Update.
21802 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21804         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
21805         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
21807 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21809         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
21810         <cpuid.h>.
21812 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21814         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
21815         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
21817 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21819         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
21820         Remove $(objpfx)init-arch.o.
21821         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
21822         init-arch.
21823         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
21824         (INIT_ARCH_EXT): Defined as empty.
21825         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
21826         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
21827         __init_cpu_features call.  Replace HAS_XXX with
21828         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21829         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
21830         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
21831         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
21832         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
21833         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
21834         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
21835         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
21836         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
21837         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
21838         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
21839         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
21840         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
21841         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
21842         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
21843         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
21844         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
21845         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
21846         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
21847         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
21848         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
21849         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
21850         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
21851         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
21852         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
21853         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
21854         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
21855         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
21856         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
21857         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
21858         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
21859         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
21860         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
21861         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
21862         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
21863         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
21865 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21867         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
21868         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21869         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
21870         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
21871         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
21872         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
21873         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
21874         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
21875         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
21876         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
21877         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
21878         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
21879         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21880         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21881         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21882         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21883         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21884         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21885         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21886         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21887         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21888         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21889         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21890         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21891         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21892         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21893         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21894         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21895         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21896         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21897         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21898         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21899         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21900         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21901         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21902         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21903         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21904         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21905         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21906         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21907         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21908         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21909         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21911 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21913         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
21914         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21915         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21916         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21917         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21918         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
21919         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21920         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
21921         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21922         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21923         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21924         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
21925         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
21926         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
21927         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
21928         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
21929         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
21930         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
21931         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
21932         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
21933         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
21934         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
21935         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
21936         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21937         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21938         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
21939         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
21940         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
21941         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21942         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21943         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21944         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21945         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21946         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21947         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21948         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21949         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21950         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21951         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21952         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21953         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21954         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21955         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21957 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21959         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
21960         (dl_platform_init): Call init_cpu_features.
21961         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
21962         * sysdeps/i386/i686/cacheinfo.c
21963         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
21964         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
21965         * sysdeps/i386/i686/multiarch/Versions: Removed.
21966         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
21967         Removed.
21968         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
21969         * sysdeps/unix/sysv/linux/x86/Makefile
21970         (libpthread-sysdep_routines): Remove init-arch.
21971         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
21972         <sysdeps/x86_64/dl-procinfo.c> instead of
21973         sysdeps/generic/dl-procinfo.c>.
21974         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
21975         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
21976         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
21977         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
21978         [$(subdir) == elf] (tests-static): Add
21979         tst-get-cpu-features-static.
21980         * sysdeps/x86/Versions: New file.
21981         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
21982         * sysdeps/x86/cpu-features.c: Likewise.
21983         * sysdeps/x86/cpu-features.h: Likewise.
21984         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
21985         * sysdeps/x86/libc-start.c: Likewise.
21986         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
21987         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
21988         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
21989         * sysdeps/x86_64/dl-procinfo.c: Likewise.
21990         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
21991         Assume USE_MULTIARCH is defined and don't check it.
21992         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
21993         (is_amd): Likewise.
21994         (max_cpuid): Likewise.
21995         (intel_check_word): Likewise.
21996         (__cache_sysconf): Don't call __init_cpu_features.
21997         (__x86_preferred_memory_instruction): Removed.
21998         (init_cacheinfo): Don't call __init_cpu_features. Replace
21999         __cpu_features with GLRO(dl_x86_cpu_features).
22000         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
22001         (dl_platform_init): Call init_cpu_features.
22002         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
22003         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
22004         * sysdeps/x86_64/multiarch/Versions: Removed.
22005         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
22006         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
22007         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
22008         Removed.
22009         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
22011 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22013         [BZ #18820]
22014         * libio/Makefile (test-fmemopen-mem): New test.
22015         * libio/test-fmemopen.c (do_bz18820): New test.
22016         * libio/fmemopen.c (__fmemopen): Fix memory leak.
22017         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
22019 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22021         [BZ #16734]
22022         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
22023         (FREE_BUF): Delete.
22024         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
22025         * libio/genops.c (_IO_setb): Use malloc and free directly.
22026         (_IO_default_doallocate, _IO_default_finish): Likewise.
22027         ( _IO_unbuffer_all): Likewise.
22028         ( libc_freeres_fn): Likewise.
22029         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22030         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
22031         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
22032         (_IO_wdefault_doallocate): Likewise.
22034 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
22036         [BZ #18086]
22037         * sysdeps/posix/nice.c (nice): Restore old errno.
22038         * posix/tst-nice.c (do_test): Add test for BZ #18086.
22040 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
22042         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
22044 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22046         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
22047         __bcopy and add a weak_alias to bcopy.
22048         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
22049         for static build.
22051         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
22052         cleanup macro usage.
22053         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
22054         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
22055         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
22056         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
22057         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
22058         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
22059         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
22060         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22061         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22062         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
22063         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22064         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
22065         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22066         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
22067         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22068         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
22069         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
22070         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
22071         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22073         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
22074         libc_hidden_def.
22075         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
22077         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
22078         (sysdep_routines): Add strstr-ppc64.
22079         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
22081 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
22083         [BZ #18778]
22084         * elf/Makefile (tests): Add Add tst-nodelete2.
22085         (modules-names): Add tst-nodelete2mod.
22086         (tst-nodelete2mod.so-no-z-defs): New.
22087         ($(objpfx)tst-nodelete2): Likewise.
22088         ($(objpfx)tst-nodelete2.out): Likewise.
22089         (LDFLAGS-tst-nodelete2): Likewise.
22090         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
22091         out of loop through all loaded libraries.
22092         * elf/tst-nodelete2.c: New file.
22093         * elf/tst-nodelete2mod.c: Likewise.
22094         * elf/tst-znodelete-zlib.cc: Delete.
22096 2015-08-11  Andreas Schwab  <schwab@suse.de>
22098         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
22099         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
22100         (__openat64_nocancel): Likewise.
22102 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
22104         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
22105         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
22106         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
22107         * math/auto-libm-test-out: Regenerated.
22108         * sysdeps/i386/fpu/libm-test-ulps: Update.
22109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22111 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
22113         [BZ #18790]
22114         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
22115         threshold for returning +/- 1.
22116         * math/auto-libm-test-in: Add more tests of tanh.
22117         * math/auto-libm-test-out: Regenerated.
22118         * sysdeps/i386/fpu/libm-test-ulps: Update.
22120 2015-08-10  Andreas Schwab  <schwab@suse.de>
22122         [BZ #18781]
22123         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
22124         MORE_OFLAGS to oflag.
22125         * io/test-lfs.c (do_test): Test openat64.
22127 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
22129         [BZ #18789]
22130         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
22131         smaller threshold for returning the argument.
22132         * math/auto-libm-test-in: Add more tests of sinh.
22133         * math/auto-libm-test-out: Regenerated.
22134         * sysdeps/i386/fpu/libm-test-ulps: Update.
22136 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
22138         [BZ #18674]
22139         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
22140         break.
22142 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
22144         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
22145         (generated): Don't add $(addprefix z.,$(tzfiles)).
22147 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
22149         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
22150         * scripts/sysd-rules.awk: Likewise.
22152 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
22154         * iconvdata/tst-tables.sh: Change echo -n to printf.
22155         * nss/db-Makefile: Likewise.
22156         * posix/tst-getconf.sh: Likewise.
22157         * stdio-common/tst-unbputc.sh: Likewise.
22159 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
22161         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
22162         MADV_*_PAGES defines behind this feature check.
22164 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
22166         [BZ #18480]
22167         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
22168         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
22169         Define.
22170         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
22171         LOAD_REGS_5, LOAD_REGS_6): Update.
22172         (INTERNAL_SYSCALL): Update using new LOAD defines.
22173         (INTERNAL_SYSCALL_NCS): Likewise.
22174         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
22176 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22178         [BZ #16734]
22179         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
22181 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22183         [BZ #17905]
22184         * catgets/Makefile (tst-catgets-mem): New test.
22185         * catgets/catgets.c (catopen): Don't use unbounded alloca.
22186         * catgets/open_catalog.c (__open_catalog): Likewise.
22187         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
22189 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
22191         [BZ #18787]
22192         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
22193         clobber registers.
22194         (atomic_compare_and_exchange_val_acq): Use register asms to assign
22195         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
22196         Cast return to __typeof (oldval).
22198 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
22200         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
22201         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
22202         and delete sys/syscall.h include.
22204 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
22206         [BZ #16517]
22207         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
22208         (tan): Force underflow exception for arguments with small absolute
22209         value.
22210         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
22211         (__kernel_tanf): Force underflow exception for arguments with
22212         small absolute value.
22213         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
22214         (__kernel_tanl): Force underflow exception for arguments with
22215         small absolute value.
22216         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
22217         (__kernel_tanl): Force underflow exception for arguments with
22218         small absolute value.
22219         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
22220         (__kernel_tanl): Force underflow exception for arguments with
22221         small absolute value.
22222         * math/auto-libm-test-in: Add more tests of tan.
22223         * math/auto-libm-test-out: Regenerated.
22225 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22227         Fix sysdeps/i386/fpu/s_scalbn.S build
22229         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
22231 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
22233         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
22235 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22237         Fix gcrt0.o compilation
22239         When static-start-installed-name is different from
22240         start-installed-name, we must not use the shared objects.
22242         * csu/Makefile
22243         (extra-objs): Add gmon-start.o when building shared library and
22244         $(static-start-installed-name) is different from
22245         $(start-installed-name).
22246         $(objpfx)g$(static-start-installed-name): When building shared
22247         library and $(static-start-installed-name) is different from
22248         $(static-start-installed-name), revert to non-shared rule,
22249         i.e. using $(objpfx)% and gmon-start.o.
22251 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
22253         [BZ #16519]
22254         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
22255         (__ieee754_sinh): Force underflow exception for arguments with
22256         small absolute value.
22257         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
22258         (__ieee754_sinhf): Force underflow exception for arguments with
22259         small absolute value.
22260         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
22261         (__ieee754_sinhl): Force underflow exception for arguments with
22262         small absolute value.
22263         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
22264         (__ieee754_sinhl): Force underflow exception for arguments with
22265         small absolute value.
22266         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
22267         (__ieee754_sinhl): Force underflow exception for arguments with
22268         small absolute value.
22269         * math/auto-libm-test-in: Add more tests of sinh.
22270         * math/auto-libm-test-out: Regenerated.
22271         * sysdeps/i386/fpu/libm-test-ulps: Update.
22273 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22275         * libio/oldfileops.c: Include unistd.h.
22277 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
22279         * stdlib/isomac.c: Include ctype.h.
22281 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
22283         * dirent/tst-seekdir.c (main): Converted to ...
22284         (do_test): ... this.
22285         (TEST_FUNCTION): New macro.
22286         Include test-skeleton.c.
22287         * elf/tst-dlmodcount.c (main): Converted to ...
22288         (do_test): ... this.
22289         (TEST_FUNCTION): New macro.
22290         Include test-skeleton.c.
22291         * elf/tst-order-main.c (main): Converted to ...
22292         (do_test): ... this.
22293         (TEST_FUNCTION): New macro.
22294         Include test-skeleton.c.
22295         * elf/tst-pie2.c (main): Converted to ...
22296         (do_test): ... this.
22297         (TEST_FUNCTION): New macro.
22298         Include test-skeleton.c.
22299         * inet/tst-ether_aton.c (main): Converted to ...
22300         (do_test): ... this.
22301         (TEST_FUNCTION): New macro.
22302         Include test-skeleton.c.
22303         * misc/tst-mntent.c (main): Converted to ...
22304         (do_test): ... this.
22305         (TEST_FUNCTION): New macro.
22306         Include test-skeleton.c.
22307         * misc/tst-tsearch.c (main): Converted to ...
22308         (do_test): ... this.
22309         (TEST_FUNCTION): New macro.
22310         Include test-skeleton.c.
22311         * posix/tst-regexloc.c (main): Converted to ...
22312         (do_test): ... this.
22313         (TEST_FUNCTION): New macro.
22314         Include test-skeleton.c.
22315         * resolv/tst-aton.c (main): Converted to ...
22316         (do_test): ... this.
22317         (TEST_FUNCTION): New macro.
22318         Include test-skeleton.c.
22319         * stdio-common/test-fwrite.c (main): Converted to ...
22320         (do_test): ... this.
22321         (TEST_FUNCTION): New macro.
22322         Include test-skeleton.c.
22323         * stdio-common/tst-ferror.c (main): Converted to ...
22324         (do_test): ... this.
22325         (TEST_FUNCTION): New macro.
22326         Include test-skeleton.c.
22327         * stdio-common/tst-printf.c (main): Converted to ...
22328         (do_test): ... this.
22329         (TEST_FUNCTION): New macro.
22330         Include test-skeleton.c.
22331         * stdio-common/tst-printfsz.c (main): Converted to ...
22332         (do_test): ... this.
22333         (TEST_FUNCTION): New macro.
22334         Include test-skeleton.c.
22335         * stdlib/tst-strtod.c (main): Converted to ...
22336         (do_test): ... this.
22337         (TEST_FUNCTION): New macro.
22338         Include test-skeleton.c.
22339         * string/tst-strlen.c (main): Converted to ...
22340         (do_test): ... this.
22341         (TEST_FUNCTION): New macro.
22342         Include test-skeleton.c.
22343         * string/tst-svc.c (main): Converted to ...
22344         (do_test): ... this.
22345         (TEST_FUNCTION): New macro.
22346         Include test-skeleton.c.
22347         * time/tst-strptime.c (main): Converted to ...
22348         (do_test): ... this.
22349         (TEST_FUNCTION): New macro.
22350         Include test-skeleton.c.
22351         * timezone/tst-timezone.c (main): Converted to ...
22352         (do_test): ... this.
22353         (TEST_FUNCTION): New macro.
22354         Include test-skeleton.c.
22356 2015-08-05  Zack Weinberg  <zackw@panix.com>
22358         * misc/regexp.h: Update comments.
22360 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
22362         [BZ #18635]
22363         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
22364         before return label.
22366 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22368         [BZ #18661]
22369         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
22370         when calling __errno_location.
22371         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
22372         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
22374 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22376         [BZ #18661]
22377         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
22378         (__lll_timedwait_tid): Align stack to 16 bytes when calling
22379         __gettimeofday.
22381 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22383         [BZ #18661]
22384         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22385         (__start_context): Don't use pop to restore %rdi so that stack
22386         is aligned to 16 bytes when calling __setcontext.
22388 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22390         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
22391         only for libc.
22392         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22394 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
22396         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
22397         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
22398         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
22400 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
22402         * string/memccpy.c (memccpy):
22403         Improve performance by using memchr/memcpy/__mempcpy.
22405 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
22407         * string/strncpy.c (strncpy):
22408         Improve performance by using __strnlen/memcpy.
22410 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
22412         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22413         Optimize to avoid an unnecessary FPCR read.
22415 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
22417         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
22418         Optimize to reduce FPCR/FPSR accesses.
22420 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22422         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
22423         dead->data[category] != NULL.
22425 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
22427         [BZ #18647]
22428         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
22429         and |x| close to 1, use absolute value of x when computing log.
22430         * math/auto-libm-test-in: Add more tests of pow.
22431         * math/auto-libm-test-out: Regenerated.
22433 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22435         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
22436         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
22437         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
22439 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
22441         [BZ #18525]
22442         * locales/km_KH: Remove timezone definition.
22443         * locales/lo_LA: Likewise.
22444         * locales/my_MM: Likewise.
22445         * locales/nan_TW@latin: Likewise.
22446         * locales/th_TH: Likewise.
22447         * locales/uk_UA: Likewise.
22449 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
22451         [BZ #18265]
22452         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
22453         (wcsncat): Likewise.
22454         (wcscmp): Likewise.
22455         (wcsncmp): Likewise.
22457 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
22459         * test-skeleton.c (usage): New function.
22460         (main): Call usage when opt is '?'.
22462 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
22464         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
22465         before first use.
22467 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
22469         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
22470         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
22471         in there too.
22473 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
22475         * version.h (RELEASE): Set to "development".
22476         (VERSION): Set to "2.22.90"
22478         * version.h (RELEASE): Set to "stable".
22479         (VERSION): Set to "2.22"
22480         * include/features.h (__GLIBC_MINOR__): Set to 22.
22482 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
22484         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
22485         Restructure macro to avoid "value computed is not used" warning.
22486         (atomic_compare_and_exchange_val_acq): Likewise.
22488 2015-08-04  Andreas Schwab  <schwab@suse.de>
22490         [BZ #18635]
22491         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
22492         ret.
22493         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
22495 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
22497         * po/pl.po: Updated translation.
22498         * po/uk.po: Likewise.
22499         * po/fi.po: Likewise.
22500         * po/ko.po: Likewise.
22501         * po/ru.po: Likewise.
22502         * po/vi.po: Likewise.
22504 2015-07-31  Zack Weinberg  <zackw@panix.com>
22506         [BZ #18681]
22507         * regexp.h: Add unconditional #warning stating that this header
22508         will be removed soon.  Revise banner comment to match.
22509         (compile): Consistently use ERROR instead of RETURN to report
22510         errors (partial fix for bz#18681).
22511         * regexp.c: Don't include regexp.h. Remove some unnecessary
22512         declarations.
22514 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
22516         * po/libc.pot: Regenerated.
22518 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22520         [BZ #18740]
22521         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
22522         float-vlen4-arch-ext-cflags): Removed.
22523         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
22524         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
22526 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
22528         [BZ #14113]
22529         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
22530         aligned to __aligned__.
22531         (pthread_cond_t, pthread_rwlock_t): Likewise.
22533 2015-07-30  Torvald Riegel  <triegel@redhat.com>
22535         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
22537 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
22539         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
22540         (struct sigaction): Change sa_flags from a long to an int, and add
22541         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
22543 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
22545         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
22546         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
22547         sysdeps/generic/sysdep.h include.
22548         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
22549         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
22550         sysdeps/hppa/sysdep.h.
22551         (ENTRY, PSEUDO): Undefine before defining.
22553 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
22555         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
22556         from scratch to use INTERNAL_SYSCALL.
22558 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
22560         [BZ #18078]
22561         * scripts/check-localplt.awk: Support alternate relocations.
22562         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
22563         sections.
22564         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
22565         malloc entries with + REL R_386_GLOB_DAT.
22566         * sysdeps/x86_64/localplt.data: New file.
22568 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
22570         [BZ #18731]
22571         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
22572         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22573         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22575 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
22577         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
22579 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
22581         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
22582         directly in terms of __sync_fetch_and_add and delete (int) cast.
22584 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
22586         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
22587         the -D_ASM_IA64_CURRENT_H flag.
22589 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
22591         [BZ #18641]
22592         * pwd/pwd.h (putpwent): Delete __nonnull markings.
22594 2015-07-27  Andreas Schwab  <schwab@suse.de>
22596         * conform/conformtest.pl (checknamespace): Filter out string
22597         literals while tokenizing.
22599 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
22601         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
22602         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
22603         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
22605 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
22607         * nptl/tst-join7mod.c: Add #include <string.h>.
22609 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
22611         * sysdeps/nios2/libm-test-ulps: Update.
22613 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
22615         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
22616         Fix order of arguments to the rt_sigprocmask syscall.
22617         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
22618         Likewise.
22620 2015-07-24  Roland McGrath  <roland@hack.frob.com>
22622         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
22624 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22626         [BZ #18457]
22627         * nptl/Makefile (tests): New test case tst-join7.
22628         (modules-names): New test case module tst-join7mod.
22629         * nptl/tst-join7.c: New file.
22630         * nptl/tst-join7mod.c: New file.
22631         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
22632         all translation units in libc.so, libpthread.so and rtld.
22634 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22636         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22638 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
22640         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
22641         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
22642         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
22643         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
22644         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
22645         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
22646         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
22647         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
22648         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
22649         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
22650         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
22651         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
22652         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
22653         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
22654         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
22655         implementation.
22657 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22659         [BZ #17711]
22660         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
22661         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
22662         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
22663         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
22664         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
22665         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
22667 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22669         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
22670         instead of just saying load lock in the comments.
22672 2015-07-23  Roland McGrath  <roland@hack.frob.com>
22674         * sysdeps/unix/Subdirs: Moved ...
22675         * sysdeps/posix/Subdirs: ... here.
22676         * login/pty.h (struct termios, struct winsize): Add forward decls.
22677         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
22678         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
22679         * sysdeps/arm/nacl/libc.abilist: Updated.
22680         * sysdeps/nacl/libutil.abilist: New file.
22682         * bits/signum.h: Update comments to mention 1003.1-2013 too.
22683         (SIGWINCH): New macro.
22685         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
22686         * sysdeps/arm/nacl/libc.abilist: Add it.
22688 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
22690         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
22692 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
22694         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
22695         Swap __glibc_reserved0 and sa_flags order.
22697 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22699         [BZ #18657]
22700         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
22701         are pending TLS destructor calls.
22702         * include/link.h (struct link_map): Add concurrency note for
22703         L_TLS_DTOR_COUNT.
22704         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22705         Don't touch the link map flag.  Atomically increment
22706         l_tls_dtor_count.
22707         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
22708         Avoid taking the load lock and don't touch the link map flag.
22709         * stdlib/tst-tls-atexit-nodelete.c: New test case.
22710         * stdlib/Makefile (tests): Use it.
22711         * stdlib/tst-tls-atexit.c (do_test): dlopen
22712         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
22713         to allow tst-tls-atexit-nodelete test case to use it.
22715 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
22717         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
22718         to bits/types.h.
22719         (msgqnum_t): New typedef.
22720         (msglen_t): Likewise.
22721         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
22722         and msg_qbytes type to msglen_t.
22724 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
22726         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
22727         pad0 to __glibc_reserved0.
22728         (struct stat64): Likewise.
22730 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
22732         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
22733         Change sa_flags from a long to an int and add __glibc_reserved0 before
22734         it for padding.
22736 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
22738         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
22739         anonymous by deleting "siginfo" name.
22741 2015-07-21  Roland McGrath  <roland@hack.frob.com>
22743         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
22744         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
22745         rather than __nacl_irt_filename.
22746         * sysdeps/nacl/xstat.c (__xstat): Likewise.
22748         * NEWS: New item for arm-nacl port.
22749         * sysdeps/arm/nacl/libc.abilist: New file.
22750         * sysdeps/nacl/ld.abilist: New file.
22751         * sysdeps/nacl/libBrokenLocale.abilist: New file.
22752         * sysdeps/nacl/libanl.abilist: New file.
22753         * sysdeps/nacl/libcrypt.abilist: New file.
22754         * sysdeps/nacl/libdl.abilist: New file.
22755         * sysdeps/nacl/libm.abilist: New file.
22756         * sysdeps/nacl/libpthread.abilist: New file.
22757         * sysdeps/nacl/libresolv.abilist: New file.
22758         * sysdeps/nacl/librt.abilist: New file.
22760 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
22762         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
22763         __startcontext to initialize the new context.
22764         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
22765         up CFI directive to forbid further backtracing.
22767 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
22769         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
22770         reference.
22771         * charmaps/ANSI_X3.4-1968: Likewise.
22772         * charmaps/BS_4730: Likewise.
22773         * charmaps/BS_VIEWDATA: Likewise.
22774         * charmaps/CP1250: Likewise.
22775         * charmaps/CP1251: Likewise.
22776         * charmaps/CP1252: Likewise.
22777         * charmaps/CP1253: Likewise.
22778         * charmaps/CP1254: Likewise.
22779         * charmaps/CP1255: Likewise.
22780         * charmaps/CP1256: Likewise.
22781         * charmaps/CSN_369103: Likewise.
22782         * charmaps/EBCDIC-DK-NO: Likewise.
22783         * charmaps/GB_1988-80: Likewise.
22784         * charmaps/GREEK-CCITT: Likewise.
22785         * charmaps/GREEK7: Likewise.
22786         * charmaps/INIS-8: Likewise.
22787         * charmaps/ISIRI-3342: Likewise.
22788         * charmaps/ISO_2033-1983: Likewise.
22789         * charmaps/ISO_5427-EXT: Likewise.
22790         * locales/POSIX: Likewise.
22791         * locales/ar_SA: Likewise.
22792         * locales/be_BY: Likewise.
22793         * locales/be_BY@latin: Likewise.
22794         * locales/ca_ES: Likewise.
22795         * locales/cs_CZ: Likewise.
22796         * locales/da_DK: Likewise.
22797         * locales/de_BE: Likewise.
22798         * locales/de_CH: Likewise.
22799         * locales/de_LU: Likewise.
22800         * locales/en_AU: Likewise.
22801         * locales/en_BW: Likewise.
22802         * locales/en_CA: Likewise.
22803         * locales/en_DK: Likewise.
22804         * locales/en_GB: Likewise.
22805         * locales/en_IE: Likewise.
22806         * locales/en_NZ: Likewise.
22807         * locales/en_ZA: Likewise.
22808         * locales/en_ZW: Likewise.
22809         * locales/es_AR: Likewise.
22810         * locales/es_BO: Likewise.
22811         * locales/es_CL: Likewise.
22812         * locales/es_CO: Likewise.
22813         * locales/es_DO: Likewise.
22814         * locales/es_EC: Likewise.
22815         * locales/es_ES: Likewise.
22816         * locales/es_HN: Likewise.
22817         * locales/es_MX: Likewise.
22818         * locales/es_PA: Likewise.
22819         * locales/es_PE: Likewise.
22820         * locales/es_PY: Likewise.
22821         * locales/es_SV: Likewise.
22822         * locales/es_US: Likewise.
22823         * locales/es_UY: Likewise.
22824         * locales/es_VE: Likewise.
22825         * locales/et_EE: Likewise.
22826         * locales/fa_IR: Likewise.
22827         * locales/fo_FO: Likewise.
22828         * locales/fr_CA: Likewise.
22829         * locales/fr_CH: Likewise.
22830         * locales/gv_GB: Likewise.
22831         * locales/he_IL: Likewise.
22832         * locales/hr_HR: Likewise.
22833         * locales/id_ID: Likewise.
22834         * locales/is_IS: Likewise.
22835         * locales/it_CH: Likewise.
22836         * locales/iw_IL: Likewise.
22837         * locales/kl_GL: Likewise.
22838         * locales/ko_KR: Likewise.
22839         * locales/kw_GB: Likewise.
22840         * locales/lg_UG: Likewise.
22841         * locales/lt_LT: Likewise.
22842         * locales/lv_LV: Likewise.
22843         * locales/mi_NZ: Likewise.
22844         * locales/nhn_MX: Likewise.
22845         * locales/nl_BE: Likewise.
22846         * locales/pl_PL: Likewise.
22847         * locales/sk_SK: Likewise.
22848         * locales/sl_SI: Likewise.
22849         * locales/sv_FI: Likewise.
22850         * locales/tl_PH: Likewise.
22851         * locales/tr_TR: Likewise.
22852         * locales/vi_VN: Likewise.
22854 2015-07-21  Khem Raj  <raj.khem@gmail.com>
22856         [BZ #17475]
22857         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
22858         of tu_IN and bh_IN.
22860 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
22862         [BZ #18694]
22863         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
22864         bits/wordsize.h.
22865         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
22867 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22869         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
22870         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
22871         (spawn_thread): New function.
22872         (load): Rename to reg_dtor_and_close.  Move dlopen to...
22873         (do_test): ... here.  Use IS_LOADED to test for its
22874         availability.
22876 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
22878         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22880 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
22882         [BZ #18696]
22883         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
22884         si_addr_bnd.
22885         (si_lower): New.
22886         (si_upper): Likewise.
22888 2015-07-16  David S. Miller  <davem@davemloft.net>
22890         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
22892 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22894         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
22895         buffer.
22896         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
22897         fail output information.
22899 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22901         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
22902         and strstr-ppc64..
22903         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
22904         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
22905         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
22906         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
22907         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
22909 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
22911         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
22912         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22913         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
22914         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22916 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
22918         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
22919         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
22920         rtld_hidden_proto.
22921         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
22923 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22925         * tst-nodelete-opened.c (do_test): Add comment to clarify how
22926         the test can fail.
22928         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
22930         [BZ #18676]
22931         * elf/tst-nodelete-opened.c: New test case.
22932         * elf/tst-nodelete-opened-lib.c: New test case module.
22933         * elf/Makefile (tests, modules-names): Use them.
22934         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
22935         early.
22937 2015-07-15  David S. Miller  <davem@davemloft.net>
22939         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
22940         futex-intenal.h
22941         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
22942         * sysdeps/sparc/sparc64/Makefile: Likewise.
22943         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
22944         Remove space from macro define.
22945         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
22947 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
22949         [BZ #17475]
22950         * locale/iso-639.def: Update Bhili and Tulu language codes as
22951         per iso639-3.
22953 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
22955         * elf/tst-leaks1.c (main): Converted to ...
22956         (do_test): ... this.
22957         (TEST_FUNCTION): New macro.
22958         Include test-skeleton.c.
22959         * localedata/tst-langinfo.c (main): Converted to ...
22960         (do_test): ... this.
22961         (TEST_FUNCTION): New macro.
22962         Include test-skeleton.c.
22963         * math/test-fpucw.c (main): Converted to ...
22964         (do_test): ... this.
22965         (TEST_FUNCTION): New macro.
22966         Include test-skeleton.c.
22967         * math/test-tgmath.c (main): Converted to ...
22968         (do_test): ... this.
22969         (TEST_FUNCTION): New macro.
22970         Include test-skeleton.c.
22971         * math/test-tgmath2.c (main): Converted to ...
22972         (do_test): ... this.
22973         (TEST_FUNCTION): New macro.
22974         Include test-skeleton.c.
22975         * setjmp/tst-setjmp.c (main): Converted to ...
22976         (do_test): ... this.
22977         (TEST_FUNCTION): New macro.
22978         Include test-skeleton.c.
22979         * stdio-common/tst-sscanf.c (main): Converted to ...
22980         (do_test): ... this.
22981         (TEST_FUNCTION): New macro.
22982         Include test-skeleton.c.
22983         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
22984         (do_test): ... this.
22985         (TEST_FUNCTION): New macro.
22986         Include test-skeleton.c.
22988         * elf/tst-audit9.c (main): Converted to ...
22989         (do_test): ... this.
22990         (TEST_FUNCTION): New macro.
22991         Include test-skeleton.c.
22993 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
22995         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
22997 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
22999         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
23000         New variable.
23002 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
23004         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23006 2015-07-14  Roland McGrath  <roland@hack.frob.com>
23008         * sysdeps/generic/dl-fileid.h: New file.
23009         * sysdeps/posix/dl-fileid.h: New file.
23010         * sysdeps/nacl/dl-fileid.h: New file.
23011         * include/link.h: Include <dl-fileid.h>.
23012         (struct link_map): Replace l_dev and l_ino with l_file_id.
23013         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
23014         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
23015         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
23017 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23019         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
23021 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23023         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
23024         Add iff $CXX is set.
23025         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
23026         Likewise.
23027         (tst-nodelete-zmodiff): Likewise.
23028         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
23030 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23032         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
23034 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
23036         * sysdeps/aarch64/fpu/math_private.h
23037         (define math_opt_barrier): Add AArch64 version.
23038         (math_force_eval): Likewise.
23040 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
23042         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
23044 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
23046         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
23047         %ld with %jd and cast to intmax_t.
23048         (do_test_length_zero): Likewise.
23050 2015-07-10  Roland McGrath  <roland@hack.frob.com>
23052         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
23054 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
23056         * sysdeps/tile/libm-test-ulps: Regenerated.
23058         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
23059         Comment out the whole function, not just its body.
23061 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23063         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
23064         locks.
23066         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
23068 2015-07-10  Torvald Riegel  <triegel@redhat.com>
23070         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
23071         (sem_assume_only_signals_cause_futex_EINTR): Remove.
23073 2015-07-10  Torvald Riegel  <triegel@redhat.com>
23075         * sysdeps/nptl/futex-internal.h: New file.
23076         * sysdeps/nacl/futex-internal.h: New file.
23077         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
23078         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
23079         error checking.
23080         (setxid_unmark_thread): Likewise.
23081         (__nptl_setxid): Likewise.
23082         (__wait_lookup_done): Likewise.
23083         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
23084         * nptl/nptl-init.c (sighandler_setxid): Likewise.
23085         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23086         * nptl/pthread_once.c (clear_once_control): Likewise.
23087         (__pthread_once_slow): Likewise.
23088         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
23089         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
23090         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
23091         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23092         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
23093         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
23094         Likewise.
23095         (__pthread_rwlock_rdlock): Likewise.
23096         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23097         Likewise.
23098         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23099         Likewise.
23100         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23101         Likewise.
23102         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
23103         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
23104         Likewise.
23105         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
23106         __ASSUME_PRIVATE_FUTEX check.
23107         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
23108         Check that shared futexes are supported.
23109         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
23110         wrappers with error checking.
23111         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
23112         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
23113         * nptl/pthread_barrierattr_setpshared.c
23114         (pthread_barrierattr_setpshared): Check that shared futexes are
23115         supported.
23116         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
23117         Likewise.
23118         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
23119         Likewise.
23120         * nptl/sem_init.c (futex_private_if_supported): Remove.
23121         (__new_sem_init): Adapt and check that shared futexes are supported.
23122         * nptl/sem_open.c (sem_open): Likewise.
23123         * nptl/sem_post.c (futex_wake): Remove.
23124         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
23125         (do_futex_wait): Use futex wrappers with error checking.
23126         * nptl/sem_wait.c: Include lowlevellock.h.
23127         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
23128         Use futex_supports_pshared.
23129         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
23130         Use futex wrappers with error checking.
23131         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
23132         Likewise.
23133         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
23134         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
23135         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
23136         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
23137         (futex_wake): Likewise.
23138         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
23139         (do_futex_wait): Use futex wrappers with error checking.
23140         (__new_sem_wait_slow): Update EINTR handling.
23141         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
23143 2015-07-09  Martin Sebor  <msebor@redhat.com>
23145         [BZ #18435]
23146         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23147         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
23148         * nptl/Makefile (test-xfail-tst-once5): Define.
23150 2015-07-09  Roland McGrath  <roland@hack.frob.com>
23152         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
23153         * elf/dl-minimal.c: For readability, reorder some definitions and
23154         introduce more page breaks.  Include <stdio.h>.
23155         (__libc_fatal): New function.
23157         * include/unistd.h: Add rtld_hidden_proto for _exit.
23158         * posix/_exit.c: Add rtld_hidden_def.
23159         * sysdeps/mach/hurd/_exit.c: Likewise.
23160         * sysdeps/nacl/_exit.c: Likewise.
23161         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
23162         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
23164 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
23166         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
23167         bndmov encoding with zero displacement.
23169 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
23170             H.J. Lu  <hongjiu.lu@intel.com>
23172         [BZ #18134]
23173         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
23174         * sysdeps/i386/configure: Regenerated.
23175         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23176         (_dl_runtime_profile): Save and restore Intel MPX return bound
23177         registers when calling _dl_call_pltexit.  Add
23178         PRESERVE_BND_REGS_PREFIX before return.
23179         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
23180         (LRV_BND1_OFFSET): Likewise.
23181         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
23182         lrv_bnd1.
23183         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
23184         typo in bndmov encoding.
23185         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
23186         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
23187         branch instructions to preserve bounds.
23189 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
23192         [GLIBC_2.22]: Add fmemopen.
23194 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23196         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
23197         returns an error, also try to use host port from __mach_host_self for
23198         the __vm_wire call.
23199         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
23201 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23203         [BZ #18400]
23204         [BZ #18648]
23205         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
23206         Fix pr_uid and pr_gid members.
23207         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
23208         definition to elf_greg_t.
23210 2015-07-08  Roland McGrath  <roland@hack.frob.com>
23212         [BZ #18383]
23213         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
23214         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
23215         * sysdeps/arm/configure: Regenerated.
23216         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
23217         (test-xfail-tst-tlsalign-static): Variable removed.
23219         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
23220         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
23221         rather than explicit 'ln -s'.
23223         * resolv/rpc/netdb.h: New file.
23224         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
23226 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23228         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
23229         length buffers.
23230         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
23231         test-skeleton.c.
23233         [BZ #6544]
23234         [BZ #11216]
23235         [BZ #12836]
23236         [BZ #13151]
23237         [BZ #13152]
23238         [BZ #14292]
23239         * include/stdio.h (fmemopen): Remove hidden prototype.
23240         (__fmemopen): Add new hidden prototype.
23241         * libio/Makefile: Add oldfmemopen object.
23242         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
23243         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
23244         compliance.
23245         * libio/oldfmemopen.c: New file: old fmemopen implementation for
23246         symbol compatibility.
23247         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
23248         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
23249         fmemopen.
23250         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
23251         on append and read mode.
23252         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
23253         fmemopen.
23254         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
23255         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
23256         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
23257         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
23258         Likewise.
23259         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
23260         [GLIBC_2.22]: Likewise.
23261         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
23262         Likewise.
23263         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
23264         Likewise.
23265         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
23266         [GLIBC_2.22]: Likewise.
23267         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
23268         [GLIBC_2.22]: Likewise.
23269         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
23270         [GLIBC_2.22]: Likewise.
23271         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
23272         [GLIBC_2.22]: Likewise.
23273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
23274         [GLIBC_2.22]: Likewise.
23275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
23276         [GLIBC_2.22]: Likewise.
23277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
23278         [GLIBC_2.22]: Likewise.
23279         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
23280         Likewise.
23281         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
23282         Likewise.
23283         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
23284         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
23285         [GLIBC_2.22]: Likewise.
23286         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
23287         [GLIBC_2.22]: Likewise.
23288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
23289         [GLIBC_2.22]: Likewise.
23290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
23291         [GLIBC_2.22]: Likewise.
23292         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
23293         Likewise.
23294         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
23295         Likewise.
23296         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
23297         Likewise.
23298         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
23299         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
23301 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
23303         [BZ #18643]
23304         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
23305         IPV6_PATHMTU, and IPV6_DONTFRAG.
23307 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
23309         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
23310         and _IO_UNBUFFERED.
23311         * libio/oldfileops.c: Likewise.
23312         * libio/wfileops.c: Likewise.
23314 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
23316         * nscd/selinux.c: Delete selinux/flask.h include.
23318 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
23320         [BZ #18641]
23321         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
23322         (putpwent): Likewise.
23323         (getpwnam): Likewise.
23324         (getpwent_r): Likewise.
23325         (getpwuid_r): Likewise.
23326         (getpwnam_r): Likewise.
23327         (fgetpwent_r): Likewise.
23329 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
23331         [BZ #18557]
23332         * inet/rcmd.c (__validuser2_sa): Check user first to
23333         short-circuit host check.
23335 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
23336             Mikhail Ilin  <m.ilin@samsung.com>
23338         [BZ #17833]
23339         * elf/Makefile (tests): Add tst-nodelete.
23340         (modules-names): Add tst-nodelete-uniquemod.
23341         (tst-nodelete-uniquemod.so-no-z-defs): New.
23342         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
23343         (tst-nodelete-zmod.so-no-z-defs): Likewise.
23344         ($(objpfx)tst-nodelete): Likewise.
23345         ($(objpfx)tst-nodelete.out): Likewise.
23346         (LDFLAGS-tst-nodelete): Likewise.
23347         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
23348         * elf/dl-close.c (_dl_close_worker): Add a parameter to
23349         implement forced object deletion.
23350         (_dl_close): Pass false to _dl_close_worker.
23351         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
23352         * elf/tst-nodelete.cc: New file.
23353         * elf/tst-nodeletelib.cc: Likewise.
23354         * elf/tst-znodeletelib.cc: Likewise.
23355         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
23357 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
23359         [BZ #18508]
23360         * stdlib/Makefile ($(objpfx)tst-makecontext3):
23361         Depend on $(libdl).
23362         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
23363         is not called infinitely times.
23364         (backtrace_helper): New function.
23365         (trace_arg): New struct.
23366         (st1): Enlarge stack size.
23367         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23368         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
23369         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23370         Likewise.
23372 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
23374         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23376 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
23378         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
23379         Include sys/types.h instead of bits/types.h.
23380         Remove inclusion of bits/wordsize.h.
23382 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
23384         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
23385         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
23386         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
23387         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
23388         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
23389         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
23391 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
23393         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
23394         link-defines.sym.
23395         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
23396         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
23397         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
23398         and LR_SIZE.
23399         * sysdeps/i386/link-defines.sym: New file.
23401 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
23403         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
23404         (modules-names): Add tst-auditmod3a tst-auditmod3b.
23405         ($(objpfx)tst-audit3): New rule.
23406         ($(objpfx)tst-audit3.out): Likewise.
23407         * sysdeps/i386/tst-audit3.c: New file.
23408         * sysdeps/i386/tst-audit3.h: Likewise.
23409         * sysdeps/i386/tst-auditmod3a.c: Likewise.
23410         * sysdeps/i386/tst-auditmod3b.c: Likewise.
23412 2015-07-07  Torvald Riegel  <triegel@redhat.com>
23414         [BZ #18633]
23415         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
23416         pointer in C code.
23417         (__strcat_c): Likewise.
23418         (__strcat_g): Likewise.
23420 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
23422         [BZ #18592]
23423         * misc/sbrk.c: Set errno to ENOMEM on overflow.
23425 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
23427         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
23428         New function.  (__ieee754_sqrtf): New function.
23429         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
23430         New function.
23431         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
23432         New function.
23434 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
23436         * sysdeps/ieee754/support.c: Remove unused file.
23438 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23440         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
23441         registers instead of d ones so the layout is kernel abi compatible.
23442         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
23443         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
23444         Likewise.
23446 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23448         * sysdeps/aarch64/libm-test-ulps: Regenerated.
23450 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
23452         [BZ #18619]
23453         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
23454         and return argument in case of subnormal argument.
23456 2015-07-01  Martin Sebor  <msebor@redhat.com>
23458         [BZ #18435]
23459         * nptl/Makefile: Add tst-once5.cc.
23460         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23461         Remove macro redefinitions.
23462         * nptl/tst-once5.cc: New test.
23464 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
23466         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23468         * sysdeps/arm/libm-test-ulps: Regenerated.
23470         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23471         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23473 2015-06-30  Torvald Riegel  <triegel@redhat.com>
23475         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
23476         lll_lock_wait_private and lll_futex_wake probes.
23478         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
23479         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
23480         Likewise.
23481         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
23482         atomic_spin_nop.
23483         * sysdeps/x86_64/bits/atomic.h: Likewise.
23484         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
23485         to atomic_spin_nop and move ...
23486         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
23487         ... here and ...
23488         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
23489         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
23490         atomic_spin_nop instead of BUSY_WAIT_NOP.
23491         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
23492         Likewise.
23493         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
23494         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
23495         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
23496         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
23497         instead of atomic_delay.
23499 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
23501         [BZ #18613]
23502         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
23503         X_ADJ not X when adjusting exponent.
23504         (__ieee754_gamma_r): Do intermediate computations in
23505         round-to-nearest then adjust overflowing and underflowing results
23506         as needed.
23507         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
23508         of X_ADJ not X when adjusting exponent.
23509         (__ieee754_gammaf_r): Do intermediate computations in
23510         round-to-nearest then adjust overflowing and underflowing results
23511         as needed.
23512         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
23513         log of X_ADJ not X when adjusting exponent.
23514         (__ieee754_gammal_r): Do intermediate computations in
23515         round-to-nearest then adjust overflowing and underflowing results
23516         as needed.  Use 1.0L not 1.0f as numerator of division.
23517         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
23518         log of X_ADJ not X when adjusting exponent.
23519         (__ieee754_gammal_r): Do intermediate computations in
23520         round-to-nearest then adjust overflowing and underflowing results
23521         as needed.  Use 1.0L not 1.0f as numerator of division.
23522         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
23523         of X_ADJ not X when adjusting exponent.
23524         (__ieee754_gammal_r): Do intermediate computations in
23525         round-to-nearest then adjust overflowing and underflowing results
23526         as needed.  Use 1.0L not 1.0f as numerator of division.
23527         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
23528         to auto-libm-test-in.
23529         (tgamma_test): Use ALL_RM_TEST.
23530         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
23531         tests of tgamma with spurious-overflow.
23532         * math/auto-libm-test-out: Regenerated.
23533         * math/gen-libm-have-vector-test.sh: Do not check for START.
23534         * sysdeps/i386/fpu/libm-test-ulps: Update.
23535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23537         [BZ #18612]
23538         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
23539         arguments, just return 0.5 times the argument, with underflow
23540         forced as needed.
23541         * math/auto-libm-test-in: Add more tests of j1.
23542         * math/auto-libm-test-out: Regenerated.
23544         [BZ #16559]
23545         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
23546         (__ieee754_j1): Force underflow exception for small results.
23547         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
23548         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
23549         (__ieee754_j1f): Force underflow exception for small results.
23550         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23551         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23552         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23553         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
23554         (__ieee754_j1l): Force underflow exception for small results.
23555         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23556         * math/auto-libm-test-in: Add more tests of j1 and jn.
23557         * math/auto-libm-test-out: Regenerated.
23559         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
23560         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
23561         (PF_MPLS): Likewise.
23562         (AF_IB): Likewise.
23563         (AF_MPLS): Likewise.
23564         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
23565         value and macro.
23566         (MS_RMT_MASK): Include MS_LAZYTIME.
23568 2015-06-26  Mel Gorman  <mgorman@suse.de>
23570         [BZ #18502]
23571         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
23572         already minimal.
23574 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
23576         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
23577         (DT_MIPS_NUM): Update.
23578         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
23579         DT_MIPS_RLD_MAP_REL.
23581 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
23583         [BZ #16559]
23584         [BZ #18602]
23585         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
23586         round-to-nearest internally then recompute results that
23587         underflowed to zero in the original rounding mode.
23588         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23589         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23590         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23591         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23592         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
23593         * sysdeps/i386/fpu/libm-test-ulps: Update.
23594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23596 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
23598         * NEWS: Fixed description of link with vector math library.
23600 2015-06-25  Andreas Schwab  <schwab@suse.de>
23602         [BZ #18549]
23603         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
23604         * libio/test-fmemopen.c (do_test): Add test for it.
23606 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
23608         [BZ #17841]
23609         * Makeconfig (no-pie-ldflag): New.
23610         (+link): Set to $(+link-pie) if default to PIE.
23611         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
23612         * config.make.in (build-pie-default): New.
23613         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
23614         is default.  AC_SUBST.
23615         * configure: Regenerated.
23616         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
23618 2015-06-24  Roland McGrath  <roland@hack.frob.com>
23620         * nptl/descr.h (struct pthread): Change type of field setxid_futex
23621         to 'unsigned int'.
23623         * resolv/gai_misc.h (struct waitlist): Change type of field
23624         counterp to 'volatile unsigned int *'.
23625         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
23626         FUTEXADDR and OLDVAL.
23627         * resolv/getaddrinfo_a.c (getaddrinfo_a):
23628         Give local variable TOTAL type 'volatile unsigned int'.
23629         (struct async_waitlist): Change type of field counter to 'unsigned int'.
23630         * resolv/gai_suspend.c (gai_suspend):
23631         Give local variable CNTR type 'unsigned int'.
23633         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
23634         counterp to 'volatile unsigned int *'.
23635         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
23636         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
23637         (aio_suspend): Give local variable CNTR type 'unsigned int'.
23638         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
23639         Give local variable TOTAL type 'volatile unsigned int'.
23640         (struct async_waitlist): Change type of field counter to 'unsigned int'.
23642 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
23644         [BZ #18383]
23645         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
23646         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
23647         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
23648         comment for i386/x86-64.
23649         (test-xfail-tst-tlsalign-extern-static): Removed.
23651 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
23653         * math/test-double.h: New file.
23654         * math/test-float.h: Likewise.
23655         * math/test-ldouble.h: Likewise.
23656         * math/test-math-inline.h: Likewise.
23657         * math/test-math-no-inline.h: Likewise.
23658         * math/test-math-scalar.h: Likewise.
23659         * math/test-math-vector.h: Likewise.
23660         * math/test-vec-loop.h: Remove file.  Contents moved into
23661         test-math-vector.h.
23662         * math/libm-test.inc (MATHCONST): Do not document macro.
23663         * math/test-double.c: Include test-double.h, test-math-no-inline.h
23664         and test-math-scalar.h.
23665         (FUNC): Remove macro.
23666         (FUNC_TEST): Likewise.
23667         (FLOAT): Likewise.
23668         (MATHCONST): Likewise.
23669         (PRINTF_EXPR): Likewise.
23670         (PRINTF_XEXPR): Likewise.
23671         (PRINTF_NEXPR): Likewise.
23672         (TEST_DOUBLE): Likewise.
23673         (TEST_MATHVEC): Likewise.
23674         (__NO_MATH_INLINES): Likewise.
23675         * math/test-float.c: Include test-float.h, test-math-no-inline.h
23676         and test-math-scalar.h.
23677         (FUNC): Remove macro.
23678         (FUNC_TEST): Likewise.
23679         (FLOAT): Likewise.
23680         (MATHCONST): Likewise.
23681         (PRINTF_EXPR): Likewise.
23682         (PRINTF_XEXPR): Likewise.
23683         (PRINTF_NEXPR): Likewise.
23684         (TEST_FLOAT): Likewise.
23685         (TEST_MATHVEC): Likewise.
23686         (__NO_MATH_INLINES): Likewise.
23687         * math/test-idouble.c: Include test-double.h, test-math-inline.h
23688         and 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_DOUBLE): Likewise.
23697         (TEST_MATHVEC): Likewise.
23698         (TEST_INLINE): Likewise.
23699         (__NO_MATH_INLINES): Likewise.
23700         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
23701         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_FLOAT): Likewise.
23710         (TEST_MATHVEC): Likewise.
23711         (TEST_INLINE): Likewise.
23712         (__NO_MATH_INLINES): Likewise.
23713         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
23714         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         (TEST_INLINE): Likewise.
23725         (__NO_MATH_INLINES): Likewise.
23726         * math/test-ldouble.c: Include test-ldouble.h,
23727         test-math-no-inline.h and test-math-scalar.h.
23728         (FUNC): Remove macro.
23729         (FUNC_TEST): Likewise.
23730         (FLOAT): Likewise.
23731         (MATHCONST): Likewise.
23732         (PRINTF_EXPR): Likewise.
23733         (PRINTF_XEXPR): Likewise.
23734         (PRINTF_NEXPR): Likewise.
23735         (TEST_LDOUBLE): Likewise.
23736         (TEST_MATHVEC): Likewise.
23737         (__NO_MATH_INLINES): Likewise.
23738         * math/test-double-vlen2.h: Include test-double.h,
23739         test-math-no-inline.h and test-math-vector.h.
23740         (FLOAT): Remove macro.
23741         (FUNC): Likewise.
23742         (MATHCONST): Likewise.
23743         (PRINTF_EXPR): Likewise.
23744         (PRINTF_XEXPR): Likewise.
23745         (PRINTF_NEXPR): Likewise.
23746         (TEST_DOUBLE): Likewise.
23747         (TEST_MATHVEC): Likewise.
23748         (__NO_MATH_INLINES): Likewise.
23749         (CNCT): Likewise.
23750         (CONCAT): Likewise.
23751         (WRAPPER_NAME): Likewise.
23752         (WRAPPER_DECL): Likewise.
23753         (WRAPPER_DECL_ff): Likewise.
23754         (WRAPPER_DECL_fFF): Likewise.
23755         (VECTOR_WRAPPER): Likewise.
23756         (VECTOR_WRAPPER_ff): Likewise.
23757         (VECTOR_WRAPPER_fFF): Likewise.
23758         (VEC_LEN): New macro.
23759         * math/test-double-vlen4.h: Include test-double.h,
23760         test-math-no-inline.h and test-math-vector.h.
23761         (FLOAT): Remove macro.
23762         (FUNC): Likewise.
23763         (MATHCONST): Likewise.
23764         (PRINTF_EXPR): Likewise.
23765         (PRINTF_XEXPR): Likewise.
23766         (PRINTF_NEXPR): Likewise.
23767         (TEST_DOUBLE): Likewise.
23768         (TEST_MATHVEC): Likewise.
23769         (__NO_MATH_INLINES): Likewise.
23770         (CNCT): Likewise.
23771         (CONCAT): Likewise.
23772         (WRAPPER_NAME): Likewise.
23773         (WRAPPER_DECL): Likewise.
23774         (WRAPPER_DECL_ff): Likewise.
23775         (WRAPPER_DECL_fFF): Likewise.
23776         (VECTOR_WRAPPER): Likewise.
23777         (VECTOR_WRAPPER_ff): Likewise.
23778         (VECTOR_WRAPPER_fFF): Likewise.
23779         (VEC_LEN): New macro.
23780         * math/test-double-vlen8.h: Include test-double.h,
23781         test-math-no-inline.h and test-math-vector.h.
23782         (FLOAT): Remove macro.
23783         (FUNC): Likewise.
23784         (MATHCONST): Likewise.
23785         (PRINTF_EXPR): Likewise.
23786         (PRINTF_XEXPR): Likewise.
23787         (PRINTF_NEXPR): Likewise.
23788         (TEST_DOUBLE): Likewise.
23789         (TEST_MATHVEC): Likewise.
23790         (__NO_MATH_INLINES): Likewise.
23791         (CNCT): Likewise.
23792         (CONCAT): Likewise.
23793         (WRAPPER_NAME): Likewise.
23794         (WRAPPER_DECL): Likewise.
23795         (WRAPPER_DECL_ff): Likewise.
23796         (WRAPPER_DECL_fFF): Likewise.
23797         (VECTOR_WRAPPER): Likewise.
23798         (VECTOR_WRAPPER_ff): Likewise.
23799         (VECTOR_WRAPPER_fFF): Likewise.
23800         (VEC_LEN): New macro.
23801         * math/test-float-vlen4.h: Include test-float.h,
23802         test-math-no-inline.h and test-math-vector.h.
23803         (FLOAT): Remove macro.
23804         (FUNC): Likewise.
23805         (MATHCONST): Likewise.
23806         (PRINTF_EXPR): Likewise.
23807         (PRINTF_XEXPR): Likewise.
23808         (PRINTF_NEXPR): Likewise.
23809         (TEST_FLOAT): Likewise.
23810         (TEST_MATHVEC): Likewise.
23811         (__NO_MATH_INLINES): Likewise.
23812         (CNCT): Likewise.
23813         (CONCAT): Likewise.
23814         (WRAPPER_NAME): Likewise.
23815         (WRAPPER_DECL): Likewise.
23816         (WRAPPER_DECL_ff): Likewise.
23817         (WRAPPER_DECL_fFF): Likewise.
23818         (VECTOR_WRAPPER): Likewise.
23819         (VECTOR_WRAPPER_ff): Likewise.
23820         (VECTOR_WRAPPER_fFF): Likewise.
23821         (VEC_LEN): New macro.
23822         * math/test-float-vlen8.h: Include test-float.h,
23823         test-math-no-inline.h and test-math-vector.h.
23824         (FLOAT): Remove macro.
23825         (FUNC): Likewise.
23826         (MATHCONST): Likewise.
23827         (PRINTF_EXPR): Likewise.
23828         (PRINTF_XEXPR): Likewise.
23829         (PRINTF_NEXPR): Likewise.
23830         (TEST_FLOAT): Likewise.
23831         (TEST_MATHVEC): Likewise.
23832         (__NO_MATH_INLINES): Likewise.
23833         (CNCT): Likewise.
23834         (CONCAT): Likewise.
23835         (WRAPPER_NAME): Likewise.
23836         (WRAPPER_DECL): Likewise.
23837         (WRAPPER_DECL_ff): Likewise.
23838         (WRAPPER_DECL_fFF): Likewise.
23839         (VECTOR_WRAPPER): Likewise.
23840         (VECTOR_WRAPPER_ff): Likewise.
23841         (VECTOR_WRAPPER_fFF): Likewise.
23842         (VEC_LEN): New macro.
23843         * math/test-float-vlen16.h: Include test-float.h,
23844         test-math-no-inline.h and test-math-vector.h.
23845         (FLOAT): Remove macro.
23846         (FUNC): Likewise.
23847         (MATHCONST): Likewise.
23848         (PRINTF_EXPR): Likewise.
23849         (PRINTF_XEXPR): Likewise.
23850         (PRINTF_NEXPR): Likewise.
23851         (TEST_FLOAT): Likewise.
23852         (TEST_MATHVEC): Likewise.
23853         (__NO_MATH_INLINES): Likewise.
23854         (CNCT): Likewise.
23855         (CONCAT): Likewise.
23856         (WRAPPER_NAME): Likewise.
23857         (WRAPPER_DECL): Likewise.
23858         (WRAPPER_DECL_ff): Likewise.
23859         (WRAPPER_DECL_fFF): Likewise.
23860         (VECTOR_WRAPPER): Likewise.
23861         (VECTOR_WRAPPER_ff): Likewise.
23862         (VECTOR_WRAPPER_fFF): Likewise.
23863         (VEC_LEN): New macro.
23864         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
23865         test-vec-loop.h.
23866         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23867         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23868         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23869         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23870         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23871         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23872         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
23874 2015-06-24  Roland McGrath  <roland@hack.frob.com>
23876         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
23877         (__getlogin_r): ... this.
23879 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
23881         [BZ #18594]
23882         * math/s_ccosh.c (__ccosh): Compare with least normal value
23883         instead of comparing class with FP_SUBNORMAL.
23884         * math/s_ccoshf.c (__ccoshf): Likewise.
23885         * math/s_ccoshl.c (__ccoshl): Likewise.
23886         * math/s_cexp.c (__cexp): Likewise.
23887         * math/s_cexpf.c (__cexpf): Likewise.
23888         * math/s_cexpl.c (__cexpl): Likewise.
23889         * math/s_csin.c (__csin): Likewise.
23890         * math/s_csinf.c (__csinf): Likewise.
23891         * math/s_csinh.c (__csinh): Likewise.
23892         * math/s_csinhf.c (__csinhf): Likewise.
23893         * math/s_csinhl.c (__csinhl): Likewise.
23894         * math/s_csinl.c (__csinl): Likewise.
23895         * math/s_ctan.c (__ctan): Likewise.
23896         * math/s_ctanf.c (__ctanf): Likewise.
23897         * math/s_ctanh.c (__ctanh): Likewise.
23898         * math/s_ctanhf.c (__ctanhf): Likewise.
23899         * math/s_ctanhl.c (__ctanhl): Likewise.
23900         * math/s_ctanl.c (__ctanl): Likewise.
23901         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
23902         csin, csinh, ctan and ctanh.
23903         * math/auto-libm-test-out: Regenerated.
23904         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
23905         * sysdeps/i386/fpu/libm-test-ulps: Update.
23906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23908 2015-06-24  Roland McGrath  <roland@hack.frob.com>
23910         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
23911         return value is wrong, print the expected value too.
23913 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
23915         [BZ #18585]
23916         * elf/readlib.c (is_gdb_python_file): New.
23917         (process_file): Don't issue errors on filenames with -gdb.py
23918         suffix.
23920 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
23922         * math/auto-libm-test-in: Add more tests of csin and csinh.
23923         * math/auto-libm-test-out: Regenerated.
23924         * math/libm-test.inc (csin_test_data): Remove tests moved to
23925         auto-libm-test-in.
23926         (csinh_test_data): Likewise.
23928         [BZ #18593]
23929         * math/s_csin.c (__csin): Negate before rather than after possibly
23930         overflowing multiplication.
23931         * math/s_csinf.c (__csinf): Likewise.
23932         * math/s_csinh.c (__csinh): Likewise.
23933         * math/s_csinhf.c (__csinhf): Likewise.
23934         * math/s_csinhl.c (__csinhl): Likewise.
23935         * math/s_csinl.c (__csinl): Likewise.
23936         * math/auto-libm-test-in: Add some tests of csin and csinh.
23937         * math/auto-libm-test-out: Regenerated.
23938         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
23939         (csinh_test_data): Likewise.
23940         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23942         [BZ #18586]
23943         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
23944         underflow exception for small results.
23946 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
23948         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
23949         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
23950         variable and included header.
23951         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
23952         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
23953         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
23954         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
23955         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
23956         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
23957         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
23958         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
23959         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
23960         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
23961         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
23962         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
23963         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
23964         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
23965         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
23966         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
23968 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
23970         [BZ #16526]
23971         [BZ #16538]
23972         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
23973         (__sin): Force underflow exception for arguments with small
23974         absolute value.
23975         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
23976         (__kernel_sinf): Force underflow exception for arguments with
23977         small absolute value.
23978         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
23979         (__kernel_sincosl): Force underflow exception for arguments with
23980         small absolute value.
23981         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
23982         (__kernel_sinl): Force underflow exception for arguments with
23983         small absolute value.
23984         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
23985         (__kernel_sincosl): Force underflow exception for arguments with
23986         small absolute value.
23987         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
23988         (__kernel_sinl): Force underflow exception for arguments with
23989         small absolute value.
23990         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
23991         (__kernel_sinl): Force underflow exception for arguments with
23992         small absolute value.
23993         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
23994         (__kernel_sinf): Force underflow exception for arguments with
23995         small absolute value.
23996         * math/auto-libm-test-in: Add more tests of sin and sincos.
23997         * math/auto-libm-test-out: Regenerated.
23999         [BZ #18245]
24000         [BZ #18583]
24001         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
24002         (__kernel_standard_l): Use feholdexcept and fesetenv around
24003         conversion to double instead of special-casing overflow and
24004         underflow.
24005         * math/libm-test.inc (fmod_test_data): Add more tests.
24006         (remainder_test_data): Likewise.
24007         (sqrt_test_data): Likewise.
24009 2015-06-23  Torvald Riegel  <triegel@redhat.com>
24011         [BZ #17403]
24012         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
24013         atomic_read_barrier, atomic_write_barrier): Define.
24014         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
24015         atomic_read_barrier, atomic_write_barrier): Define.
24017 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
24019         * math/Makefile [$(PERL) != no]
24020         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
24021         dependency on libm-test.stmp below the inclusion of Rules.
24023 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
24025         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
24026         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
24027         and included header.
24028         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
24029         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
24030         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
24031         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
24032         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
24033         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
24034         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
24035         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
24036         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
24037         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
24038         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
24039         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
24040         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
24041         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
24042         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
24043         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
24044         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
24045         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
24046         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
24048 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
24050         [BZ #18371]
24051         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
24052         intermediate but not final result might underflow.
24053         * math/s_csqrtf.c (__csqrtf): Likewise.
24054         * math/s_csqrtl.c (__csqrtl): Likewise.
24055         * math/auto-libm-test-in: Add more tests of csqrt.
24056         * math/auto-libm-test-out: Regenerated.
24057         * sysdeps/i386/fpu/libm-test-ulps: Update.
24059         [BZ #18219]
24060         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
24061         threshold on absolute value of exponent for which scaling is used.
24062         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24063         * math/auto-libm-test-in: Add more tests of exp2.
24064         * math/auto-libm-test-out: Regenerated.
24066 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
24068         [BZ #17977]
24069         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
24070         when initializing interface list, based on the bug analysis
24071         and the patch proposed by Eric Newton.
24072         * resolv/tst-res_hconf_reorder.c: New test.
24073         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
24074         tst-res_hconf_reorder.
24075         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
24076         and $(shared-thread-library).
24077         (tst-res_hconf_reorder-ENV): New variable.
24079         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
24080         in comment.
24082 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
24084         [BZ #16353]
24085         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
24086         (__expm1): Force underflow exception for arguments with small
24087         absolute value.
24088         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
24089         (__expm1f): Force underflow exception for arguments with small
24090         absolute value.
24091         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
24092         (__expm1): Force underflow exception for arguments with small
24093         absolute value.
24094         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
24095         (__expm1f): Force underflow exception for arguments with small
24096         absolute value.
24097         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
24098         Check for small arguments before calling __expm1.
24099         * math/auto-libm-test-in: Do not mark underflow exceptions as
24100         possibly missing for bug 16353.
24101         * math/auto-libm-test-out: Regenerated.
24103 2015-06-22  Andreas Schwab  <schwab@suse.de>
24105         [BZ #18513]
24106         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
24107         PTR queries.
24109 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
24111         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
24113         * string/strcoll_l.c: Remove unused struct element idxnow.
24115 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
24117         [BZ #18569]
24118         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
24119         underflow and return argument in case of subnormal argument.
24120         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24121         Likewise.
24122         * math/auto-libm-test-in: Add more tests of expm1.
24123         * math/auto-libm-test-out: Regenerated.
24125         [BZ #16361]
24126         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24127         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24128         tiny results.
24129         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24130         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24131         tiny results.
24132         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
24133         mark underflow exceptions as possibly missing for bug 16361.
24134         * math/auto-libm-test-out: Regenerated.
24136 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
24138         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
24139         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
24140         Remove variable.
24141         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24142         (test-xfail-XOPEN2K8/utmpx.h/conform).
24144         * conform/conformtest.pl ($xerrors): New variable.
24145         (note_error): New function.
24146         (compiletest): New argument $xfail.  Use not_error.
24147         (runtest): Likewise.
24148         (top level): Handle xfail- lines.  Update calls to compiletest and
24149         runtest.  Handle xfail- and optional- in headers listed with
24150         allow-header.
24151         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
24152         (O_EXEC): Likewise.
24153         (O_SEARCH): Likewise.
24154         * conform/data/stropts.h-data (ioctl): Likewise.
24155         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
24156         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
24157         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
24158         (msghdr.msg_controllen): Likewise.
24159         (cmsghdr.cmsg_len): Likewise.
24160         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
24161         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
24162         variable.
24163         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24164         (test-xfail-XPG4/stropts.h/conform): Likewise.
24165         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24166         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24167         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24168         (test-xfail-UNIX98/stropts.h/conform): Likewise.
24169         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24170         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24171         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24172         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24173         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24174         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24175         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24176         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24177         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24178         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24179         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24180         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24181         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24182         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24183         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24185 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
24187         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
24188         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
24189         definitions for proper unfolding of __MATHDECL_VEC.
24191 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24193         * benchtests/bench-strcoll.c:
24194         Include string.h.
24195         (main): Remove unused variable res.
24197 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24199         * timezone/Makefile (%/UTC %/Universal):
24200         Generate test-result files for UTC and Universal.
24202 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24204         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24206 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
24208         [BZ #16350]
24209         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
24210         for arguments with small absolute value.
24211         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
24212         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
24213         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
24214         (__asinh): Force underflow exception for arguments with small
24215         absolute value.
24216         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
24217         (__asinhf): Force underflow exception for arguments with small
24218         absolute value.
24219         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
24220         (__asinhl): Force underflow exception for arguments with small
24221         absolute value.
24222         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
24223         (__asinhl): Force underflow exception for arguments with small
24224         absolute value.
24225         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
24226         (__asinhl): Force underflow exception for arguments with small
24227         absolute value.
24228         * math/auto-libm-test-in: Do not mark underflow exceptions as
24229         possibly missing for bug 16350.
24230         * math/auto-libm-test-out: Regenerated.
24232         * include/bits/ipc.h: Remove file.
24233         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
24234         variable.
24235         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24236         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24237         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24238         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24239         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24240         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24241         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24242         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24243         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24245         * math/auto-libm-test-in: Remove spurious underflow allowance for
24246         tests of cexp.
24247         * math/auto-libm-test-out: Regenerated.
24249         [BZ #18558]
24250         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
24251         unconditional definition.
24252         (MCAST_BLOCK_SOURCE): Likewise.
24253         (MCAST_UNBLOCK_SOURCE): Likewise.
24254         (MCAST_LEAVE_GROUP): Likewise.
24255         (MCAST_JOIN_SOURCE_GROUP): Likewise.
24256         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24257         (MCAST_MSFILTER): Likewise.
24258         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
24259         Remove variable.
24260         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24261         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24262         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24263         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24264         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24266 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
24268         * NEWS: Mention addition of x86_64 vector sincosf.
24269         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
24270         * math/test-float-vlen4.h: Likewise.
24271         * math/test-float-vlen8.h: Likewise.
24272         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24273         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
24274         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24275         * sysdeps/x86_64/fpu/Versions: New versions added.
24276         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24277         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24278         Added build of SSE, AVX2 and AVX512 IFUNC versions.
24279         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
24280         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
24281         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
24282         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
24283         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
24284         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
24285         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
24286         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
24287         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
24288         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
24289         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
24290         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
24291         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
24292         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
24293         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
24294         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24295         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24296         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24297         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24298         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24299         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24301         * NEWS: Mention addition of x86_64 vector sincos.
24302         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
24303         * math/math.h (__MATHDECL_VEC): New macro.
24304         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
24305         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
24306         declaration under condition.
24307         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
24308         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
24309         TEST_VEC_LOOP change.
24310         * math/test-double-vlen4.h: Likewise.
24311         * math/test-double-vlen8.h: Likewise.
24312         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
24313         * math/test-float-vlen4.h: Likewise.
24314         * math/test-float-vlen8.h: Likewise.
24315         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24316         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
24317         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24318         * sysdeps/x86_64/fpu/Versions: New versions added.
24319         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24320         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24321         Added build of SSE, AVX2 and AVX512 IFUNC versions.
24322         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
24323         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
24324         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
24325         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
24326         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
24327         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
24328         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
24329         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
24330         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
24331         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
24332         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
24333         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
24334         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
24335         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
24336         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24337         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24338         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24339         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24340         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24341         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24342         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24344         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24345         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24346         redirections for powf.
24347         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24348         * sysdeps/x86_64/fpu/Versions: New versions added.
24349         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24350         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24351         Added build of SSE, AVX2 and AVX512 IFUNC versions.
24352         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
24353         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
24354         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
24355         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
24356         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
24357         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
24358         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
24359         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
24360         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
24361         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
24362         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
24363         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
24364         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
24365         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
24366         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24367         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24368         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24369         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24370         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24371         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24372         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24373         * math/test-float-vlen16.h: Fixed 2 argument macro.
24374         * math/test-float-vlen4.h: Likewise.
24375         * math/test-float-vlen8.h: Likewise.
24376         * NEWS: Mention addition of x86_64 vector powf.
24378 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
24380         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24381         and redefine.
24382         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24383         and redefine.
24384         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
24385         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24386         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24388         [BZ #18553]
24389         * resource/getpriority.c (getpriority): Rename to __getpriority
24390         and define as weak alias of __getpriority.
24391         * resource/setpriority.c (setpriority): Rename to __setpriority
24392         and define as weak alias of __setpriority.
24393         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
24394         __getpriority and define as weak alias of __getpriority.
24395         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
24396         __setpriority and define as weak alias of __setpriority.
24397         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
24398         strong name.
24399         (setpriority): Use __setpriority as strong name.
24400         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
24401         __getpriority and define as weak alias of __getpriority.
24402         * include/sys/resource.h (__getpriority): Declare.  Use
24403         libc_hidden_proto.
24404         (__setpriority): Likewise.
24405         (getpriority): Don't use libc_hidden_proto.
24406         (setpriority): Likewise.
24407         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
24408         getpriority.  Call __setpriority instead of setpriority.
24409         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
24410         Remove variable.
24412         [BZ #18547]
24413         * misc/getttyent.c (getttynam): Rename to __getttynam and define
24414         as weak alias of __getttynam.  Use prototype function definition.
24415         Call __setttyent, __getttyent and __endttyent instead of
24416         setttyent, getttyent and endttyent.
24417         (getttyent): Rename to __getttyent and define as weak alias of
24418         __getttyent.  Call __setttyent instead of setttyent.  Call
24419         __fgets_unlocked instead of fgets_unlocked.
24420         (setttyent): Rename to __setttyent and define as weak alias of
24421         __setttyent.
24422         (endttyent): Rename to __endttyent and define as weak alias of
24423         __endttyent.
24424         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
24425         (__setttyent): Likewise.
24426         (__endttyent): Likewise.
24427         (getttyent): Don't use libc_hidden_proto.
24428         (setttyent): Likewise.
24429         (endttyent): Likewise.
24430         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
24431         __endttyent instead of setttyent, getttyent and endttyent.
24432         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
24433         Remove variable.
24435         [BZ #18546]
24436         * socket/recv.c (__recv): Use libc_hidden_def.
24437         * socket/socket.c (__socket): Likewise.
24438         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
24439         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
24440         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
24441         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
24442         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
24443         libc_hidden_def.
24444         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
24445         libc_hidden_weak.
24446         * include/sys/socket.h (__socket): Do not use attribute_hidden.
24447         Use libc_hidden_proto.
24448         (__recv): Likewise.
24449         * socket/Versions (libc): Export __recv and __socket at version
24450         GLIBC_PRIVATE.
24451         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
24452         instead of recv.
24453         (init_mq_netlink): Call __socket instead of socket.
24454         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
24455         Remove variable.
24457         [BZ #18545]
24458         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
24459         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
24460         hidden_weak.
24461         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
24462         define as alias of __mq_timedsend.  Use hidden_weak.
24463         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
24464         __mq_timedsend as strong name.
24465         (mq_timedreceive): Use __mq_timedreceive as strong name.
24466         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
24467         (__mq_timedreceive): Likewise.
24468         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
24469         __mq_timedreceive instead of mq_timedreceive.
24470         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
24471         instead of mq_timedsend.
24472         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
24473         Remove variable.
24475         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
24476         hidden_def and hidden_weak instead of libc_hidden_def and
24477         libc_hidden_weak.
24478         (top level): Refer to hidden_def in comment.
24479         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
24480         macro.  Use it instead of libc_hidden_def.
24481         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
24482         specify __GI_* name explicitly.
24483         (mq_timedreceive): Likewise.
24484         (mq_setattr): Likewise.
24486         [BZ #18544]
24487         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
24488         __pthread_barrier_init and define as weak alias of
24489         __pthread_barrier_init.
24490         * sysdeps/sparc/nptl/pthread_barrier_init.c
24491         (pthread_barrier_init): Likewise.
24492         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
24493         __pthread_barrier_wait and define as weak alias of
24494         __pthread_barrier_wait.
24495         * sysdeps/sparc/nptl/pthread_barrier_wait.c
24496         (pthread_barrier_wait): Likewise.
24497         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
24498         (pthread_barrier_wait): Likewise.
24499         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
24500         (pthread_barrier_wait): Likewise.
24501         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
24502         (pthread_barrier_wait): Likewise.
24503         * nptl/Versions (libpthread): Export __pthread_barrier_init and
24504         __pthread_barrier_wait at version GLIBC_PRIVATE.
24505         * include/pthread.h (__pthread_barrier_init): Declare.
24506         (__pthread_barrier_wait): Likewise.
24507         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
24508         Call __pthread_barrier_wait instead of pthread_barrier_wait.
24509         (helper_thread): Likewise.
24510         (init_mq_netlink): Call __pthread_barrier_init instead of
24511         pthread_barrier_init.
24513         [BZ #18542]
24514         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
24515         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
24516         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
24517         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
24518         vswscanf.
24519         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
24520         Remove variable.
24522         [BZ #18540]
24523         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
24524         strong alias of _IO_fflush.  Use libc_hidden_def.
24525         * libio/iofflush_u.c (fflush_unlocked): Rename to
24526         __fflush_unlocked and define as weak alias of __fflush_unlocked.
24527         Use libc_hidden_weak.
24528         * include/stdio.h (__fflush_unlocked): Declare.  Use
24529         libc_hidden_proto.
24530         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
24531         fflush_unlocked.
24532         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
24533         Remove variable.
24535         [BZ #18539]
24536         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
24537         define as weak alias of __addseverity.
24538         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
24539         Remove variable.
24540         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
24541         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
24542         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
24544         [BZ #18536]
24545         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
24546         (__tfind): Likewise.
24547         (__tdelete): Likewise.
24548         (__twalk): Likewise.
24549         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
24550         __twalk to GLIBC_PRIVATE.
24551         * include/search.h (__tsearch): Use libc_hidden_proto.
24552         (__tfind): Likewise.
24553         (__tdelete): Likewise.
24554         (__twalk): Likewise.
24555         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
24556         Call __tdelete instead of tdelete.
24557         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
24558         tfind.  Call __tsearch instead of tsearch.
24559         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
24560         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
24561         Remove variable.
24562         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
24564         [BZ #18534]
24565         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
24566         (dprintf): Define as a weak alias of __dprintf, not a strong
24567         alias.
24568         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
24569         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
24570         dprintf.
24571         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
24572         Remove variable.
24573         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
24574         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
24576         [BZ #18533]
24577         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
24578         not a strong alias.
24579         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
24580         Remove variable.
24582         [BZ #18532]
24583         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
24584         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
24585         (in6addr_loopback): Rename to __in6addr_loopback and define as
24586         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
24587         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
24588         libc_hidden_proto.
24589         (__in6addr_any): Likewise.
24590         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
24591         in6addr_any.
24592         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
24593         variable.
24594         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
24596 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
24598         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
24599         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
24600         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24601         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24602         redirections for pow.
24603         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24604         * sysdeps/x86_64/fpu/Versions: New versions added.
24605         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24606         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24607         build of SSE, AVX2 and AVX512 IFUNC versions.
24608         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
24609         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
24610         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
24611         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
24612         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
24613         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
24614         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
24615         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
24616         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
24617         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
24618         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
24619         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
24620         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
24621         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
24622         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24623         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24624         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24625         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24626         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24627         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24628         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24629         * NEWS: Mention addition of x86_64 vector pow.
24631         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24632         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24633         redirections for expf.
24634         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24635         * sysdeps/x86_64/fpu/Versions: New versions added.
24636         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24637         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24638         build of SSE, AVX2 and AVX512 IFUNC versions.
24639         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
24640         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
24641         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
24642         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
24643         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
24644         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
24645         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
24646         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
24647         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
24648         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
24649         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
24650         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
24651         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
24652         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24653         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24654         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24655         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24656         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24657         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24658         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24659         * NEWS: Mention addition of x86_64 vector expf.
24661         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
24662         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
24663         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24664         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24665         redirections for exp.
24666         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24667         * sysdeps/x86_64/fpu/Versions: New versions added.
24668         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24669         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24670         build of SSE, AVX2 and AVX512 IFUNC versions.
24671         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
24672         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
24673         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
24674         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
24675         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
24676         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
24677         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
24678         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
24679         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
24680         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
24681         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
24682         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
24683         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
24684         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24685         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24686         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24687         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24688         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24689         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24690         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24691         * NEWS: Mention addition of x86_64 vector exp.
24693         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24694         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24695         redirections for logf.
24696         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24697         * sysdeps/x86_64/fpu/Versions: New versions added.
24698         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24699         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24700         build of SSE, AVX2 and AVX512 IFUNC versions.
24701         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
24702         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
24703         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
24704         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
24705         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
24706         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
24707         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
24708         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
24709         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
24710         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
24711         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
24712         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
24713         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
24714         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24715         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24716         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24717         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24718         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24719         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24720         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24721         * NEWS: Mention addition of x86_64 vector logf.
24723         * bits/libm-simd-decl-stubs.h: Added stubs for log.
24724         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
24725         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24726         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24727         redirections for log.
24728         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24729         * sysdeps/x86_64/fpu/Versions: New versions added.
24730         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24731         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24732         build of SSE, AVX2 and AVX512 IFUNC versions.
24733         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
24734         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
24735         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
24736         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
24737         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
24738         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
24739         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
24740         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
24741         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
24742         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
24743         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
24744         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
24745         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
24746         test.
24747         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24748         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24749         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24750         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24751         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24752         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24753         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24754         * NEWS: Mention addition of x86_64 vector log.
24756 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24758         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
24759         cfi_adjust_cfa_offset argument.
24760         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
24761         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
24763         [BZ #18034]
24764         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
24765         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
24766         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
24767         ordering using ldar.
24768         (_dl_tlsdesc_dynamic): Likewise.
24769         (_dl_tlsdesc_return_lazy): Likewise.
24770         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
24771         relaxed atomics instead of volatile and synchronize with release store.
24772         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
24773         volatile.
24774         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24776 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
24778         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24779         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
24780         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24781         * sysdeps/x86_64/fpu/Versions: New versions added.
24782         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24783         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24784         build of SSE, AVX2 and AVX512 IFUNC versions.
24785         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
24786         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
24787         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
24788         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
24789         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
24790         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
24791         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
24792         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
24793         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
24794         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
24795         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
24796         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
24797         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
24798         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24799         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24800         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24801         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24802         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24803         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24804         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24805         * NEWS: Mention addition of x86_64 vector sinf.
24807 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
24809         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
24810         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
24811         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
24812         Remove variable.
24813         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
24814         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
24816 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
24818         [BZ #18530]
24819         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
24820         strong alias of _IO_fputs.  Use libc_hidden_def.
24821         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
24822         and define as weak alias of __fputs_unlocked.  Use
24823         libc_hidden_weak.
24824         * include/stdio.h (__fputs_unlocked): Declare.  Use
24825         libc_hidden_proto.
24826         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
24827         fputs_unlocked.
24829         [BZ #18529]
24830         * resolv/netdb.h [__USE_POSIX]: Change condition to
24831         [__USE_XOPEN2K].
24832         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
24833         not expect.
24834         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
24835         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
24836         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
24837         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
24838         [XPG4 || UNIX98] (AI_ALL): Likewise.
24839         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
24840         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
24841         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
24842         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
24843         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
24844         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
24845         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
24846         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
24847         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
24848         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
24849         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
24850         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
24851         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
24852         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
24853         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
24854         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
24855         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
24856         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
24857         [XPG4 || UNIX98] (gai_strerror): Likewise.
24858         [XPG4 || UNIX98] (getaddrinfo): Likewise.
24859         [XPG4 || UNIX98] (getnameinfo): Likewise.
24861         [BZ #18528]
24862         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
24863         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
24864         __USE_XOPEN2K8].
24865         (getgrent): Likewise.
24866         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
24867         expect.
24868         [XPG3 || POSIX2008] (endgrent): Likewise.
24869         [XPG3] (setgrent): Likewise.
24870         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
24871         variable.
24872         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
24874         [BZ #18527]
24875         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
24876         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
24877         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
24878         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
24879         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
24880         * include/unistd.h (__getlogin_r): Declare.  Use
24881         libc_hidden_proto.
24882         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
24883         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
24884         variable.
24885         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
24886         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
24887         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
24889 2015-06-12  Martin Sebor  <msebor@redhat.com>
24891         [BZ #18512]
24892         * Makerules (check-install-supported): New target.
24893         (install): Add check-install-supported as a dependency.
24894         * manual/install.texi (Installing the C Library): Document
24895         that overriding prefix and exec_prefix is not supported.
24896         Mention DESTDIR.
24897         * INSTALL: Regenerate from the above.
24899 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
24901         [BZ #18519]
24902         * posix/Versions (libc): Export __libc_pread at version
24903         GLIBC_PRIVATE.
24904         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
24905         instead of pread.
24906         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
24907         variable.
24909         [BZ #18522]
24910         * misc/efgcvt_r.c
24911         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
24912         (cvt_symbol): Use weak_alias instead of strong_alias.
24913         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
24914         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
24915         Remove variable.
24916         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
24917         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
24919         [BZ #18520]
24920         * inet/herrno.c (h_errno): Rename to __h_errno.
24921         (__libc_h_errno): Define as alias of __h_errno not h_errno.
24922         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
24923         to __h_errno instead of h_errno.
24924         * nptl/herrno.c (h_errno): Rename to __h_errno.
24925         (__h_errno_location): Refer to __h_errno not h_errno.
24926         * resolv/Versions (h_errno): Rename to __h_errno.
24927         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
24928         Remove variable.
24929         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
24931 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
24933         * configure.ac: More strict check for AVX512 assembler support.
24934         * configure: Regenerated.
24936         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
24937         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
24938         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24939         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
24940         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24941         * sysdeps/x86_64/fpu/Versions: New versions added.
24942         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24943         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24944         Added build of SSE, AVX2 and AVX512 IFUNC versions.
24945         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
24946         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
24947         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
24948         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
24949         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
24950         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
24951         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
24952         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
24953         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
24954         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
24955         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
24956         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
24957         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
24958         test.
24959         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24960         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24961         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24962         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24963         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24964         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24965         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24966         * NEWS: Mention addition of x86_64 vector sin.
24968 2015-06-11  Florian Weimer  <fweimer@redhat.com>
24970         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
24971         comment.
24973 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
24975         [BZ #18479]
24976         * nptl/pt-interp.c: New file.
24977         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
24978         Add pt-interp.
24979         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
24980         $(common-objpfx)runtime-linker.h.
24982 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
24984         * Makeconfig (+interp): Remove unused variable.
24985         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
24986         only.  Depend on $(common-objpfx)runtime-linker.h instead of
24987         $(elf-objpfx)runtime-linker.h.
24988         ($(elf-objpfx)runtime-linker.h): Rename to
24989         $(common-objpfx)runtime-linker.h and move ...
24990         * Makerules [$(build-shared) = yes]: ... here.
24991         * elf/interp.c: Include <runtime-linker.h> instead of
24992         <elf/runtime-linker.h>.
24994 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24996         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
24997         (__gettimeofday_syscall): Remove vsyscall fallback.
24998         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
24999         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
25000         Add syscall fallback function.
25001         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
25002         if vDSO is not present.
25003         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
25004         fallback function.
25005         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
25006         present.
25007         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
25008         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
25010 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
25012         [BZ #18497]
25013         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
25014         of wcscmp.
25015         (wcscmp): Define as weak alias of WCSCMP.
25016         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
25017         wcscoll.
25018         (USE_HIDDEN_DEF): Define.
25019         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
25020         __wcscoll.  Don't use libc_hidden_weak.
25021         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
25022         wcscmp.
25023         * sysdeps/i386/i686/multiarch/wcscmp-c.c
25024         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
25025         __GI_wcscmp.
25026         (weak_alias): Undefine and redefine.
25027         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
25028         __wcscmp and define as weak alias of __wcscmp.
25029         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
25030         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
25031         (__wcscoll): Likewise.
25032         (wcscmp): Don't use libc_hidden_proto.
25033         (wcscoll): Likewise.
25034         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
25035         wcscoll.
25036         * posix/regexec.c (check_node_accept_bytes): Likewise.
25037         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
25038         variable.
25039         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25040         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25042         [BZ #18507]
25043         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
25044         __fstatvfs and define as weak alias of __fstatvfs.  Use
25045         libc_hidden_weak.
25046         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
25047         and define as weak alias of __statvfs.  Use libc_hidden_weak.
25048         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
25049         Define as alias of __fstatvfs, not fstatvfs.
25050         (fstatvfs64): Likewise.
25051         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
25052         Define as alias of __statvfs, not statvfs.
25053         (statvfs64): Likewise.
25054         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
25055         Remove variable.
25057 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25060         (HAVE_GETCPU_VSYSCALL): Define.
25061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25062         (HAVE_GETCPU_VSYSCALL): Likewise.
25063         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
25064         * sysdeps/unix/sysv/linux/sched_getcpu.c
25065         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
25066         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
25067         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
25068         prototype.
25069         * sysdeps/unix/sysv/linux/x86_64/init-first.c
25070         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
25071         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
25072         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
25073         Define.
25074         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
25075         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25076         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
25077         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25079 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
25081         * sysdeps/x86_64/fpu/Makefile: New file.
25082         * sysdeps/x86_64/fpu/Versions: New file.
25083         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
25084         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
25085         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
25086         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
25087         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
25088         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
25089         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
25090         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
25091         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
25092         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
25093         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
25094         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
25095         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
25096         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25097         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25098         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
25099         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
25100         * sysdeps/x86_64/configure.ac: Options for libmvec build.
25101         * sysdeps/x86_64/configure: Regenerated.
25102         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
25103         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
25104         * manual/install.texi (Configuring and compiling): Document
25105         --disable-mathvec.
25106         * INSTALL: Regenerated.
25107         * NEWS: Mention addition of libmvec and x86_64 vector cos.
25109         * math/Makefile: Added rules for vector tests.
25110         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
25111         declaration under condition.
25112         * math/test-double-vlen2.h: New file.
25113         * math/test-double-vlen4.h: New file.
25114         * math/test-double-vlen8.h: New file.
25115         * math/test-vec-loop.h: Added initialization macro.
25116         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
25117         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
25118         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
25119         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
25120         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
25121         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
25122         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
25123         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
25124         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
25125         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
25126         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
25128         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25129         * sysdeps/x86_64/fpu/Versions: New versions added.
25130         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
25131         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
25132         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
25133         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
25134         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
25135         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
25136         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
25137         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
25138         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
25139         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
25140         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
25141         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
25142         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
25143         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25144         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25145         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25146         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
25147         * NEWS: Mention addition of x86_64 vector cosf.
25149         * math/Makefile: Added CFLAGS for new tests.
25150         * math/test-float-vlen16.h: New file.
25151         * math/test-float-vlen4.h: New file.
25152         * math/test-float-vlen8.h: New file.
25153         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
25154         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
25155         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25156         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
25157         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
25158         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
25159         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
25160         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
25161         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
25162         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
25163         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
25165 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
25167         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
25168         * locale/programs/ld-ctype.c: Likewise.
25170 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
25172         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
25173         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
25174         bit_ZMM16_31_state): New macro.
25175         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25176         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
25178 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
25180         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
25182 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
25184         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
25186 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
25188         [BZ #18498]
25189         * libio/memstream.c (open_memstream): Rename to __open_memstream
25190         and define as weak alias of __open_memstream.
25191         * include/stdio.h (__open_memstream): Declare.  Use
25192         libc_hidden_proto.
25193         (open_memstream): Don't use libc_hidden_proto.
25194         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
25195         open_memstream.
25196         * posix/getopt.c (_getopt_internal_r): Likewise.
25197         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
25198         variable.
25199         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25200         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25201         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25203         [BZ #18496]
25204         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
25205         instead of wcrtomb.
25207         [BZ #18483]
25208         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
25209         [__USE_XOPEN2K8].  Remove redundant #endif.
25210         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
25211         Remove redundant #if.
25212         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
25213         Remove variable.
25214         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25215         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25217         [BZ #18495]
25218         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
25219         (__iswlower): Likewise.
25220         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
25221         (__iswlower): Likewise.
25222         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
25223         instead of towlower.
25224         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
25225         instead of iswlower.  Call __towupper instead of towupper.
25226         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
25227         instead of iswalnum.
25229 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25231         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
25232         errors to stderr.
25234 2015-06-05  Florian Weimer  <fweimer@redhat.com>
25236         [BZ #15661]
25237         [BZ #17322]
25238         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
25239         Check for overflow properly.  Check for O_APPEND.  Ignore large
25240         file system block sizes.  Add comments about problems.
25241         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
25242         * manual/filesys.texi (Storage Allocation): New node.
25244 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25246         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
25247         cancellable syscalls.
25248         (SYS_ify): Add guard to no redefine it.
25249         (INLINE_SYSCALL): Likewise.
25250         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
25251         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
25252         SYSCALL_CANCEL instead.
25253         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
25254         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25255         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25256         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25257         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25258         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
25259         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
25260         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
25261         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
25262         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
25263         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
25264         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
25265         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
25266         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
25267         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
25268         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
25269         Likewise.
25270         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
25271         (__libc_pread64): Likewise.
25272         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
25273         (__libc_preadv): Likewise.
25274         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
25275         (__libc_readv64): Likewise.
25276         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
25277         (__libc_pwrite): Likewise.
25278         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
25279         (__libc_pwrite64): Likewise.
25280         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
25281         (__libc_pwritev): Likewise.
25282         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
25283         (__libc_pwritev64): Likewise.
25284         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
25285         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
25286         (sync_file_range): Likewise.
25287         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
25288         Likewise.
25289         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
25290         Likewise.
25291         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
25292         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
25293         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25294         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25295         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25296         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25297         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
25298         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
25299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25300         Likewise.
25301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25302         (__libc_read64): Likewise.
25303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
25304         Likewise.
25305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
25306         Likewise.
25307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
25308         Likewise.
25309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
25310         Likewise.
25311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25312         (__libc_pread64): Likewise.
25313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
25314         Likewise.
25315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25316         (__libc_pwrite64): Likewise.
25317         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
25318         (sync_file_range): Likewise.
25319         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
25320         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25321         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25322         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
25323         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
25324         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25325         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25326         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
25327         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
25328         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25329         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25330         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25331         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25332         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25333         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
25334         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25335         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25336         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25337         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25338         Likewise.
25339         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
25340         Likewise.
25341         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
25342         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
25343         Likewise.
25344         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
25345         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
25346         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
25347         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
25348         Likewise.
25349         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
25350         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
25351         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
25352         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
25353         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
25355 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
25357         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
25358         Include dl-vdso.
25359         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
25360         Use VDSO routines for gettimeofday, clock_gettime if
25361         available.
25362         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
25363         Declare VDSO symbols.
25364         * sysdeps/unix/sysv/linux/arm/sysdep.h:
25365         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
25366         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25367         * sysdeps/unix/sysv/linux/arm/Versions: Add
25368         __vdso_clock_gettime.
25370 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25372         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
25373         be an inline implementation regardless of library is built within.
25374         (open_not_cancel_2): Likewise.
25375         (__read_nocancel): Likewise.
25376         (__write_nocancel): Likewise.
25377         (openat_not_cancel): Likewise.
25378         (openat_not_cancel_3): Likewise.
25379         (openat64_not_cancel): Likewise.
25380         (openat64_not_cancel_3): Likewise.
25381         (__close_nocancel): Likewise.
25382         (pause_not_cancel): Likewise.
25383         (nanosleep_not_cancel): Likewise.
25384         (sigsuspend_not_cancel): Likewise.
25386 2015-06-04  Torvald Riegel  <triegel@redhat.com>
25388         [BZ #14958]
25389         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
25390         wake-up.
25391         (__pthread_rwlock_rdlock_slow): Likewise.
25392         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25393         Likewise.
25394         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
25395         Likewise.
25396         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
25397         * nptl/tst-rwlock16.c: New file.
25398         * nptl/Makefile (tests): Add new test.
25400 2015-06-04  Torvald Riegel  <triegel@redhat.com>
25402         [BZ #18324]
25403         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
25404         missing wake-up of readers.
25405         * nptl/tst-rwlock15.c: New file.
25406         * nptl/Makefile (tests): Add new test.
25408 2015-06-03  Roland McGrath  <roland@hack.frob.com>
25410         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
25411         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
25412         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
25413         and __nacl_supply_interface_rtld.
25414         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
25415         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
25416         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
25417         Add __nacl_supply_interface_rtld.
25418         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
25420 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
25422         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
25423         isfinite.
25424         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25425         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
25427 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
25429         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
25430         __signbit* with standard C99 macros.
25431         * math/e_exp10l.c: Likewise.
25432         * math/e_exp2l.c: Likewise.
25433         * math/e_scalb.c: Likewise.
25434         * math/e_scalbf.c: Likewise.
25435         * math/e_scalbl.c: Likewise.
25436         * math/s_ldexp.c: Likewise.
25437         * math/s_ldexpf.c: Likewise.
25438         * math/s_ldexpl.c: Likewise.
25439         * math/w_atan2.c: Likewise.
25440         * math/w_atan2f.c: Likewise.
25441         * math/w_atan2l.c: Likewise.
25442         * math/w_cosh.c: Likewise.
25443         * math/w_coshf.c: Likewise.
25444         * math/w_coshl.c: Likewise.
25445         * math/w_exp10.c: Likewise.
25446         * math/w_exp10f.c: Likewise.
25447         * math/w_exp10l.c: Likewise.
25448         * math/w_exp2.c: Likewise.
25449         * math/w_exp2f.c: Likewise.
25450         * math/w_exp2l.c: Likewise.
25451         * math/w_fmod.c: Likewise.
25452         * math/w_fmodf.c: Likewise.
25453         * math/w_fmodl.c: Likewise.
25454         * math/w_hypot.c: Likewise.
25455         * math/w_hypotf.c: Likewise.
25456         * math/w_hypotl.c: Likewise.
25457         * math/w_jnl.c: Likewise.
25458         * math/w_lgamma.c: Likewise.
25459         * math/w_lgamma_r.c: Likewise.
25460         * math/w_lgammaf.c: Likewise.
25461         * math/w_lgammaf_r.c: Likewise.
25462         * math/w_lgammal.c: Likewise.
25463         * math/w_lgammal_r.c: Likewise.
25464         * math/w_pow.c: Likewise.
25465         * math/w_powf.c: Likewise.
25466         * math/w_powl.c: Likewise.
25467         * math/w_remainder.c: Likewise.
25468         * math/w_remainderf.c: Likewise.
25469         * math/w_remainderl.c: Likewise.
25470         * math/w_scalb.c: Likewise.
25471         * math/w_scalbf.c: Likewise.
25472         * math/w_scalbl.c: Likewise.
25473         * math/w_scalbln.c: Likewise.
25474         * math/w_scalblnf.c: Likewise.
25475         * math/w_scalblnl.c: Likewise.
25476         * math/w_sinh.c: Likewise.
25477         * math/w_sinhf.c: Likewise.
25478         * math/w_sinhl.c: Likewise.
25479         * math/w_tgamma.c: Likewise.
25480         * math/w_tgammaf.c: Likewise.
25481         * math/w_tgammal.c: Likewise.
25482         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25483         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
25484         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25485         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25486         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25487         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25488         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25489         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25490         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25491         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25492         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25493         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25494         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25495         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25496         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25497         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25498         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25499         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25500         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25501         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25502         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25503         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25504         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25505         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25506         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25507         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25508         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
25509         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25510         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25511         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25512         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
25513         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
25514         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
25515         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
25516         * stdio-common/printf_fp.c: Likewise.
25517         * stdio-common/printf_fphex.c: Likewise.
25518         * stdio-common/printf_size.c: Likewise.
25520 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
25522         [BZ #18470]
25523         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
25524         strnlen.
25525         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
25526         Remove variable.
25527         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
25528         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
25529         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
25530         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
25531         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
25532         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
25533         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
25534         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
25535         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
25536         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25538         [BZ #18468]
25539         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
25540         weak alias of __wmemchr.  Use libc_hidden_weak.
25541         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
25542         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
25543         instead of wmemchr.
25545 2015-06-02  Roland McGrath  <roland@hack.frob.com>
25547         [BZ #18383]
25548         * elf/tst-tlsalign-extern.c: New file.
25549         * elf/tst-tlsalign-extern-static.c: New file.
25550         * elf/tst-tlsalign-vars.c: New file.
25551         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
25552         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
25553         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
25554         ($(objpfx)tst-tlsalign-extern-static): Likewise.
25555         (test-xfail-tst-tlsalign-extern-static): New variable.
25557 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
25559         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
25560         Use variable name _sc_err instead of err.
25561         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
25562         instead of ret.
25563         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
25564         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
25565         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
25566         (INLINE_SYSCALL): Likewise.
25568         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
25569         * include/string.h (__strnlen): Use libc_hidden_proto.
25570         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
25571         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
25572         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
25573         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
25574         (libc_hidden_def): Undefine and redefine.
25575         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
25576         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
25577         __GI_strnlen.
25578         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
25579         libc_hidden_def.
25580         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
25582         [BZ #18469]
25583         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
25584         weak alias of __towlower.  Use libc_hidden_weak.
25585         (towupper): Rename to __towupper and define as weak alias of
25586         __towupper.  Use libc_hidden_weak.
25587         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
25588         (__towupper): Likewise.
25589         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
25590         __towlower instead of towlower.
25592 2015-06-02  Roland McGrath  <roland@hack.frob.com>
25594         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
25595         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
25597 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25599         * sysdeps/aarch64/libm-test-ulps: Update.
25601 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25603         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
25604         Define.
25605         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25606         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
25607         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
25608         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25609         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
25610         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
25611         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
25613 2015-06-01  Martin Sebor  <msebor@redhat.com>
25615         [BZ #18116]
25616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25617         (__setcontext): Use extended four-operand version of mtsf whenever
25618         possible.
25619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25620         (__novec_swapcontext): Likewise.
25622 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
25624         * benchtests/scripts/compare_bench.py: New file.
25625         * benchtests/scripts/import_bench.py (mean): New function.
25626         (split_list): Likewise.
25627         (do_for_all_timings): Likewise.
25628         (compress_timings): Likewise.
25630         * benchtests/scripts/import_bench.py: New file.
25631         * benchtests/scripts/validate_benchout.py: Import import_bench
25632         instead of jsonschema.
25633         (validate_bench): Remove function.
25634         (main): Use import_bench.
25636 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
25638         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
25639         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
25641 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25643         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25645 2015-05-28  Roland McGrath  <roland@hack.frob.com>
25647         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
25648         set THREAD_SELF->tid to a magic value and futex-wake it.
25649         Pass its address to the thread_exit system call.
25650         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
25651         bit is clear.
25652         * sysdeps/nacl/lowlevellock.h: New file.
25653         * sysdeps/nacl/lll_timedwait_tid.c: New file.
25655         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
25656         Add TIMEOUT to current time, don't subtract it.
25658 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
25660         [BZ #2981]
25661         [BZ #18422]
25662         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
25663         ($(objpfx)tst-audit2.out): Also depend on
25664         $(objpfx)tst-auditmod9b.so.
25665         * elf/tst-audit2.c: Include <dlfcn.h>.
25666         (calloc_called): New.
25667         (calloc): Allow to be called more than once.
25668         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
25670 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
25672         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
25673         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
25675 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
25677         * stdlib/monetary.h: Fix comment.
25679 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
25681         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
25682         Avoid using variables in #defines that might cause shadowing.
25683         (INTERNAL_VSYSCALL_CALL): Likewise.
25685 2015-05-26  Roland McGrath  <roland@hack.frob.com>
25687         * sysdeps/nacl/lll_timedlock_wait.c: New file.
25689         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
25690         * nptl/lll_timedlock_wait.c: ... to this new file.
25691         * nptl/Makefile (libpthread-routines): Add it.
25692         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
25693         * nptl/lll_timedwait_tid.c: ... to this new file.
25694         * nptl/Makefile (libpthread-routines): Add it.
25695         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
25696         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
25697         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
25698         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
25699         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
25700         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
25701         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
25702         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
25703         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
25704         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
25706 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25708         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
25709         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
25710         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
25711         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
25712         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
25713         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25714         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25715         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25716         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25717         * sysdeps/unix/sysv/linux/tile/sysdep.h
25718         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25719         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
25720         using vDSO syscall macro.
25722 2015-05-26  Andriy Rysin  <arysin@gmail.com>
25724         [BZ #17293]
25725         * uk_UA: Fix sorting order for Ukrainian locale
25727 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
25729         * stdlib/monetary.h: Fix comment.
25731 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25733         [BZ #18234]
25734         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
25735         st_mtim and st_ctim members.
25736         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
25737         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
25738         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
25739         (struct stat64): Likewise.
25740         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
25741         (struct stat64): Likewise.
25742         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
25743         (struct stat64): Likewise.
25745 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25747         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
25748         Define and include sysdep-vdso.h.
25749         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
25750         Likewise.
25751         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
25752         Likewise.
25753         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
25754         Define with VDSO_SYMBOL and use PTR_MANGLE.
25755         (__vdso_clock_gettime): Likewise.
25756         (__vdso_clock_getres): Likewise.
25757         (_libc_vdso_platform_setup): Likewise.
25758         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
25759         Likewise.
25760         (_libc_vdso_platform_setup): Likewise.
25761         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
25762         Likewise.
25763         (__vdso_clock_gettime): Likewise.
25764         (__vdso_clock_getres): Likewise.
25765         (__vdso_get_tbfreq): Likewise.
25766         (__vdso_getcpu): Likewise.
25767         (__vdso_time): Likewise.
25768         (__vdso_sigtramp_rt64): Likewise.
25769         (__vdso_signtramp32): Likewise.
25770         (__vdso_sigtramp_rt32): Likewise.
25771         (_libc_vdso_platform_setup): Likewise.
25772         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
25773         Likewise.
25774         (__vdso_clock_gettime): Likewise.
25775         (__vdso_clock_getres): Likewise.
25776         (_libc_vdso_platform_setup): Likewise.
25777         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
25778         Likewise.
25779         (__vdso_clock_gettime): Likewise.
25780         (_libc_vdso_platform_setup): Likewise.
25781         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
25782         Likewise.
25783         (__vdso_getcpu): Likewise.
25784         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
25785         Use VDSO_SYMBOL macro to define.
25786         (__vdso_clock_gettime): Likewise.
25787         (__vdso_clock_getres): Likewise.
25788         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
25789         Likewise.
25790         (__vdso_clock_gettime): Likewise.
25791         (__vdso_clock_getres): Likewise.
25792         (__vdso_get_tbfreq): Likewise.
25793         (__vdso_getcpu): Likewise.
25794         (__vdso_time): Likewise.
25795         (__vdso_sigtramp_rt64): Likewise.
25796         (__vdso_signtramp32): Likewise.
25797         (__vdso_sigtramp_rt32): Likewise.
25798         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
25799         Likewise.
25800         (__vdso_clock_gettime): Likewise.
25801         (__vdso_clock_getres): Likewise.
25802         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
25803         Likewise.
25804         (__vdso_clock_gettime): Likewise.
25805         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
25806         Likewise.
25807         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
25808         macro.
25809         (INTERNAL_VSYSCALL): Likewise.
25810         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
25811         Remove macro.
25812         (INTERNAL_VSYSCALL): Likewise.
25813         (INTERNAL_VSYSCALL_NCS): Likewise.
25814         (INTERNAL_VSYSCALL_CALL): New macro.
25815         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
25816         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
25817         Likewise.
25818         (INTERNAL_VSYSCALL): Likewise.
25819         (INTERNAL_VSYSCALL_NCS): Likewise.
25820         (INTERNAL_VSYSCALL_CALL): New macro.
25821         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
25822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25823         (INLINE_VSYSCALL): Remove macro.
25824         (INTERNAL_VSYSCALL): Remove macro.
25825         (INTERNAL_VSYSCALL_NCS): Remove macro.
25826         (INTERNAL_VSYSCALL_CALL): New macro.
25827         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
25828         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
25829         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
25830         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
25831         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
25832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25833         (INLINE_VSYSCALL): Remove macro.
25834         (INTERNAL_VSYSCALL): Likewise.
25835         (INTERNAL_VSYSCALL_NCS): Likewise.
25836         (INTERNAL_VSYSCALL_CALL): New macro.
25837         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
25838         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
25839         PTR_DEMANGLE on vDSO pointer.
25840         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
25841         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
25842         macro.
25843         (INTERNAL_SYSCALL): Likewise.
25844         (INTERNAL_VSYSCALL_NCS): Remove macro.
25845         (INTERNAL_VSYSCALL_CALL): New macro.
25846         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
25847         Remove macro.
25848         (INTERNAL_VSYSCALL): Likewise.
25849         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
25850         sysdep-vdso.h instead of libc-vdso.h.
25851         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
25852         definition.
25853         (INLINE_VSYSCALL): Likewise.
25854         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
25855         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
25856         definition.
25857         (INLINE_VSYSCALL): Likewise.
25858         (INTERNAL_VSYSCALL): Likewise.
25859         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25860         * sysdeps/unix/sysv/linux/timespec_get.c
25861         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25862         (timespec_get): Use ANSI prototype.
25863         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
25864         and definition for Linux.
25866 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
25868         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
25869         * include/libc-symbols.h: libmvec_hidden_* macro series added.
25871 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
25873         [BZ #2981]
25874         [BZ #18410]
25875         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
25876         for missing DT_PLTRELSZ.
25878 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
25880         Remove obsolete aliases that broke 'locale -a'
25881         [BZ #18412]
25882         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
25883         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
25884         breaking some applications that use 'locale -a' output.
25885         Change the encoding of this file from Latin-1 to ASCII to avoid
25886         other potential problems with people grepping this file.
25888 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25890         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
25891         -fasynchronous-unwind-tables.
25892         (CFLAGS-sendto.c): Likewise.
25893         (CFLAGS-sendmsg.c): Likewise.
25894         (CFLAGS-connect.c): Likewise.
25895         (CFLAGS-recvmsg.c): Likewise.
25896         (CFLAGS-recvfrom.c): Likewise.
25897         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
25898         (SOCKETCALL): New macro: non-cancellable socketcall.
25899         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
25900         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
25901         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
25902         * sysdeps/unix/sysv/linux/accept.c: New file.
25903         * sysdeps/unix/sysv/linux/bind.c: Likewise.
25904         * sysdeps/unix/sysv/linux/connect.c: Likewise.
25905         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
25906         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
25907         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
25908         * sysdeps/unix/sysv/linux/listen.c: Likewise.
25909         * sysdeps/unix/sysv/linux/recv.c: Likewise.
25910         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
25911         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
25912         * sysdeps/unix/sysv/linux/send.c: Likewise.
25913         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
25914         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
25915         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
25916         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
25917         * sysdeps/unix/sysv/linux/socket.c: Likewise.
25918         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
25919         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
25920         prototype.
25921         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
25922         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25923         instead of __internal_xxx function.
25924         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
25925         prototype.
25926         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
25927         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25928         instead of __internal_xxx function.
25929         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
25930         prototype.
25931         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
25932         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25933         instead of __internal_xxx function.
25934         * sysdeps/unix/sysv/linux/accept.S: Remove file.
25935         * sysdeps/unix/sysv/linux/bind.S: Likewise.
25936         * sysdeps/unix/sysv/linux/connect.S: Likewise.
25937         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
25938         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
25939         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
25940         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
25941         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
25942         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
25943         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
25944         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
25945         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25946         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
25947         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
25948         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
25949         * sysdeps/unix/sysv/linux/listen.S: Likewise.
25950         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
25951         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
25952         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
25953         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
25954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
25955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
25956         * sysdeps/unix/sysv/linux/recv.S: Likewise.
25957         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
25958         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
25959         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
25960         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25961         * sysdeps/unix/sysv/linux/send.S: Likewise.
25962         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
25963         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
25964         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
25965         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
25966         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
25967         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
25968         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
25969         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
25970         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
25971         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
25972         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
25973         socketcall is implemented in GLIBC.
25975 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
25977         * soft-fp/fmadf4.c: Include <libc-internal.h>.
25978         (__fma): Ignore uninitialized warnings around packing.
25979         * soft-fp/fmasf4.c: Include <libc-internal.h>.
25980         (__fmaf): Ignore uninitialized warnings around packing.
25981         * soft-fp/fmatf4.c: Include <libc-internal.h>.
25982         (__fmal): Ignore uninitialized warnings around packing.
25984         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
25985         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25986         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
25987         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25989         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
25990         switch statement into default case.
25991         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
25993         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
25994         a conditional in forcing "inexact".
25995         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
25996         Likewise.
25998 2015-05-22  Roland McGrath  <roland@hack.frob.com>
26000         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26001         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
26002         for each INTERNAL_SYSCALL use.
26004 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
26006         [BZ #438]
26007         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
26008         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
26009         variable.
26011         [BZ #18444]
26012         * string/basename.c (basename): Rename to __basename and define as
26013         weak alias of __basename.  Use libc_hidden_weak.
26014         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
26015         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
26016         __basename instead of basename.
26017         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
26018         Remove variable.
26019         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
26021 2015-05-18  Florian Weimer  <fweimer@redhat.com>
26023         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
26024         (_IO_JUMPS_FILE_plus): New.
26025         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
26026         _IO_CAST_FIELD_ACCESS.
26027         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
26028         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
26029         * libio/freopen.c (freopen): Likewise.
26030         * libio/freopen64.c (freopen64): Likewise.
26031         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
26032         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
26033         * libio/iofwide.c (_IO_fwide): Likewise.
26034         * libio/memstream.c (open_memstream): Likewise.
26035         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26036         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
26037         * libio/oldiopopen.c (_IO_old_popen): Likewise.
26039 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
26041         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
26042         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
26043         NADJ.
26044         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
26045         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
26046         NADJ.
26047         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
26048         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
26049         NADJ.
26051         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
26052         (p == 4) case.
26054         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
26055         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
26056         Remove variable.
26057         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
26058         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
26059         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26061 2015-05-21  Florian Weimer  <fweimer@redhat.com>
26063         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
26064         Adjust jump table label generation macros.
26066 2015-05-21  Florian Weimer  <fweimer@redhat.com>
26068         * stdio-common/vfprintf.c (vfprintf): Move local variables
26069         args_malloced, specs, specs_malloced, and the code after
26070         do_positional to the printf_positional function.
26071         (printf_positional): New function.
26073 2015-05-21  Florian Weimer  <fweimer@redhat.com>
26075         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
26076         function.
26077         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
26078         STEP4_TABLE, process_arg): Move macro definitions
26079         out of the vfprintf function.  (Cosmetic change only.)
26081 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
26083         * benchtests/Makefile (stdio-common-bench): Define.
26084         (benchset): Add stdio-common-bench.
26085         * sprintf-inputs: New file.
26086         * sprintf-source.c: New file.
26088 2015-05-21  Andreas Schwab  <schwab@suse.de>
26090         [BZ #13028]
26091         [BZ #17053]
26092         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
26093         of struct __res_state.
26094         * resolv/res_send.c (__libc_res_nsend): Likewise.
26095         (get_nsaddr): New function.
26096         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
26097         statp directly.
26099 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
26101         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
26102         -D_POSIX_C_SOURCE=199506L.
26104         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
26106         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
26107         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
26108         Do not mention otherwise.
26109         [POSIX] (_XOPEN_VERSION): Do not expect.
26110         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
26111         [POSIX] (_POSIX2_C_BIND): Likewise.
26112         [POSIX] (_POSIX2_VERSION): Likewise.
26113         [POSIX] (_XOPEN_XPG2): Likewise.
26114         [POSIX] (_XOPEN_XPG3): Likewise.
26115         [POSIX] (_XOPEN_XPG4): Likewise.
26116         [POSIX] (_XOPEN_UNIX): Likewise.
26117         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
26118         [POSIX] (_POSIX_BARRIERS): Likewise.
26119         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
26120         [POSIX] (_POSIX_CPUTIME): Likewise.
26121         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
26122         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
26123         [POSIX] (_POSIX_SHELL): Likewise.
26124         [POSIX] (_POSIX_SPAWN): Likewise.
26125         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
26126         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
26127         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
26128         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
26129         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
26130         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
26131         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
26132         [POSIX] (_XBS5_LP64_OFF64): Likewise.
26133         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
26134         [POSIX] (_POSIX_TIMEOUTS): Likewise.
26135         [POSIX] (_POSIX2_PBS): Likewise.
26136         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
26137         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
26138         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
26139         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
26140         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
26141         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
26142         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
26143         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
26144         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
26145         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
26146         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
26147         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
26148         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
26149         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
26150         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
26151         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
26152         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
26153         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
26154         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
26155         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
26156         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
26157         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
26158         [POSIX] (_SC_2_C_BIND): Likewise.
26159         [POSIX] (_SC_2_C_VERSION): Likewise.
26160         [POSIX] (_SC_2_PBS): Likewise.
26161         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
26162         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
26163         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
26164         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
26165         [POSIX] (_SC_2_PBS_TRACK): Likewise.
26166         [POSIX] (_SC_ATEXIT_MAX): Likewise.
26167         [POSIX] (_SC_BARRIERS): Likewise.
26168         [POSIX] (_SC_BASE): Likewise.
26169         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
26170         [POSIX] (_SC_DEVICE_IO): Likewise.
26171         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
26172         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
26173         [POSIX] (_SC_FD_MGMT): Likewise.
26174         [POSIX] (_SC_FIFO): Likewise.
26175         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
26176         [POSIX] (_SC_FILE_LOCKING): Likewise.
26177         [POSIX] (_SC_FILE_SYSTEM): Likewise.
26178         [POSIX] (_SC_IOV_MAX): Likewise.
26179         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
26180         [POSIX] (_SC_NETWORKING): Likewise.
26181         [POSIX] (_SC_PAGE_SIZE): Likewise.
26182         [POSIX] (_SC_PASS_MAX): Likewise.
26183         [POSIX] (_SC_PIPE): Likewise.
26184         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
26185         [POSIX] (_SC_REGEXP): Likewise.
26186         [POSIX] (_SC_SHELL): Likewise.
26187         [POSIX] (_SC_SIGNALS): Likewise.
26188         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
26189         [POSIX] (_SC_SPIN_LOCKS): Likewise.
26190         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
26191         [POSIX] (_SC_USER_GROUPS): Likewise.
26192         [POSIX] (_SC_USER_GROUPS_R): Likewise.
26193         [POSIX] (_SC_STREAMS): Likewise.
26194         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
26195         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
26196         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
26197         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
26198         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
26199         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
26200         [POSIX] (_PC_FILESIZEBITS): Likewise.
26201         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
26202         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
26203         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
26204         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
26205         [POSIX] (uid_t): Likewise.
26206         [POSIX] (gid_t): Likewise.
26207         [POSIX] (off_t): Likewise.
26208         [POSIX] (pid_t): Likewise.
26209         [POSIX] (cuserid): Allow.
26210         (_SC_2_CHAR_TERM): Require constant.
26211         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
26212         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
26213         variable.
26215 2015-05-20  Roland McGrath  <roland@hack.frob.com>
26217         * sysdeps/nacl/pthread-pids.h: New file.
26218         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
26219         (create_thread): Use __nacl_get_tid to initialize PD->tid.
26221         * nptl/pthread-pids.h: New file.
26222         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
26223         * nptl/nptl-init.c: Include <pthread-pids.h>.
26224         (__pthread_initialize_minimal_internal):
26225         Call __pthread_initialize_pids instead of set_tid_address syscall.
26227         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
26228         * sysdeps/posix/usleep.c: ... here.
26230 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26232         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
26233         call_pselect6 object.
26234         [$(subdir) = io]: Remove call_sync_file_range object.
26235         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
26236         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
26237         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
26238         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
26240 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
26242         * math/s_cproj.c: Add include "math_private.h".
26243         * math/s_cprojf.c: Likewise.
26244         * math/s_cprojl.c: Likewise.
26246 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
26248         [BZ #18244]
26249         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
26250         high mantissa bit when testing whether P is a NaN.
26251         * math/libm-test.inc (remainder_test_data): Add more tests.
26252         (remquo_test_data): Likewise.
26254         [BZ #18049]
26255         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
26256         below -32, return the argument, with underflow if subnormal.
26257         * math/auto-libm-test-in: Add more tests of atanh.
26258         * math/auto-libm-test-out: Regenerated.
26260 2015-05-19  Roland McGrath  <roland@hack.frob.com>
26262         [BZ #18434]
26263         * nptl/tst-sem15.c: New file.
26264         * nptl/Makefile (tests): Add it.
26265         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
26266         s/<</>>/ to fix typo in EOVERFLOW check.
26267         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
26269 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26271         * manual/strings.texi (envz_remove): Fix typo in safety
26272         annotations.
26274 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
26275             Steve Ellcey  <sellcey@imgtec.com>
26277         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
26278         in order to avoid strict alias warnings.
26279         (iruserok_af): Ditto for ra.
26281 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
26283         [BZ #17581]
26284         * malloc/hooks.c
26285         (magicbyte): Convert to a function and avoid returning 0x01.
26286         (mem2mem_check): Avoid using a length byte equal to the magic byte.
26287         (mem2chunk_check): Fix unsigned comparisons to zero.
26288         Hoist defs of sz and magic.
26290 2015-05-19  Richard Henderson  <rth@redhat.com>
26292         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
26294         * sysdeps/alpha/fpu/libm-test-ulps: Update.
26296 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26298         [BZ #16159]
26299         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
26300         * malloc/arena.c (arena_lock): Check if arena is corrupt.
26301         (reused_arena): Find a non-corrupt arena.
26302         (heap_trim): Pass arena to unlink.
26303         * malloc/hooks.c (malloc_check_get_size): Pass arena to
26304         malloc_printerr.
26305         (top_check): Likewise.
26306         (free_check): Likewise.
26307         (realloc_check): Likewise.
26308         * malloc/malloc.c (malloc_printerr): Add arena argument.
26309         (unlink): Likewise.
26310         (munmap_chunk): Adjust.
26311         (ARENA_CORRUPTION_BIT): New macro.
26312         (arena_is_corrupt): Likewise.
26313         (set_arena_corrupt): Likewise.
26314         (sysmalloc): Use mmap if there are no usable arenas.
26315         (_int_malloc): Likewise.
26316         (__libc_malloc): Don't fail if arena_get returns NULL.
26317         (_mid_memalign): Likewise.
26318         (__libc_calloc): Likewise.
26319         (__libc_realloc): Adjust for additional argument to
26320         malloc_printerr.
26321         (_int_free): Likewise.
26322         (malloc_consolidate): Likewise.
26323         (_int_realloc): Likewise.
26324         (_int_memalign): Don't touch corrupt arenas.
26325         * malloc/tst-malloc-backtrace.c: New test case.
26327         * Makefile (summarize-tests): Fix return value on success.
26329         * manual/string.texi (Envz Functions): Add envz_remove.
26331 2015-05-18  Roland McGrath  <roland@hack.frob.com>
26333         * sysdeps/posix/opendir.c: Include <stdbool.h>.
26334         (invalid_name): New function, broken out of ...
26335         (__opendirat): ... here.  Call it.
26336         (need_isdir_precheck): New function, broken out of ...
26337         (__opendirat): ... here.  Call it.
26338         Use __fxstatat64, not __xstatat64.
26339         (opendir_oflags): New function, broken out of ...
26340         (__opendirat): ... here.  Call it.
26341         (opendir_tail): New function, broken out of ...
26342         (__opendirat): ... here.  Call it.
26343         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
26344         opendir_tail, rather than punting to __opendirat.
26345         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
26347 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26349         * .gitignore: Ignore generated *.pyc.
26351 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
26353         * include/stdio.h: Define __need_wint_t.
26354         * test-skeleton.c: Avoid `for' loop initial declaration.
26355         * nptl/tst-initializers1.c: Use test-skeleton.c.
26357 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26359         [BZ #18418]
26360         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
26362 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
26364         [BZ #16352]
26365         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
26366         (__ieee754_atanh): Force underflow exception for results with
26367         small absolute value.
26368         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
26369         (__ieee754_atanhf): Force underflow exception for results with
26370         small absolute value.
26371         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
26372         (__ieee754_atanh): Force underflow exception for results with
26373         small absolute value.
26374         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
26375         (__ieee754_atanhf): Force underflow exception for results with
26376         small absolute value.
26377         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
26378         (__ieee754_atanhl): Force underflow exception for results with
26379         small absolute value.
26380         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
26381         (__ieee754_atanhl): Force underflow exception for results with
26382         small absolute value.
26383         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
26384         (__ieee754_atanhl): Force underflow exception for results with
26385         small absolute value.
26386         * math/auto-libm-test-in: Do not allow missing underflow
26387         exceptions from atanh.
26388         * math/auto-libm-test-out: Regenerated.
26390         [BZ #18221]
26391         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
26392         2**-28 as threshold for returning x or +/- 1/x.
26393         * math/auto-libm-test-in: Add more tests of tan.
26394         * math/auto-libm-test-out: Regenerated.
26396         [BZ #18220]
26397         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
26398         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
26399         * math/auto-libm-test-in: Add another test of lgamma.
26400         * math/auto-libm-test-out: Regenerated.
26402 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
26404         * stdio-common/printf_fp.c (___printf_fp): Use abs.
26405         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
26406         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
26407         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
26408         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
26409         (ADD2A): Use fabs.  (SUB2A): Use fabs.
26410         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
26411         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
26412         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
26413         (log1): Use fabs.  (my_log2): Use fabs.
26414         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
26415         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
26416         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
26417         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
26418         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
26419         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
26420         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
26421         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
26422         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
26423         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
26424         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
26426 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
26428         [BZ #18217]
26429         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
26430         as threshold for returning 1 - x.
26431         * math/auto-libm-test-in: Add more tests of erfc.
26432         * math/auto-libm-test-out: Regenerated.
26434 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
26436         [BZ #18196]
26437         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
26438         threshold for large arguments.
26439         * math/auto-libm-test-in: Add another test of atan.
26440         * math/auto-libm-test-out: Regenerated.
26442         [BZ #16339]
26443         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
26444         (__log1p): Force underflow exception for results with small
26445         absolute value.
26446         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
26447         (__log1pf): Force underflow exception for results with small
26448         absolute value.
26449         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
26450         (__log1p): Force underflow exception for results with small
26451         absolute value.
26452         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
26453         (__log1pf): Force underflow exception for results with small
26454         absolute value.
26455         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
26456         (__log1pl): Force underflow exception for results with small
26457         absolute value.
26458         * math/auto-libm-test-in: Do not allow missing underflow
26459         exceptions from log1p.
26460         * math/auto-libm-test-out: Regenerated.
26462 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
26463             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26465         [BZ #16704]
26466         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
26468 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
26470         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
26471         (libmvec): New variable.
26472         * configure.ac: Added option for mathvec build.
26473         * configure: Regenerated.
26474         * mathvec/Depend: New file.
26475         * mathvec/Makefile: New file.
26476         * shlib-versions: Added libmvec.
26477         * math/Makefile: Added rule for libm.so installation.
26479         * bits/math-vector.h: New file.
26480         * bits/libm-simd-decl-stubs.h: New header.
26481         * math/Makefile (headers): Added new header
26482         libm-simd-decl-stubs.h.
26483         * math/math.h (__MATHCALL_VEC): New macro.
26485         * math/gen-libm-have-vector-test.sh: Script generates series of macros
26486         for conditions in testing functions.
26487         * math/Makefile: Added call of libm-have-vector-test.sh.
26488         * math/libm-test.inc (HAVE_VECTOR): New macros.
26490         * math/libm-test.inc: START refactored.
26491         * math/test-double.c (TEST_MATHVEC): Add define.
26492         * math/test-float.c: Likewise.
26493         * math/test-idouble.c: Likewise.
26494         * math/test-ifloat.c: Likewise.
26495         * math/test-ildoubl.c: Likewise.
26496         * math/test-ldouble.c: Likewise.
26497         * sysdeps/generic/math-tests-arch.h
26498         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
26499         architecture check.
26501         * math/test-double.c (FUNC_TEST): New macro.
26502         * math/test-float.c: Likewise.
26503         * math/test-idouble.c: Likewise.
26504         * math/test-ifloat.c: Likewise.
26505         * math/test-ildoubl.c: Likewise.
26506         * math/test-ldouble.c: Likewise.
26507         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
26509 2015-05-13  Roland McGrath  <roland@hack.frob.com>
26511         * sysdeps/nacl/fdopendir.c: New file.
26513         * dirent/scandir-tail.c: New file.
26514         * dirent/scandir64-tail.c: New file.
26515         * dirent/Makefile (routines): Add them.
26516         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
26517         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
26518         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
26519         [!SCANDIR] (SCANDIR_TAIL): New macro.
26520         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
26521         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
26522         (SCANDIRAT): Macro removed.
26523         (SCANDIR_TAIL): New macro.
26524         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
26525         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
26526         (SCANDIRAT): Just call __opendirat and __scandir_tail.
26527         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
26528         (READDIR): Macro removed.
26529         (SCANDIR_TAIL): New macro.
26530         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
26531         (SCANDIR_TAIL): New macro.
26533         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
26534         * dirent/scandir-cancel.c: ... to this new file.
26535         * dirent/Makefile (routines): Add it.
26536         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
26537         * sysdeps/unix/sysv/linux/i386/scandir64.c
26538         (SKIP_SCANDIR_CANCEL): Macro removed.
26539         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
26541         * dirent/tst-scandir.c: New file.
26542         * dirent/tst-scandir64.c: New file.
26543         * dirent/Makefile (tests): Add them.
26545 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
26547         [BZ #18409]
26548         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
26550 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26552         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
26553         list.
26555 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
26557         * benchtests/bench-strcoll.c: New benchmark.
26558         * benchtests/Makefile: Generate locales and run benchmark.
26559         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
26560         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
26561         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
26562         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
26563         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
26564         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
26565         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
26566         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
26567         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
26568         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
26569         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
26570         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
26571         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
26572         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
26573         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
26574         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
26575         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
26576         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
26577         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
26578         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
26579         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
26580         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
26581         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
26582         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
26584 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
26586         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
26587         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26589 2015-05-12  Roland McGrath  <roland@hack.frob.com>
26591         * posix/uname-values.h: New file.
26592         * posix/uname.c: Include that instead of <config-name.h>.
26593         * sysdeps/nacl/uname-values.h: New file.
26594         * sysdeps/arm/nacl/uname-values.h: New file.
26596 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
26598         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
26599         splitting into fields.
26601 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
26603         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
26604         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
26605         * locale/localeinfo.h: Add enum collation_encoding_type.
26606         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
26607         * programs/ld-collate.c (collate_output): Add encoding type info.
26608         * string/strcoll_l.c (STRDIFF): New function.
26609         * (STRCOLL): Use STRDIFF to skip over equal prefix.
26610         * wcsmbs/wcscoll_l.c: Define STRDIFF.
26612 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
26614         [BZ #18397]
26615         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
26616         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
26617         <fpu_control.h> instead of <math/fpu_control.c>.
26618         * sysdeps/mips/mips32/fpu/Makefile: New file.
26620 2015-05-11  Andreas Schwab  <schwab@suse.de>
26622         [BZ #18007]
26623         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
26624         nss_endgrent.
26625         (_nss_compat_endgrent): Call nss_endgrent.
26626         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
26627         nss_endpwent.
26628         (_nss_compat_endpwent): Call nss_endpwent.
26629         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
26630         needent, call nss_setspent only if non-zero.
26631         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
26632         (internal_endspent): Don't call nss_endspent.
26633         (_nss_compat_endspent): Call nss_endspent.
26634         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
26635         Remove.  All uses removed.
26636         (internal_setent): Remove parameter stayopen, add parameter
26637         stream.  Use it instead of global variable.
26638         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
26639         (internal_endent, internal_getent): Add parameter stream.  Use it
26640         instead of global variable.
26641         (CONCAT(_nss_files_end,ENTNAME))
26642         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
26643         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
26644         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
26645         uses removed.
26646         (internal_setent, internal_endent): Add parameter stream.  Use it
26647         instead of global variable.
26648         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
26649         stream.
26650         (get_next_alias): Add parameter stream.
26651         (_nss_files_getaliasent_r): Pass global stream.
26652         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
26653         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
26654         (_nss_files_gethostbyname4_r): Pass local stream to
26655         internal_setent, internal_getent and internal_endent.  Remove
26656         locking.
26658 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26660         * tst-strfmon1.c (tests): Update expected currency symbol.
26662 2015-05-08  Roland McGrath  <roland@hack.frob.com>
26664         * sysdeps/nacl/gethostname.c: New file.
26666 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
26668         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
26669         and sinh.
26670         * math/auto-libm-test-out: Regenerated.
26671         * sysdeps/i386/fpu/libm-test-ulps: Update.
26672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26674 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
26676         [BZ #18125]
26677         * stdlib/tst-setcontext3.c: New file.
26678         * stdlib/tst-setcontext3.sh: New file.
26679         * stdlib/Makefile (tests): Add tst-setcontext3.
26680         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
26681         to verify test program created output file.
26682         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
26683         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
26684         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
26685         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
26687 2015-05-06  Roland McGrath  <roland@hack.frob.com>
26689         [BZ #18383]
26690         * elf/tst-tlsalign.c: New file.
26691         * elf/tst-tlsalign-static.c: New file.
26692         * elf/tst-tlsalign-lib.c: New file.
26693         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
26694         (tests-static): Add tst-tlsalign-static.
26695         (modules-names): Add tst-tlsalign-lib.
26696         (test-xfail-tst-tlsalign): New variable.
26697         (test-xfail-tst-tlsalign-static): New variable.
26699         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
26700         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
26702 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
26704         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
26705         csqrt, erfc, sin and sincos.
26706         * math/auto-libm-test-out: Regenerated.
26707         * sysdeps/i386/fpu/libm-test-ulps: Update.
26708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26710 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26712         * sysdeps/aarch64/libm-test-ulps: Update.
26714 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
26716         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
26717         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
26718         * math/auto-libm-test-out: Regenerated.
26719         * sysdeps/i386/fpu/libm-test-ulps: Update.
26720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26722 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
26724         [BZ #18265]
26725         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
26726         (wcsncpy): Likewise.
26728 2015-05-05  Florian Weimer  <fweimer@redhat.com>
26730         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
26731         Assume __ASSUME_FALLOCATE is always true.
26732         * sysdeps/unix/sysv/linux/posix_fallocate64.c
26733         (__posix_fallocate64_l64): Likewise.
26734         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
26735         (posix_fallocate): Likewise.
26736         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
26737         (__posix_fallocate64_l64): Likewise.
26738         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26739         [!__ASSUME_FALLOCATE]: Add comment.
26741 2015-05-05  Florian Weimer  <fweimer@redhat.com>
26743         * sysdeps/unix/sysv/linux/i386/Makefile
26744         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
26745         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
26746         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
26747         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26748         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26749         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
26750         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
26752 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
26754         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
26755         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
26756         tgamma.
26757         * math/auto-libm-test-out: Regenerated.
26758         * sysdeps/i386/fpu/libm-test-ulps: Update.
26759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26761 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
26763         * math/auto-libm-test-in: Add more tests of tgamma.
26764         * math/auto-libm-test-out: Regenerated.
26765         * sysdeps/i386/fpu/libm-test-ulps: Update.
26766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26768         * math/auto-libm-test-in: Add more tests of tanh.
26769         * math/auto-libm-test-out: Regenerated.
26770         * sysdeps/i386/fpu/libm-test-ulps: Update.
26771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26773         * math/auto-libm-test-in: Add more tests of tan.
26774         * math/auto-libm-test-out: Regenerated.
26775         * sysdeps/i386/fpu/libm-test-ulps: Update.
26776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26778         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
26779         * math/auto-libm-test-out: Regenerated.
26780         * sysdeps/i386/fpu/libm-test-ulps: Update.
26781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26783         * math/auto-libm-test-in: Add another test of pow.
26784         * math/auto-libm-test-out: Regenerated.
26785         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26787         * math/auto-libm-test-in: Add more tests of lgamma.
26788         * math/auto-libm-test-out: Regenerated.
26789         * sysdeps/i386/fpu/libm-test-ulps: Update.
26790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26792         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
26793         log1p.
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 2015-05-01  Mark Wielaard  <mjw@redhat.com>
26800         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
26801         Elf64_Chdr structs and ELFCOMPRESS constants.
26803 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
26805         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
26806         expm1.
26807         * math/auto-libm-test-out: Regenerated.
26808         * sysdeps/i386/fpu/libm-test-ulps: Update.
26809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26811         * math/auto-libm-test-in: Add more tests of erf and erfc.
26812         * math/auto-libm-test-out: Regenerated.
26813         * sysdeps/i386/fpu/libm-test-ulps: Update.
26814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26816 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26818         * config.h.in (HAVE_AARCH64_BE): Add.
26820 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
26822         * math/auto-libm-test-in: Add more tests of csqrt.
26823         * math/auto-libm-test-out: Regenerated.
26824         * sysdeps/i386/fpu/libm-test-ulps: Update.
26825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26827         * math/auto-libm-test-in: Add more tests of cosh and sinh.
26828         * math/auto-libm-test-out: Regenerated.
26829         * sysdeps/i386/fpu/libm-test-ulps: Update.
26830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26832         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
26834 2015-04-29  Roland McGrath  <roland@hack.frob.com>
26836         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
26837         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
26839         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
26840         (euidaccess, eaccess): Define as weak aliases.
26842         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
26843         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
26844         but __suseconds_t is often 'long int' so some sources assume that
26845         type is being used (e.g. they use %ld to print tv_usec).
26847 2015-04-29  Florian Weimer  <fweimer@redhat.com>
26849         [BZ #18007]
26850         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
26851         (CVE-2014-8121)
26852         * nss/tst-nss-getpwent.c: New file.
26853         * nss/Makefile (tests): Add new test.
26855 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
26857         [BZ #18346]
26858         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
26859         exponents less than 48 as cases where high part of mantissa needs
26860         examining to determine whether argument is integral.
26861         * math/libm-test.inc (round_test_data): Add more tests.
26863 2015-04-28  Mark Wielaard  <mjw@redhat.com>
26865         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
26867 2015-04-27  David S. Miller  <davem@davemloft.net>
26869         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
26870         __tls_get_addr.
26871         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
26873 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
26875         [BZ#18333]
26876         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
26878 2015-04-27  Florian Weimer  <fweimer@redhat.com>
26880         [BZ#18333]
26881         * time/tzset.c (parse_tzname): Return error on memory allocation
26882         failure.
26883         * test-skeleton.c (struct temp_name_list): Change type of name
26884         member to non-const.
26885         (add_temp_file): Create a copy of the file name.
26886         (delete_temp_files): Deallocate memory.
26887         (create_temp_file): Add comment.
26889 2015-04-24  Florian Weimer  <fweimer@redhat.com>
26891         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
26892         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
26894 2015-04-24  Roland McGrath  <roland@hack.frob.com>
26896         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
26897         * sysdeps/arm/configure: Regenerated.
26899 2015-04-24  Florian Weimer  <fweimer@redhat.com>
26901         [BZ #17715]
26902         * time/tzfile.c (__tzfile_read): Check for large values of
26903         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
26904         * time/tzset.c (__tzstring_len): New function, based on the old
26905         __tzstring function.
26906         (__tzstring): Call __tzstring_len.
26907         (parse_tzname): New helper function extracted from
26908         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
26909         the input string.
26910         (parse_offset): New helper function extracted from
26911         __tzset_parse_tz.  Replace switch with fallthrough with
26912         initialization before sscanf.
26913         (parse_rule): Likewise.
26914         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
26915         new-style function definition.
26916         * timezone/Makefile (tests): Add tst-tzset.
26917         (tst-tzset.out): Dependencies on time zone files.
26918         (tst-tzset-ENV): Set TZDIR.
26919         (testdata/XT%): Copy crafted time zone files.
26920         * timezone/README: Mention crafted time zone files.
26921         * timezone/testdata/XT1, timezone/testdata/XT2,
26922         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
26923         files.
26924         * timezone/tst-tzset.c: New test.
26926 2015-04-24  Florian Weimer  <fweimer@redhat.com>
26928         * Makeconfig (+gccwarn): Remove -Winline.
26930 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
26932         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
26934 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
26936         * NEWS: Mention sysconf() cache information support for s390.
26937         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
26939 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
26941         * math/k_casinh.c (__kernel_casinh): Use __copysign.
26942         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
26943         (__nearbyint): Likewise.
26944         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
26945         (copysignl): Likewise.
26947 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
26949         [BZ #18287]
26950         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
26951         based on padding.  (CVE-2015-1781)
26953 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26955         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
26956         libc-vdso.h.
26957         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
26958         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
26959         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
26960         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
26961         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
26962         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
26963         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
26964         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26965         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26966         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
26967         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26968         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26969         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
26970         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
26971         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
26972         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
26973         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
26974         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
26975         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
26976         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
26977         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
26978         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
26979         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
26981 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
26983         * stdlib/setenv.c (__add_to_environ):
26984         Dump core quickly if setenv (..., NULL, ...) is called.
26985         This time, do it the right way, and pacify GCC with a pragma.
26987 2015-04-17  Roland McGrath  <roland@hack.frob.com>
26989         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
26990         IMAP->l_prev cannot be null, and #if out the code for the contrary
26991         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
26992         believe that NS (&_dl_ns[NSID]) could point outside the array.
26994         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
26995         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
26996         before using NSID as an index.
26998 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
27000         [BZ #17825]
27001         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
27002         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
27003         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27005 2015-04-17  Roland McGrath  <roland@hack.frob.com>
27007         Add preliminary port to Google Native Client on ARM.
27008         * abi-tags (.*-.*-nacl.*): New entry.
27009         * sysdeps/arm/nacl: New directory.
27010         * sysdeps/nacl: New directory.
27012 2015-04-16  David S. Miller  <davem@davemloft.net>
27014         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
27015         lowlevellock-futex.h
27017 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
27019         * sysdeps/tile/configure.ac: New file.
27020         * sysdeps/tile/configure: Regenerated.
27022 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27024         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
27025         conditionals for weak_alias and libc_hidden_weak.
27026         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
27027         libc_hidden_weak and weak_alias.
27028         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
27029         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
27030         and weak_alias for static one.
27032 2015-04-15  David S. Miller  <davem@davemloft.net>
27034         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
27036 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27038         [BZ #18206]
27039         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
27040           Use signed comparision instead of substraction to avoid
27041           overflow bug.
27042         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
27043           Take the sign of ret.
27044         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
27045           Do not expect precise return values. Only the sign matters.
27046         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
27047         * wcsmbs/test-wcsncmp.c: New File.
27048         * string/test-strncmp.c: Add wcsncmp support.
27050 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27052         [BZ #6792]
27053         * math/w_log1p.c: New file.
27054         * math/w_log1pf.c: Likewise.
27055         * math/w_log1pl.c: Likewise.
27056         * math/Makefile (libm-calls): Add w_log1p.
27057         * math/s_log1pl.c (log1pl): Remove weak_alias.
27058         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
27059         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
27060         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
27061         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
27062         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
27063         [NO_LONG_DOUBLE] (log1pl): Likewise.
27064         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
27065         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
27066         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
27067         (log1p): Remove long_double_symbol.
27068         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
27069         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
27070         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
27071         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
27072         remove weak_alias for corresponding log1p function.
27073         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
27074         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
27075         * sysdeps/ia64/fpu/w_log1p.c: New file.
27076         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
27077         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
27078         * math/libm-test.inc (log1p_test_data): Add errno expectations.
27080 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
27082         [BZ #18247]
27083         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
27084         decimal exponent by 1.
27085         * stdlib/tst-strtod-round-data: Add more tests.
27086         * stdlib/tst-strtod-round.c (tests): Regenerated.
27088 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
27090         * math/auto-libm-test-in: Add more tests of clog and clog10.
27091         * math/auto-libm-test-out: Regenerated.
27092         * sysdeps/i386/fpu/libm-test-ulps: Update.
27093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27095 2015-04-09  Roland McGrath  <roland@hack.frob.com>
27097         * Makeconfig (module-cppflags): Exclude all .v.i files.
27098         (skip-module-cppflags): Variable removed.
27100         * configure.ac (libc_config_ok): Initialize before reading
27101         preconfigure scripts, not after.
27102         * configure: Regenerated.
27104         * test-skeleton.c (TIMEOUT): Move #define to top level.
27105         (main): Grok environment variable TEST_DIRECT.  If set, print
27106         test expectation details into that file and then behave as if
27107         given --direct.
27109 2015-04-09  Florian Weimer  <fweimer@redhat.com>
27111         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
27112         warning on 32-bit.
27114 2015-04-08  David S. Miller  <davem@davemloft.net>
27116         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27118 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
27120         * math/auto-libm-test-in: Add more tests of atanh.
27121         * math/auto-libm-test-out: Regenerated.
27122         * sysdeps/i386/fpu/libm-test-ulps: Update.
27123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27125         * math/auto-libm-test-in: Add more tests of atan.
27126         * math/auto-libm-test-out: Regenerated.
27127         * sysdeps/i386/fpu/libm-test-ulps: Update.
27128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27130 2015-04-08  Florian Weimer  <fweimer@redhat.com>
27132         * elf/pldd.c (main): Rewrite to use struct
27133         scratch_buffer instead of extend_alloca.
27134         * elf/pldd-xx.c (find_maps): Likewise.
27135         * grp/initgroups.c: Include <scratch_buffer.h> instead of
27136         <alloca.h>.
27137         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
27138         scratch_buffer instead of extend_alloca.
27139         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
27140         grp/compat-initgroups.c.
27141         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
27142         Rewrite to use struct scratch_buffer instead of extend_alloca.
27143         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
27144         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27146 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
27148         * math/auto-libm-test-in: Add more tests of cbrt.
27149         * math/auto-libm-test-out: Regenerated.
27150         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27152         * math/auto-libm-test-in: Add more tests of cabs.
27153         * math/auto-libm-test-out: Regenerated.
27154         * sysdeps/i386/fpu/libm-test-ulps: Update.
27155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27157         [BZ #18210]
27158         [BZ #18211]
27159         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
27160         (__ieee754_atan2): Set FE_TONEAREST mode for internal
27161         computations.
27162         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
27163         clog10.
27164         * math/auto-libm-test-out: Regenerated.
27165         * sysdeps/i386/fpu/libm-test-ulps: Update.
27166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27168         [BZ #18197]
27169         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
27170         (atan): Set FE_TONEAREST mode for internal computations.
27171         * math/auto-libm-test-in: Add more tests of atan.
27172         * math/auto-libm-test-out: Regenerated.
27174 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
27176         [BZ #17930]
27177         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
27179 2015-04-07  Florian Weimer  <fweimer@redhat.com>
27181         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
27183 2015-04-07  Florian Weimer  <fweimer@redhat.com>
27185         * include/scratch_buffer.h: New file.
27186         * malloc/scratch_buffer_grow.c: Likewise.
27187         * malloc/scratch_buffer_grow_preserve.c: Likewise.
27188         * malloc/scratch_buffer_set_array_size.c: Likewise.
27189         * malloc/tst-scratch_buffer.c: Likewise.
27190         * malloc/Makefile (routines): Add scratch_buffer_grow.
27191         (tests): Add test case.
27192         * malloc/Versions (GLIBC_PRIVATE): Export
27193         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
27194         __libc_scratch_buffer_set_array_size.
27196 2015-04-06  Richard Henderson  <rth@redhat.com>
27198         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
27199         * sysdeps/alpha/fpu/libm-test-ulps: Update.
27201         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
27202         unsigned int before printing.
27204 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27206         [BZ #17596]
27207         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
27208         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27210 2015-04-02  Florian Weimer  <fweimer@redhat.com>
27212         * include/libc-internal.h (libc_max_align_t): Define.
27214 2015-04-02  Andreas Schwab  <schwab@suse.de>
27216         [BZ #16850]
27217         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
27219 2015-04-02  Mel Gorman  <mgorman@suse.de>
27221         [BZ #17195]
27222         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
27223         as well as the main arena.
27225 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
27227         [BZ #18185]
27228         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
27229         sharing L2 cache to 2 for Silvermont/Knights Landing.
27231 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
27233         [BZ #17711]
27234         * config.make.in (have-protected-data): New.
27235         * configure.ac: Check linker support for protected data symbol.
27236         * configure: Regenerated.
27237         * elf/Makefile (modules-names): Add tst-protected1moda and
27238         tst-protected1modb if $(have-protected-data) is yes.
27239         (tests): Add tst-protected1a and tst-protected1b if
27240         $(have-protected-data) is yes.
27241         ($(objpfx)tst-protected1a): New.
27242         ($(objpfx)tst-protected1b): Likewise.
27243         (tst-protected1modb.so-no-z-defs): Likewise.
27244         * elf/tst-protected1a.c: New file.
27245         * elf/tst-protected1b.c: Likewise.
27246         * elf/tst-protected1mod.h: Likewise.
27247         * elf/tst-protected1moda.c: Likewise.
27248         * elf/tst-protected1modb.c: Likewise.
27250 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
27252         [BZ #17711]
27253         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
27254         indicates it is called from do_lookup_x on relocation against
27255         protected data, skip the data definion in the executable from
27256         copy reloc.
27257         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
27258         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
27259         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
27260         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
27261         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
27262         otherwise to 0.
27263         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
27264         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
27265         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
27266         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
27267         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
27268         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
27270 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
27272         * sysdeps/nptl/pthread.h: Remove duplicate definition of
27273         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
27275 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
27277         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
27278         THREAD_SETMEM_NC.
27279         * sysdeps/x86_64/nptl/tls.h: Ditto.
27281 2015-03-27  Roland McGrath  <roland@hack.frob.com>
27283         * dlfcn/tststatic.c (main): Converted to ...
27284         (do_test): ... this.
27285         (TEST_FUNCTION): New macro.
27286         Include test-skeleton.c.
27288 2015-03-26  Alan Modra  <amodra@gmail.com>
27290         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
27291         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
27292         zero for undefined weak.
27293         (elf_machine_plt_conflict): Similarly.
27295 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
27297         * math/auto-libm-test-in: Add more tests of acosh, asinh and
27298         atanh.
27299         * math/auto-libm-test-out: Regenerated.
27300         * sysdeps/i386/fpu/libm-test-ulps: Update.
27301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27303         * math/auto-libm-test-in: Add another test of asin.
27304         * math/auto-libm-test-out: Regenerated.
27305         * sysdeps/i386/fpu/libm-test-ulps: Update.
27306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27308         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
27309         Remove macro.
27310         (LLL_EBX_REG): Likewise.
27311         (LLL_ENTER_KERNEL): Likewise.
27313         * math/auto-libm-test-in: Add more tests of asin.
27314         * math/auto-libm-test-out: Regenerated.
27315         * sysdeps/i386/fpu/libm-test-ulps: Update.
27316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27318         [BZ #18138]
27319         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
27320         libc_do_syscall_args): New structure.
27321         (INTERNAL_SYSCALL_MAIN_0): New macro.
27322         (INTERNAL_SYSCALL_MAIN_1): Likewise.
27323         (INTERNAL_SYSCALL_MAIN_2): Likewise.
27324         (INTERNAL_SYSCALL_MAIN_3): Likewise.
27325         (INTERNAL_SYSCALL_MAIN_4): Likewise.
27326         (INTERNAL_SYSCALL_MAIN_5): Likewise.
27327         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
27328         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
27329         Replace conditional definitions by conditional definitions of ....
27330         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
27331         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
27332         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
27333         (libpthread-sysdep_routines): Add libc-do-syscall.
27334         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
27335         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
27336         to __NR_futex not 240.
27338 2015-03-25  Alan Modra  <amodra@gmail.com>
27340         * NEWS: Advertise TLS optimization.
27341         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
27342         (DT_PPC_NUM): Increment.
27343         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
27344         (CHECK_STATIC_TLS): Use here.
27345         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
27346         TLS descriptors.
27347         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27348         * sysdeps/powerpc/dl-tls.c: New file.
27349         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
27350         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
27351         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
27352         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
27353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
27354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
27355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
27357 2015-03-25  Alan Modra  <amodra@gmail.com>
27359         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
27360         for overlapping .opd entries" to "support...".
27361         * sysdeps/powerpc/powerpc64/configure: Regenerate
27363 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
27365         * math/auto-libm-test-in: Add more tests of acos.
27366         * math/auto-libm-test-out: Regenerated.
27367         * sysdeps/i386/fpu/libm-test-ulps: Update.
27368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27370         * math/auto-libm-test-in: Add more tests of expm1.
27371         * math/auto-libm-test-out: Regenerated.
27372         * sysdeps/i386/fpu/libm-test-ulps: Update.
27373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27375 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
27377         * math/auto-libm-test-in: Add more tests of cosh and sinh.
27378         * math/auto-libm-test-out: Regenerated.
27379         * sysdeps/i386/fpu/libm-test-ulps: Update.
27380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27382         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27385         * math/auto-libm-test-in: Add more tests of log2.
27386         * math/auto-libm-test-out: Regenerated.
27387         * sysdeps/i386/fpu/libm-test-ulps: Update.
27388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27390 2015-03-23  Roland McGrath  <roland@hack.frob.com>
27392         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
27393         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
27394         _IO_IS_APPENDING bit in READ_WRITE instead.
27396 2015-03-23  Florian Weimer  <fweimer@redhat.com>
27398         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
27399         (__determine_cpumask_size): Replace extend_alloca with a
27400         variable-length array.  Do not treat res == 0 as an error.
27402 2015-03-23  Florian Weimer  <fweimer@redhat.com>
27404         [BZ #18100]
27405         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
27406         and integer overflow.
27407         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
27408         (main): Add integer overflow tests.
27409         * manual/pattern.texi (Calling Wordexp): Document additional use
27410         for WRDE_SYNTAX.
27412 2015-03-23  Alan Modra  <amodra@gmail.com>
27414         * config.h.in: Remove HAVE_ASM_PPC_REL16.
27415         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
27416         and false branch of conditional.
27417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
27418         Likewise.
27420 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
27422         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
27423         libc-modules.h
27424         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
27425         unused declaration of _hurd_intr_rpc_msg_in_trap.
27426         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
27427         defined instead of whether it is non-zero.
27428         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
27429         input constraint instead of both input and output constraint.  Use ecx
27430         clobber instead of %ecx.
27431         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
27432         mutex_unlock): Use a statement expression instead of an expression list.
27433         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
27434         type to vm_size_t instead of vm_address_t.
27435         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
27436         defined instead of whether it is non-zero.
27437         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
27438         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
27439         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
27440         comparisons with mapaddr.
27441         * nscd/nscd-client.h: Include <time.h>.
27442         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
27443         9th parameter to __vm_region instead of int.
27444         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
27445         * scripts/check-local-headers.sh (exclude): Add device/,
27446         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
27447         cthreads.h.
27449 2015-03-19  Roland McGrath  <roland@hack.frob.com>
27451         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
27452         to account for alignment padding.
27453         * sysdeps/arm/memmove.S: Likewise.
27455 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
27457         * sysdeps/unix/sysv/linux/generic/README: New file.
27459 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
27461         [BZ #18138]
27462         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
27463         (futex_abstimed_wait)
27464         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
27465         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
27466         of lll_futex_timed_wait.
27468 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
27470         [BZ #17542]
27471         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
27473 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
27475         [BZ #17090]
27476         [BZ #17620]
27477         [BZ #17621]
27478         [BZ #17628]
27479         * NEWS: Update.
27480         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
27481         entries with Static TLS too.  Skip entries past the end of the
27482         allocated DTV, from Alan Modra.
27483         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
27484         Static TLS DTV entry set up from...
27485         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
27486         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
27487         * nptl/allocatestack.c (init_one_static_tls): ... and here...
27488         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
27489         for Static TLS.
27490         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
27491         that the slot we find is associated with the given map before
27492         using its generation count.
27493         * nptl_db/db_info.c: Include ldsodefs.h.
27494         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
27495         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
27496         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
27497         (link_map::l_tls_offset): New struct field.
27498         (dtv_t::counter): Likewise.
27499         (rtld_global): New struct.
27500         (_rtld_global): New rtld variable.
27501         (dl_tls_dtv_slotinfo_list): New rtld global field.
27502         (dtv_slotinfo_list): New struct.
27503         (dtv_slotinfo): Likewise.
27504         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
27505         (td_lookup): Rename to...
27506         (td_mod_lookup): ... this.  Use new mod parameter instead of
27507         LIBPTHREAD_SO.
27508         * nptl_db/td_thr_tlsbase.c: Include link.h.
27509         (dtv_slotinfo_list, dtv_slotinfo): New functions.
27510         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
27511         addresses even if the DTV is out of date or missing them.
27512         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
27513         index zero-length arrays.
27514         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
27515         (td_lookup): Make it a macro implemented in terms of...
27516         (td_mod_lookup): ... this declaration.
27517         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
27518         (DB_MAIN_VARIABLE): Likewise.
27520 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27522         [BZ #18134]
27523         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
27525 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
27527         * stdlib/setenv.c (__add_to_environ): Revert previous change.
27529 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
27531         [BZ #18128]
27532         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
27533         (atomic_add, atomic_increment_and_test)
27534         (atomic_decrement_and_test): Fix 64-bit arithmetic.
27536 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
27538         * stdlib/setenv.c (__add_to_environ):
27539         Dump core quickly if setenv (..., NULL, ...) is called.
27541 2015-03-13  Roland McGrath  <roland@hack.frob.com>
27543         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
27544         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
27545         all the necessary asm magic in one place.
27546         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
27547         using those.
27549 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
27551         [BZ #14906]
27552         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
27553         traced file mtime. Use consistent log message.
27554         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
27555         (register_traced_file): Call install_watches. Always set mtime.
27556         (invalidate_cache): Iterate over all trace files. Call install_watches.
27557         (inotify_check_files): Don't inline. Handle watching parent
27558         directories and configuration file movement in and out.
27559         (handle_inotify_events): New function.
27560         (main_loop_poll): Call handle_inotify_events.
27561         (main_loop_epoll): Likewise.
27562         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
27563         (struct traced_file): Use array of inotify fds. Add parent directory,
27564         and basename.
27565         (struct database_dyn): Remove unused file_mtime.
27566         (init_traced_file): New inline function.
27567         (define_traced_file): New macro.
27568         * nss/nss_db/db-init.c: Use define_traced_file.
27569         (_nss_db_init): Use init_traced_file.
27570         * nss/nss_files/files-init.c: Use define_traced_file.
27571         (_nss_files_init): Use init_traced_file.
27573 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
27575         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
27576         [_LIBC]: Do not include <stdlib.h>.
27577         [!_LIBC] (abort): Remove declaration.
27578         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
27579         _FP_STATIC_ASSERT instead of conditionally calling abort.
27580         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
27581         (_FP_EXTEND_CNAN): Likewise.
27582         (FP_TRUNC): Likewise.
27583         (__FP_CLZ): Likewise.
27584         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
27586 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
27588         * manual/string.texi (XPG basename): Fix prototype.
27590 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27592         [BZ #18080]
27593         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
27594         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
27595         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
27596         (__setcontext): Likewise.
27597         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
27598         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
27599         Call rt_sigprocmask syscall one time to set new signal mask
27600         and retrieve the current signal mask instead of two calls.
27601         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
27602         (__swapcontext): Likewise.
27603         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
27604         * stdlib/tst-setcontext2.c: New file.
27606 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27608         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27610 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
27612         [BZ #18093]
27613         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
27614         the wrong size.
27616 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
27618         [BZ #18043]
27619         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
27621 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27623         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
27624         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
27625         Remove define.
27626         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
27627         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
27628         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
27629         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
27630         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
27631         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
27632         define.
27633         * nptl_db/td_symbol_list.c (td_lookup): Remove
27634         HAVE_ASM_GLOBAL_DOT_NAME code.
27635         * sysdeps/powerpc/powerpc64/configure.ac: Remove
27636         HAVE_ASM_GLOBAL_DOT_NAME check.
27637         * sysdeps/powerpc/powerpc64/configure: Regenerate.
27638         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
27639         (DOT_LABEL): Remove define.
27640         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
27641         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
27642         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
27643         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
27644         (__TLS_GET_ADDR): Likewise.
27645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
27646         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
27648 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
27650         [BZ #18111]
27651         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
27652         (_FPU_SETCW): Initialize cw from fpsr before storing.
27653         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
27654         (fesetexceptflag): Rewrite using fpu_control.h.
27655         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
27657 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
27659         [BZ #18110]
27660         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
27661         asms.
27662         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
27664 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
27666         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
27667         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
27668         abort.
27669         (_FP_FMA): Likewise.
27670         (_FP_DIV): Likewise.
27672 2015-03-10  Roland McGrath  <roland@hack.frob.com>
27674         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
27675         with 0 in that case.
27676         * Makefile (summarize-tests): New canned sequence, factored out of
27677         commands for targets tests and xtests.  Display summary lines that
27678         don't start with PASS: or XFAIL: rather than ones that do start with
27679         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
27680         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
27681         do start with ERROR: or FAIL:.
27682         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
27683         (except for [$(build-shared) = yes]).
27684         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
27685         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
27686         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
27687         * nptl/Makefile: Revert 2015-03-04 changes.
27688         [$(CXX) empty] (tests-unsupported): New variable.
27689         * debug/Makefile: Likewise.
27691         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
27692         gnulib file.  Replace __attribute with __attribute__ throughout.
27694 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
27696         * sysdeps/hppa/fpu/libm-test-ulps: Update.
27698 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
27700         [BZ #18104]
27701         * math/auto-libm-test-in: Add another test of pow.
27702         * math/auto-libm-test-out: Regenerated.
27704 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27706         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
27707         $(config-cflags-nofma).
27709 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
27711         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
27712         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
27713         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
27714         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
27715         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
27716         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
27717         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
27718         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
27719         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
27720         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
27721         Add comment on closing #endif.
27723 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
27725         * posix/wordexp.c (CHAR_IN_SET): New macro.
27726         (parse_param): Use it.
27728 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27730         * sysdeps/powerpc/fpu/libm-test-ulps: update.
27732 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
27734         [BZ #18043]
27735         * posix/wordexp.c (parse_param): Fix buffer overflow.
27736         * posix/wordexp-test.c (test_case): Add test case.
27738 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
27740         [BZ #18042]
27741         * posix/wordexp.c (parse_backtick): Fix off-by-one.
27742         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
27744 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
27746         [BZ #18043]
27747         * posix/wordexp-test.c (test_case): Add test for BZ #18043
27748         (do_bz18043): Delete.
27749         (at_page_end): New.
27750         (testit): Refactor to have words at the edge of unreadable page.
27752 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27754         [BZ #16734]
27755         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
27756         Cleanup read-only streams as well.
27757         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
27759 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27761         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
27762         <bits/libc-lockP.h>
27764 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
27766         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
27767         on [__KERNEL__].
27768         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
27769         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
27770         * soft-fp/op-common.h (_FP_DECL): Likewise.
27772 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
27774         * elf/ifuncdep2.c (global): Replace
27775         __attribute__((visibility("protected"))) with
27776         asm (".protected global").
27777         * elf/ifuncmod1.c (global): Likewise.
27778         * elf/ifuncmod5.c (global): Likewise.
27780 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
27782         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
27783         <asm/sfp-machine.h> instead of <sfp-machine.h>.
27785 2015-03-06  Roland McGrath  <roland@hack.frob.com>
27787         * manual/install.texi (Configuring and compiling):
27788         Document test-wrapper-env-only.
27789         * INSTALL: Regenerated.
27791 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27793         [BZ #18043]
27794         * posix/wordexp.c (parse_param): Fix buffer overflow.
27795         * posix/wordexp-test.c (do_bz18043): Add test case.
27797 2015-03-06  Vincent Bernat  <vincent@bernat.im>
27799         * time/tst-strptime2.c (do_test): Ensure failing tests are
27800         reported correctly.
27801         * time/tst-strptime3.c (do_test): Likewise.
27803 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
27805         Fix aio_error thread-safety.
27806         * sysdeps/pthread/aio_error.c: New file
27807         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
27808         synchronization.
27810 2015-03-06  Florian Weimer  <fweimer@redhat.com>
27812         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
27813         (group_number, vfprintf): Use it.
27814         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
27815         (JUMP, REF): Use it.
27816         (WORK_BUFFER_SIZE): New enum constant.
27817         (process_arg, vfprintf): Use it.
27819 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
27821         * manual/errno.texi (Error Messages): Complete example function
27822         by adding missing #define.
27823         (program_invocation_name): Add statement indicating GNU
27824         extension and reference which header file declares the variable.
27825         (program_invocation_short_name): Likewise.
27827 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
27829         * manual/errno.texi (Error Messages): Delete strerror ISO C89
27830         compatibility note.
27832 2015-03-05  Roland McGrath  <roland@hack.frob.com>
27834         * Makeconfig (test-wrapper-env-only): New variable.
27835         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
27836         then use that with $(test-wrapper-env-only) rather than using
27837         $(test-wrapper-env) $(run-program-env) $($*-ENV).
27839 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
27841         [BZ #18082]
27842         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
27843         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
27844         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
27845         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
27846         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
27847         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
27848         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
27849         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
27850         Likewise.
27851         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
27852         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
27853         Likewise.
27854         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
27855         Likewise.
27856         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
27857         Likewise.
27858         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
27859         Likewise.
27860         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
27861         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
27862         Likewise.
27863         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
27864         Likewise.
27865         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
27866         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
27868 2015-03-04  Roland McGrath  <roland@hack.frob.com>
27870         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
27871         (ETH_ALEN): New macro.
27872         (struct ether_addr): Use it for length of ether_addr_octet.
27874         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
27875         (setdb): Don't call __nss_configure_lookup for "rpc".
27876         (do_test): Don't call test_rpc.
27877         (output_rpcent, test_rpc): Functions moved ...
27878         * sunrpc/test-rpcent.c: ... to this new file.
27879         * sunrpc/Makefile (tests): Add it.
27881         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
27882         __xpg_sigpause.
27883         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
27884         * nptl/tst-signal6.c: Likewise.
27885         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
27886         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
27888         * configure.ac (libc_cv_cxx_link_ok): New check.
27889         Reset CXX to empty if it fails to link.
27890         * configure: Regenerated.
27891         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
27892         bug-atexit3-lib only if $(CXX) is nonempty.
27893         * nptl/Makefile (tests): Likewise for tst-cancel24.
27894         (tests, tests-static): Likewise for tst-cancel24-static.
27895         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
27896         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
27897         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
27898         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
27900 2015-03-04  Andreas Schwab  <schwab@suse.de>
27902         [BZ #17631]
27903         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
27904         for non-GCC compilers.
27905         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
27906         Likewise.
27908 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27910         [BZ #17776]
27911         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
27912         integer before bitwise and assembly operations.
27913         (feclearexcept): Likewise.
27914         * math/test-fenvinline.c: New file.
27915         * math/Makefile: Add test-fenvinline test.
27917 2015-03-03  Alan Modra  <amodra@gmail.com>
27919         [BZ #16512]
27920         * scripts/localplt.awk: Strip off symbol version.
27921         * NEWS: Mention bug fix.
27923 2015-03-02  Roland McGrath  <roland@hack.frob.com>
27925         * sysdeps/pthread/timer_routines.c
27926         (timer_free_list, thread_free_list, thread_active_list): Make static.
27928 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
27930         [BZ #17779]
27931         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27932         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27933         Undefine.
27934         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27935         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27936         Likewise.
27937         * sysdeps/unix/sysv/linux/sh/kernel-features.h
27938         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27939         Likewise.
27941 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
27943         [BZ #18036]
27944         * posix/fnmatch_loop.c (END): Detect invalid pattern.
27945         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
27947 2015-03-02  Andreas Schwab  <schwab@suse.de>
27949         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
27950         variable name.
27952 2015-03-02  Florian Weimer  <fweimer@redhat.com>
27954         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
27955         Return error status.
27957 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
27959         [BZ #15969]
27960         * locale/findlocale.c (_nl_find_locale): Introduce const
27961         version of loc_name and drop unsafe type casts.
27963 2015-02-27  Roland McGrath  <roland@hack.frob.com>
27965         * dlfcn/tststatic2.c (main): Converted to ...
27966         (do_test): ... this.
27967         (TEST_FUNCTION): New macro.
27968         Include test-skeleton.c.
27970 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
27972         [BZ #17711]
27973         * elf/Makefile (tests): Add vismain only if PIE is enabled.
27974         (tests-pie): Add vismain.
27975         (CFLAGS-vismain.c): New.
27976         * elf/vismain.c: Add comments for PIE requirement.
27978 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
27980         [BZ #18046]
27981         [BZ #18047]
27982         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
27983         0x1p-56L as threshold for just returning the argument.
27984         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
27985         0x1p-32L as threshold for just returning the argument.
27986         * math/auto-libm-test-in: Add more tests of atanh.
27987         * math/auto-libm-test-out: Regenerated.
27988         * sysdeps/i386/fpu/libm-test-ulps: Update.
27989         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
27991 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
27993         * string/bcopy.c (bcopy): Call memmove for performance.
27995 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
27997         * string/bzero.c (__bzero): Call memset for performance.
27999 2015-02-27  John David Anglin  <dave.anglin@bell.net>
28001         [BZ #18068]
28002         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
28003         to 00100000.
28005 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
28007         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
28009 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
28011         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
28012         (__kernel_standard): Use CSTR macro when setting exc.name.
28013         * sysdeps/ieee754/Makefile [$(subdir) = math]
28014         (CFLAGS-k_standard.c): Remove variable.
28016         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
28017         setting p and q from "else if" to "else".
28018         (qzero): Likewise.
28019         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
28020         (qone): Likewise.
28021         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
28022         (qzerof): Likewise.
28023         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
28024         (qonef): Likewise.
28025         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
28026         (qzero): Likewise.
28027         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
28028         (qone): Likewise.
28030         [BZ #18038]
28031         [BZ #18039]
28032         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
28033         return pi/2 for arguments below 0x1p-113L.
28034         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
28035         return pi/2 for arguments below 0x1p-106L.
28036         * math/auto-libm-test-in: Add more tests of acos.
28037         * math/auto-libm-test-out: Regenerated.
28039         [BZ #16351]
28040         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
28041         (MO): New macro.
28042         (__ieee754_asin): Force underflow exception for results with small
28043         absolute value.
28044         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
28045         (MO): New macro.
28046         (__ieee754_asinf): Force underflow exception for results with
28047         small absolute value.
28048         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
28049         (__ieee754_asin): Force underflow exception for results with small
28050         absolute value.
28051         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
28052         (__ieee754_asinf): Force underflow exception for results with
28053         small absolute value.
28054         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
28055         (__ieee754_asinl): Force underflow exception for results with
28056         small absolute value.
28057         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
28058         (__ieee754_asinl): Force underflow exception for results with
28059         small absolute value.
28060         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
28061         (__ieee754_asinl): Force underflow exception for results with
28062         small absolute value.
28063         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
28064         Include <math.h>.
28065         * math/auto-libm-test-in: Do not mark underflow exceptions as
28066         possibly missing for bug 16351.
28067         * math/auto-libm-test-out: Regenerated.
28069         [BZ #18030]
28070         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
28071         of power of 2 down when low part has opposite sign.
28072         * math/libm-test.inc (logb_test_data): Add more tests.
28074 2015-02-26  Andreas Schwab  <schwab@suse.de>
28076         [BZ #18032]
28077         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
28078         over collating symbol inside a bracket expression.  Minor cleanup.
28079         * posix/tst-fnmatch3.c (do_test): Add test case.
28081 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
28083         [BZ #18029]
28084         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
28085         Adjust exponent of power of 2 down when low part has opposite
28086         sign.
28087         * math/libm-test.inc (ilogb_test_data): Add more tests.
28089 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
28091         [BZ #15969]
28092         * locale/findlocale.c (_nl_find_locale): Fix constness error in
28093         the previous change.
28095         [BZ #15969]
28096         * locale/findlocale.c (_nl_find_locale): Retry archive search
28097         after alias expansion.
28099 2015-02-25  Roland McGrath  <roland@hack.frob.com>
28101         * iconv/tst-iconv3.c (main): Converted to ...
28102         (do_test): ... this.
28103         (TEST_FUNCTION): New macro.
28104         Include test-skeleton.c.
28106         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
28107         (convert): Make function static.
28108         (test_unalign): Likewise.  Add const to argument pointee types.
28109         (main): Replace with static function do_test.
28110         Print "Succeeded." only if RET is zero.
28111         (TEST_FUNCTION): New macro.
28112         Include test-skeleton.c.
28114         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
28115         returns a null pointer.
28117 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28119         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
28120         to __memcpy_ppc only for static builds.
28122 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
28124         [BZ #18020]
28125         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
28126         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
28127         * math/auto-libm-test-in: Add more tests of asinh.
28128         * math/auto-libm-test-out: Regenerated.
28129         * sysdeps/i386/fpu/libm-test-ulps: Update.
28130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28132 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
28134         [BZ #15850]
28135         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
28136         and ip6_mtuinfo definitions here.
28137         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
28138         in this define too.  Update comment.
28140 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
28142         * elf/sprof.c (load_shobj): Tweak error message to match others.
28144 2015-02-24  Kevin Easton  <kevin@guarana.org>
28146         [BZ #16145] (partial fix)
28147         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
28148         to reduce lock contention.
28150 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
28152         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
28153         (struct timex): Update time comment.
28154         (ADJ_SETOFFSET): Define.
28156 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
28158         [BZ #18019]
28159         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28160         2**56 not 2**28 as threshold for log (2x) formula.
28161         * math/auto-libm-test-in: Add more tests of acosh.
28162         * math/auto-libm-test-out: Regenerated.
28163         * sysdeps/i386/fpu/libm-test-ulps: Update.
28164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28166 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
28168         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
28169         parenthesis around the buf assignment.
28170         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
28172 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
28174         [BZ #16783]
28175         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
28176         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
28177         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
28178         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28179         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28180         * math/libm-test.inc (scalb_test_data): Add more tests.
28182 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28184         [BZ #17916]
28185         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
28186         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
28188 2015-02-24  Eric Rannaud  <e@nanocritical.com>
28190         [BZ #17523]
28191         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
28192         * io/bits/fcntl2.h (open): Use it.
28193         (openat): Likewise.
28194         * io/open.c (__libc_open): Likewise.
28195         * io/open64.c (__libc_open64): Likewise.
28196         * io/open64_2.c (__open64_2): Likewise.
28197         * io/open_2.c (__open_2): Likewise.
28198         * io/openat.c (__openat): Likewise.
28199         * io/openat64.c (__openat64): Likewise.
28200         * io/openat64_2.c (__openat64_2): Likewise.
28201         * io/openat_2.c (__openat_2): Likewise.
28202         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
28203         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
28204         * sysdeps/posix/open64.c (__libc_open64): Likewise.
28205         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
28206         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
28207         (__open_nocancel): Likewise.
28208         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
28209         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
28210         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
28212 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28214         [BZ #14841]
28215         * resolv/gethnamaddr.c (getanswer): Skip logging if
28216         RES_USE_DNSSEC is set.
28217         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
28219 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
28221         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
28223 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
28225         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
28226         201304L, for Unicode 7.
28228 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
28230         [BZ #17836]
28231         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
28232         shared library.  Add gmon-start.os otherwise.
28233         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
28234         $(objpfx)gmon-start.os if builing shared library.
28235         ($(objpfx)g$(static-start-installed-name)): Likewise.
28237 2015-02-23  Andreas Schwab  <schwab@suse.de>
28239         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
28241 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
28243         [BZ #17269]
28244         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
28245         (enlarge_userbuf): Likewise.
28247 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
28249         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
28250         * math/atest-exp.c (TIMEOUT): Adjust to 200.
28251         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
28252         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
28254 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
28256         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
28257         expression inside statement expression.
28259 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
28261         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
28262         <sysdeps/nptl/lowlevellock.h> and remove macros and
28263         functions that are now defined there.
28264         (SYS_futex): Remove.
28265         (lll_compare_and_swap): Remove.
28266         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
28268 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
28270         [BZ #17999]
28271         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
28272         instead of scandirat.
28273         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
28274         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
28275         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
28276         __scandirat.
28277         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
28278         (__scandirat): Declare.  Use libc_hidden_proto.
28279         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
28280         Remove variable.
28281         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28283 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
28285         [BZ #15319]
28286         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
28287         (MO): New macro.
28288         (__ieee754_atan2): For results with small absolute value, force
28289         underflow exception and remove excess range and precision from
28290         return value.
28291         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
28292         (MO): New macro.
28293         (__ieee754_atan2f): For results with small absolute value, force
28294         underflow exception and remove excess range and precision from
28295         return value.
28296         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
28297         (MO): New macro.
28298         (__atan): For results with small absolute value, force underflow
28299         exception and remove excess range and precision from return value.
28300         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
28301         (MO): New macro.
28302         (__atanf): For results with small absolute value, force underflow
28303         exception and remove excess range and precision from return value.
28304         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
28305         <math.h>.
28306         (__ieee754_atan2): Force underflow exception for results with
28307         small absolute value.
28308         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
28309         <math_private.h>.
28310         (atan): Force underflow exception for results with small absolute
28311         value.
28312         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
28313         (__atanf): Force underflow exception for results with small
28314         absolute value.
28315         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
28316         <math.h>.
28317         (__atanl): Force underflow exception for results with small
28318         absolute value.
28319         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
28320         (__atanl): Force underflow exception for results with small
28321         absolute value.
28322         * sysdeps/x86/fpu/bits/mathinline.h
28323         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
28324         (__ieee754_atan2): Only define inline for long double.
28325         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
28326         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
28327         * math/auto-libm-test-in: Do not mark underflow exceptions as
28328         possibly missing for bug 15319.  Add more tests of atan2.
28329         * math/auto-libm-test-out: Regenerated.
28330         * math/libm-test.inc (casin_test_data): Do not mark underflow
28331         exceptions as possibly missing for bug 15319.
28332         (casinh_test_data): Likewise.
28333         * sysdeps/i386/fpu/libm-test-ulps: Update.
28335 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
28337         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
28338         * sysdeps/mips/bits/endian.h: Fix comments.
28340 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
28342         [BZ #17996]
28343         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
28344         (hdestroy_r): Likewise.
28345         (hsearch_r): Likewise.
28346         (__hcreate_r): Declare and use libc_hidden_proto.
28347         (__hdestroy_r): Likewise.
28348         (__hsearch_r): Likewise.
28349         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
28350         (hcreate): Call __hcreate_r instead of hcreate_r.
28351         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
28352         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
28353         as weak alias of __hcreate_r.
28354         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
28355         __hdestroy_r.
28356         (hsearch_r): Rename to __hsearch_r and define as weak alias of
28357         __hsearch_r.
28358         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
28359         Remove variable.
28360         (test-xfail-XPG4/search.h/linknamespace): Likewise.
28361         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28362         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28363         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28365 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28367         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
28368         arena_lock into a single arena_get.
28370 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
28372         * dl-reloc.c: Inlucde libc-internal.h.
28373         (_dl_try_allocate_static_tls): Call ALIGN_UP.
28374         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
28375         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
28376         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
28377         (grow_heap): Likewise.
28378         * malloc/malloc.c: Include libc-internal.h.
28379         (do_check_malloc): Call powerof2.
28380         (sysmalloc): Use pagesize. Call ALIGN_UP.
28381         (systrim): Use pagesize.
28382         (mremap_chunk): Use pagesize. Call ALIGN_UP.
28383         (__libc_valloc): Use pagesize.
28384         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
28386 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
28388         [BZ #17991]
28389         * include/sys/resource.h (__getrlimit64): Declare.  Use
28390         libc_hidden_proto.
28391         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
28392         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
28393         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
28394         getrlimit64.
28395         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
28396         __getrlimit64.
28397         [!getrlimit64] (getrlimit64): Define as weak alias of
28398         __getrlimit64.  Use libc_hidden_weak.
28399         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
28400         using __getrlimit64 not __new_getrlimit64.
28401         (__GI_getrlimit64): Likewise.
28402         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
28403         Likewise.
28404         (__GI_getrlimit64): Likewise.
28405         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
28406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
28407         (getrlimit): Add __getrlimit64 alias.
28408         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
28409         Likewise.
28410         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
28411         Remove variable.
28412         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28413         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28415 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
28417         * libio/fileops.c: Add missing sys/mman.h
28418         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
28420 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
28422         * manual/math.texi (Errors in Math Functions): Clarify goals
28423         regarding inexact and underflow exceptions.
28425 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
28427         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
28428         * sysdeps/mips/memset.S: Ditto.
28430 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
28432         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
28434 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
28436         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
28437         (__v1longjmp): Remove versioned symbol.
28438         (__v1siglongjmp): Remove alias and versioned symbol.
28439         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
28440         (__v2siglongjmp): Likewise.
28442 2015-02-16  Torvald Riegel  <triegel@redhat.com>
28444         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
28446 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
28448         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
28450 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
28452         [BZ #17987]
28453         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
28454         zero result does not depend on the sign resulting from
28455         subtraction.
28456         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28457         Likewise.
28458         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
28459         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
28460         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28461         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
28462         * math/libm-test.inc (remquo_test_data): Add more tests.
28464 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
28466         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
28467         Problem reported by J William Piggott.
28469 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
28471         [BZ #17978]
28472         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
28473         products 4 * y and 2 * y where those would overflow.
28474         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28475         Likewise.
28476         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
28477         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
28478         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28479         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
28480         * math/libm-test.inc (remquo_test_data): Add more tests.
28482         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
28484         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
28485         [defined _COMPILING_NEWLIB].
28486         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
28487         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
28489         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
28490         [!defined __mips_isa_rev || __mips_isa_rev < 6].
28492 2015-02-16  Torvald Riegel  <triegel@redhat.com>
28494         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
28495         acquired.
28497 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
28499         [BZ #17792]
28500         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
28501         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
28502         HOST_STACK_END_ADDR): Likewise.
28504 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
28506         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
28507         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
28508         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
28510 2015-02-13  Roland McGrath  <roland@hack.frob.com>
28512         * sysdeps/generic/c++-types.data: New file.
28513         * sysdeps/generic/ld.abilist: New file.
28514         * sysdeps/generic/libBrokenLocale.abilist: New file.
28515         * sysdeps/generic/libanl.abilist: New file.
28516         * sysdeps/generic/libc.abilist: New file.
28517         * sysdeps/generic/libcrypt.abilist: New file.
28518         * sysdeps/generic/libdl.abilist: New file.
28519         * sysdeps/generic/libm.abilist: New file.
28520         * sysdeps/generic/libpthread.abilist: New file.
28521         * sysdeps/generic/libresolv.abilist: New file.
28522         * sysdeps/generic/librt.abilist: New file.
28524 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
28526         [BZ #17569]
28527         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28528         Compute absolute value of x as modified by fmod, not original
28529         value of x.
28530         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
28531         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
28532         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
28533         RUN_TEST_ffI_f1_mod8.
28534         (remquo_test_data): Add more tests.
28536 2015-02-13  Roland McGrath  <roland@hack.frob.com>
28538         * sysdeps/init_array/pt-crti.S: New file.
28540 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
28542         [BZ #17967]
28543         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
28544         __builtin_fmaf instead of relying on contraction of a * b + c.
28546 2015-02-12  J William Piggott  <elseifthen@gmx.com>
28548         [BZ #17969]
28549         * manual/time.texi: correct the zoneinfo path in the TZ Variable
28550         node.
28552 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
28554         [BZ #17964]
28555         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
28556         __builtin_fma instead of relying on contraction of a * b + c.
28558 2015-02-12  Roland McGrath  <roland@hack.frob.com>
28560         * Makeconfig (ASFLAGS): Add -Werror=undef.
28561         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
28562         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
28563         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
28565         * Makeconfig (after-link): New variable.
28566         (+link-pie, +link-pie-tests): Use it.
28567         (+link-static, +link-static-tests): Likewise.
28568         (+link, +link-tests): Likewise.
28569         * Makerules (build-module, build-module-asneeded): Likewise.
28570         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
28571         Likewise.
28572         * elf/Makefile ($(objpfx)ld.so): Likewise.
28574 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
28576         [BZ #17965]
28577         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
28578         both struct timeval and struct timespec.
28580 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
28582         [BZ #16560]
28583         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28584         and redefine.
28585         (__ieee754_exp2l): Do not multiply small fractional parts by
28586         M_LN2l.
28587         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
28588         small argument.
28589         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
28590         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
28591         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
28592         * math/auto-libm-test-in: Add more tests of exp2.
28593         * math/auto-libm-test-out: Regenerated.
28595 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28597         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
28598         unaligned path.
28600 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28602         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
28603         little endian.
28605 2015-02-12  Andreas Schwab  <schwab@suse.de>
28607         [BZ #15790]
28608         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
28609         Filter out elision flags from value returned in kind.
28610         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
28611         * nptl/tst-pthread-mutexattr.c: New file.
28613 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28615         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
28616         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
28617         into gnu-gnu, and update comment to refer to abi-tags.
28619 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
28621         [BZ #15467]
28622         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
28623         (__sincos): Set errno to EDOM for infinite argument.
28624         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
28625         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
28626         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
28627         (__sincosl): Set errno to EDOM for infinite argument.
28628         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
28629         (__sincosl): Set errno to EDOM for infinite argument.
28630         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
28631         (__sincosl): Set errno to EDOM for infinite argument.
28632         * math/libm-test.inc (sincos_test_data): Test errno setting.
28634 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
28636         * string/strxfrm_l.c: Remove #define STRCMP.
28637         * string/strcoll_l.c: Remove #define STRLEN.
28638         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
28639         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
28641 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
28643         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
28644         * sysdeps/mips/mips32/sfp-machine.h: ... here.
28645         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
28646         * sysdeps/mips/mips64/Makefile: ... here.
28647         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
28648         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
28649         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
28650         * sysdeps/mips/mips64/sfp-machine.h: ... here.
28651         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
28652         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
28653         * sysdeps/mips/mips64/n64/Implies: Likewise.
28655 2015-02-10  Roland McGrath  <roland@hack.frob.com>
28657         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
28658         <sys/time.h>, <string.h>, and <errno.h>.
28659         (dest_offset, dest_address, value, zero): Remove unused variables.
28660         (ldouble): Remove typedef.
28661         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
28662         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
28663         1).  Fix code style.
28664         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
28665         (check): Function removed.
28666         (CHECK): New macro.
28667         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
28668         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
28669         Don't call set_sigaction_FP and remove_sigaction_FP here.
28670         (ldouble_test): Just use 'long double' as macro argument, no need for
28671         the 'ldouble' typedef.
28672         (do_test): Set up SIGFPE handler at start, using plain signal rather
28673         than sigaction.  Fix code style.
28675 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
28677         [BZ #17949]
28678         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
28679         jump label.
28681 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
28683         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
28684         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28686         * sysdeps/powerpc/configure.ac: Remove file.
28687         * sysdeps/powerpc/configure: Likewise.
28689         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
28690         [sysdep_routines]: Remove wordcopy-power6 object.
28691         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
28692         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
28693         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
28694         (__memmove_ppc32): Likewise.
28695         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
28696         file.
28697         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
28698         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
28699         Remove preprocessor.
28701         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
28702         [sysdep_routines]: Remove wide chars objects.
28703         [wcsmbs]: New rule for wide char objects.
28705         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28706         Remove wordcopy-power6 obejct.
28707         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
28708         Use local call for wordcopy and memcpy symbols.
28709         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
28710         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
28711         implementation for loader.
28712         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
28714         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28715         Remove wordcopy-power7 object.
28716         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
28717         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
28718         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
28719         (_wordcopy_fwd_dest_aligned): Likewise.
28720         (_wordcopy_bwd_aligned): Likewise.
28721         (_wordcopy_bwd_dest_aligned): Likewise.
28723         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
28724         Rewrite to call __memmove_ppc instead of include default
28725         implementation.
28727         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28728         Remove wide chars objects.
28729         [wcsmbs]: New rule for wide char objects.
28731 2015-02-09  Andreas Schwab  <schwab@suse.de>
28733         [BZ #17912]
28734         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28735         in terms of __O_DIRECTORY.
28737 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28739         * time/getdate.c: Include <stdbool.h>.
28740         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
28741         call PTR_MANGLE.
28742         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
28743         PTR_DEMANGLE.
28745 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
28747         Add ersatz _Static_assert on older C hosts
28748         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
28749         pre-C11 C platform that is not known to support _Static_assert.
28751 2015-02-07  Richard Braun  <rbraun@sceen.net>
28753         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
28754         sigstate.
28755         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
28757 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28759         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
28760         priority against unexistent AIO_PRIO_DELTA_MAX.
28761         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
28762         instead of int.
28763         * misc/fchflags.c (fchflags): Likewise.
28764         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
28765         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
28766         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
28767         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
28768         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
28769         Declare macros.
28770         [__USE_MISC] (chflags, fchflags): Declare functions.
28771         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
28772         EINVAL when nfds is greater than FD_SETSIZE.
28773         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
28774         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
28775         45.
28776         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
28777         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
28778         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
28779         MACH_RCV_TIMED_OUT.
28780         * hurd/hurd/signal.h (_hurd_self_sigstate,
28781         _hurd_critical_section_lock, _hurd_critical_section_unlock):
28782         Explicit casts from void *.
28783         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
28784         * abi-tags: Rename gnu-gnu os into gnu.
28786         [BZ #4719]
28787         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
28788         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
28789         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
28790         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
28791         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
28792         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
28794         [BZ #17944]
28795         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
28796         duplicates ADDR->sun_path with sockaddr LEN limitation.
28797         * sysdeps/mach/hurd/connect.c: Include <string.h>
28798         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
28799         * sysdeps/mach/hurd/sendmsg.c: Likewise.
28800         * sysdeps/mach/hurd/sendto.c: Likewise.
28801         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
28802         implementing it by hand.
28804 2015-02-06  Roland McGrath  <roland@hack.frob.com>
28806         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
28807         Use sfi_breg on ldr.
28808         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
28809         Likewise.
28811         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
28812         it's defined.
28813         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
28814         Test SIGSETXID only if it's defined.
28816         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
28818         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
28819         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
28821         * nptl/tst-align2.c: Moved ...
28822         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
28823         * nptl/Makefile (tests): Remove tst-align2.
28824         * sysdeps/unix/sysv/linux/Makefile
28825         [$(subdir) = nptl] (tests): Add tst-align-clone.
28826         * nptl/tst-getpid1.c: Moved ...
28827         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
28828         * nptl/tst-getpid2.c: Moved ...
28829         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
28830         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
28831         * sysdeps/unix/sysv/linux/Makefile
28832         [$(subdir) = nptl] (tests): ... here.
28833         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
28834         * sysdeps/unix/sysv/linux/Makefile
28835         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
28837         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
28838         Drop trailing \n from perror argument.  Use return rather than exit.
28840         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
28841         on [SA_SIGINFO].
28842         * nptl/tst-cancel21.c (do_test): Likewise.
28843         * debug/tst-backtrace6.c: Include <signal.h> first thing.
28844         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
28845         [!SA_SIGINFO]: Make it a stub test.
28847         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
28848         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
28850         * posix/tst-getlogin.c: Move to ...
28851         * login/tst-getlogin.c: ... here.
28852         * posix/Makefile (tests): Move tst-getlogin to ...
28853         * login/Makefile (tests): ... here.
28855         * libio/tst-atime.c (do_test): Move local variables SV and E
28856         inside [ST_NOATIME] conditional.
28858         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
28860         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
28862         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
28863         (wait_code): New function replaces macro.
28864         Call nanosleep rather than syscall.
28866         * nptl/pt-system.c: Rewritten.  Put everything under
28867         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28868         Use IFUNC to redirect when possible.
28870         * nptl/pt-longjmp.c: Rewritten.  Put everything under
28871         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28872         Use IFUNC to redirect when possible.
28874         * nptl/pt-fork.c: Rewritten.  Put everything under
28875         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28876         Use IFUNC to redirect when possible.
28877         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
28879         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
28880         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
28881         unconditionally nowadays.  This included the only reference to
28882         __vdso_clock_gettime that appears outside libc proper.
28883         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
28884         Remove version set (containing only __vdso_clock_gettime).
28885         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
28886         Add attribute_hidden.
28887         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
28888         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
28889         libc_hidden_data_def.
28890         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28891         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28893         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
28894         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
28895         setrpcent, and getrpcport to ...
28896         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
28897         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
28898         getrpcbynumber_r, and getrpcent_r to ...
28899         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
28900         * inet/getrpcbyname.c: Moved ...
28901         * sunrpc/getrpcbyname.c: ... here.
28902         * inet/getrpcbyname_r.c: Moved ...
28903         * sunrpc/getrpcbyname_r.c: ... here.
28904         * inet/getrpcbynumber.c: Moved ...
28905         * sunrpc/getrpcbynumber.c: ... here.
28906         * inet/getrpcbynumber_r.c: Moved ...
28907         * sunrpc/getrpcbynumber_r.c: ... here.
28908         * inet/getrpcent.c: Moved ...
28909         * sunrpc/getrpcent.c: ... here.
28910         * inet/getrpcent_r.c: Moved ...
28911         * sunrpc/getrpcent_r.c: ... here.
28912         * inet/Makefile (routines): Move those to ...
28913         * sunrpc/Makefile (routines): ... here.
28914         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
28915         the $(subdirs) list.
28916         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
28917         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
28918         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
28919         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
28921         * elf/Makefile (routines): Include $(all-dl-routines), not just
28922         $(dl-routines).
28923         (rtld-routines): Likewise.  Use = rather than :=.
28924         * sysdeps/aarch64/Makefile [$(subdir) = elf]
28925         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
28926         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
28927         * sysdeps/arm/Makefile: Likewise.
28928         * sysdeps/i386/Makefile: Likewise.
28929         * sysdeps/x86_64/Makefile: Likewise.
28930         * sysdeps/hppa/Makefile [$(subdir) = elf]
28931         (sysdep_routines, sysdep-rtld-routines): Don't add
28932         $(sysdep-dl-routines) to these.
28933         * sysdeps/ia64/Makefile: Likewise.
28934         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
28935         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
28936         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
28937         Don't add dl-static to these; sysdep-dl-routines alone is enough.
28938         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
28939         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
28940         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
28941         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
28942         * sysdeps/powerpc/Makefile [$(subdir) = elf]
28943         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
28944         these; sysdep-dl-routines alone is enough.
28946 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
28948         [BZ #17932]
28949         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
28950         where multiplication results in zero and third argument is finite
28951         and nonzero.
28952         * math/auto-libm-test-in: Add more tests of fma.
28953         * math/auto-libm-test-out: Regenerated.
28955         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
28956         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
28957         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
28958         (_FP_CMP_EQ): Likewise.
28959         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
28961         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
28962         extra argument CHECK_NAN.  Redefine as wrapper around
28963         _FP_EXTEND_CNAN.
28965 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
28967         * version.h (RELEASE): Set to "stable".
28968         (VERSION): Set to "2.21"
28969         * include/features.h (__GLIBC_MINOR__): Set to 21.
28971         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
28973 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28974             Paul Eggert  <eggert@cs.ucla.edu>
28976         [BZ #16618]
28977         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
28978         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
28979         size in bytes. Store needed elements in wpmax. Use needed size
28980         in bytes for extend_alloca.
28982 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
28984         * manual/install.texi: Latest tested versions are GCC 4.9.2,
28985         binutls 2.25, and texinfo 5.2.
28986         * INSTALL: Regenerate.
28987         * sysdeps/nios2/configure: Regenerate.
28988         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
28989         * manual/contrib.texi: Update.
28990         * po/be.po: Update.
28991         * po/bg.po: Update.
28992         * po/ca.po: Update.
28993         * po/cs.po: Update.
28994         * po/da.po: Update.
28995         * po/de.po: Update.
28996         * po/el.po: Update.
28997         * po/eo.po: Update.
28998         * po/es.po: Update.
28999         * po/fi.po: Update.
29000         * po/fr.po: Update.
29001         * po/gl.po: Update.
29002         * po/hr.po: Update.
29003         * po/hu.po: Update.
29004         * po/ia.po: Update.
29005         * po/id.po: Update.
29006         * po/it.po: Update.
29007         * po/ja.po: Update.
29008         * po/ko.po: Update.
29009         * po/lt.po: Update.
29010         * po/nb.po: Update.
29011         * po/nl.po: Update.
29012         * po/pl.po: Update.
29013         * po/pt_BR.po: Update.
29014         * po/ru.po: Update.
29015         * po/rw.po: Update.
29016         * po/sk.po: Update.
29017         * po/sl.po: Update.
29018         * po/sv.po: Update.
29019         * po/tr.po: Update.
29020         * po/uk.po: Update.
29021         * po/vi.po: Update.
29022         * po/zh_CN.po: Update.
29023         * po/zh_TW.po: Update.
29025         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
29026         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
29027         * sysdeps/hppa/dl-irel.h: Remove #warning.
29028         * sysdeps/hppa/entry.h: Provide prototype for
29029         __canonicalize_funcptr_for_compare and cast argument.
29030         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
29031         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
29032         * sysdeps/hppa/sotruss-lib.c: New file.
29033         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
29034         (atomic_compare_and_exchange_val_acq): Use __typeof__.
29035         (atomic_compare_and_exchange_bool_acq): Likewise.
29036         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
29037         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
29039         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
29040         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
29041         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
29043 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
29045         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
29046         called function in non-PIC case.
29048 2015-01-31  David S. Miller  <davem@davemloft.net>
29050         * sysdeps/sparc/sparc32/bits/atomic.h
29051         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
29052         unlock not after it.
29053         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
29054         volatile register usage warnings from the compiler.
29056         * sysdeps/sparc/nptl/sem_init.c: Delete.
29057         * sysdeps/sparc/nptl/sem_post.c: Delete.
29058         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
29059         * sysdeps/sparc/nptl/sem_wait.c: Delete.
29060         * sysdeps/sparc/sparc32/sem_init.c: New file.
29061         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
29062         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
29063         padding explicitly initialized.
29064         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
29065         padding for in-semaphore spinlock.
29066         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
29067         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
29068         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
29069         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
29070         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
29071         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
29072         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
29073         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
29074         version.
29075         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
29076         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
29078 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
29080         [BZ #17801]
29081         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29082         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
29083         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
29084         New.
29085         (index_AVX_Fast_Unaligned_Load): Likewise.
29086         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
29087         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
29088         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
29089         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
29090         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
29091         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
29092         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
29093         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
29094         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
29096 2015-01-29  Andreas Schwab  <schwab@suse.de>
29098         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
29100 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
29102         [BZ #17892]
29103         * nscd/nscd_stat.c (send_stats): Initialize DATA.
29105 2015-01-28  Martin Sebor  <msebor@redhat.com>
29107         * math/README.libm-test: Clarify. Add "How to read the test output."
29109 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
29111         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
29112         Define to 0.
29114 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
29116         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
29117         (__HAVE_64B_ATOMICS): Define to 0.
29119 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29121         [BZ #17885]
29122         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
29123         value to set as new flag.
29125         [BZ #16576]
29126         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
29127         and use _ARCH_PPCSQ instead.
29128         (__ieee754_sqrt): Likewise.
29129         (__ieee754_sqrtf): Likewise.
29130         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
29131         _ARCH_PPCSQ is defined.
29132         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
29133         fsqrt instruction.
29134         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
29135         _ARCH_PPCSQ is defined.
29136         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
29137         fsqrts instruction.
29138         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
29140 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29142         * iconv/loop.c: Suppress array out of bound warning caused by GCC
29143         bug (GCC BZ #64739).
29145 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
29147         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
29148         Mark _retval as used.
29149         (lll_futex_wake_unlock): Likewise.
29150         (lll_futex_timed_wait_requeue_pi): Likewise.
29152         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
29153         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
29154         register variables.
29156         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
29157         libm_hidden_def.
29159         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
29160         (__bswap_64): Mark as __always_inline.
29162 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
29164         [BZ #15378]
29165         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
29166         when none of the search directories exist.
29168 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29170         [BZ #17869]
29171         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
29172         power8 in .machine directive.
29174         [BZ #17868]
29175         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
29176         set dependency from opd value.
29178 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
29180         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29181         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
29182         architecture.
29184 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
29186         [BZ #17870]
29187         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
29188         with uint64_t.
29189         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
29190         (uint64_t) 1.
29191         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
29192         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
29193         Replace 1UL with (uint64_t) 1.
29194         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
29195         int with uint64_t.
29197 2015-01-23  Roland McGrath  <roland@hack.frob.com>
29199         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
29200         (if_freenameindex): Likewise.
29202         * resource/getrlimit64.c: Add missing libc_hidden_def.
29204 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
29206         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
29207         __label__.
29208         (_FP_FMA): Likewise.
29209         (_FP_TO_INT_ROUND): Likewise.
29210         (_FP_FROM_INT): Likewise.
29212 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29214         [BZ #16418]
29215         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
29216         Make code racy and cancel safe.
29218 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
29220         * sysdeps/arm/unwind-resume.h: Fix copyright year.
29221         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
29222         attribution.
29224         * pwd/tst-getpw.c: Rewrite.
29226         [BZ #17702]
29227         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
29228         (modules-names): Add moddummy1 and moddummy2.
29229         ($(objpfx)tst-rec-dlopen): Define.
29230         * dlfcn/moddummy1.c: New file.
29231         * dlfcn/moddummy2.c: New file.
29232         * dlfcn/tst-rec-dlopen.c: New file.
29233         * elf/dl-cache.c (_dl_load_cache_lookup):
29234         Return char*. Copy result with alloca/strcpy/strdup.
29235         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
29236         returns char*. Free cached. If not saving realname
29237         free cached.
29238         * elf/dl-open.c (dl_open_worker): Do not assert that
29239         _r_debug->r_state is RT_CONSISTENT.
29240         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
29241         returns char*.
29243 2015-01-21  Torvald Riegel  <triegel@redhat.com>
29244             Carlos O'Donell  <carlos@redhat.com>
29246         [BZ #12674]
29247         * nptl/sem_waitcommon.c: New file.
29248         * nptl/sem_wait.c: Include sem_waitcommon.c.
29249         (__sem_wait_cleanup, do_futex_wait): Remove.
29250         (__new_sem_wait): Adapt.
29251         (__new_sem_trywait): New function.
29252         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
29253         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
29254         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
29255         (sem_timedwait): Adapt.
29256         * nptl/sem_post.c (__new_sem_post): Adapt.
29257         (futex_wake): New function.
29258         (__old_sem_post): Add release MO fence.
29259         * nptl/sem_open.c (sem_open): Adapt.
29260         * nptl/sem_init.c (__new_sem_init): Adapt.
29261         (futex_private_if_supported): New function.
29262         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
29263         (__old_sem_getvalue): Add using previous code.
29264         * sysdeps/nptl/internaltypes.h: Adapt.
29265         * nptl/tst-sem13.c (do_test): Adapt.
29266         * nptl/tst-sem11.c (main): Adapt.
29267         * nptl/sem_trywait.c: Remove.
29268         * nptl/DESIGN-sem.txt: Remove.
29269         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
29270         (gen-as-const-headers): Remove structsem.sym.
29271         * nptl/structsem.sym: Remove.
29272         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
29273         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
29274         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
29275         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
29276         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
29277         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
29278         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
29279         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
29280         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
29281         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
29282         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
29283         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
29284         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
29285         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
29286         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
29287         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
29288         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
29289         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
29290         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
29291         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
29292         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
29293         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
29295 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
29297         * INSTALL: Regenerated.
29299         * po/libc.pot: Regenerated.
29301 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
29302             Sandra Loosemore  <sandra@codesourcery.com>
29303             Andrew Jenner  <andrew@codesourcery.com>
29304             Joseph Myers  <joseph@codesourcery.com>
29305             Nathan Sidwell  <nathan@codesourcery.com>
29307         * NEWS: Mention new Nios II port.
29308         * sysdeps/nios2/Implies: New file.
29309         * sysdeps/nios2/Makefile: New file.
29310         * sysdeps/nios2/Subdirs: New file.
29311         * sysdeps/nios2/Versions: New file.
29312         * sysdeps/nios2/__longjmp.S: New file.
29313         * sysdeps/nios2/abort-instr.h: New file.
29314         * sysdeps/nios2/backtrace.c: New file.
29315         * sysdeps/nios2/bits/endian.h: New file.
29316         * sysdeps/nios2/bits/fenv.h: New file.
29317         * sysdeps/nios2/bits/link.h: New file.
29318         * sysdeps/nios2/bits/setjmp.h: New file.
29319         * sysdeps/nios2/bsd-_setjmp.S: New file.
29320         * sysdeps/nios2/bsd-setjmp.S: New file.
29321         * sysdeps/nios2/configure: New generated file.
29322         * sysdeps/nios2/configure.ac: New file.
29323         * sysdeps/nios2/crti.S: New file.
29324         * sysdeps/nios2/crtn.S: New file.
29325         * sysdeps/nios2/dl-init.c: New file.
29326         * sysdeps/nios2/dl-machine.h: New file.
29327         * sysdeps/nios2/dl-sysdep.h: New file.
29328         * sysdeps/nios2/dl-tls.h: New file.
29329         * sysdeps/nios2/dl-trampoline.S: New file.
29330         * sysdeps/nios2/gccframe.h: New file.
29331         * sysdeps/nios2/gmp-mparam.h: New file.
29332         * sysdeps/nios2/jmpbuf-offsets.h: New file.
29333         * sysdeps/nios2/jmpbuf-unwind.h: New file.
29334         * sysdeps/nios2/ldsodefs.h: New file.
29335         * sysdeps/nios2/libc-tls.c: New file.
29336         * sysdeps/nios2/libm-test-ulps: New file.
29337         * sysdeps/nios2/machine-gmon.h: New file.
29338         * sysdeps/nios2/math-tests.h: New file.
29339         * sysdeps/nios2/math_private.h: New file.
29340         * sysdeps/nios2/memusage.h: New file.
29341         * sysdeps/nios2/nptl/Makefile: New file.
29342         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
29343         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
29344         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
29345         * sysdeps/nios2/nptl/pthreaddef.h: New file.
29346         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
29347         * sysdeps/nios2/nptl/tls.h: New file.
29348         * sysdeps/nios2/preconfigure: New file.
29349         * sysdeps/nios2/s_fma.c: New file.
29350         * sysdeps/nios2/s_fmaf.c: New file.
29351         * sysdeps/nios2/setjmp.S: New file.
29352         * sysdeps/nios2/sfp-machine.h: New file.
29353         * sysdeps/nios2/sotruss-lib.c: New file.
29354         * sysdeps/nios2/stackguard-macros.h: New file.
29355         * sysdeps/nios2/stackinfo.h: New file.
29356         * sysdeps/nios2/start.S: New file.
29357         * sysdeps/nios2/sysdep.h: New file.
29358         * sysdeps/nios2/tls-macros.h: New file.
29359         * sysdeps/nios2/tst-audit.h: New file.
29360         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
29361         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
29362         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
29363         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
29364         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
29365         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
29366         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
29367         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
29368         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
29369         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
29370         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
29371         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
29372         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
29373         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
29374         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
29375         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
29376         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
29377         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
29378         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
29379         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
29380         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
29381         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
29382         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
29383         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
29384         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
29385         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
29386         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
29387         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
29388         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
29389         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
29390         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
29391         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
29392         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
29393         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
29394         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
29395         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
29396         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
29397         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
29398         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
29399         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
29400         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
29401         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
29402         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
29403         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
29405 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29407         [BZ #17844]
29408         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
29409         (getutent): Use weak_alias in non SHARED case
29410         and default_symbol_version in SHARED case.
29411         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
29412         (getutent_r, pututline): Likewise.
29413         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
29414         (getutid): Likewise.
29415         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
29416         (getutid_r): Likewise.
29417         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
29418         (getutline): Likewise.
29419         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
29420         (getutline_r): Likewise.
29421         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
29422         (updwtmp): Likewise.
29424 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29426         [BZ #17848]
29427         * sysdeps/s390/s390-32/memcmp.S
29428         (memcmp_g5): Rename to __memcmp_g5.
29429         * sysdeps/s390/s390-32/memcpy.S
29430         (memcpy_g5): Rename to __memcpy_g5.
29431         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29432         (memcpy_mvcle) Rename to __memcpy_mvcle.
29433         * sysdeps/s390/s390-32/memset.S
29434         (memset_g5): Rename to __memset_g5.
29435         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29436         (IFUNC_RESOLVE): Prefix ifunc-resolve function
29437         and use prefixed functions.
29438         * sysdeps/s390/s390-32/multiarch/memcmp.S
29439         (memcmp_z196): Rename to __memcmp_z196.
29440         (memcmp_z10): Rename to __memcmp_z10.
29441         (memcmp): Set alias to __memcmp_g5.
29442         (bcmp): Set alias to __memcmp_g5.
29443         * sysdeps/s390/s390-32/multiarch/memcpy.S
29444         (memcpy_z196): Rename to __memcpy_z196.
29445         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29446         (memcpy_z10): Rename to __memcpy_z10.
29447         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29448         (memcpy): Set alias to __memcpy_g5.
29449         * sysdeps/s390/s390-32/multiarch/memset.S
29450         (memset_z196): Rename to __memset_z196.
29451         Jump to __memset_mvcle instead of memset_mvcle.
29452         (memset_z10): Rename to __memset_z10.
29453         Jump to __memset_mvcle instead of memset_mvcle.
29454         (memset_mvcle) Rename to __memset_mvcle.
29455         (memset): Set alias to __memset_g5.
29456         * sysdeps/s390/s390-64/memcmp.S
29457         (memcmp_z900): Rename to __memcmp_z900.
29458         * sysdeps/s390/s390-64/memcpy.S
29459         (memcpy_z900): Rename to __memcpy_z900.
29460         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29461         (memcpy_mvcle) Rename to __memcpy_mvcle.
29462         * sysdeps/s390/s390-64/memset.S
29463         (memset_z900): Rename to __memset_z900.
29464         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
29465         (IFUNC_RESOLVE): Prefix ifunc-resolve function
29466         and use prefixed functions.
29467         * sysdeps/s390/s390-64/multiarch/memcmp.S
29468         (memcmp_z196): Rename to __memcmp_z196.
29469         (memcmp_z10): Rename to __memcmp_z10.
29470         (memcmp): Set alias to __memcmp_z900.
29471         (bcmp): Set alias to __memcmp_z900.
29472         * sysdeps/s390/s390-64/multiarch/memcpy.S
29473         (memcpy_z196): Rename to __memcpy_z196.
29474         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29475         (memcpy_z10): Rename to __memcpy_z10.
29476         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29477         (memcpy): Set alias to __memcpy_z900.
29478         * sysdeps/s390/s390-64/multiarch/memset.S
29479         (memset_z196): Rename to __memset_z196.
29480         Jump to __memset_mvcle instead of memset_mvcle.
29481         (memset_z10): Rename to __memset_z10.
29482         Jump to __memset_mvcle instead of memset_mvcle.
29483         (memset_mvcle) Rename to __memset_mvcle.
29484         (memset): Set alias to __memset_z900.
29486 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
29488         [BZ #17748]
29489         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
29490         __fesetenv instead of fesetenv.
29492 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29494         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
29495         macro.
29497 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29499         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
29500         regression on LE.
29502         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
29503         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
29504         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29505         strncmp-power8 object.
29506         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29507         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
29508         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
29509         * NEWS: Update.
29511 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29512             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29514         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
29515         trailing byte check.
29517 2015-01-13  David S. Miller  <davem@davemloft.net>
29519         * include/signal.h (__sigreturn): Guard with __USE_MISC.
29521 2015-01-13  Roland McGrath  <roland@hack.frob.com>
29523         * login/logout.c (logout): Use memset rather than bzero.
29524         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
29525         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
29526         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
29527         (_gethtbyaddr): Likewise.
29528         * locale/programs/simple-hash.c (bcopy): Macro removed.
29530 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29532         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29533         Add strcmp-power8 object.
29534         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29535         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
29536         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
29537         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
29538         __strcmp_power8 implementation.
29539         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
29540         * NEWS: Update.
29542         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29543         Add strncpy-power8 and stpncpy-power8 objects.
29544         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29545         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
29546         implementations.
29547         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
29548         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
29549         __stpncpy_power8 implementation.
29550         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
29551         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
29552         __strncpy_power8 implementation.
29553         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
29554         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
29555         * NEWS: Update.
29557         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
29558         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
29559         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
29561         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29562         strncat-power8 object.
29563         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
29564         __strcat_power8 implementation.
29565         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29566         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
29567         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
29568         optimized strcat for power8.
29570         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29571         strcpy-power8 and stpcpy-power8 objects.
29572         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29573         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
29574         implementations.
29575         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
29576         multiarch stpcpy implementation for POWER8.
29577         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
29578         multiarch strcpy implementation for POWER8.
29579         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
29580         __strcpy_power8 function.
29581         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
29582         stpcpy for POWER8.
29583         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
29584         strcpy for POWER8.
29585         * NEWS: Update.
29587 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
29589         [BZ #16009]
29590         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
29591         weights and rules. Use do_xfrm_cached if data fits in cache,
29592         do_xfrm otherwise.  Moved former main loop to...
29593         * (do_xfrm_cached): New function.
29594         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
29595         find_idx, find_position and stack_push.
29596         * (find_idx): New function.
29597         * (find_position): Likewise.
29598         * localedata/sort-test.sh: Added test run for do_xfrm.
29599         * localedata/xfrm-test.c (main): Added command line option
29600         -nocache to run the test with strings that are too large for
29601         the STRXFRM cache.
29603 2015-01-13  Torvald Riegel  <triegel@redhat.com>
29605         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
29606         variable to lll_futex_wake call, not the value itself.
29608 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
29610         [BZ #17803]
29611         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
29612         twom64.  Adjust value to 0x1p-64L.
29613         (__scalblnl): Only return standard underflowing result for K <=
29614         -64 not K <= -63; adjust exponent for underflowing result by 64
29615         not 63.
29616         * math/libm-test.inc (scalbn_test_data): Add more tests.
29617         (scalbln_test_data): Likewise.
29619         [BZ #17834]
29620         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
29621         0x1p63L.
29622         (__scalblnl): Get new exponent of adjusted subnormal value from ES
29623         not HX.
29624         * math/libm-test.inc (scalbn_test_data): Add more tests.
29625         (scalbln_test_data): Likewise.
29627 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29628             Stefani Seibold  <stefani@seibold.net>
29630         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
29631         (sysdep_routines): Add dl-vdso here, ...
29632         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
29633         (sysdep_routines): ... not here.
29634         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
29635         fallback when vDSO is not presented.
29636         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
29637         Define with libc_hidden_proto/libc_hidden_data_def definitions.
29638         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
29639         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
29640         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
29641         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
29642         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
29643         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
29644         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
29645         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
29646         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
29647         fallback configurable symbol when vDSO is not available.
29648         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
29649         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
29650         be able to redefine fallback symbol when vDSO is not available.
29651         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
29652         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
29654 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29656         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
29657         (TLS_INIT_TP): Add tm_capable initialization.
29658         (TLS_DEFINE_INIT_TP): Likewise.
29659         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
29660         TCB.
29661         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
29662         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
29663         calculation.
29664         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
29665         transactoion is lock elision is built and TCB tm_capable is set.
29666         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
29667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29668         (INTERNAL_SYSCALL_NCS): Likewise.
29669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29670         (INTERNAL_SYSCALL_NCS): Likewise.
29671         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
29673         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
29674         for powerpc.
29675         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29676         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
29677         and remove it for 32 bits case.
29678         [pthread_rwlock_t] (__rwelision): New field for lock elision.
29679         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
29680         initialization.
29681         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
29682         Disable lock elision with rdlocks if elision is not available.
29684         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
29685         (sysdep_routines): Add lock elision objects.
29686         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29687         [pthread_mutex_t] (__spins): Rework to add lock elision field.
29688         [pthread_mutex_t] (__elision): Add field.
29689         [__PTHREAD_SPINS]: Adjust to init lock elision field.
29690         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
29691         elision definitions for powerpc.
29692         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
29693         implementation of lock elision for powerpc.
29694         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
29695         implementation of timed lock elision for powerpc.
29696         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
29697         implementation of trylock with lock elision for powerpc.
29698         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
29699         implementaion of unlock for lock elision for powerpc.
29700         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
29701         automatic enable lock elision for mutexes.
29702         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
29703         transaction execution definitions for powerpc.
29704         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
29705         definitions.
29706         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
29707         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
29708         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
29709         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
29710         * NEWS: Update.
29712 2015-01-09  Roland McGrath  <roland@hack.frob.com>
29714         * sysdeps/posix/shm-directory.c: Use <> rather than ""
29715         for #include of <shm-directory.h>.
29717 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
29719         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
29720         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
29722 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
29724         [BZ #17791]
29725         * NEWS: Mention bug fix.
29726         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
29727         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
29728         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
29730 2015-01-09  Torvald Riegel <triegel@redhat.com>
29732         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
29734 2015-01-09  Torvald Riegel <triegel@redhat.com>
29736         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
29738 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
29740         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
29741         pointer and cast to uintptr_t.
29743 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
29745         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
29746         removed.
29747         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
29749 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
29751         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
29752         of 0.
29754 2015-01-08  Roland McGrath  <roland@hack.frob.com>
29756         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
29757         <nptl/pthreadP.h> instead.
29758         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
29760         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
29761         already defined.
29762         [__SIGRTMIN] (init): Function removed.
29763         [__SIGRTMIN] (initialized): Variable removed.
29764         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
29765         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
29766         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
29767         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
29768         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
29769         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
29770         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
29771         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
29772         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
29773         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
29774         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
29775         * sysdeps/nptl/allocrtsig.c: New file.
29776         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
29777         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
29778         * sysdeps/generic/testrtsig.h: File removed.
29780         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
29781         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
29783         * nptl/nptl-init.c (pthread_functions): Conditionalize
29784         .ptr__nptl_setxid initialization on [SIGSETXID].
29786         * sysdeps/nptl/sys/procfs.h: New file.
29787         * nptl_db/Makefile (headers): Add it.
29788         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
29790         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
29791         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
29792         * nptl/pthread_attr_setaffinity.c: Include it.
29793         * nptl/pthread_setattr_default_np.c: Likewise.
29794         * nptl/check-cpuset.h: New file.
29796 2015-01-08  Richard Henderson  <rth@redhat.com>
29798         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
29799         (CFLAGS-tst-execstack-prog.c): Likewise.
29800         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
29802 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
29803             Sandra Loosemore  <sandra@codesourcery.com>
29804             Andrew Jenner  <andrew@codesourcery.com>
29805             Joseph Myers  <joseph@codesourcery.com>
29806             Nathan Sidwell  <nathan@codesourcery.com>
29808         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
29809         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
29810         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
29811         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
29812         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
29813         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
29814         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
29815         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
29816         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
29817         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
29818         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
29819         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
29820         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
29821         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
29822         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
29823         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
29824         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
29826 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29828         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
29829         timespec struct member in syscall macro.
29830         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
29831         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
29832         first timeval struct member in syscall macro.
29833         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
29835 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
29837         [BZ #17748]
29838         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
29839         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
29840         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
29841         __feupdateenv and define as weak alias of __feupdateenv.  Use
29842         libm_hidden_weak.
29843         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
29844         libm_hidden_def.
29845         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
29846         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
29847         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
29848         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
29849         libm_hidden_def.
29850         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
29851         __feupdateenv and define as weak alias of __feupdateenv.  Use
29852         libm_hidden_weak.
29853         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
29854         libm_hidden_def.
29855         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
29856         __feupdateenv and define as weak alias of __feupdateenv.  Use
29857         libm_hidden_weak.
29858         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
29859         libm_hidden_def.
29860         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29861         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
29862         (__feupdateenv): Likewise.
29863         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
29864         __feupdateenv and define as weak alias of __feupdateenv.  Use
29865         libm_hidden_weak.
29866         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29867         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
29868         libm_hidden_def.
29869         * sysdeps/tile/math_private.h (__feupdateenv): New inline
29870         function.
29871         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
29872         libm_hidden_def.
29873         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
29874         __feupdateenv instead of feupdateenv.
29875         (default_libc_feupdateenv_test): Likewise.
29876         (libc_feresetround_ctx): Likewise.
29878 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29880         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
29881         prototype.
29883 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
29885         * posix/regcomp.c (parse_bracket_exp): Initialize type to
29886         COLL_SYM in a couple of places to avoid uninitialized variable
29887         wanings on tilegx gcc 4.8.2.
29889 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
29891         * sysdeps/aarch64/strcpy.S: New file.
29892         * sysdeps/aarch64/stpcpy.S: New file.
29893         * NEWS: Updated.
29895 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
29897         * sysdeps/aarch64/strrchr.S: New file.
29898         * NEWS: Updated.
29900 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
29902         [BZ #17658]
29903         * stdlib/setenv.c: Fix memory leak when setting large,
29904         duplicate string.
29906 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
29908         [BZ #17273]
29909         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
29910         and tabs from buffer before parsing fstab entry.
29911         * misc/tst-mntent.c (main): Add test for mount entry with
29912         trailing spaces and tabs.
29914 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
29916         [BZ #17748]
29917         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
29918         * math/fesetround.c (fesetround): Rename to __fesetround and
29919         define as weak alias of __fesetround.  Use libm_hidden_weak.
29920         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
29921         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
29922         * sysdeps/arm/fesetround.c (fesetround): Likewise.
29923         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
29924         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
29925         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
29926         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
29927         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
29928         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
29929         __fesetround_inline.
29930         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
29931         __fesetround_inline instead of __fesetround.
29932         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
29933         __fesetround and define as weak alias of __fesetround.  Use
29934         libm_hidden_weak.  Call __fesetround_inline instead of
29935         __fesetround.
29936         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
29937         __fesetround and define as weak alias of __fesetround.  Use
29938         libm_hidden_weak.
29939         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
29940         Likewise.
29941         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
29942         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29943         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
29944         * sysdeps/tile/math_private.h (__fesetround): New inline function.
29945         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
29946         __fesetround and define as weak alias of __fesetround.  Use
29947         libm_hidden_weak.
29948         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
29949         __fesetround instead of fesetround.
29950         (default_libc_feholdexcept_setround): Likewise.
29951         (libc_feholdsetround_ctx): Likewise.
29952         (libc_feholdsetround_noex_ctx): Likewise.
29954         [BZ #17748]
29955         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
29956         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
29957         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
29958         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
29959         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29960         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
29961         define as weak alias of __fesetenv.  Use libm_hidden_weak.
29962         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
29963         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29964         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29965         define as weak alias of __fesetenv.  Use libm_hidden_weak.
29966         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29967         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29968         define as weak alias of __fesetenv.  Use libm_hidden_weak.
29969         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
29970         libm_hidden_def.
29971         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
29972         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
29973         Likewise.
29974         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29975         define as weak alias of __fesetenv.  Use libm_hidden_weak.
29976         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29977         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29978         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
29979         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
29980         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
29981         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
29982         __fesetenv instead of fesetenv.
29983         (libc_feresetround_noex_ctx): Likewise.
29984         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
29985         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
29986         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
29987         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
29988         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
29989         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
29990         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29991         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
29992         (__feupdateenv): Likewise.
29993         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
29994         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29995         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29996         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
29998 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
30000         [BZ #17806]
30001         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
30002         addresses have been freed.
30004 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
30006         * resolv/res_init.c (__res_vinit): Improve comments about nserv
30007         and nservall.
30009 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
30011         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
30012         Clean up check_pf allocation pattern. addresses
30014 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30016         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
30017         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
30018         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
30019         * nptl/pthread_exit.c (__pthread_exit): Likewise.
30020         * nptl/pthread_join.c (pthread_join): Likewise.
30021         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
30022         * sysdeps/posix/waitid.c (__waitid): Likewise.
30023         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
30024         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
30025         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
30026         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
30027         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
30028         Likewise.
30029         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
30030         (__libc_pread64): Likewise.
30031         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
30032         (__libc_pwrite): Likewise.
30033         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
30034         (__libc_pwrite64): Likewsie.
30035         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
30036         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
30037         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
30038         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
30039         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
30040         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
30041         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
30042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
30043         Likewise.
30044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30045         (__libc_pread64): Likewise.
30046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
30047         Likewise.
30048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30049         (__libc_pwrite64): Likewise.
30050         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
30051         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
30052         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
30053         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
30054         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
30055         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
30056         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
30057         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
30058         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
30059         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
30060         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
30061         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
30062         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
30063         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
30064         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
30065         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
30066         Likewise.
30068 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
30070         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
30071         (CFLAGS-test-double.c): Likewise.
30072         (CFLAGS-test-ldouble.c): Likewise.
30073         (CPPFLAGS-test-ifloat.c): Likewise.
30074         (CPPFLAGS-test-idouble.c): Likewise.
30075         (CPPFLAGS-test-ildoubl.c): Likewise.
30076         (CFLAGS-test-test-fenv.c): Remove variable.
30077         (CFLAGS-test-misc.c): Likewise.
30079 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
30081         [BZ #17797]
30082         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
30083         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
30084         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
30085         CLOCKS_PER_SEC == 1000000.
30086         * time/clocktest.c (main): Replace %ld with %jd and cast to
30087         intmax_t.
30089 2015-01-05  Roland McGrath  <roland@hack.frob.com>
30091         * sysdeps/generic/unwind-resume.h: New file.
30092         * sysdeps/gnu/unwind-resume.c: Include it.
30093         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
30094         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
30095         argument list.
30096         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
30097         global rather than static.
30098         (_Unwind_Resume): Update user.
30099         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
30100         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
30101         rather than static.  Add __attribute__ ((cold)).
30102         (_Unwind_Resume, __gcc_personality_v0): Update callers.
30103         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
30104         * sysdeps/arm/arm-unwind-resume.S: New file.
30105         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
30106         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
30107         * sysdeps/arm/Makefile [$(subdir) = csu]
30108         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
30109         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
30110         Add rt-arm-unwind-resume.
30111         [$(subdir) = nptl]
30112         (libpthread-sysdep_routines, libpthread-shared-only-routines):
30113         Add pt-arm-unwind-resume.
30114         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
30115         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
30117 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
30119         [BZ #17748]
30120         * include/fenv.h (__feholdexcept): Declare.  Use
30121         libm_hidden_proto.
30122         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
30123         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
30124         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30125         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
30126         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
30127         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
30128         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
30129         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30130         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
30131         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
30132         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30133         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
30134         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
30135         (feholdexcept): Likewise.
30136         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30137         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30138         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30139         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30140         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
30141         __feholdexcept instead of feholdexcept.
30142         (default_libc_feholdexcept_setround): Likewise.
30144 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
30146         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
30147         to avoid using stl/str to align destination.
30149 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
30151         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
30153 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
30155         [BZ #17796]
30156         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
30157         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
30158         Define as weak alias not strong alias.
30160 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
30162         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
30163         bltzal with addiupc.
30164         (RTLD_START): Ditto.
30166 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
30168         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
30169         for __vdso_* functions in declarations.
30170         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
30171         definitions.
30172         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
30173         INTERNAL_VSYSCALL): Use struct return types to check for error.
30175         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
30176         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
30177         function with cast from llround().
30178         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
30179         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
30180         Define.
30182 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
30184         [BZ #17793]
30185         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
30186         Define as weak alias not strong alias.
30188         [BZ #17635]
30189         * ctype/ctype-c99.c: New file.  isblank implementation moved from
30190         ...
30191         * ctype/ctype-extn.c: ... here.
30192         (__isblank_l): Move to ...
30193         * ctype/ctype-c99_l.c: ... here.  New file.
30194         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
30195         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
30196         Remove variable.
30197         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
30198         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
30199         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
30200         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
30201         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
30203         [BZ #17777]
30204         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
30205         (posix_fadvise64): Define as weak alias not strong alias.
30206         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30207         (posix_fallocate64): Likewise.
30208         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
30209         Remove variable.
30210         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
30211         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
30212         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
30213         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
30214         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
30216 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
30218         [BZ #16191]
30219         * NEWS: Mention bug fix.
30220         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
30221         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
30222         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
30223         (HOST_STACK_END_ADDR): Likewise.
30225 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
30227         [BZ #17748]
30228         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
30229         * math/fegetround.c (fegetround): Rename to __fegetround and
30230         define as weak alias of __fegetround.  Use libm_hidden_weak.
30231         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
30232         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
30233         * sysdeps/arm/fegetround.c (fegetround): Likewise.
30234         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
30235         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
30236         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
30237         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
30238         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
30239         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
30240         Undefine after rather than before function definition; use
30241         parentheses around function name in definition.
30242         (__fegetround): Also undefine macro after function definition.
30243         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
30244         __fegetround and define as weak alias of __fegetround.  Use
30245         libm_hidden_weak.  Do not undefine as macro.
30246         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
30247         Likewise.
30248         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
30249         __fegetround and define as weak alias of __fegetround.  Use
30250         libm_hidden_weak.
30251         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30252         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
30253         * sysdeps/tile/math_private.h (__fegetround): New inline function.
30254         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
30255         __fegetround and define as weak alias of __fegetround.  Use
30256         libm_hidden_weak.
30257         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
30258         __fegetround instead of fegetround.
30260         [BZ #17782]
30261         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
30262         Condition macro definition on [__USE_MISC].
30264         [BZ #17781]
30265         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
30266         (struct sigaction): Change type of sa_flags field to int.
30268         [BZ #17780]
30269         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
30270         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
30271         __glibc_reserved0.
30273         * nptl/version.c (banner): Use single year in copyright notice.
30275         * NEWS: Update copyright dates.
30276         * catgets/gencat.c (print_version): Likewise.
30277         * csu/version.c (banner): Likewise.
30278         * debug/catchsegv.sh: Likewise.
30279         * debug/pcprofiledump.c (print_version): Likewise.
30280         * debug/xtrace.sh (do_version): Likewise.
30281         * elf/ldconfig.c (print_version): Likewise.
30282         * elf/ldd.bash.in: Likewise.
30283         * elf/pldd.c (print_version): Likewise.
30284         * elf/sotruss.sh: Likewise.
30285         * elf/sprof.c (print_version): Likewise.
30286         * iconv/iconv_prog.c (print_version): Likewise.
30287         * iconv/iconvconfig.c (print_version): Likewise.
30288         * locale/programs/locale.c (print_version): Likewise.
30289         * locale/programs/localedef.c (print_version): Likewise.
30290         * login/programs/pt_chown.c (print_version): Likewise.
30291         * malloc/memusage.sh (do_version): Likewise.
30292         * malloc/memusagestat.c (print_version): Likewise.
30293         * malloc/mtrace.pl: Likewise.
30294         * manual/libc.texinfo: Likewise.
30295         * nptl/version.c (banner): Likewise.
30296         * nscd/nscd.c (print_version): Likewise.
30297         * nss/getent.c (print_version): Likewise.
30298         * nss/makedb.c (print_version): Likewise.
30299         * posix/getconf.c (main): Likewise.
30300         * scripts/test-installation.pl: Likewise.
30301         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
30303 2015-01-02  Will Newton  <will.newton@linaro.org>
30305         * sysdeps/arm/armv7/configure: Removed.
30306         * sysdeps/arm/armv7/configure.ac: Likewise.
30308 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
30310         * All files with FSF copyright notices: Update copyright dates
30311         using scripts/update-copyrights.
30312         * intl/plural.c: Regenerated.
30313         * locale/programs/charmap-kw.h: Likewise.
30314         * locale/programs/locfile-kw.h: Likewise.
30316 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30318         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
30320 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
30322         [BZ #17748]
30323         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
30324         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
30325         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
30326         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
30327         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30328         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
30329         define as weak alias of __fegetenv.  Use libm_hidden_weak.
30330         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
30331         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30332         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30333         define as weak alias of __fegetenv.  Use libm_hidden_weak.
30334         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30335         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30336         define as weak alias of __fegetenv.  Use libm_hidden_weak.
30337         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
30338         libm_hidden_def.
30339         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
30340         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
30341         Likewise.
30342         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30343         define as weak alias of __fegetenv.  Use libm_hidden_weak.
30344         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30345         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30346         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
30347         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
30348         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
30349         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
30350         __fegetenv instead of fegetenv.
30351         (libc_feholdsetround_noex_ctx): Likewise.
30353 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
30355         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
30356         (Elf_MIPS_ABIFlags_v0): New structure.
30357         (EF_MIPS_FP64): Define.
30358         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
30359         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
30360         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
30361         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
30362         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
30363         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
30364         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
30365         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
30366         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
30367         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
30368         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
30369         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
30370         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
30371         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
30372         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
30373         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
30374         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
30375         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
30376         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
30377         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
30378         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
30379         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
30380         field.
30381         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
30382         EF_MIPS_FP64.
30383         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
30384         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
30385         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
30386         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
30387         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
30388         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
30389         * sysdeps/mips/tst-abi-interlink.c: Likewise.
30390         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
30391         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
30392         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
30393         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
30394         record the current FP ABI extension.
30395         (mips-mode-switch): Define to show if kernel headers support mode
30396         switching.
30397         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
30398         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
30399         supported SYSV ABI version to 3.
30400         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
30401         feature.
30403 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30404             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30406         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
30407         path.
30408         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
30410 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
30412         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
30413         __fegetround and redefine to call __fegetround.  Remove condition
30414         on [!__NO_MATH_INLINES].
30415         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
30416         function.
30417         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
30418         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
30419         Remove macro.
30420         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
30421         instead of <fenv_libc.h>.
30422         (__llrintl): Call fegetround instead of __fegetround.
30423         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
30424         instead of <fenv_libc.h>.
30425         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30426         (__lrintl): Call fegetround instead of __fegetround.
30427         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
30428         instead of <fenv_libc.h>.
30429         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30430         (__rintl): Call fegetround instead of __fegetround.
30432 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
30434         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
30435         arrays.
30437 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
30439         [BZ #17775]
30440         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
30441         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
30442         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
30444 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
30446         * sysdeps/i386/tls-macros.h: Include <features.h>.
30447         (TLS_LE): Use non-PIC version for GCC >= 5.0.
30448         (TLS_IE): Likewise.
30449         (TLS_LD): Likewise.
30450         (TLS_GD): Likewise.
30451         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
30452         define for GCC >= 5.0.
30454 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
30456         * math/test-fenv.c (test_single_exception, set_single_exc,
30457         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
30458         feexcp_mask_test, feenable_test, fe_single_test): Add
30459         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
30460         case where they are not used.
30461         * math/libm-test.inc: Likewise.
30462         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
30463         unused in the absence of FP rounding/exception support.
30464         * stdio-common/tst-printf-round.c: Likewise.
30465         * stdlib/tst-strtod-round.c: Likewise.
30466         * stdlib/tst-strtod-underflow.c: Likewise.
30468 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
30470         [BZ #17723]
30471         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
30472         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
30473         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30474         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
30475         libm_hidden_weak.
30476         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
30477         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
30478         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
30479         libm_hidden_def.
30480         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30481         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
30482         libm_hidden_weak.
30483         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
30484         Likewise.
30485         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
30486         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30487         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
30488         libm_hidden_weak.
30489         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
30490         libm_hidden_def.
30491         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
30492         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
30493         (__feraiseexcept): Likewise.
30494         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30495         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
30496         libm_hidden_weak.
30497         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
30498         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
30499         libm_hidden_def.
30500         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
30501         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
30502         Use libm_hidden_def.
30503         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
30504         libm_hidden_def.
30505         (feraiseexcept): Define as weak not strong alias.  Use
30506         libm_hidden_weak.
30507         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
30508         New inline function.  Factored out of ...
30509         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
30510         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
30511         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
30512         feraiseexcept.
30513         * math/w_acos.c (__acos): Likewise.
30514         * math/w_asin.c (__asin): Likewise.
30515         * math/w_ilogb.c (__ilogb): Likewise.
30516         * math/w_j0.c (y0): Likewise.
30517         * math/w_j1.c (y1): Likewise.
30518         * math/w_jn.c (yn): Likewise.
30519         * math/w_log.c (__log): Likewise.
30520         * math/w_log10.c (__log10): Likewise.
30521         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
30522         * sysdeps/aarch64/fpu/math_private.h
30523         (libc_feupdateenv_test_aarch64): Likewise.
30524         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
30525         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
30526         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
30527         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
30528         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
30529         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
30530         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
30531         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30532         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30533         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30535 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
30537         [BZ #17732]
30538         * io/test-utime.c (main): Replace %ld with %jd and cast to
30539         intmax_t.
30540         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
30541         * nptl/tst-mutex5.c: Include <stdint.h>.
30542         (do_test): Replace %ld with %jd and cast to intmax_t.
30543         * posix/tst-regex.c (run_test): Likewise.
30544         (run_test_backwards): Likewise.
30545         * rt/tst-clock.c: Include <stdint.h>.
30546         (clock_test): Replace %ld with %jd and cast to intmax_t.
30547         * rt/tst-cpuclock1.c: Include <stdint.h>.
30548         (do_test): Replace %lu with %ju and cast to uintmax_t.
30549         * rt/tst-cpuclock2.c: Include <stdint.h>.
30550         (do_test): Replace %lu with %ju and cast to uintmax_t.
30551         * rt/tst-mqueue1.c: Include <stdint.h>.
30552         (check_attrs): Replace %ld with %jd and cast to intmax_t.
30553         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
30554         intmax_t.
30555         * rt/tst-mqueue4.c (do_test): Likewise.
30556         * rt/tst-timer4.c: Include <stdint.h>.
30557         (check_ts): Replace %ld with %jd and cast to intmax_t.
30558         (do_test): Likewise.
30559         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
30560         and cast to intmax_t.
30561         * sysdeps/pthread/tst-timer.c (main): Likewise.
30562         * time/clocktest.c (main): Likewise.
30563         * time/tst-posixtz.c (do_test): Likewise.
30564         * timezone/tst-timezone.c (main): Likewise.
30566 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
30567             H.J. Lu  <hongjiu.lu@intel.com>
30569         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
30570         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
30571         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
30572         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
30573         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
30574         version if bit_Fast_Unaligned_Load is set.
30575         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30576         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30577         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30578         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30579         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30580         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30581         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30582         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
30583         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
30584         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
30585         to 4.
30586         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
30587         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
30588         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
30589         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
30591 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
30593         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
30594         instead of #if to avoid a Wundef warning.
30595         * stdlib/tst-limits.c (do_test): Likewise.
30597         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
30598         parallel other exception macros.
30599         (fegetenv): Convert from macro to extern inline so that it applies
30600         retroactively to inline functions already seen by the compiler.
30601         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
30603         * posix/Makefile (before-compile): Use $(objpfx) for
30604         posix-conf-vars-def.h.
30606 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30608         * posix/getconf.c (main): Use size_t for type of I.
30609         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
30610         NSPEC.
30612         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
30613         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
30614         * posix/posix-envs.def: Likewise.
30615         * sysdeps/posix/sysconf.c: Likewise.
30616         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
30617         (specs): Remove array.
30618         * scripts/gen-posix-conf-vars.awk: Support generation of specs
30619         array.
30621         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
30622         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
30623         (__sysconf): Use CONF_IS_* macros.
30625         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
30626         ($(objpfx)posix-conf-vars-def.h): New target.
30627         * posix/posix-conf-vars.list: New file.
30628         * posix/posix-conf-vars.h: New file.
30629         * posix/confstr.c: Include posix-conf-vars.h.
30630         (confstr): Use CONF_IS_* macros.
30631         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
30632         CONF_IS_* macros.
30633         * scripts/gen-posix-conf-vars.awk: New file.
30635 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
30637         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
30638         fegetround): Add no-op macros to avoid linknamespace issues.
30640         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
30641         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
30643         * sysdeps/unix/sysv/linux/tile/sysdep.h
30644         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
30645         assembly-specific section to avoid a redefinition warning.
30647         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
30648         long before casting to pointer to avoid a cast warning.
30650 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
30652         * sysdeps/tile/tilegx/Implies: New file.
30654 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
30656         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
30658 2014-12-23  Florian Weimer  <fweimer@redhat.com>
30660         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
30662 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
30664         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
30665         not define.
30666         * sysdeps/unix/sysv/linux/utimes.c: Do not include
30667         <kernel-features.h>.
30668         (__utimes) [__NR_utimes]: Make code unconditional.
30669         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
30670         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30671         (__ASSUME_UTIMES): Do not undefine.
30672         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30673         (__ASSUME_UTIMES): Likewise.
30674         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30675         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
30676         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
30677         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
30679 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
30681         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
30683 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
30685         [BZ #17747]
30686         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
30687         alias to weak alias for j0l, y0l.
30688         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
30689         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
30691         [BZ #17746]
30692         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
30693         conversion.
30695 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
30697         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
30698         to zero if not already defined.
30700 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
30702         [BZ #17724]
30703         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
30704         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
30705         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
30706         (char *) casts added.
30707         * sysdeps/ieee754/k_standardf.c: New file.
30708         * sysdeps/ieee754/k_standardl.c: Likewise.
30709         * math/Makefile (libm-support): Remove k_standard.
30710         (libm-calls): Add k_standard.
30712 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
30714         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
30715         Optimize to avoid an unnecessary FPCR read.
30717 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
30719         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
30720         Optimize to reduce FPCR/FPSR accesses.
30722 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
30724         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
30725         Call libc_fetestexcept_aarch64.
30727 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
30729         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
30730         Call libc_fesetround_aarch64.
30732 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
30734         [BZ #17733]
30735         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
30736         (__bind): Do not define as weak alias.
30737         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
30738         define.
30739         (__getsockname): Do not define as weak alias.
30741 2014-12-22  Will Newton  <will.newton@linaro.org>
30743         * manual/install.texi: Document that we require bison 2.7
30744         or above.
30745         * INSTALL: Regenerate.
30746         * configure.ac: Use AC_CHECK_PROG_VER instead of
30747         AC_PATH_PROG when checking for bison and check for
30748         version 2.7 or above.
30749         * configure: Regenerate.
30751 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
30753         [BZ #17745]
30754         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
30755         * sysdeps/tile/ffsll.c (ffsll): To here.
30757         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
30759 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
30761         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
30762         if not defined.
30763         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
30764         definition.
30765         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
30766         hidden ___tls_get_addr.
30767         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
30768         hidden __tls_get_addr.
30769         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
30770         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
30771         Likewise.
30773 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
30775         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
30776         _dl_init call.
30778 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
30780         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
30781         from "call _dl_init@PLT".
30782         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
30784 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
30786         * manual/search.texi: (Array Sort Function): Clarify stable sorting
30787         guarantees.
30789 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
30791         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
30793 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
30795         [BZ #17744]
30796         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
30797         strnlen.
30799 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
30801         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
30802         of multu on MIPSr6.
30803         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
30804         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
30805         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
30806         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
30807         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
30809 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
30811         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
30812         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
30813         (PTR_SUBU): Use subu for mips32r6/mips64r6.
30814         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
30815         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
30816         mips32r6/mips64r6.
30817         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
30819 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
30821         * string/strncat.c (STRNCAT): Simplify implementation.
30823 2014-12-19  David S. Miller  <davem@davemloft.net>
30825         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
30826         access the quad as both a long double and as a series of 4 words.
30828         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
30829         link_map->l_info array access.
30831 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
30833         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
30835         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
30836         * math/atest-exp2.c (TIMEOUT): Likewise.
30837         * math/atest-sincos.c (TIMEOUT): Likewise.
30839 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
30841         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
30842         -Wno-error with -fno-builtin-lround.
30844 2014-12-19  Torvald Riegel  <triegel@redhat.com>
30846         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
30847         Contains futex constants and functions moved over from ...
30848         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
30849         <lowlevellock-futex.h>.
30850         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
30851         (lll_timedwait_tid): Add comments and parentheses around macro
30852         arguments.
30854 2014-12-19  Torvald Riegel  <triegel@redhat.com>
30856         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
30857         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
30858         (__lll_private_flag): Remove.
30859         (lll_futex_wait): Likewise.
30860         (lll_futex_timed_wait): Likewise.
30861         (lll_futex_wake): Likewise.
30862         (lll_futex_requeue): Likewise.
30863         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
30864         (__lll_timedwait_tid): Spell out argument names.
30865         (lll_timedwait_tid): Add comments and parentheses around macro
30866         arguments.
30867         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
30868         LLL_SHARED and LLL_PRIVATE usable from assembly code.
30870 2014-12-19  Torvald Riegel  <triegel@redhat.com>
30872         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
30873         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
30874         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30875         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
30876         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
30877         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
30878         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
30879         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
30880         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
30881         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
30882         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
30883         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
30884         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
30885         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
30886         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
30887         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
30888         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
30889         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
30890         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
30892 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
30894         * sysdeps/x86_64/x32/Makefile: New file.
30896 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
30898         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
30899         1L with (mp_limb_t) 1.
30901 2014-12-17  Roland McGrath  <roland@hack.frob.com>
30903         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
30904         * nptl/libc_pthread_init.c: ... here.
30905         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
30906         * nptl/register-atfork.c: ... here.
30908         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
30909         Use pthread_sigmask rather than INTERNAL_SYSCALL.
30910         Use assert_perror to check its return value.
30911         (__gai_create_helper_thread): Likewise.
30913         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
30915         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
30917 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
30919         [BZ #17725]
30920         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
30921         __profil_counter.
30922         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
30923         Likewise.
30924         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
30925         Likewise.
30926         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
30927         Likewise.
30928         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
30929         (profil_counter): Likewise.
30930         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
30931         (profil_counter): Likewise.
30932         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
30933         Likewise.
30934         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
30935         Likewise.
30936         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
30937         (profil_counter): Likewise.
30938         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
30939         Likewise.
30940         [!__profil_counter] (profil_counter): Define as weak alias of
30941         __profil_counter.
30942         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
30943         (profil_counter): Rename to __profil_counter.
30944         [!__profil_counter] (profil_counter): Define as weak alias of
30945         __profil_counter.
30946         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
30947         (profil_counter): Rename to __profil_counter.
30948         [!__profil_counter] (profil_counter): Define as weak alias of
30949         __profil_counter.
30950         * sysdeps/posix/profil.c: Update comment referring to
30951         profil_counter.
30952         (__profil): Use __profil_counter instead of profil_counter.
30953         * sysdeps/posix/sprofil.c (profil_counter): Rename to
30954         __profil_counter.  Use __profil_counter_ushort and
30955         __profil_counter_uint in definitions.
30956         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
30957         instead of profil_counter_uint and profil_counter_ushort.
30959         [BZ #17722]
30960         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
30961         define as weak alias of __inet_makeaddr.
30962         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
30963         as weak alias of __inet_addr.
30964         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
30965         as weak alias of __inet_pton.  Use libc_hidden_weak.
30966         * include/arpa/inet.h (__inet_pton): Declare.  Use
30967         libc_hidden_proto.
30968         (inet_makeaddr): Don't use libc_hidden_proto.
30969         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
30970         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
30971         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
30972         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
30973         Remove variable.
30974         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
30975         (test-xfail-POSIX/time.h/linknamespace): Likewise.
30977 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
30979         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
30981 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
30983         * stdio-common/bug-vfprintf-nargs.c (do_test):
30984         Cast value to intptr_t to avoid format warning
30985         for usage with PRIdPTR printing macro.
30987 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
30989         * libio/tst-widetext.c (do_test):
30990         Use format type %td instead of %Zd for ptrdiff_t
30991         in order to avoid format warning.
30993 2014-12-17  Andreas Schwab  <schwab@suse.de>
30995         * nscd/mem.c (gc): Add size_t cast to match printf format.
30997 2014-12-16  Roland McGrath  <roland@hack.frob.com>
30999         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
31000         (init): Apply PTR_MANGLE to pointers before storing them.
31001         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
31002         before using them.
31004 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
31006         [BZ #17719]
31007         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
31008         define as weak alias of __memrchr.
31009         (__memrchr): Do not define as strong alias of memrchr.
31010         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
31011         Remove variable.
31012         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
31013         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
31014         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
31016         [BZ #17717]
31017         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
31018         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
31019         (if_indextoname): Rename to __if_indextoname and define as weak
31020         alias of __if_indextoname.  Use libc_hidden_weak.
31021         (if_freenameindex): Rename to __if_freenameindex and define as
31022         weak alias of __if_freenameindex.
31023         (if_nameindex): Rename to __if_nameindex and define as weak alias
31024         of __if_nameindex.
31025         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
31026         __if_nametoindex and define as weak alias of __if_nametoindex.
31027         Use libc_hidden_weak.
31028         (if_freenameindex): Rename to __if_freenameindex and define as
31029         weak alias of __if_freenameindex.
31030         (if_nameindex): Rename to __if_nameindex and define as weak alias
31031         of __if_nameindex.
31032         (if_indextoname): Rename to __if_indextoname and define as weak
31033         alias of __if_indextoname.  Use libc_hidden_weak.
31034         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
31035         __if_nametoindex and define as weak alias of __if_nametoindex.
31036         Use libc_hidden_weak.
31037         (if_freenameindex): Rename to __if_freenameindex and define as
31038         weak alias of __if_freenameindex.  Use libc_hidden_weak.
31039         (if_nameindex_netlink): Use __if_freenameindex instead of
31040         if_freenameindex.
31041         (if_nameindex): Rename to __if_nameindex and define as weak alias
31042         of __if_nameindex.  Use libc_hidden_weak.
31043         (if_indextoname): Rename to __if_indextoname and define as weak
31044         alias of __if_indextoname.  Use libc_hidden_weak.
31045         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
31046         libc_hidden_proto.
31047         [!_ISOMAC] (__if_freenameindex): Likewise.
31048         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
31049         if_nametoindex.
31050         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
31051         variable.
31052         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
31053         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
31054         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
31055         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
31056         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31057         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31058         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31060         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
31061         Remove variable.
31062         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31063         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31065 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31067         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
31068         subscript above bounds'
31070         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
31071         bounds.
31073 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
31075         * libio/tst-fopenloc.c: Use test-skeleton.c.
31077         * stdlib/tst-bsearch.c: Use test-skeleton.c.
31078         (entry): Rename to ITEM.
31079         (do_test, comp): Adjust.
31081         * stdio-common/tst-fseek.c: Use test-skeleton.c.
31083 2014-12-16  Torvald Riegel  <triegel@redhat.com>
31085         * string/tester.c: Include <libc-internal.h>.
31086         (test_memset): Ignore -Wmemset-transposed-args.
31088 2014-12-16  Torvald Riegel  <triegel@redhat.com>
31090         * misc/tst-mntent2.c (do_test): Fix warning.
31092 2014-12-16  Torvald Riegel  <triegel@redhat.com>
31094         * elf/tst-unique4lib.cc(a): Mark as used.
31096 2014-12-16  Florian Weimer  <fweimer@redhat.com>
31098         [BZ #17630]
31099         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
31100         names.
31102 2014-12-16  Allan McRae  <allan@archlinux.org>
31104         * stdio-common/Makefile (tests): Re-add bug26.
31106 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
31108         [BZ #17657]
31109         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
31110         static array.
31112 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
31114         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
31115         (__lll_lock_wait): Likewise.
31116         (__lll_timedlock_wait): Likewise.
31117         (__lll_timedwait_tid): Likewise.
31118         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
31119         (__lll_robust_timedlock_wait): Likewise.
31120         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
31121         (lll_cond_trylock): Likewise.
31122         (__lll_lock): Likewise.
31123         (__lll_robust_lock): Likewise.
31124         (__lll_cond_lock): Likewise.
31125         (lll_robust_cond_lock): Likewise.
31126         (__lll_timedlock): Likewise.
31127         (__lll_robust_timedlock): Likewise.
31128         (__lll_unlock): Likewise.
31129         (__lll_robust_unlock): Likewise.
31130         (lll_wait_tid): Likewise.
31131         (lll_timedwait_tid): Likewise.
31133 2014-12-15  Torvald Riegel  <triegel@redhat.com>
31135         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
31137 2014-12-15  Torvald Riegel  <triegel@redhat.com>
31139         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
31141 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
31143         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
31144         * stdio-common/tst-sprintf.c: Likewise.
31146 2014-12-15  Torvald Riegel  <triegel@redhat.com>
31148         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
31150 2014-12-15  Jeff Law  <law@redhat.com>
31152         [BZ #16617]
31153         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
31154         on the heap.  (CVE-2012-3406)
31155         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
31156         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
31157         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
31159 2014-12-15  Will Newton  <will.newton@linaro.org>
31161         * manual/install.texi: Bump required version of texinfo
31162         to 4.7 from 4.5.
31163         * INSTALL: Regenerated.
31164         * configure.ac: Check for makeinfo version 4.7 and above.
31165         * configure: Regenerated.
31167 2014-12-12  Roland McGrath  <roland@hack.frob.com>
31169         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
31170         PREFIX, string constant to insert between directory and name.
31171         * sysdeps/posix/shm_open.c: Update caller.
31172         * sysdeps/posix/shm_unlink.c: Likewise.
31173         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
31174         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
31175         (SEM_SHM_PREFIX): New macro.
31176         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
31177         [$(have-thread-library) = no].
31178         * nptl/Makefile (libpthread-routines): Add shm-directory.
31179         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
31180         * sysdeps/nptl/shm-directory.h: New file.
31181         * sysdeps/posix/shm-directory.c
31182         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
31183         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31184         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
31185         INTERNAL_SYSCALL.
31186         (__where_is_shmfs): Function removed.
31187         (mountpoint, defaultmount, defaultdir, __namedsem_once):
31188         Variables removed.
31189         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
31190         Use SHM_GET_NAME.
31191         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
31193         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
31194         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
31195         unconditional for use inside libpthread.
31196         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
31198 2014-12-12  Roland McGrath  <roland@hack.frob.com>
31200         * nptl/pthread_getaffinity.c: New file.
31201         * nptl/pthread_setaffinity.c: New file.
31202         * nptl/pthread_getname.c: New file.
31203         * nptl/pthread_setname.c: New file.
31205         * nptl/pthread_create.c (START_THREAD_DEFN)
31206         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
31208 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31209             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31211         * resolv/res_send.c (send_vc): Disable warning resplen may
31212         be used uninitialized.
31214 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31216         * nptl/tst-mutex6.c
31217         (ATTR_NULL): New define checks ATTR against NULL.
31218         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
31219         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
31221 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
31223         [BZ #17581]
31224         * malloc/hooks.c
31225         (mem2mem_check): Revert my previous change.
31226         (malloc_check_get_size): Revert my previous change.
31227         (mem2chunk_check): Revert my previous change.
31229 2014-12-11  Roland McGrath  <roland@hack.frob.com>
31231         * sysdeps/posix/shm-directory.c: New file.
31232         * sysdeps/posix/shm-directory.h: New file.
31233         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
31234         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
31235         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
31236         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
31237         Transmute EPERM to EACCES.
31238         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
31239         from ...
31240         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
31241         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
31243 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31245         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
31246         pointer and cast to uintptr_t.
31247         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
31248         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
31249         Add cast to avoid warning.
31250         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
31252 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
31254         * nptl/semaphore.h: Move to ...
31255         * sysdeps/pthread/semaphore.h: ... here.
31256         * Makefile (installed-headers): Change nptl/semaphore.h to
31257         sysdeps/pthread/semaphore.h.
31259 2014-12-11  Roland McGrath  <roland@hack.frob.com>
31261         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
31262         generated error format strings.
31264         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
31265         -Wformat-extra-args warnings for scanf formats.
31266         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
31267         test of zero-length format (duh).
31268         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
31269         corner-case scanf format test.
31270         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
31271         generated fprintf format string.
31272         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
31273         corner-case sprintf format tests.
31274         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
31275         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
31276         -Wformat-extra-args warnings throughout.
31277         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
31278         (CFLAGS-scanf4.c): Likewise.
31279         (CFLAGS-scanf7.c): Likewise.
31280         (CFLAGS-tst-sprintf.c): Likewise.
31281         (CFLAGS-tst-printf.c): Likewise.
31282         (CFLAGS-tst-printfsz.c): Likewise.
31284 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
31286         * include/cpio.h: New file.
31287         * include/fmtmsg.h: Likewise.
31289         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
31290         corresponding format argument to size_t.
31291         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
31292         arguments.
31293         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
31294         corresponding format argument to size_t.
31295         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
31296         arguments.
31297         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
31298         corresponding format argument to size_t.
31299         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
31300         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
31301         (CFLAGS-tst-mbswcs2.c): Likewise.
31302         (CFLAGS-tst-mbswcs3.c): Likewise.
31303         (CFLAGS-tst-mbswcs4.c): Likewise.
31304         (CFLAGS-tst-mbswcs5.c): Likewise.
31305         (CFLAGS-tst-trans.c): Likewise.
31307 2014-12-11  Roland McGrath  <roland@hack.frob.com>
31309         * posix/regexbug1.c (main): Use "%s" format with regerror results,
31310         rather than assuming they won't contain any '%'s.
31312 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
31314         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
31315         inhibit_loop_to_libcall to avoid recursive calls.
31316         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
31317         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
31319 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
31321         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
31322         prototype.
31324 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
31326         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
31327         integer value instead of boolean.
31329 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
31331         * malloc/malloc.c: Fix powerof2 check.
31333 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31335         * locale/programs/locfile.h (maybe_swap_uint32):
31336         Remove inline and add unused attribute.
31338 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31340         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
31341         Truncating assembler expression to a .long expression.
31343 2014-12-11  Andreas Schwab  <schwab@suse.de>
31345         * elf/rtld.c (struct map_args): Constify str member.
31346         (do_preload): Constify fname argument.
31348 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31350         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
31351         constants definition.
31353 2014-12-11  Andreas Schwab  <schwab@suse.de>
31355         [BZ #16657]
31356         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
31357         FORCE_ELISION instead of DO_ELISION.
31358         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
31359         Remove.
31360         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
31361         Likewise.
31363         * iconvdata/gconv-modules: Remove duplicate entry.
31365 2014-12-11  Will Newton  <will.newton@linaro.org>
31367         Merge gettext 0.19.3 into intl/.
31369         This involves a number of cosmetic changes to comments
31370         and ANSI function definitions and prototypes throughout
31371         all the files. The gettext copyright header is used but
31372         with the date ranges taken from the glibc copy.
31374         * NEWS: Add gettext merge to 2.21.
31375         * intl/bindtextdom.c: Switch to gettext copyright.
31376         Use ANSI definitions and prototypes.
31377         Use gl_* locking primitives rather than __libc_* ones.
31378         Use __builtin_expect rather than __glibc_likely/unlikely.
31379         * intl/dcgettext.c: Switch to gettext copyright.
31380         Use ANSI definitions and prototypes.
31381         * intl/dcigettext.c: Switch to gettext copyright.
31382         Use ANSI definitions and prototypes.
31383         (INTDIV0_RAISES_SIGFPE): New define.
31384         Use gl_* locking primitives rather than __libc_* ones.
31385         Include eval-plural.h instead of plural-eval.c.
31386         Use __builtin_expect rather than __glibc_likely/unlikely.
31387         * intl/dcngettext.c: Switch to gettext copyright.
31388         Use ANSI definitions and prototypes.
31389         * intl/dgettext.c: Likewise.
31390         * intl/dngettext.c: Likewise.
31391         * intl/plural-eval.c: Renamed to...
31392         * intl/eval-plural.h: ...this.
31393         * intl/explodename.c: Switch to gettext copyright.
31394         Use ANSI definitions and prototypes.
31395         (_nl_explode_name): Use strchr instead of __rawmemchr.
31396         * intl/finddomain.c: Switch to gettext copyright.
31397         Use ANSI definitions and prototypes.
31398         Use gl_* locking primitives rather than __libc_* ones.
31399         (_nl_find_domain): Use malloc rather than alloca for
31400         allocation of temporary locale name.
31401         * intl/gettext.c: Switch to gettext copyright.
31402         Use ANSI definitions and prototypes.
31403         * intl/gettextP.h: Switch to gettext copyright.
31404         Use ANSI definitions and prototypes.
31405         Use gl_* locking primitives rather than __libc_* ones.
31406         * intl/gmo.h: Switch to gettext copyright.
31407         (struct sysdep_string): Move struct segment_pair outside of
31408         struct definition.
31409         * intl/hash-string.c: Use ANSI definitions and prototypes.
31410         * intl/hash-string.h: Switch to gettext copyright.
31411         Use ANSI definitions and prototypes.
31412         * intl/l10nflist.c: Switch to gettext copyright.
31413         Use ANSI definitions and prototypes.
31414         (_nl_normalize_codeset): Avoid integer overflow.
31415         * intl/loadinfo.h: Switch to gettext copyright.
31416         Use ANSI definitions and prototypes.
31417         (LIBINTL_DLL_EXPORTED): New define.
31418         (PATH_SEPARATOR): New define.
31419         * intl/loadmsgcat.c: Switch to gettext copyright.
31420         * intl/localealias.c: Switch to gettext copyright.
31421         Use ANSI definitions and prototypes.
31422         (_nl_expand_alias): Use PATH_SEPARATOR.
31423         * intl/ngettext.c: Switch to gettext copyright.
31424         Use ANSI definitions and prototypes.
31425         * intl/plural-exp.c: Likewise.
31426         * intl/plural-exp.h: Switch to gettext copyright.
31427         Use ANSI definitions and prototypes.
31428         (struct expression): Move definition of enum operator outside
31429         of struct definition.
31430         * intl/plural.c: Regenerate.
31431         * intl/plural.y: Switch to gettext copyright.
31432         Use ANSI definitions and prototypes.
31433         Port to bison 3.0.
31434         * intl/textdomain.c: Switch to gettext copyright.
31435         Use ANSI definitions and prototypes.
31436         Use gl_* locking primitives rather than __libc_* ones.
31438 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
31440         * debug/warning-nop.c: Add used atrribute.
31442 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
31444         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
31446         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
31447         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
31448         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
31450 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
31451             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31453         [BZ #17634]
31454         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
31455         Undefine after defining function.  Define as weak alias of
31456         __wcschr.  Use libc_hidden_weak.
31457         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
31458         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
31459         (libc_hidden_def): Also define __GI___wcschr alias.
31460         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
31461         __wcschr and define as weak alias of __wcschr.
31462         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
31463         __wcschr.
31464         [!WCSCHR] (DEFAULT_WCSCHR): Define.
31465         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
31466         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
31467         libc_hidden_weak.  Do not use libc_hidden_def.
31468         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
31469         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
31470         __GI___wcschr alias.
31471         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
31472         [IS_IN (libc)] (wcschr): Define as macro expanding to
31473         __redirect_wcschr.
31474         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
31475         [IS_IN (libc)] (__wcschr_power6): Likewise.
31476         [IS_IN (libc)] (__wcschr_power7): Likewise.
31477         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
31478         instead of wcschr.
31479         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
31480         __libc_wcschr.
31481         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
31482         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
31483         __wcschr and define as weak alias of __wcschr.  Use
31484         libc_hidden_builtin_def.
31485         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
31486         as weak alias of __wcschr.  Use libc_hidden_weak.
31487         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
31488         wcschr.
31489         * time/era.c (_nl_init_era_entries): Likewise.
31490         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
31491         variable.
31492         (test-xfail-XPG3/time.h/linknamespace): Likewise.
31493         (test-xfail-XPG4/time.h/linknamespace): Likewise.
31495 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
31497         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
31498         format for long int variable.
31500 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
31502         [BZ #10672]
31503         * manual/search.texi: (Array Sort Function): Remove claim how to make
31504         qsort stable.
31506 2014-12-10  Andreas Schwab  <schwab@suse.de>
31508         [BZ #12847]
31509         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
31510         user-controlled locks.
31512 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
31514         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
31515         register.
31517 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
31519         * configure.ac (--disable-werror): New configure option.
31520         (enable_werror): New AC_SUBST.
31521         * configure: Regenerated.
31522         * config.make.in (enable-werror): New variable.
31523         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
31524         -Wno-error=undef.
31525         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
31526         * manual/install.texi (Configuring and compiling): Document
31527         --disable-werror.
31528         * INSTALL: Regenerated.
31529         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
31530         (CFLAGS-tst-chk2.c): Likewise.
31531         (CFLAGS-tst-chk3.c): Likewise.
31532         (CFLAGS-tst-chk4.cc): Likewise.
31533         (CFLAGS-tst-chk5.cc): Likewise.
31534         (CFLAGS-tst-chk6.cc): Likewise.
31535         (CFLAGS-tst-lfschk1.c): Likewise.
31536         (CFLAGS-tst-lfschk2.c): Likewise.
31537         (CFLAGS-tst-lfschk3.c): Likewise.
31538         (CFLAGS-tst-lfschk4.cc): Likewise.
31539         (CFLAGS-tst-lfschk5.cc): Likewise.
31540         (CFLAGS-tst-lfschk6.cc): Likewise.
31542         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
31543         (main): Disable -Wdeprecated-declarations around calls to
31544         register_printf_function.
31546         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
31547         (do_test): Disable -Wdiv-by-zero around some calls to
31548         fwrite_unlocked and fread_unlocked.
31550         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
31551         (DIAG_POP_NEEDS_COMMENT): Likewise.
31552         (_DIAG_STR1): Likewise.
31553         (_DIAG_STR): Likewise.
31554         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
31555         * stdio-common/bug21.c: Include <libc-internal.h>.
31556         (do_test): Disable -Wformat around call to sscanf.
31557         * stdio-common/scanf14.c: Include <libc-internal.h>.
31558         (main): Disable -Wformat around some calls to scanf functions.
31560 2014-12-09  Torvald Riegel  <triegel@redhat.com>
31562         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
31564 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31566         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
31567         stack variable alignment.
31569 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
31571         [BZ #17682]
31572         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
31573         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
31574         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
31575         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
31576         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
31577         __getrlimit instead of getrlimit.
31578         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
31579         __gettimeofday instead of gettimeofday.
31580         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
31581         Likewise.
31582         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
31583         Likewise.
31584         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
31585         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
31586         Remove variable.
31587         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
31588         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
31590 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31592         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
31593         for wide-character tests.
31595 2014-12-04  Roland McGrath  <roland@hack.frob.com>
31597         * io/openat64.c: #include <libc-internal.h>
31598         (__openat64): Prototypify.  Use ignore_value on MODE.
31599         * io/openat.c: Likewise.
31600         * misc/reboot.c: #include <libc-internal.h>
31601         (reboot): Prototypify.  Use ignore_value on HOWTO.
31602         * misc/ptrace.c: #include <libc-internal.h>
31603         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
31605 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
31607         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
31608         XPG4, UNIX98 and XOPEN2K.
31609         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
31610         Remove variable.
31611         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
31613 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31615         * libio/fileops.c: Use ISO C style for function definitions.
31616         * libio/iofopen.c: Likewise.
31617         * libio/wfileops.c: Likewise.
31619         [BZ #17653]
31620         * libio/fileops.c (_IO_new_file_underflow): Unset cached
31621         offset on EOF.
31622         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
31623         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
31624         (fgets_func): Function pointer to fgets and fgetws.
31625         (do_ftell_test): Add test to verify ftell value after read
31626         EOF.
31627         (do_test): Set fgets_func.
31629         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
31630         O_TRUNC flag for w and w+ modes.
31631         (do_rewind_test): Likewise.
31632         (do_ftell_test): Likewise.
31633         (do_write_test): Likewise.
31635         [BZ #17647]
31636         * libio/fileops.c (do_ftell): Seek only when there are
31637         unflushed writes.
31638         * libio/wfileops.c (do_ftell_wide): Likewise.
31639         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
31640         test case.
31641         (do_one_test): Call it.
31643 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
31645         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
31646         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
31647         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
31648         Remove variable.
31649         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
31650         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
31651         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
31653 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
31655         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
31656         Remove variable.
31657         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
31659         [BZ #17668]
31660         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
31661         as weak alias of __getifaddrs.  Use libc_hidden_weak.
31662         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
31663         __freeifaddrs.  Use libc_hidden_weak.
31664         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
31665         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
31666         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
31667         __freeifaddrs.  Use libc_hidden_weak.
31668         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
31669         __getifaddrs and define as weak alias of __getifaddrs.  Use
31670         libc_hidden_weak.
31671         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
31672         __freeifaddrs.  Use libc_hidden_weak.
31673         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
31674         Remove variable.
31675         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
31676         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
31678 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
31680         [BZ #17601]
31681         * sysdeps/mips/start.S (__start): Use indirect jump to call
31682         __libc_start_main.
31684 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
31686         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
31688         * nptl/tst-mutex1.c: Include <stdbool.h>.
31689         [!ATTR] (ATTR_NULL): New macro.
31690         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
31691         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
31692         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
31694         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
31695         to char *.
31697         [BZ #17665]
31698         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
31699         Change conditional to [__USE_MISC].
31701         [BZ #17664]
31702         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
31703         fgets_unlocked.
31704         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
31705         __fgets_unlocked.
31706         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
31707         fgets_unlocked.
31708         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
31709         Remove variable.
31710         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
31711         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
31712         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
31713         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
31714         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
31715         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
31716         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
31717         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
31718         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
31720         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
31722 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31724         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31725         Remove strpbrk objects.
31726         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31727         (__libc_ifunc_impl_list): Remove strpbrk implementation.
31728         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
31729         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
31730         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
31731         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
31733         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31734         Remove strcspn objects.
31735         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31736         (__libc_ifunc_impl_list): Remove strcspn implementation.
31737         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
31738         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
31739         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
31740         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
31742         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31743         Remove strspn objetcs.
31744         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31745         (__libc_ifunc_impl_list): Remove strspn implementation.
31746         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
31747         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
31748         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
31749         * sysdeps/powerpc/powerpc64/strspn.S: New file.
31751 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
31753         [BZ #17581]
31754         * malloc/hooks.c
31755         (mem2mem_check): Add a terminator to the chain of checking blocks.
31756         (malloc_check_get_size): Use it here.
31757         (mem2chunk_check): Ditto.
31759 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31761         * sysdeps/powerpc/powerpc64/strtok.S: New file.
31762         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
31764 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
31766         * bits/ioctl-types.h: Indent preprocessor directives correctly.
31768         * nptl/nptl-init.c: Include libc-internal.h.
31769         (__pthread_initialize_minimal_internal): Use ROUND_UP.
31771         * elf/ldconfig.c (search_dir): Expand comment.
31773 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
31775         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
31776         variable.
31777         (linknamespace-symlist-stdlibs-tests): Likewise.
31778         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
31779         instead of $(objpfx)symlist-stdlibs.
31780         (linknamespace-libs-isoc): New variable.
31781         (linknamespace-libs): Use $(linknamespace-libs-isoc).
31782         (linknamespace-libs-ISO): New variable.
31783         (linknamespace-libs-ISO99): Likewise.
31784         (linknamespace-libs-ISO11): Likewise.
31785         (linknamespace-libs-XPG3): Likewise.
31786         (linknamespace-libs-XPG4): Likewise.
31787         (linknamespace-libs-POSIX): Likewise.
31788         (linknamespace-libs-UNIX98): Likewise.
31789         (linknamespace-libs-XOPEN2K): Likewise.
31790         (linknamespace-libs-POSIX2008): Likewise.
31791         (linknamespace-libs-XOPEN2K8): Likewise.
31792         ($(objpfx)symlist-stdlibs): Replace by
31793         $(linknamespace-symlist-stdlibs-tests).  Use
31794         $(linknamespace-libs-$*) as set of libraries.
31795         ($(linknamespace-header-tests)): Update dependencies.  Use
31796         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
31797         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
31798         * conform/linknamespace.pl: Remove comment about considering
31799         definitions of symbols from irrelevant libraries.
31801 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
31803         [BZ #13862]
31804         * elf/dl-tls.c: Include <atomic.h>.
31805         (oom): Remove #ifdef SHARED/#endif.
31806         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
31807         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
31808         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
31809         big enough.
31810         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
31811         * nptl/Makefile (tests): Add tst-stack4.
31812         (modules-names): Add tst-stack4mod.
31813         ($(objpfx)tst-stack4): New.
31814         (tst-stack4mod.sos): Likewise.
31815         ($(objpfx)tst-stack4.out): Likewise.
31816         ($(tst-stack4mod.sos)): Likewise.
31817         (clean): Likewise.
31818         * nptl/tst-stack4.c: New file.
31819         * nptl/tst-stack4mod.c: Likewise.
31821 2014-11-27  J. Brown  <jb999@gmx.de>
31823         * sysdeps/x86/bits/string.h: Add recent CPUs.
31825 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
31827         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
31828         sigblock.
31830         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
31831         feof.
31833         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
31834         variable.
31836 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
31838         * nscd/connections.c: Include libc-internal.h because of macro
31839         usage ignore_value.
31841 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31843         * string/bits/string3.h (__warn_memset_zero_len): Don't
31844         declare for gcc newer than 5.0.
31845         (memset): Don't test for zero-length __LEN for gcc newer than
31846         5.0.
31848 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
31850         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
31851         size_t for %zu format.
31853         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
31854         difference, not %ju.
31856 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
31858         * include/libc-internal.h (ignore_value): New macro.
31859         * nscd/connections.c (restart): Wrap calls to setuid and setgid
31860         with ignore_value.
31862         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
31863         definition.
31865         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
31866         pthread_cleanup_push to void *.
31868         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
31869         Undefine.
31871         [BZ #16619]
31872         [BZ #16740]
31873         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
31874         instead of 1L << 52.
31876         * libio/bug-rewind.c (do_test): Check fwscanf return values.
31877         * libio/bug-rewind2.c (do_test): Likewise.
31879         * debug/test-stpcpy_chk-ifunc.c: Remove file.
31880         * debug/test-strcpy_chk-ifunc.c: Likewise.
31881         * wcsmbs/test-wcschr-ifunc.c: Likewise.
31882         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31883         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31884         * wcsmbs/test-wcslen-ifunc.c: Likewise.
31885         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31886         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31887         * Rules [$(multi-arch) = no] (tests): Do not filter out
31888         $(tests-ifunc).
31889         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
31890         * debug/Makefile (tests-ifunc): Remove variable.
31891         (tests): Do not add $(tests-ifunc).
31892         * wcsmbs/Makefile (tests-ifunc): Remove variable.
31893         (tests): Do not add $(tests-ifunc).
31894         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
31895         [TEST_IFUNC]: Remove conditionals.
31896         * string/test-string.h (TEST_IFUNC): Remove macro.
31897         [TEST_IFUNC]: Remove conditionals.
31899         * string/test-strchr.c [!WIDE] (L): New macro.
31900         [WIDE] (L): Likewise.
31901         (check1): Use CHAR instead of char.  Use L on string and character
31902         constants.
31904 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
31906         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
31907         tests.
31908         * sysdeps/powerpc/bits/atomic.h
31909         (__arch_atomic_exchange_and_add_32_acq): Add definition.
31910         (__arch_atomic_exchange_and_add_32_rel): Likewise.
31911         (atomic_exchange_and_add_acq): Likewise.
31912         (atomic_exchange_and_add_rel): Likewise.
31913         * sysdeps/powerpc/powerpc32/bits/atomic.h
31914         (__arch_atomic_exchange_and_add_64_acq): Add definition.
31915         (__arch_atomic_exchange_and_add_64_rel): Likewise.
31916         * sysdeps/powerpc/powerpc64/bits/atomic.h
31917         (__arch_atomic_exchange_and_add_64_acq): Add definition.
31918         (__arch_atomic_exchange_and_add_64_rel): Likewise.
31920 2014-11-26  Torvald Riegel  <triegel@redhat.com>
31922         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
31923         Change synchronization of __sched_fifo_min_prio and
31924         __sched_fifo_max_prio.
31925         * nptl/pthread_mutexattr_getprioceiling.c
31926         (pthread_mutexattr_getprioceiling): Likewise.
31927         * nptl/pthread_mutexattr_setprioceiling.c
31928         (pthread_mutexattr_setprioceiling): Likewise.
31929         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
31930         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
31931         Likewise.
31933 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
31935         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
31936         void.
31938 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
31940         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
31941         third argument const.
31943 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
31945         fnmatch: work around GCC compiler warning bug with uninit var
31946         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
31947         This works around a bug with x86-64 GCC 4.9.2 and earlier
31948         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
31949         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
31950         used uninitialized in this function [-Wmaybe-uninitialized]".
31952 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
31954         * posix/bug-regex31.c (main): Return RES not 0.
31956 2014-11-25  Anton Blanchard <anton@samba.org>
31958         * sysdeps/powerpc/bits/atomic.h
31959         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
31961 2014-11-24  Sterling Augustine  <saugustine@google.com>
31963         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
31965 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
31967         [BZ #17608]
31968         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
31970 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
31972         [BZ #17633]
31973         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
31974         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
31975         variable.
31976         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
31977         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
31979 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
31981         * string/strncpy.c (strncpy): Improve performance by using memset.
31983 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
31985         * string/strcpy.c (strcpy):
31986         Improve performance by using strlen and memcpy.
31988 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
31990         * string/strcoll_l.c (get_next_seq): __always_inline.
31991         * string/strcoll_l.c (do_compare): __always_inline.
31993 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31995         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
31996         defined.
31997         * include/mqueue.h: Likewise.
31998         * include/stdlib.h: Likewise.
32000         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
32001         (get_null_defines): Adjust.
32002         * sunrpc/Makefile: Adjust comment.
32003         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
32004         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
32005         (CFLAGS-interp.c): Likewise.
32006         (CFLAGS-ldconfig.c): Likewise.
32007         (CPPFLAGS-.os): Likewise.
32008         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32009         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
32010         * extra-modules.mk (extra-modules.mk): Likewise.
32011         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
32012         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
32013         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
32014         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
32015         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
32016         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
32017         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
32018         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
32019         * iconvdata/Makefile (CPPFLAGS): Likewise.
32020         (cpp-srcs-left): Add libof for all iconvdata routines.
32021         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
32022         * include/assert.h: Likewise.
32023         * include/ctype.h: Likewise.
32024         * include/errno.h: Likewise.
32025         * include/libc-symbols.h: Likewise.
32026         * include/math.h: Likewise.
32027         * include/netdb.h: Likewise.
32028         * include/resolv.h: Likewise.
32029         * include/stdio.h: Likewise.
32030         * include/stdlib.h: Likewise.
32031         * include/string.h: Likewise.
32032         * include/sys/stat.h: Likewise.
32033         * include/wctype.h: Likewise.
32034         * intl/l10nflist.c: Likewise.
32035         * libidn/idn-stub.c: Likewise.
32036         * libio/libioP.h: Likewise.
32037         * nptl/libc_multiple_threads.c: Likewise.
32038         * nptl/pthreadP.h: Likewise.
32039         * posix/regex_internal.h: Likewise.
32040         * resolv/res_hconf.c: Likewise.
32041         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
32042         * sysdeps/arm/memmove.S: Likewise.
32043         * sysdeps/arm/sysdep.h: Likewise.
32044         * sysdeps/generic/_itoa.h: Likewise.
32045         * sysdeps/generic/symbol-hacks.h: Likewise.
32046         * sysdeps/gnu/errlist.awk: Likewise.
32047         * sysdeps/gnu/errlist.c: Likewise.
32048         * sysdeps/i386/i586/memcpy.S: Likewise.
32049         * sysdeps/i386/i586/memset.S: Likewise.
32050         * sysdeps/i386/i686/memcpy.S: Likewise.
32051         * sysdeps/i386/i686/memmove.S: Likewise.
32052         * sysdeps/i386/i686/mempcpy.S: Likewise.
32053         * sysdeps/i386/i686/memset.S: Likewise.
32054         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32055         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32056         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
32057         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
32058         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32059         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32060         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
32061         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32062         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32063         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32064         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32065         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32066         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32067         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32068         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32069         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32070         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
32071         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
32072         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
32073         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32074         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32075         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32076         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32077         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32078         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32079         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32080         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
32081         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32082         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
32083         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32084         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32085         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32086         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32087         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32088         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32089         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32090         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32091         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32092         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32093         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32094         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32095         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32096         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32097         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32098         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32099         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32100         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
32101         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
32102         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32103         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32104         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32105         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
32106         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
32107         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32108         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32109         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
32110         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32111         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
32112         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
32113         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32114         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32115         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32116         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
32117         * sysdeps/nptl/bits/libc-lock.h: Likewise.
32118         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32119         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
32120         * sysdeps/posix/closedir.c: Likewise.
32121         * sysdeps/posix/opendir.c: Likewise.
32122         * sysdeps/posix/readdir.c: Likewise.
32123         * sysdeps/posix/rewinddir.c: Likewise.
32124         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
32125         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
32126         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32127         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32128         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32129         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
32130         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
32131         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
32132         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
32133         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
32134         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
32135         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
32136         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
32137         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
32138         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
32139         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
32140         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
32141         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
32142         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
32143         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
32144         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
32145         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
32146         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
32147         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
32148         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
32149         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
32150         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
32151         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
32152         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
32153         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
32154         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
32155         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
32156         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
32157         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
32158         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
32159         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
32160         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32161         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32162         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
32163         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
32164         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
32165         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
32166         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
32167         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
32168         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
32169         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
32170         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
32171         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
32172         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
32173         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
32174         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
32175         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
32176         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
32177         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
32178         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
32179         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
32180         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
32181         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
32182         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
32183         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
32184         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
32185         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
32186         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
32187         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
32188         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
32189         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
32190         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
32191         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
32192         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
32193         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
32194         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
32195         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
32196         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
32197         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
32198         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
32199         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
32200         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
32201         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
32202         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32203         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
32204         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
32205         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
32206         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
32207         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
32208         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
32209         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
32210         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
32211         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32212         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32213         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32214         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
32215         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
32216         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
32217         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32218         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32219         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
32220         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32221         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32222         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
32223         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
32224         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32225         * sysdeps/unix/alpha/sysdep.S: Likewise.
32226         * sysdeps/unix/alpha/sysdep.h: Likewise.
32227         * sysdeps/unix/make-syscalls.sh: Likewise.
32228         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32229         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32230         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32231         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
32232         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32233         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
32234         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
32235         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32236         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32237         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
32238         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32239         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32240         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32241         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32242         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32243         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32244         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32245         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
32246         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
32247         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32248         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
32249         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32250         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32251         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32252         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32253         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32254         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
32256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32257         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
32258         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32259         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32260         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32261         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32262         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32263         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32264         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32265         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32266         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32267         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
32268         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32269         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32270         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32271         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32272         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32273         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32274         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32275         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32276         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32277         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32278         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32279         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32280         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32281         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32282         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
32283         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32284         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32285         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32286         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
32287         * sysdeps/x86_64/memcpy.S: Likewise.
32288         * sysdeps/x86_64/memmove.c: Likewise.
32289         * sysdeps/x86_64/memset.S: Likewise.
32290         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
32291         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32292         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
32293         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
32294         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
32295         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32296         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32297         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32298         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32299         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32300         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32301         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32302         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
32303         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32304         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32305         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
32306         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
32307         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32308         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32309         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32310         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
32311         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32312         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32313         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32314         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32315         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32316         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32317         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
32318         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32319         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32320         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
32321         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32322         * sysdeps/x86_64/strcmp.S: Likewise.
32324         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
32326         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
32327         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
32328         * elf/rtld-Rules: Likewise.
32329         * elf/setup-vdso.h: Likewise.
32330         * include/assert.h: Likewise.
32331         * include/bits/stdlib-float.h: Likewise.
32332         * include/errno.h: Likewise.
32333         * include/sys/stat.h: Likewise.
32334         * include/unistd.h: Likewise.
32335         * sysdeps/aarch64/setjmp.S: Likewise.
32336         * sysdeps/alpha/setjmp.S: Likewise.
32337         * sysdeps/arm/__longjmp.S: Likewise.
32338         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
32339         * sysdeps/arm/setjmp.S: Likewise.
32340         * sysdeps/arm/sysdep.h: Likewise.
32341         * sysdeps/generic/_itoa.h: Likewise.
32342         * sysdeps/generic/dl-sysdep.h: Likewise.
32343         * sysdeps/generic/ldsodefs.h: Likewise.
32344         * sysdeps/i386/dl-tls.h: Likewise.
32345         * sysdeps/i386/setjmp.S: Likewise.
32346         * sysdeps/m68k/setjmp.c: Likewise.
32347         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
32348         * sysdeps/mach/hurd/opendir.c: Likewise.
32349         * sysdeps/posix/getcwd.c: Likewise.
32350         * sysdeps/posix/opendir.c: Likewise.
32351         * sysdeps/posix/profil.c: Likewise.
32352         * sysdeps/powerpc/dl-procinfo.h: Likewise.
32353         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32354         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32355         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
32356         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
32357         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
32358         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
32359         * sysdeps/s390/dl-tls.h: Likewise.
32360         * sysdeps/s390/s390-32/setjmp.S: Likewise.
32361         * sysdeps/s390/s390-64/setjmp.S: Likewise.
32362         * sysdeps/sh/sh3/setjmp.S: Likewise.
32363         * sysdeps/sh/sh4/setjmp.S: Likewise.
32364         * sysdeps/unix/alpha/sysdep.h: Likewise.
32365         * sysdeps/unix/arm/sysdep.S: Likewise.
32366         * sysdeps/unix/i386/sysdep.S: Likewise.
32367         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32368         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32369         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32370         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32371         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32372         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32373         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
32374         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32375         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
32376         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
32377         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
32378         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32379         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32382         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32383         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32384         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32385         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32386         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32387         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32388         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32389         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32390         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32391         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32392         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32393         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32394         * sysdeps/unix/x86_64/sysdep.S: Likewise.
32395         * sysdeps/x86_64/setjmp.S: Likewise.
32397         * include/math.h: Use IS_IN instead of IS_IN_libm.
32398         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
32399         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32400         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32401         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
32402         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32403         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32404         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32405         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32406         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32407         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
32408         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
32409         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
32410         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
32411         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
32412         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
32413         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
32414         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
32415         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
32416         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
32417         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
32418         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
32419         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
32420         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
32421         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
32422         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
32423         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
32424         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
32425         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
32426         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
32427         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
32428         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
32429         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
32430         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
32431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
32432         Likewise.
32433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
32434         Likewise.
32435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
32436         Likewise.
32437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
32438         Likewise.
32439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
32440         Likewise.
32441         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
32442         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
32443         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
32444         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32445         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32446         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
32448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
32449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
32450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
32451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
32452         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
32453         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
32454         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
32455         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
32456         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32457         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
32458         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
32459         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32460         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
32461         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
32462         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
32463         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
32464         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
32465         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
32466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32467         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
32469         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
32470         * nptl/pthreadP.h: Likewise.
32471         * nptl_db/structs.def: Likewise.
32472         * sysdeps/arm/sysdep.h: Likewise.
32473         * sysdeps/nptl/bits/libc-lock.h: Likewise.
32474         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32475         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
32476         * sysdeps/unix/alpha/sysdep.h: Likewise.
32477         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32478         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32479         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32480         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32481         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32482         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32483         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32484         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32485         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32486         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32487         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32488         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32489         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32490         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
32492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32493         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32494         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32495         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32496         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32497         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32498         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32499         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32500         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32501         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
32502         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32504         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
32505         * nptl/pthreadP.h: Likewise.
32506         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32507         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32508         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32509         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32510         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32511         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32512         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32513         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32514         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32515         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32516         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32517         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
32519         Likewise.
32520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
32521         Likewise.
32522         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32523         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32524         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32525         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32526         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32527         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32528         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32529         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32531         * dlfcn/dladdr.c: Use IS_IN.
32532         * dlfcn/dladdr1.c: Likewise.
32533         * dlfcn/dlclose.c: Likewise.
32534         * dlfcn/dlerror.c: Likewise.
32535         * dlfcn/dlinfo.c: Likewise.
32536         * dlfcn/dlmopen.c: Likewise.
32537         * dlfcn/dlopen.c: Likewise.
32538         * dlfcn/dlsym.c: Likewise.
32539         * dlfcn/dlvsym.c: Likewise.
32541         * include/ifaddrs.h: Use IS_IN.
32542         * inet/check_pf.c: Likewise.
32543         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32544         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
32546         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
32547         IS_IN_ldconfig.
32548         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
32549         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
32551         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
32552         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
32553         IS_IN (libc).
32555         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
32557         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
32558         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32559         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
32560         * include/libc-symbols.h (IS_IN_LIB): New macro.
32561         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
32562         * include/netdb.h: Likewise.
32563         * include/stap-probe.h: Remove all uses of IN_LIB.
32565         * Makeconfig (module-cppflags-real): Define MODULE_NAME
32566         instead of IN_MODULE.
32567         * include/libc-symbols.h (IN_MODULE): Define using
32568         MODULE_NAME.
32569         (PASTE_NAME, PASTE_NAME1): New macros.
32570         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
32571         of IN_LIB.
32572         (STAP_PROBE_ASM): Likewise.
32574 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32576         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
32577         __mach_init in dlopened libc.
32579 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
32581         * sysdeps/arm/preconfigure.ac: Delete EABI check.
32582         * sysdeps/arm/preconfigure: Regenerate.
32584 2014-11-21  Roland McGrath  <roland@hack.frob.com>
32586         * nptl/pthread_create.c (__pthread_create_2_1): Set
32587         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
32588         when copying values from IATTR into PD.
32590 2014-11-21  Will Newton  <will.newton@linaro.org>
32591             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
32593         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
32594         Refactor inline-asm.  Also add comment.
32596         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
32597         ElfW macro instead of hardcoded Elf64 types.
32598         (la_aarch64_gnu_pltenter): Likewise.
32599         * sysdeps/aarch64/dl-machine.h
32600         (elf_machine_runtime_setup): Use ElfW(Addr).
32602         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
32603         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
32604         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
32605         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
32606         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
32607         (R_AARCH64_TLS_DTPMOD64): Rename to ..
32608         (R_AARCH64_TLS_DTPMOD): This.
32609         (R_AARCH64_TLS_DTPREL64): Rename to ...
32610         (R_AARCH64_TLS_DTPREL): This.
32611         (R_AARCH64_TLS_TPREL64): Rename to ...
32612         (R_AARCH64_TLS_TPREL): This.
32613         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
32614         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
32615         R_AARCH64_TLS_TPREL64.
32616         (elf_machine_rela): Likewise.
32618 2014-11-21  Torvald Riegel  <triegel@redhat.com>
32620         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
32621         by setting it to 0.  64b atomics are not supported currently.
32623 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
32625         [BZ #16469]
32626         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
32627         search domain names.
32629 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
32631         [BZ #16469]
32632         * NEWS: Update.
32633         * resolv/res_query.c (__libc_res_nquerydomain): Retain
32634         trailing dot.
32635         * posix/tst-getaddrinfo5.c: New.
32636         * posix/Makefile (tests): Add it.
32638 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
32640         [BZ #14498]
32641         * NEWS: Fixed.
32642         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
32643         after parsing line but before break_if_match.
32644         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
32645         if there is a protocol mismatch.
32647 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
32649         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
32650         because the potential race is on the user-supplied stream.
32652 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
32654         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
32655         string literal if not passed a buffer.
32656         * manual/job.texi (ctermid): Update reasoning, note deviation
32657         from posix, suggest mtasurace when not passed a buffer, for
32658         future non-preliminary safety notes.
32660 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
32662         * manual/users.texi (cuserid): Fix MT-Safety note for the case
32663         of not passing it a buffer.
32664         Reported by Peng Haitao.
32666 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
32668         * manual/Makefile ($(objpfx)stamp-summary): Require
32669         check-safety.sh to pass.
32670         * manual/check-safety.sh: Wish for verification that every
32671         @deftypefn and @deftypefun is followed by a @safety remark.
32673 2014-11-20  Roland McGrath  <roland@hack.frob.com>
32675         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
32677         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
32678         PTHREAD_CANCEL_ASYNCHRONOUS.
32679         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
32680         send SIGCANCEL.
32682         * nptl/default-sched.h: New file.
32683         * sysdeps/unix/sysv/linux/default-sched.h: New file.
32684         * nptl/pthread_create.c: Include it.
32685         (__pthread_create_2_1): Use collect_default_sched instead of making
32686         Linux syscalls here directly.
32688 2014-11-20  Torvald Riegel  <triegel@redhat.com>
32690         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
32691         __pthread_once): Use C11 atomics.
32693 2014-11-20  Torvald Riegel  <triegel@redhat.com>
32695         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
32697 2014-11-20  Torvald Riegel  <triegel@redhat.com>
32699         * include/atomic.h (__atomic_link_error, __atomic_check_size,
32700         atomic_thread_fence_acquire, atomic_thread_fence_release,
32701         atomic_thread_fence_seq_cst, atomic_load_relaxed,
32702         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
32703         atomic_compare_exchange_weak_relaxed,
32704         atomic_compare_exchange_weak_acquire,
32705         atomic_compare_exchange_weak_release,
32706         atomic_exchange_acquire, atomic_exchange_release,
32707         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
32708         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
32709         atomic_fetch_and_acquire,
32710         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
32712 2014-11-20  Torvald Riegel  <triegel@redhat.com>
32714         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
32715         USE_ATOMIC_COMPILER_BUILTINS): Define.
32716         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
32717         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32718         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
32719         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32720         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
32721         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32722         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
32723         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32724         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
32725         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32726         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
32727         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32728         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
32729         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32730         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
32731         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32732         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
32733         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32734         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
32735         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32736         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
32737         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32738         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
32739         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32740         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
32741         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32742         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
32743         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32744         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
32745         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32746         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
32747         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32748         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
32749         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32750         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
32751         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32752         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
32753         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32754         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
32755         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32757 2014-11-19  Roland McGrath  <roland@hack.frob.com>
32759         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
32760         the sched_priority value here.  It was already checked when the user
32761         called pthread_attr_setschedparam.
32763         * nptl/tst-bad-schedattr.c: New file.
32764         * nptl/Makefile (tests): Add it.
32766 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
32767             Florian Weimer  <fweimer@redhat.com>
32768             Joseph Myers  <joseph@codesourcery.com>
32769             Adam Conrad  <adconrad@0c3.net>
32770             Andreas Schwab  <schwab@suse.de>
32771             Brooks  <bmoses@google.com>
32773         [BZ #17625]
32774         * wordexp-test.c (__dso_handle): Add prototype.
32775         (__register_atfork): Likewise.
32776         (__app_register_atfork): New function.
32777         (registered_forks): New global.
32778         (register_fork): New function.
32779         (test_case): Add 3 new tests for WRDE_CMDSUB.
32780         (main): Call __app_register_atfork.
32781         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
32782         fork count is non-zero fail the test.
32783         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
32784         is set.
32785         (parse_dollars): Remove check for WRDE_NOCMD.
32786         (parse_dquote): Likewise.
32788 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32790         * Makeconfig (built-modules): List non-library modules to be
32791         built.
32792         (module-cppflags): Include libc-modules.h for
32793         everything except shlib-versions.v.i.
32794         (CPPFLAGS): Use it.
32795         (before-compile): Add libc-modules.h.
32796         ($(common-objpfx)libc-modules.h,
32797         $(common-objpfx)libc-modules.stmp): New targets.
32798         (common-generated): Add libc-modules.h and libc-modules.stmp.
32799         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
32800         * include/libc-symbols.h: Don't include libc-modules.h.
32801         * include/libc-modules.h: Remove file.
32802         * scripts/gen-libc-modules.awk: New script to generate
32803         libc-modules.h.
32804         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
32805         Depend on libc-modules.stmp.
32807         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
32809         * Makeconfig (in-module): Get value of libof set for the
32810         translation unit.
32811         (CPPFLAGS): Use $(in-module).
32812         * Makerules: Don't suffix routine names for nonlib.
32813         * include/libc-modules.h: New file.
32814         * include/libc-symbols.h: Include libc-modules.h
32815         (IS_IN): New macro to replace IS_IN_* macros.
32816         * elf/Makefile: Set libof-* for each routine.
32817         * elf/rtld-Rules: Likewise.
32818         * extra-modules.mk: Likewise.
32819         * iconv/Makefile: Likewise.
32820         * iconvdata/Makefile: Likewise.
32821         * locale/Makefile: Likewise.
32822         * malloc/Makefile: Likewise.
32823         * nss/Makefile: Likewise.
32824         * sysdeps/gnu/Makefile: Likewise.
32825         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
32826         * sysdeps/unix/sysv/linux/Makefile: Likewise.
32827         * sysdeps/s390/s390-64/Makefile: Likewise.
32828         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
32829         CPPFLAGS for nscd instead of nonlib.
32831 2014-11-18  Roland McGrath  <roland@hack.frob.com>
32833         * nptl/createthread.c: New file.
32835         * nptl/createthread.c: Moved ...
32836         * sysdeps/unix/sysv/linux/createthread.c: ... here.
32838         * nptl/createthread.c: Add proper top-line comment.
32839         (do_clone): Folded into ...
32840         (create_thread): ... here.  Take new arguments STOPPED_START and
32841         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
32842         increment __nptl_threads, do event-reporting logic, do
32843         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
32844         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
32845         resource cleanup if sched_setaffinity or sched_setscheduler fails,
32846         just send SIGCANCEL.
32847         * nptl/pthread_create.c: Forward-declare create_thread before
32848         including createthread.c.
32849         (start_thread): Use new macro START_THREAD_DEFN to replace defining
32850         declaration, and new macro START_THREAD_SELF to replace argument.
32851         Remove return statement.
32852         (report_thread_creation): New function.
32853         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
32854         synchronization logic, and __nptl_nthreads increment here, around
32855         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
32856         PD->parent_cancelhandling here, before create_thread.  When
32857         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
32858         __deallocate_stack, and ENOMEM translation here.
32860 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
32862         [BZ #17616]
32863         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
32864         (mptwo): Rename to __mptwo.
32865         (__inv): Use __mptwo instead of mptwo.
32866         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
32867         (mptwo): Rename to __mptwo.
32868         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
32869         of mpone and __mptwo instead of mptwo.
32870         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
32871         instead of mpone.
32872         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32873         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
32874         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
32875         of mpone and __mptwo instead of mptwo.
32876         (__mpranred): Use __mpone instead of mpone.
32877         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
32878         variable.
32879         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
32880         (test-xfail-ISO99/math.h/linknamespace): Likewise.
32881         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
32882         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
32883         (test-xfail-ISO11/math.h/linknamespace): Likewise.
32884         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
32885         (test-xfail-XPG3/math.h/linknamespace): Likewise.
32886         (test-xfail-XPG4/math.h/linknamespace): Likewise.
32887         (test-xfail-POSIX/math.h/linknamespace): Likewise.
32888         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
32889         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
32890         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
32891         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
32892         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
32893         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
32894         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
32895         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
32896         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
32897         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
32899 2014-11-18  Tom de Vries  <tom@codesoucery.com>
32901         * manual/signal.texi (Primitives Interrupted by Signals): In section,
32902         replace BSD Handler xref with BSD Signal Handling.
32904 2014-11-17  Richard Henderson  <rth@redhat.com>
32906         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
32907         (_FP_PACK_RAW_2): Remove.
32908         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
32909         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
32910         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
32911         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
32912         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
32913         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
32914         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
32915         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
32916         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
32917         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
32918         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
32919         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
32920         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
32921         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
32922         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
32923         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
32925 2014-11-14  Roland McGrath  <roland@hack.frob.com>
32927         * signal/signal.h [__USE_MISC]
32928         (struct sigvec): Remove type.
32929         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
32930         (sigvec): Remove declaration.
32931         * sysdeps/posix/sigvec.c: Moved ...
32932         * signal/sigvec.c: ... here, replacing old file.
32933         (struct sigvec): New type, copied from old signal.h definition.
32934         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
32935         (__sigvec): Convert definition to prototype.
32936         (sigvec): Replace weak_alias with compat_symbol.
32937         * signal/Versions (libc: GLIBC_2.21): New version set.
32938         * include/signal.h: Remove __sigvec declaration.
32939         * sysdeps/unix/bsd/sigvec.c: Remove file.
32940         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
32941         * manual/signal.texi (BSD Handler): Remove subsection.
32942         Move siginterrupt up to ...
32943         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
32944         (Blocking in BSD): Fold subsection into its parent.
32945         * NEWS: Mention sigvec removal.
32947 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
32949         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
32950         (DLA_FMS): Make definition conditional only on [__FMA4__].
32951         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
32952         definition.
32954         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
32955         Make definition conditional only on [PROF].
32956         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
32957         definition.
32958         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
32959         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
32961         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
32962         !__GNUC__].
32963         * include/signal.h (__sigpause): Move declaration above call to
32964         libc_hidden_proto.
32965         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
32966         variable.
32967         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
32968         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
32970 2014-11-14  David S. Miller  <davem@davemloft.net>
32972         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
32973         Define before including <string/memcpy.c> and <string/mempcpy.c>.
32975 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
32977         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
32978         * configure: Regenerated.
32979         * manual/install.texi (Tools for Compilation): Document a
32980         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
32981         compiler verified to work.
32982         * INSTALL: Regenerated.
32984         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
32985         redeclare with asm name.
32986         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
32987         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
32988         including <string.h>.
32989         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32990         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
32991         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32992         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
32993         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32994         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
32995         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32997 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
32999         * stdlib/strtol.c (__strtol): Use prototype definition.
33001         [BZ #17594]
33002         * stdlib/strtol.c (SYM__): New macro.
33003         (SYM__1): Likewise.
33004         (__strtol): Likewise.
33005         (strtol): Rename to __strtol and define as weak alias of
33006         __strtol.  Use libc_hidden_weak.
33008 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33010         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
33011         Use numbered labels in inline assembly.
33013 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33015         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
33016         Add setjmp LIBC_PROBE.
33017         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
33018         Likewise.
33019         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
33020         Add longjmp, longjmp_target LIBC_PROBE.
33021         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
33022         Likewise.
33024 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33026         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33027         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
33028         to get rid of unused variable warning.
33030 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33032         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
33033         Check for unwind_backtrace ==  NULL only in SHARED case.
33034         (__backchain_backtrace): Compile only in SHARED case.
33035         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
33036         Likewise.
33037         (__backchain_backtrace): Declare as static.
33039 2014-11-12  Roland McGrath  <roland@hack.frob.com>
33041         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
33042         (__libc_multiple_threads_ptr): Variable moved ...
33043         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
33045 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
33047         * conform/GlibcConform.pm: New file.
33048         * conform/conformtest.pl: Use GlibcConform module.
33049         * conform/linknamespace.pl: New file.
33050         * conform/list-header-symbols.pl: Likewise.
33051         * conform/Makefile (linknamespace-symlists-base): New variable.
33052         (linknamespace-symlists-tests): Likewise.
33053         (linknamespace-header-base): Likewise.
33054         (linknamespace-header-tests): Likewise.
33055         (tests-special): Add new tests.
33056         ($(linknamespace-symlists-tests)): New rule.
33057         (linknamespace-libs): New variable.
33058         ($(objpfx)symlist-stdlibs): New rule.
33059         ($(linknamespace-header-tests)): Likewise.
33060         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
33061         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
33062         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
33063         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
33064         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
33065         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
33066         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
33067         (test-xfail-ISO/math.h/linknamespace): Likewise.
33068         (test-xfail-ISO/signal.h/linknamespace): Likewise.
33069         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
33070         (test-xfail-ISO/time.h/linknamespace): Likewise.
33071         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33072         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
33073         (test-xfail-ISO99/math.h/linknamespace): Likewise.
33074         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
33075         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
33076         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33077         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33078         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
33079         (test-xfail-ISO11/math.h/linknamespace): Likewise.
33080         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
33081         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
33082         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33083         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
33084         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
33085         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
33086         (test-xfail-XPG3/math.h/linknamespace): Likewise.
33087         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
33088         (test-xfail-XPG3/search.h/linknamespace): Likewise.
33089         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
33090         (test-xfail-XPG3/time.h/linknamespace): Likewise.
33091         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
33092         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
33093         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
33094         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
33095         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
33096         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
33097         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
33098         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
33099         (test-xfail-XPG4/math.h/linknamespace): Likewise.
33100         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
33101         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
33102         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
33103         (test-xfail-XPG4/search.h/linknamespace): Likewise.
33104         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
33105         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
33106         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
33107         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
33108         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
33109         (test-xfail-XPG4/time.h/linknamespace): Likewise.
33110         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
33111         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
33112         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
33113         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
33114         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
33115         (test-xfail-POSIX/math.h/linknamespace): Likewise.
33116         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
33117         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
33118         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
33119         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
33120         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
33121         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
33122         (test-xfail-POSIX/time.h/linknamespace): Likewise.
33123         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
33124         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
33125         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
33126         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
33127         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
33128         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
33129         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
33130         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
33131         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
33132         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33133         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
33134         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
33135         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
33136         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
33137         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
33138         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
33139         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
33140         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
33141         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
33142         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
33143         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
33144         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
33145         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
33146         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
33147         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
33148         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
33149         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
33150         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
33151         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33152         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
33153         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
33154         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
33155         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
33156         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
33157         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
33158         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33159         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
33160         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
33161         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
33162         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
33163         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
33164         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
33165         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
33166         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
33167         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
33168         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
33169         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
33170         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
33171         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
33172         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
33173         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
33174         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33175         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
33176         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
33177         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
33178         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
33179         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
33180         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
33181         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
33182         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
33183         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
33184         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
33185         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
33186         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
33187         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
33188         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
33189         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
33190         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
33191         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
33192         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
33193         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
33194         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
33195         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
33196         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
33197         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
33198         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
33199         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
33200         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
33201         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
33202         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
33203         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
33204         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
33205         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
33206         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
33207         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
33208         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
33209         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
33210         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
33211         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
33212         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
33213         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
33214         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
33215         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
33216         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
33217         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
33218         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
33219         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
33220         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
33222         [BZ #17589]
33223         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
33224         of fgets_unlocked.
33226         [BZ #17585]
33227         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
33228         (memmem): Rename to __memmem and define as weak alias of
33229         __memmem.  Use libc_hidden_weak.
33230         (__memmem): Use libc_hidden_def.
33231         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
33232         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
33233         memmem.
33235         [BZ #17582]
33236         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
33237         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
33238         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
33239         and define as weak alias of __fgets_unlocked.  Use
33240         libc_hidden_weak.
33241         (__fgets_unlocked): Use libc_hidden_def.
33242         * include/stdio.h (__fgets_unlocked): Declare.  Use
33243         libc_hidden_proto.
33244         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
33245         __fgets_unlocked instead of fgets_unlocked.
33246         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
33247         (GET_NPROCS_CONF_PARSER): Likewise.
33248         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
33249         (GET_NPROCS_CONF_PARSER): Likewise.
33251         [BZ #17574]
33252         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
33253         weak alias of __wmemset.  Use libc_hidden_weak.
33254         (__wmemset): Use libc_hidden_def.
33255         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
33256         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
33257         of wmemset.
33259         [BZ #17573]
33260         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
33261         with asm name __mempcpy.
33262         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
33264         [BZ #17572]
33265         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
33266         and define as weak alias of __rawmemchr.
33267         (__rawmemchr): Do not define as strong alias of rawmemchr.
33269         [BZ #17571]
33270         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
33271         alias of __qsort_r.
33272         (qsort): Call __qsort_r instead of qsort_r.
33273         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
33274         (__qsort_r): Declare.  Call libc_hidden_proto.
33275         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
33276         instead of qsort_r.
33277         * nscd/gai.c (__qsort_r): Define to qsort_r.
33278         * posix/tst-rfc3484.c (__qsort_r): Likewise.
33279         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
33280         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
33282         [BZ #17570]
33283         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
33284         define as weak alias of __malloc_info.
33286         [BZ #17584]
33287         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
33288         as weak alias of __rewinddir.  Don't use libc_hidden_def.
33289         (__rewinddir): Use libc_hidden_def.
33290         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
33291         as weak alias of __rewinddir.  Don't use libc_hidden_def.
33292         (__rewinddir): Use libc_hidden_def.
33293         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
33294         weak alias of __rewinddir.  Don't use libc_hidden_def.
33295         (__rewinddir): Use libc_hidden_def.
33296         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
33297         (__rewinddir): Use libc_hidden_proto.
33298         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
33299         rewinddir.
33300         (__getcwd): Use __rewinddir instead of rewinddir.
33302         [BZ #17583]
33303         * libio/fileno.c (fileno): Rename to __fileno and define as weak
33304         alias of __fileno.  Use libc_hidden_weak.
33305         (__fileno): Use libc_hidden_def.
33306         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
33307         * libio/ftello.c (ftello): Rename to __ftello and define as weak
33308         alias of __ftello.
33309         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
33310         __ftello.
33311         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
33312         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
33313         libc_hidden_def.
33314         (fread_unlocked): Don't use libc_hidden_ver.
33315         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
33316         and define as weak alias of __fread_unlocked.  Don't use
33317         libc_hidden_def.
33318         (__fread_unlocked): Use libc_hidden_def.
33319         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
33320         (ftello): Don't use libc_hidden_proto.
33321         (__ftello): Declare.  Use libc_hidden_proto.
33322         (fread_unlocked): Don't use libc_hidden_proto.
33323         (__fread_unlocked): Declare.  Use libc_hidden_proto.
33324         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
33325         and __ftello instead of fileno, fread_unlocked and ftello.
33327 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33329         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
33330         GOT12.
33331         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
33332         Likewise.
33333         (_dl_start_user): Likewise.
33334         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
33336 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
33337             Siddhesh Poyarekar  <siddhesh@redhat.com>
33339         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
33340         Move argv and envp down instead of moving argc up.
33341         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
33343 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
33345         [BZ #17506]
33346         * test-skeleton.c (main): Return successful if one of
33347         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
33348         * string/tst-strcoll-overflow.c: Define expected status.
33350 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
33352         [BZ #17475]
33353         * locale/iso-639.def: Define Bhili and Tulu language codes.
33355 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
33357         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
33359 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
33361         [BZ #17555]
33362         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
33364 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
33366         * configure.ac: Updated check of minimal required version to
33367         2.22.
33368         * manual/install.texi (Tools for Compilation): Updated version
33369         number.
33370         * configure: Regenerated.
33371         * INSTALL: Likewise.
33373 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
33375         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
33376         __tls_get_addr.
33378 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
33380         * include/sys/wait.h (__libc_waitpid): Remove declaration.
33381         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
33382         (__waitpid): Don't define as alias.  Use libc_hidden_def not
33383         libc_hidden_weak.
33384         (waitpid): Define as alias of __waitpid.
33385         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
33386         __waitpid.
33387         (__waitpid): Don't define as alias.  Use libc_hidden_def not
33388         libc_hidden_weak.
33389         (waitpid): Define as alias of __waitpid.
33390         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
33391         __libc_waitpid alias.
33392         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
33393         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
33394         Likewise.
33395         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
33396         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
33397         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
33398         alias.
33399         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
33400         __waitpid.
33401         (__waitpid): Don't define as alias.  Use libc_hidden_def not
33402         libc_hidden_weak.
33403         (waitpid): Define as alias of __waitpid.
33405 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
33407         * manual/llio.texi: Add comment that write safety has been
33408         fixed in Linux.
33410         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
33411         (localplt-build-dso): Add elf/ld.so.
33412         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
33413         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
33414         and free for ld.so.
33415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
33416         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
33417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
33418         Likewise.
33419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33420         Likewise.
33421         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
33422         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
33423         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
33424         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
33425         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
33426         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
33427         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
33428         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
33429         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
33430         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
33431         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
33433 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
33435         [BZ #14132]
33436         * include/libc-symbols.h (INTUSE): Remove macro.
33437         (INTDEF): Likewise.
33438         (INTVARDEF): Likewise.
33439         (_INTVARDEF): Likewise.
33440         (INTDEF2): Likewise.
33441         (INTVARDEF2): Likewise.
33442         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
33443         rtld_hidden_def instead of INTVARDEF.
33444         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
33445         (_dl_starting_up_internal): Remove declaration.
33446         (_dl_starting_up): Use rtld_hidden_proto.
33447         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
33448         declaration.
33449         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
33450         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
33451         _dl_starting_up.
33452         * elf/dl-writev.h (_dl_writev): Likewise.
33453         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
33454         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
33455         _dl_starting_up_internal.
33457 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33459         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
33460         test-skeleton.c.
33462 2014-11-05  Will Newton  <will.newton@linaro.org>
33464         * benchtests/Makefile: (bench-malloc): Add malloc thread
33465         scalability benchmark.
33466         * benchtests/bench-malloc-threads.c: New file.
33468 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
33470         * sysdeps/aarch64/strchrnul.S: New file.
33472 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33474         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
33475         definition.
33476         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
33477         Likewise.
33478         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
33479         Likewise.
33480         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
33481         Likewise.
33482         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
33483         Likewise.
33484         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
33485         Likewise.
33487 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
33489         * catgets/test-gencat.c: Use test-skeleton.c.
33490         * catgets/tst-catgets.c: Likewise.
33491         * csu/tst-empty.c: Likewise.
33492         * elf/tst-audit2.c: Likewise.
33493         * elf/tst-global1.c: Likewise.
33494         * elf/tst-pathopt.c: Likewise.
33495         * elf/tst-piemod1.c: Likewise.
33496         * elf/tst-tls10.c: Likewise.
33497         * elf/tst-tls11.c: Likewise.
33498         * elf/tst-tls12.c: Likewise.
33499         * gnulib/tst-gcc.c: Likewise.
33500         * iconvdata/tst-e2big.c: Likewise.
33501         * iconvdata/tst-loading.c: Likewise.
33502         * iconv/tst-iconv1.c: Likewise.
33503         * iconv/tst-iconv2.c: Likewise.
33504         * inet/test-inet6_opt.c: Likewise.
33505         * inet/tst-gethnm.c: Likewise.
33506         * inet/tst-network.c: Likewise.
33507         * inet/tst-ntoa.c: Likewise.
33508         * intl/tst-codeset.c: Likewise.
33509         * intl/tst-gettext2.c: Likewise.
33510         * intl/tst-gettext3.c: Likewise.
33511         * intl/tst-ngettext.c: Likewise.
33512         * intl/tst-translit.c: Likewise.
33513         * io/test-stat.c: Likewise.
33514         * libio/test-fmemopen.c: Likewise.
33515         * libio/tst-freopen.c: Likewise.
33516         * libio/tst-sscanf.c: Likewise.
33517         * libio/tst-ungetwc1.c: Likewise.
33518         * libio/tst-ungetwc2.c: Likewise.
33519         * libio/tst-widetext.c: Likewise.
33520         * localedata/tst-ctype.c: Likewise.
33521         * localedata/tst-digits.c: Likewise.
33522         * localedata/tst-leaks.c: Likewise.
33523         * localedata/tst-mbswcs1.c: Likewise.
33524         * localedata/tst-mbswcs2.c: Likewise.
33525         * localedata/tst-mbswcs3.c: Likewise.
33526         * localedata/tst-mbswcs4.c: Likewise.
33527         * localedata/tst-mbswcs5.c: Likewise.
33528         * localedata/tst-setlocale.c: Likewise.
33529         * localedata/tst-trans.c: Likewise.
33530         * localedata/tst-wctype.c: Likewise.
33531         * localedata/tst-xlocale1.c: Likewise.
33532         * login/tst-grantpt.c: Likewise.
33533         * malloc/tst-calloc.c: Likewise.
33534         * malloc/tst-malloc.c: Likewise.
33535         * malloc/tst-mallocstate.c: Likewise.
33536         * malloc/tst-mcheck.c: Likewise.
33537         * malloc/tst-mtrace.c: Likewise.
33538         * malloc/tst-obstack.c: Likewise.
33539         * math/atest-exp2.c: Likewise.
33540         * math/atest-exp.c: Likewise.
33541         * math/atest-sincos.c: Likewise.
33542         * math/test-matherr.c: Likewise.
33543         * math/test-misc.c: Likewise.
33544         * math/test-powl.c: Likewise.
33545         * math/tst-definitions.c: Likewise.
33546         * misc/tst-dirname.c: Likewise.
33547         * misc/tst-efgcvt.c: Likewise.
33548         * misc/tst-fdset.c: Likewise.
33549         * misc/tst-hsearch.c: Likewise.
33550         * misc/tst-mntent2.c: Likewise.
33551         * nptl/tst-sem7.c: Likewise.
33552         * nptl/tst-sem8.c: Likewise.
33553         * nptl/tst-sem9.c: Likewise.
33554         * nss/test-netdb.c: Likewise.
33555         * posix/tst-fnmatch.c: Likewise.
33556         * posix/tst-getlogin.c: Likewise.
33557         * posix/tst-gnuglob.c: Likewise.
33558         * posix/tst-mmap.c: Likewise.
33559         * pwd/tst-getpw.c: Likewise.
33560         * resolv/tst-inet_ntop.c: Likewise.
33561         * rt/tst-timer.c: Likewise.
33562         * stdio-common/test-fseek.c: Likewise.
33563         * stdio-common/test-popen.c: Likewise.
33564         * stdio-common/test-vfprintf.c: Likewise.
33565         * stdio-common/tst-cookie.c: Likewise.
33566         * stdio-common/tst-fileno.c: Likewise.
33567         * stdio-common/tst-gets.c: Likewise.
33568         * stdio-common/tst-obprintf.c: Likewise.
33569         * stdio-common/tst-perror.c: Likewise.
33570         * stdio-common/tst-sprintf2.c: Likewise.
33571         * stdio-common/tst-sprintf3.c: Likewise.
33572         * stdio-common/tst-sprintf.c: Likewise.
33573         * stdio-common/tst-swprintf.c: Likewise.
33574         * stdio-common/tst-tmpnam.c: Likewise.
33575         * stdio-common/tst-unbputc.c: Likewise.
33576         * stdio-common/tst-wc-printf.c: Likewise.
33577         * stdlib/tst-environ.c: Likewise.
33578         * stdlib/tst-fmtmsg.c: Likewise.
33579         * stdlib/tst-limits.c: Likewise.
33580         * stdlib/tst-rand48-2.c: Likewise.
33581         * stdlib/tst-rand48.c: Likewise.
33582         * stdlib/tst-random2.c: Likewise.
33583         * stdlib/tst-random.c: Likewise.
33584         * stdlib/tst-strtol.c: Likewise.
33585         * stdlib/tst-strtoll.c: Likewise.
33586         * stdlib/tst-tls-atexit.c: Likewise.
33587         * stdlib/tst-xpg-basename.c: Likewise.
33588         * string/test-ffs.c: Likewise.
33589         * string/tst-bswap.c: Likewise.
33590         * string/tst-inlcall.c: Likewise.
33591         * string/tst-strtok.c: Likewise.
33592         * string/tst-strxfrm.c: Likewise.
33593         * sysdeps/x86_64/tst-audit10.c: Likewise.
33594         * sysdeps/x86_64/tst-audit3.c: Likewise.
33595         * sysdeps/x86_64/tst-audit4.c: Likewise.
33596         * sysdeps/x86_64/tst-audit5.c: Likewise.
33597         * time/tst-ftime_l.c: Likewise.
33598         * time/tst-getdate.c: Likewise.
33599         * time/tst-mktime3.c: Likewise.
33600         * time/tst-mktime.c: Likewise.
33601         * time/tst-posixtz.c: Likewise.
33602         * time/tst-strptime2.c: Likewise.
33603         * time/tst-strptime3.c: Likewise.
33604         * wcsmbs/tst-btowc.c: Likewise.
33605         * wcsmbs/tst-mbrtowc.c: Likewise.
33606         * wcsmbs/tst-mbsrtowcs.c: Likewise.
33607         * wcsmbs/tst-wchar-h.c: Likewise.
33608         * wcsmbs/tst-wcpncpy.c: Likewise.
33609         * wcsmbs/tst-wcrtomb.c: Likewise.
33610         * wcsmbs/tst-wcsnlen.c: Likewise.
33611         * wcsmbs/tst-wcstof.c: Likewise.
33613 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
33615         [BZ #14132]
33616         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
33617         INTDEF.
33618         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
33619         declaration.
33620         (_dl_mcount): Use rtld_hidden_proto.
33621         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
33622         _dl_mcount.
33623         * elf/rtld.c (_rtld_global_ro): Likewise.
33625         [BZ #14132]
33626         * elf/dl-init.c (_dl_init): Don't use INTDEF.
33627         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
33628         of _dl_init_internal.
33629         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
33630         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
33631         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
33632         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
33633         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
33634         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
33635         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
33636         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
33637         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
33638         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
33639         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
33640         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
33641         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
33642         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
33643         * sysdeps/tile/dl-start.S (_start): Likewise.
33644         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
33645         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
33647         [BZ #14132]
33648         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
33649         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
33650         (rtld_progname): Make macro definition unconditional.
33651         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
33652         INTDEF.
33653         (dlmopen_doit): Do not use INTUSE with _dl_argv.
33654         (dl_main): Likewise.
33655         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
33656         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
33657         instead of _dl_argv_internal.
33658         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33659         __GI__dl_argv instead of INTUSE(_dl_argv).
33660         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
33661         __GI__dl_argv instead of _dl_argv_internal.
33663         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
33664         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
33665         macro.
33666         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
33667         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
33668         New macro.
33669         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
33670         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
33671         macro.
33672         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
33673         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
33675 2014-11-04  Andreas Schwab  <schwab@suse.de>
33677         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
33679 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33681         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
33682         mtvsrd instruction in binary form.
33684 2014-11-03  Andreas Schwab  <schwab@suse.de>
33686         [BZ #17522]
33687         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
33688         for less than MB_LEN_MAX use a local buffer of that size.
33689         * libio/tst-fputws.c: New file.
33690         * libio/Makefile (tests): Add tst-fputws.
33692 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
33694         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
33695         the size of the fpu_fr.fpu_dregs[] array.
33697 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
33699         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
33700         (__nanosleep): Do not define as alias.
33701         (nanosleep): Define as alias of __nanosleep.
33702         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
33703         __libc_nanosleep name.
33705 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
33707         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
33708         install.texi in comment.
33710 2014-10-31  Torvald Riegel  <triegel@redhat.com>
33712         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
33713         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
33714         ... add here and use lwsync or sync ...
33715         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
33716         ... and add here using lwsync.
33718 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
33720         * elf/dl-machine-reject-phdr.h: New file.
33721         * elf/dl-load.c: #include that.
33722         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
33723         if that returned true.
33725 2014-10-31  Roland McGrath  <roland@hack.frob.com>
33727         [BZ #17496]
33728         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
33729         gen-as-const-headers chunk.  Add a big scare comment after the last
33730         safe place to touch before-compile.
33732 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
33734         * manual/install.texi (Tools for Compilation): Update autoconf
33735         version requirements.
33736         * INSTALL: Regenerated.
33738         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
33739         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
33740         (__libc_pselect): Likewise.
33742         [BZ #14138]
33743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
33744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33748 2014-10-31  Torvald Riegel  <triegel@redhat.com>
33750         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
33751         correct barrier instruction.
33752         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
33753         Likewise.
33754         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
33755         Likewise.
33757 2014-10-30  Roland McGrath  <roland@hack.frob.com>
33759         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
33760         after defining inlines.  Instead, just use parens to defeat macro
33761         expansion of __isctype in its declaration.
33763 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
33765         * include/sys/uio.h (__libc_readv): Remove declaration.
33766         (__libc_writev): Likewise.
33767         * misc/readv.c (__libc_readv): Rename to __readv.
33768         (__readv): Do not define as alias.
33769         (readv): Define as alias of __readv.
33770         * misc/writev.c (__libc_writev): Rename to __writev.
33771         (__writev): Do not define as alias.
33772         (writev): Define as alias of __writev.
33773         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
33774         (__readv): Do not define as alias.
33775         (readv): Define unconditionally as alias of __readv.
33776         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
33777         (__writev): Do not define as alias.
33778         (writev): Define unconditionally as alias of __writev.
33779         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
33780         name.
33781         (writev): Do not define __libc_writev name.
33783 2014-10-30  Roland McGrath  <roland@hack.frob.com>
33785         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
33786         (convert_charseq): New function, broken out of ...
33787         (use_from_charmap): ... here.  Call it.
33788         (use_to_charmap): Use convert_charseq and free instead of duplicating
33789         its code with a variable-length stack struct.
33791 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
33793         * include/fcntl.h (__libc_creat): Remove declaration.
33794         * io/creat.c (__libc_creat): Rename to creat.
33795         (creat): Do not define as alias.
33796         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
33797         of creat instead of __libc_creat.
33798         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
33799         to creat.
33800         (creat): Do not define as alias.
33801         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
33802         __libc_creat.
33803         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
33804         __libc_creat name.
33805         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
33806         Likewise.
33808 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
33810         * manual/llio.texi: Add comments discussing why write() may be
33811         considered MT-unsafe on Linux.
33813 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
33815         * dl-load.c (local_strdup): Remove.
33816         (expand_dynamic_string_token): Use __strdup.
33817         (decompose_rpath): Likewise.
33818         (_dl_map_object): Likewise.
33820 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
33822         [BZ #14132]
33823         * sysdeps/generic/unwind-dw2-fde.c
33824         (__register_frame_info_bases_internal): Do not declare.
33825         (__register_frame_info_table_bases_internal): Likewise.
33826         (__deregister_frame_info_bases_internal): Likewise.
33827         (__register_frame_info_bases): Declare and use hidden_proto before
33828         definition.  Use hidden_def instead of INTDEF.
33829         (__register_frame_info_table_bases): Likewise.
33830         (__deregister_frame_info_bases): Likewise.
33831         (__register_frame_info): Do not use INTUSE.
33832         (__register_frame): Likewise.
33833         (__register_frame_info_table): Likewise.
33834         (__register_frame_table): Likewise.
33835         (__deregister_frame_info): Likewise.
33836         (__deregister_frame): Likewise.
33838 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
33840         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33841         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
33842         not undefine.
33843         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
33844         Likewise.
33845         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
33846         Likewise.
33848 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
33850         [BZ #14138]
33851         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
33852         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
33853         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
33854         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
33855         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
33856         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
33857         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
33858         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
33859         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
33860         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
33861         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
33862         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
33863         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
33864         syscall.
33865         (setfsuid): Likewise.
33866         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
33867         (setfsuid): Likewise.
33868         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
33869         (setfsuid): Likewise.
33870         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
33871         Likewise.
33872         (setfsuid): Likewise.
33873         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
33874         (setfsuid): Likewise.
33875         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
33876         Likewise.
33877         (setfsuid): Likewise.
33879 2014-10-27  Andreas Schwab  <schwab@suse.de>
33881         [BZ #17501]
33882         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
33883         check for Slow_SSE4_2 feature bit.
33884         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
33885         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
33886         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
33887         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
33889 2014-10-24  Roland McGrath  <roland@hack.frob.com>
33891         * configure.ac: Validate compiler version with a empirical test of
33892         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
33893         $CC -v output.
33894         * configure: Regenerated.
33896         * inet/htons.c (htons): Prototypify.
33897         * inet/htonl.c (htonl): Likewise.
33899 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33901         * string/strncat.c (strncat): Improve performance by using strlen.
33903 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33905         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
33907 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33909         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
33910         Call libc_fetestexcept_aarch64.
33912 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33914         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
33915         Call libc_feholdexcept_aarch64.
33917 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33919         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
33920         Call get_rounding_mode.
33922 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33924         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33925         Simplify logic.
33927 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33929         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
33930         Simplify logic.
33932 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
33934         [BZ #14138]
33935         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
33936         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
33937         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
33938         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
33939         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
33940         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
33941         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
33942         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
33943         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
33944         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
33945         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33946         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
33947         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
33948         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
33949         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
33950         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
33951         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
33952         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
33953         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
33954         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
33955         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
33956         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
33957         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
33958         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
33959         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
33960         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
33961         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
33962         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
33963         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
33964         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
33965         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
33966         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
33967         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
33968         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
33969         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
33970         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
33971         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
33972         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
33973         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
33974         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
33975         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
33976         syscall.
33977         (geteuid): Likewise.
33978         (getgid): Likewise.
33979         (getuid): Likewise.
33980         (getresgid): Likewise.
33981         (getresuid): Likewise.
33982         (getgroups): Likewise.
33983         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
33984         (geteuid): Likewise.
33985         (getgid): Likewise.
33986         (getuid): Likewise.
33987         (getresgid): Likewise.
33988         (getresuid): Likewise.
33989         (getgroups): Likewise.
33990         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
33991         (geteuid): Likewise.
33992         (getgid): Likewise.
33993         (getuid): Likewise.
33994         (getresgid): Likewise.
33995         (getresuid): Likewise.
33996         (getgroups): Likewise.
33997         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
33998         Likewise.
33999         (geteuid): Likewise.
34000         (getgid): Likewise.
34001         (getuid): Likewise.
34002         (getresgid): Likewise.
34003         (getresuid): Likewise.
34004         (getgroups): Likewise.
34005         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
34006         (geteuid): Likewise.
34007         (getgid): Likewise.
34008         (getuid): Likewise.
34009         (getresgid): Likewise.
34010         (getresuid): Likewise.
34011         (getgroups): Likewise.
34012         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
34013         Likewise.
34014         (geteuid): Likewise.
34015         (getgid): Likewise.
34016         (getuid): Likewise.
34017         (getgroups): Likewise.
34019         [BZ #14138]
34020         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
34021         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
34022         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
34023         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
34024         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
34025         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
34026         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
34027         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
34028         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
34029         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
34030         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
34031         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
34032         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
34033         __chown.
34034         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
34035         (lchown): Likewise.
34036         (fchown): Likewise.
34037         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
34038         Likewise.
34039         (lchown): Likewise.
34040         (fchown): Likewise.
34041         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
34042         (lchown): Likewise.
34043         (fchown): Likewise.
34044         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
34045         Likewise.
34046         (lchown): Likewise.
34047         (fchown): Likewise.
34049 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34051         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
34052         Simplify logic.
34054 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34056         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34057         Cleanup logic.
34059 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34061         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34062         Remove unused include.
34064 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34066         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
34067         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
34068         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
34069         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
34071 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
34072             Helge Deller <deller@gmx.de>
34074         [BZ #17508]
34075         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
34076         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
34077         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
34079 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
34081         [BZ #14132]
34082         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
34083         Remove macro definition.
34084         (__ashrdi3_v_glibc20): Likewise.
34085         (__lshrdi3_v_glibc20): Likewise.
34086         (__cmpdi2_v_glibc20): Likewise.
34087         (__ucmpdi2_v_glibc20): Likewise.
34088         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
34089         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
34090         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
34091         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
34092         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
34093         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
34095 2014-10-22  Roland McGrath  <roland@hack.frob.com>
34097         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
34098         old GNU extension [0] syntax.
34099         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
34100         alloca rather than an array member with variable length.
34101         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
34102         * nscd/nscd.c (invalidate_db): New function, broken out of ...
34103         (parse_opt): ... here.  Likewise use alloca there.
34104         Validate the -i argument before checking for rootness.
34105         (send_shutdown): New function, broken out of ...
34106         (parse_opt): ... here.
34108 2014-10-22  Roland McGrath  <roland@hack.frob.com>
34110         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
34111         macro to get at the _rt_local_ro field.
34112         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
34113         ([PIC] case) or _dl_hwcap ([!PIC] case).
34114         * sysdeps/arm/setjmp.S: Likewise.
34116         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
34117         * sysdeps/arm/configure.ac: New check to define it.
34118         * sysdeps/arm/configure: Regenerated.
34119         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
34120         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
34121         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
34122         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
34123         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
34124         Use move/movt pair instead of a load.
34125         (LDST_GLOBAL): Macro removed.
34126         (LDR_GLOBAL): New macro replaces it.
34127         (LDR_HIDDEN): New macro.
34128         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
34129         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
34131         * setjmp/tst-setjmp-static.c: New file.
34132         * setjmp/Makefile (tests): Add it.
34133         (tests-static): New variable.
34135 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
34137         [BZ #17485]
34138         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
34140 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
34142         [BZ #14132]
34143         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
34145 2014-10-21  Roland McGrath  <roland@hack.frob.com>
34147         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
34149 2014-10-20  Roland McGrath  <roland@hack.frob.com>
34151         * io/fts.c (dirent_not_directory): New function.
34152         (fts_build): Call it.
34154 2014-10-20  Roland McGrath  <roland@hack.frob.com>
34156         * nptl/version.c (__nptl_main): Use normal __write rather than
34157         INTERNAL_SYSCALL.
34158         (banner): Update copyright years.
34160         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
34161         gettimeofday.
34162         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34163         * nptl/pthread_cond_timedwait.c: Likewise.
34164         * nptl/pthread_mutex_timedlock.c: Likewise.
34165         * nptl/sem_timedwait.c: Likewise.
34167         * sysdeps/nptl/bits/libc-lock.h
34168         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34169         (__libc_lock_init_recursive): Return void, not 0.
34170         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
34171         (__libc_rwlock_init): Likewise.
34172         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
34174 2014-10-20  Torvald Riegel  <triegel@redhat.com>
34176         [BZ #15215]
34177         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
34178         (__pthread_once_slow): ... here.
34179         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
34180         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
34182 2014-10-20  Torvald Riegel  <triegel@redhat.com>
34184         [BZ #15215]
34185         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
34186         __PTHREAD_ONCE_FORK_GEN_INCR): New.
34187         * sysdeps/nptl/fork.c (__libc_fork): Use them.
34188         * nptl/pthread_once.c (__pthread_once): Likewise.
34189         Update comments.
34191 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
34193         [BZ #14138]
34194         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
34195         name.
34196         (writev): Use __libc_writev as strong name.
34197         * sysdeps/unix/sysv/linux/readv.c: Remove file.
34198         * sysdeps/unix/sysv/linux/writev.c: Likewise.
34200 2014-10-17  Roland McGrath  <roland@hack.frob.com>
34202         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
34204         * sysdeps/i386/nptl/tls.h
34205         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
34206         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
34207         New macros.
34208         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
34209         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
34210         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
34211         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
34212         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
34213         Call CHECK_THREAD_SYSINFO instead of doing an assert.
34215         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
34216         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
34217         on [__NR_futex].
34218         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
34219         broken out of ...
34220         (__pthread_mutex_init): ... here.  Call it.
34221         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
34222         Conditionalize PI cases on [__NR_futex].
34223         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
34224         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
34225         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
34227         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
34228         conditional on [SIGSETXID].
34229         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
34230         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
34231         is defined.  Likewise for SIGSETXID.
34232         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
34233         Conditionalize definitions on [SIGSETXID].
34234         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
34235         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
34236         unblocking on [SIGCANCEL].
34238         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
34239         [__NR_set_robust_list].
34241 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34243         * string/strcoll_l.c (get_next_seq): Fix up formatting.
34244         (do_compare): Likewise.
34246 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
34248         [BZ #15884]
34249         * string/strcoll_l.c: Don't include stdio.h.
34250         (coll_seq): Remove members idxarr and rulearr.
34251         (get_next_seq_cached): Remove function.
34252         (get_next_seq): Likewise.
34253         (get_next_seq_nocache): Rename to get_next_seq.
34254         (do_compare): Remove function.
34255         (do_compare_nocache): Rename to do_compare.
34256         (STRCOLL): Remove weight and rules cache.
34258 2014-10-16  Roland McGrath  <roland@hack.frob.com>
34260         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
34261         * sysdeps/arm/sfp-machine.h: ... to here.
34262         * sysdeps/arm/Implies: Remove arm/soft-fp.
34264 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
34266         * conform/data/sys/utsname.h-data (*_t): Allow.
34267         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
34268         [POSIX] (WEXITED): Do not expect constant.
34269         [POSIX] (WSTOPPED): Likewise.
34270         [POSIX] (WNOHANG): Likewise.
34271         [POSIX] (WNOWAIT): Likewise.
34272         [POSIX] (siginfo_t): Do not expect type or elements.
34273         [POSIX] (pid_t): Do not expect type.
34274         [POSIX] (signal.h): Do not allow header.
34275         [POSIX] (sys/resource.h): Likewise.
34276         [POSIX] (si_*): Do not allow pattern.
34277         [POSIX] (W*): Likewise.
34278         [POSIX] (P_*): Likewise.
34279         [POSIX] (BUS_*): Likewise.
34280         [POSIX] (CLD_*): Likewise.
34281         [POSIX] (FPE_*): Likewise.
34282         [POSIX] (ILL_*): Likewise.
34283         [POSIX] (POLL_*): Likewise.
34284         [POSIX] (SEGV_*): Likewise.
34285         [POSIX] (SI_*): Likewise.
34286         [POSIX] (TRAP_*): Likewise.
34287         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
34288         variable.
34290 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
34292         [BZ #12926]
34293         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
34294         infinite loop when __recvmsg returns 0.
34296 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
34298         * CANCEL-FCT-WAIVE: Remove file.
34299         * CANCEL-FILE-WAIVE: Likewise.
34301         [BZ #14132]
34302         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
34303         instead of INTVARDEF.
34304         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
34305         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
34306         rtld_hidden_data_def instead of INTVARDEF.
34307         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
34308         * elf/dl-deps.c (expand_dst): Likewise.
34309         * elf/dl-load.c (_dl_dst_count): Likewise.
34310         (_dl_dst_substitute): Likewise.
34311         (decompose_rpath): Likewise.
34312         (_dl_init_paths): Likewise.
34313         (open_path): Likewise.
34314         (_dl_map_object): Likewise.
34315         * elf/rtld.c (dl_main): Likewise.
34316         (process_dl_audit): Likewise.
34317         (process_envvars): Likewise.
34318         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
34319         Remove declaration.
34320         (__libc_enable_secure): Use rtld_hidden_proto.
34322 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34324         * elf/dl-load.c
34325         (add_path): New function broken out of _dl_rtld_di_serinfo.
34326         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
34328 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
34330         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
34331         parentheses around macro arguments.
34332         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
34333         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
34334         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
34335         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
34336         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
34337         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
34338         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
34339         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
34340         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
34341         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
34342         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
34343         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
34344         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
34345         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
34346         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
34347         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
34348         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
34349         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
34350         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
34351         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
34352         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
34353         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
34354         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
34355         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
34356         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
34357         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
34358         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
34359         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
34360         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
34361         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
34362         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
34363         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
34364         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
34365         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
34366         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
34367         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
34368         Likewise.
34369         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
34370         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
34371         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
34372         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
34373         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
34374         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
34375         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
34376         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
34377         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
34378         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
34379         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
34380         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
34381         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
34382         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
34383         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
34384         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
34385         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
34386         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
34387         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
34388         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
34389         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
34390         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
34391         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
34392         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
34393         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
34394         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
34395         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
34396         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
34397         (_FP_FRAC_SRS_1): Likewise.
34398         (_FP_FRAC_CLZ_1): Likewise.
34399         (_FP_MUL_MEAT_1_imm): Likewise.
34400         (_FP_MUL_MEAT_1_wide): Likewise.
34401         (_FP_MUL_MEAT_1_hard): Likewise.
34402         (_FP_SQRT_MEAT_1): Likewise.
34403         (_FP_FRAC_ASSEMBLE_1): Likewise.
34404         (_FP_FRAC_DISASSEMBLE_1): Likewise.
34405         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
34406         (__FP_CLZ_2): Likewise.
34407         (_FP_MUL_MEAT_2_wide): Likewise.
34408         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
34409         (_FP_MUL_MEAT_2_gmp): Likewise.
34410         (_FP_MUL_MEAT_2_120_240_double): Likewise.
34411         (_FP_SQRT_MEAT_2): Likewise.
34412         (_FP_FRAC_ASSEMBLE_2): Likewise.
34413         (_FP_FRAC_DISASSEMBLE_2): Likewise.
34414         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
34415         (_FP_FRAC_CLZ_4): Likewise.
34416         (_FP_MUL_MEAT_4_wide): Likewise.
34417         (_FP_MUL_MEAT_4_gmp): Likewise.
34418         (_FP_SQRT_MEAT_4): Likewise.
34419         (_FP_FRAC_ASSEMBLE_4): Likewise.
34420         (_FP_FRAC_DISASSEMBLE_4): Likewise.
34421         * soft-fp/op-common.h (_FP_CMP): Likewise.
34422         (_FP_CMP_EQ): Likewise.
34423         (_FP_CMP_UNORD): Likewise.
34424         (_FP_TO_INT): Likewise.
34425         (_FP_FROM_INT): Likewise.
34426         [!__FP_CLZ] (__FP_CLZ): Likewise.
34427         (_FP_DIV_HELP_imm): Likewise.
34428         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
34429         Likewise.
34430         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
34431         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
34432         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
34433         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
34434         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
34435         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
34436         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
34437         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
34438         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
34439         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
34440         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
34441         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
34442         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
34443         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
34444         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
34445         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
34446         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
34447         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
34448         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
34449         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
34450         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
34451         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
34452         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
34453         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
34454         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
34455         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
34456         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
34457         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
34458         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
34459         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
34460         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
34461         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
34462         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
34463         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
34464         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
34465         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
34466         (FP_UNPACK_RAW_SP): Likewise.
34467         (FP_PACK_RAW_S): Likewise.
34468         (FP_PACK_RAW_SP): Likewise.
34469         (FP_UNPACK_S): Likewise.
34470         (FP_UNPACK_SP): Likewise.
34471         (FP_UNPACK_SEMIRAW_S): Likewise.
34472         (FP_UNPACK_SEMIRAW_SP): Likewise.
34473         (FP_PACK_S): Likewise.
34474         (FP_PACK_SP): Likewise.
34475         (FP_PACK_SEMIRAW_S): Likewise.
34476         (FP_PACK_SEMIRAW_SP): Likewise.
34477         (_FP_SQRT_MEAT_S): Likewise.
34478         (FP_CMP_S): Likewise.
34479         (FP_CMP_EQ_S): Likewise.
34480         (FP_CMP_UNORD_S): Likewise.
34481         (FP_TO_INT_S): Likewise.
34482         (FP_FROM_INT_S): Likewise.
34484         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
34486         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
34487         (FP_EX_INVALID_IMZ): Likewise.
34488         (FP_EX_INVALID_IMZ_FMA): Likewise.
34489         (FP_EX_INVALID_ISI): Likewise.
34490         (FP_EX_INVALID_ZDZ): Likewise.
34491         (FP_EX_INVALID_IDI): Likewise.
34492         (FP_EX_INVALID_SQRT): Likewise.
34493         (FP_EX_INVALID_CVI): Likewise.
34494         (FP_EX_INVALID_VC): Likewise.
34495         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
34496         "invalid" exceptions.
34497         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
34498         (_FP_ADD_INTERNAL): Likewise.
34499         (_FP_MUL): Likewise.
34500         (_FP_FMA): Likewise.
34501         (_FP_DIV): Likewise.
34502         (_FP_CMP_CHECK_NAN): Likewise.
34503         (_FP_SQRT): Likewise.
34504         (_FP_TO_INT): Likewise.
34505         (FP_EXTEND): Likewise.
34507 2014-10-09  Allan McRae  <allan@archlinux.org>
34509         * po/fr.po: Update French translation from translation project.
34511 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
34513         [BZ #14132]
34514         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
34515         of INTDEF.
34516         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
34517         (__cxa_atexit): Use libc_hidden_proto.
34518         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
34520         [BZ #14132]
34521         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
34522         declaration.
34523         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
34524         [!_ISOMAC] (__iswspace_l_internal): Likewise.
34525         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
34526         [!_ISOMAC] (__iswctype_internal): Likewise.
34527         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
34528         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
34529         alias.
34530         (fcntl): Remove __fcntl_internal alias.
34531         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
34532         __connect_internal alias.
34533         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
34534         Likewise.
34536         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
34537         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
34538         FP_DENORM_ZERO.
34539         (_FP_CHECK_FLUSH_ZERO): New macro.
34540         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
34541         (_FP_CMP): Likewise.
34542         (_FP_CMP_EQ): Likewise.
34543         (_FP_TO_INT): Do not set inexact for subnormal arguments if
34544         FP_DENORM_ZERO.
34545         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
34546         (FP_TRUNC): Likewise.
34548         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
34549         treated as invalid conversion, not as normal exponent.
34551         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
34552         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
34553         (_FP_CMP_EQ): Likewise.
34554         (_FP_CMP_UNORD): Likewise.
34555         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
34556         (FP_CMP_EQ_D): Likewise.
34557         (FP_CMP_UNORD_D): Likewise.
34558         * soft-fp/extended.h (FP_CMP_E): Likewise.
34559         (FP_CMP_EQ_E): Likewise.
34560         (FP_CMP_UNORD_E): Likewise.
34561         * soft-fp/quad.h (FP_CMP_Q): Likewise.
34562         (FP_CMP_EQ_Q): Likewise.
34563         (FP_CMP_UNORD_Q): Likewise.
34564         * soft-fp/single.h (FP_CMP_S): Likewise.
34565         (FP_CMP_EQ_S): Likewise.
34566         (FP_CMP_UNORD_S): Likewise.
34567         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
34568         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
34569         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
34570         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
34571         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
34572         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
34573         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
34574         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
34575         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
34576         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
34577         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
34578         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
34579         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
34580         to FP_CMP_Q.
34581         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
34582         FP_CMP_Q.
34583         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
34584         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
34585         FP_CMP_EQ_Q.
34586         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
34587         FP_CMP_Q.
34588         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
34589         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
34590         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
34591         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
34592         FP_CMP_EQ_Q.
34593         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
34594         FP_CMP_Q.
34595         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
34596         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
34597         FP_CMP_EQ_Q.
34598         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
34599         FP_CMP_Q.
34600         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
34601         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
34602         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
34603         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
34604         FP_CMP_EQ_Q.
34606         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
34607         a subnormal result, set the underflow exception if trapping on
34608         underflow is enabled.
34609         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
34610         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
34611         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
34612         redefine to 0.
34613         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
34614         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
34615         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
34616         * soft-fp/extendxftf2.c (__extendxftf2): Use
34617         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
34619         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
34620         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
34621         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34622         FP_HANDLE_EXCEPTIONS.
34623         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
34624         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34625         FP_HANDLE_EXCEPTIONS.
34626         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
34627         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34628         FP_HANDLE_EXCEPTIONS.
34629         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
34630         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34631         FP_HANDLE_EXCEPTIONS.
34633 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
34635         [BZ #14132]
34636         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
34637         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
34638         use INTUSE.
34639         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
34640         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
34641         Remove alias.
34642         (__adjtimex): Define using libc_hidden_ver.
34643         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
34644         Remove declaration.
34645         (ntp_gettime): Call __adjtimex directly.
34646         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
34647         Remove declaration.
34648         (ntp_gettimex): Call __adjtimex directly.
34649         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
34650         __adjtimex_internal alias.
34652 2014-10-08  Roland McGrath  <roland@hack.frob.com>
34654         [BZ #17460]
34655         * nscd/nscd.c (more_help): Rewrite list of tables collection
34656         using xstrdup and asprintf.
34658         * nscd/nscd_conf.c: Remove local xstrdup declaration.
34660 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34661             Roland McGrath  <roland@hack.frob.com>
34663         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
34664         (do_lookup_unique): ... local function 'enter' here; update callers.
34666 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
34668         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
34669         compat_symbol calls on [SHARED].
34670         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
34671         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
34672         Remove.
34673         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34674         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
34675         (oldsetrlimit): Remove.
34676         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
34678         (lchown): New syscall entry.
34679         (oldsetrlimit): Remove.
34680         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34681         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
34682         (oldsetrlimit): Remove.
34683         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34685         [BZ #14138]
34686         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
34687         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
34688         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
34689         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
34690         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
34691         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
34692         (fchown): Likewise.
34693         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
34694         (fchown): Likewise.
34695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
34696         Likewise.
34698 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34700         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
34701         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
34702         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
34703         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
34704         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
34705         Likewise.
34706         (__old_sem_post): Likewise.
34708 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
34710         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
34711         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
34712         HAVE_CLOCK_GETTIME_VSYSCALL macros.
34713         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
34714         Use INLINE_VSYSCALL macro.
34715         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
34716         __vdso_clock_gettime.
34717         * sysdeps/unix/sysv/linux/tile/init-first.c
34718         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
34719         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
34720         __vdso_clock_gettime.
34722         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
34723         to set up frame more cleanly.
34725         * sysdeps/tile/memcmp.c: New file.
34727         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
34729         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
34730         * sysdeps/tile/tilegx/strcasestr.c: New file.
34731         * sysdeps/tile/tilegx/strnlen.c: New file.
34732         * sysdeps/tile/tilegx/strstr.c: New file.
34734         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
34736 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
34738         * nptl/tst-setuid3.c: Write errors to stdout.
34740 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34742         * elf/dl-deps.c
34743         (preload): New functions broken out of _dl_map_object_deps.
34744         (_dl_map_object_deps):  Remove a nested function. Update call sites.
34746 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
34748         [BZ #14138]
34749         * sysdeps/unix/sysv/linux/execve.c: Remove file.
34750         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
34752 2014-10-01  Steve Ellcey  <sellcey@mips.com>
34754         * sysdeps/mips/strcmp.S: New.
34756 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
34758         [BZ #14138]
34759         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
34760         (linkat): Likewise.
34761         (mkdirat): Likewise.
34762         (readlinkat): Likewise.
34763         (renameat): Likewise.
34764         (symlinkat): Likewise.
34765         (unlinkat): Likewise.
34766         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
34767         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
34768         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
34769         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
34770         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
34771         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
34772         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
34774 2014-09-30  Will Newton  <will.newton@linaro.org>
34776         * math/math.h: Define long double math functions if
34777         _LIBC_TEST is defined.
34778         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
34780         * localedata/Makefile: Move assignment to tests-special
34781         into an ifdef testing run-built-tests.
34782         * timezone/Makefile: Likewise.
34784 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
34786         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
34787         with $(BASH) not $(SHELL).
34789 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
34790             Matthew LeGendre  <legendre1@llnl.gov>
34792         [BZ #17411]
34793         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
34794         l_reloc_result.
34796 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34798         * stdio-common/printf_fp.c
34799         (hack_digit): New function, broken out of ...
34800         (__printf_fp): ... local function here.  Update call sites.
34801         hack_digit now takes an additional parameter that is a pointer
34802         to a struct of the referenced locals.  Those locals moved inside
34803         the struct and references updated.
34805 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
34807         * aclocal.m4: Require autoconf 2.69.
34808         * configure: Regenerated.
34809         * sysdeps/aarch64/configure: Likewise.
34810         * sysdeps/alpha/configure: Likewise.
34811         * sysdeps/arm/armv7/configure: Likewise.
34812         * sysdeps/arm/configure: Likewise.
34813         * sysdeps/ia64/configure: Likewise.
34814         * sysdeps/mach/configure: Likewise.
34815         * sysdeps/mips/configure: Likewise.
34816         * sysdeps/s390/configure: Likewise.
34817         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
34818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
34820         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
34821         file.
34822         * sysdeps/ia64/configure.ac: Likewise.
34824 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
34826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
34827         specify symbol version for ld.so.  Do not include entry for
34828         libpthread.
34829         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
34830         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
34831         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
34833         [BZ #14171]
34834         * Makeconfig [$(build-shared) = yes]
34835         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
34836         makefiles.
34837         [$(build-shared) = yes && $(soversions.mk-done) = t]
34838         ($(common-objpfx)gnu/lib-names.h): Remove rule.
34839         [$(build-shared) = yes && $(soversions.mk-done) = t]
34840         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
34841         to Makerules.
34842         [$(build-shared) = yes && $(soversions.mk-done) = t]
34843         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
34844         here.
34845         [$(build-shared) = yes && $(soversions.mk-done) = t]
34846         (common-generated): Don't append gnu/lib-names.h and
34847         gnu/lib-names.stmp here.
34848         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
34849         (lib-names-h-abi): New variable.
34850         [$(build-shared) = yes && $(soversions.mk-done) = t]
34851         (lib-names-stmp-abi): Likewise.
34852         [$(build-shared) = yes && $(soversions.mk-done) = t &&
34853         abi-variants] (before-compile): Append
34854         $(common-objpfx)$(lib-names-h-abi).
34855         [$(build-shared) = yes && $(soversions.mk-done) = t &&
34856         abi-variants] (common-generated): Append gnu/lib-names.h.
34857         [$(build-shared) = yes && $(soversions.mk-done) = t &&
34858         abi-variants] (install-others-nosubdir): Depend on
34859         $(inst_includedir)/$(lib-names-h-abi).
34860         [$(build-shared) = yes && $(soversions.mk-done) = t &&
34861         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
34862         [$(build-shared) = yes && $(soversions.mk-done) = t]
34863         ($(common-objpfx)$(lib-names-h-abi)): New rule.
34864         [$(build-shared) = yes && $(soversions.mk-done) = t]
34865         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
34866         [$(build-shared) = yes && $(soversions.mk-done) = t]
34867         (common-generated): Append $(lib-names-h-abi) and
34868         $(lib-names-stmp-abi).
34869         * scripts/lib-names.awk: Do not handle multi being set.
34870         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
34871         Remove variable.
34872         (abi-lp64_be-ld-soname): Likewise.
34873         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
34874         Likewise.
34875         (abi-hard-ld-soname): Likewise.
34876         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
34877         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
34878         Remove variable.
34879         (abi-o32_hard-ld-soname): Likewise.
34880         (abi-o32_soft_2008-ld-soname): Likewise.
34881         (abi-o32_hard_2008-ld-soname): Likewise.
34882         (abi-n32_soft-ld-soname): Likewise.
34883         (abi-n32_hard-ld-soname): Likewise.
34884         (abi-n32_soft_2008-ld-soname): Likewise.
34885         (abi-n32_hard_2008-ld-soname): Likewise.
34886         (abi-n64_soft-ld-soname): Likewise.
34887         (abi-n64_hard-ld-soname): Likewise.
34888         (abi-n64_soft_2008-ld-soname): Likewise.
34889         (abi-n64_hard_2008-ld-soname): Likewise.
34890         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
34891         Likewise.
34892         (abi-64-v2-ld-soname): Likewise.
34893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
34894         ld.so entries.
34895         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
34896         variable.
34897         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
34898         entry.
34899         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
34900         variable.
34901         (abi-64-ld-soname): Likewise.
34902         (abi-x32-ld-soname): Likewise.
34903         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
34904         entry.
34905         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
34907 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
34909         [BZ #14138]
34910         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
34911         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
34912         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
34913         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
34914         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
34915         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
34916         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
34917         syscall entry for GLIBC_2.2 symbol version.
34918         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
34919         Likewise.
34920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
34921         (setrlimit): Likewise.
34922         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
34923         Likewise.
34925 2014-09-23  Will Newton  <will.newton@linaro.org>
34927         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
34928         _LINUX_ARM_SYSDEP_H include guard too.
34929         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
34930         define.
34932 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
34934         * sysdeps/unix/sysv/linux/eventfd.c:
34935         Make first argument unsigned.
34936         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
34937         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
34939 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
34941         [BZ #16852]
34942         * socket/recvmmsg.c (recvmmsg): Drop const argument.
34943         * socket/sys/socket.h: Likewise.
34944         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
34946 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34948         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
34950 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
34952         * time/tst-ftime.c: New test.
34953         * time/Makefile (tests): Add tst-ftime.
34955 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
34957         * soft-fp/extended.h: Fix comment formatting.
34958         * soft-fp/op-1.h: Likewise.
34959         * soft-fp/op-2.h: Likewise.
34960         * soft-fp/op-4.h: Likewise.
34961         * soft-fp/op-8.h: Likewise.
34962         * soft-fp/op-common.h: Likewise.
34963         * soft-fp/soft-fp.h: Likewise.
34965         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
34967 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
34969         [BZ #6652]
34970         * Makeconfig (soversions-default-setname): Remove variable.
34971         ($(common-objpfx)soversions.i): Don't pass default_setname to
34972         soversions.awk.
34973         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
34974         oldest_abi to abi-versions.awk.
34975         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
34976         * config.make.in (oldest-abi): Remove variable.
34977         * configure.ac (--enable-oldest-abi): Remove configure option.
34978         * configure: Regenerated.
34979         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
34980         text.
34981         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
34982         * scripts/soversions.awk: Do not handle default_setname variable.
34983         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
34984         variable.
34985         * sysdeps/mach/hurd/configure: Regenerated.
34986         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
34987         variable.
34988         * sysdeps/unix/sysv/linux/configure: Regenerated.
34990 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34992         * elf/Makefile (CFLAGS-interp.c): Remove.
34993         ($(elf-objpfx)runtime-linker.h): Generate header with linker
34994         path string.
34995         * elf/interp.c: Include generated runtime-linker.h
34997         * Makerules (lib%.so): Don't include $(+interp) in
34998         prerequisites.
34999         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
35000         * dlfcn/eval.c: Remove file.
35002         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
35003         macros.
35005         [BZ #17266]
35006         * misc/sys/cdefs.h: Define __extern_always_inline for clang
35007         4.2 and newer.
35009         [BZ #17370]
35010         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
35012 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35013             Jakub Jelinek  <jakub@redhat.com>
35015         [BZ #17266]
35016         * libio/stdio.h: Check definition of __fortify_function
35017         instead of __extern_always_inline to include bits/stdio2.h.
35018         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
35019         check if __extern_always_inline is defined.
35020         [__USE_MISC || __USE_XOPEN]: Likewise.
35021         [__USE_ISOC99] Likewise.
35022         * misc/sys/cdefs.h (__fortify_function): Define only if
35023         __extern_always_inline is defined.
35024         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
35025         __extern_always_inline and __extern_inline only for g++-4.3
35026         and newer or a compatible gcc.
35028 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
35030         [BZ #17371]
35031         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35032         last change to handle zero prefix length.
35034 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35036         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
35037         _SC_REGEX_VERSION.
35039         * posix/getconf.c (vars): Add _POSIX_IPV6 and
35040         _POSIX_RAW_SOCKETS.
35042 2014-09-13  Allan McRae  <allan@archlinux.org>
35044         * po/ru.po: Update Russian translation from translation project.
35046 2014-09-12  Roland McGrath  <roland@hack.frob.com>
35048         * locale/programs/locale.c (show_locale_vars): Inline local function
35049         into its sole call site.  Clean up some style nits.
35050         (print_item): New function, broken out of ...
35051         (show_info): ... local function here.  Clean up style nits.
35053         * locale/programs/ld-ctype.c (set_one_default): New function, broken
35054         out of ...
35055         (set_class_defaults): ... local function set_default here.
35056         Define set_default as a macro locally to pass constant parameters.
35057         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
35058         rather than a shared local.
35060         * stdlib/rpmatch.c (try): New function, broken out of ...
35061         (rpmatch): ... local function here.  Also, prototypify definition.
35063 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
35065         * scripts/soversions.awk: Do not handle configuration names.
35066         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
35067         vendor and os variables to soversions.awk.
35068         * configure.ac: Do not modify gnu-* host_os.
35069         * configure: Regenerated
35070         * shlib-versions: Remove first column with configuration names.
35071         * nptl/shlib-versions: Likewise.
35072         * nptl_db/shlib-versions: Likewise.
35073         * sysdeps/hppa/shlib-versions: Likewise.
35074         * sysdeps/m68k/shlib-versions: Likewise.
35075         * sysdeps/mach/hurd/shlib-versions: Likewise.
35076         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
35077         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
35078         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
35079         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
35080         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
35081         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
35082         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
35083         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
35084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35085         Likewise.
35086         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35087         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35088         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35089         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35090         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35091         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
35092         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35093         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35096         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
35097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35098         Regenerated.
35099         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
35100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35101         Condition symbol version definitions on [HAVE_ELFV2_ABI].
35103         * shlib-versions: Remove OS-specific entries.  Moved to files in
35104         sysdeps.
35105         * sysdeps/mach/hurd/shlib-versions: New file.
35106         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35108         * nptl/shlib-versions: Remove architecture-specific entries.
35109         Moved to files in sysdeps.
35110         * shlib-versions: Likewise.
35111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
35112         file.
35113         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35114         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35115         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35116         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35118         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
35119         (UDP_NO_CHECK6_RX): Likewise.
35121 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35123         * sysdeps/posix/sysconf.c (__sysconf): Spell
35124         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
35126 2014-08-12  Florian Weimer  <fweimer@redhat.com>
35128         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
35129         loading.
35130         * iconv/Versions (__gconv_transliterate): Export for use from
35131         gconv modules.
35132         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
35133         (struct __gconv_trans_data, __gconv_trans_fct,
35134         __gconv_trans_context_fct, __gconv_trans_query_fct,
35135         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
35136         definitions.
35137         (struct __gconv_step_data): Remove __trans member.
35138         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
35139         longer hidden.  Remove unused trans_data argument.
35140         * iconv/gconv_int.h (struct trans_struct): Remove definition.
35141         (__gconv_translit_find): Remove declaration.
35142         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
35143         prototype.
35144         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
35145         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
35146         trans_data argument.  Add hidden definition.
35147         (__gconv_translit_find): Remove.
35148         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
35149         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
35150         * iconv/skeleton.c: Remove transliteration initialization.
35151         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
35152         __gconv_step_data initialization.
35153         * libio/iofwide.c (__libio_translit_): Remove.
35154         (_IO_fwide): Adjust struct __gconv_step_data initialization.
35155         * wcsmbs/btowc.c (__btowc): Likewise.
35156         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35157         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
35158         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
35159         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
35160         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
35161         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
35162         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
35163         * wcsmbs/wctob.c (wctob): Likewise.
35165 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35167         [BZ #16194]
35168         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
35169         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
35170         register usage.
35171         * sysdeps/x86/Makefile: Adjust.
35173 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35174             Roland McGrath  <roland@hack.frob.com>
35176         * locale/weight.h: Add include guard.
35177         (findidx): Make static rather than auto; take new parameters
35178         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
35179         * locale/weightwc.h: Likewise.
35180         * posix/fnmatch_loop.c
35181         (FCT): Change type of EXTRA from int32_t to wint_t.
35182         Don't include either header inside the function.
35183         Call FINDIDX rather than findidx, and pass new arguments.
35184         #undef FINDIDX at the end of the file.
35185         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
35186         FINDIDX before including fnmatch_loop.c for the non-wide version.
35187         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
35188         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
35189         for the wide version.
35190         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
35191         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
35192         Pass new arguments to findidx.
35193         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
35194         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
35195         Don't #include it inside the function.  Pass new arguments to findidx.
35196         * posix/regex_internal.h
35197         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
35198         (re_string_elem_size_at): Don't #include it inside the function.
35199         Pass new arguments to findidx.
35200         * string/strcoll_l.c: #include WEIGHT_H at top level.
35201         (get_next_seq): Don't #include it inside the function.
35202         Pass new arguments to findidx.
35203         (get_next_seq_nocache): Likewise.
35204         * string/strxfrm_l.c: #include WEIGHT_H at top level.
35205         (STRXFRM): Don't #include it inside the function.
35206         Pass new arguments to findidx.
35208 2014-09-11  Florian Weimer  <fweimer@redhat.com>
35210         [BZ #17344]
35211         * malloc/malloc.c (unlink): Turn asserts into a call to
35212         malloc_printerr.
35214 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
35216         [BZ #17370]
35217         * libio/wfileops (do_ftell_wide): Free OUT.
35219 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
35221         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
35223 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35225         [BZ #17363]
35226         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
35227         group if the current group is empty.
35229 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35231         * benchtests/bench-memset.c (test_main): Add more test from size
35232         from 32 to 512 bytes.
35233         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35234         Add POWER8 memset object.
35235         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35236         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
35237         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
35238         implementation.
35239         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
35240         Likewise.
35241         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
35242         multiarch POWER8 memset optimization.
35243         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
35244         POWER8 memset optimization.
35246         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35247         Remove bzero multiarch objects.
35248         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
35249         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
35250         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
35251         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
35252         Remove define.
35253         [__bzero]: Redefine to specific name.
35254         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
35255         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
35256         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
35257         define.
35258         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
35259         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
35261 2014-09-10  Florian Weimer  <fweimer@redhat.com>
35263         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
35264         warnings into errors.
35266         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
35267         __cxa_thread_atexit_impl prototype.
35269 2014-09-09  Steve Ellcey  <sellcey@mips.com>
35271         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
35272         Fix capitalization of error message.
35274 2014-09-09  Steve Ellcey  <sellcey@mips.com>
35276         * sysdeps/mips/preconfigure: Modify ABI tests.
35278 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
35280         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
35282 2014-09-07  Roland McGrath  <roland@hack.frob.com>
35283             Carlos O'Donell  <carlos@systemhalted.org>
35285         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
35286         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
35287         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
35288         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
35289         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
35290         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
35291         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
35292         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
35293         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
35294         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
35295         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
35296         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
35297         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
35298         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
35299         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
35300         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
35301         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
35302         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
35303         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
35304         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
35305         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
35306         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
35307         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
35308         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
35309         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
35310         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
35311         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
35312         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
35313         Deconditionalize the code that was previously under [RESET_PID].
35314         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
35315         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
35316         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
35317         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
35318         include sysdep.h.
35320 2014-09-08  Allan McRae  <allan@archlinux.org>
35322         * version.h (RELEASE): Set to "development".
35323         (VERSION): Set to "2.20.90"
35325 2014-09-07  Allan McRae  <allan@archlinux.org
35327         * version.h (RELEASE): Set to "stable".
35328         (VERSION): Set to "2.20"
35329         * include/features.h (__GLIBC_MINOR__): Set to 20.
35331         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
35332         Liebler.
35334         * po/ko.po: Update Korean translation from translation project.
35336 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
35338         [BZ #17354]
35339         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
35340         macro for handling signed relocations.
35342 2014-09-03  Florian Weimer  <fweimer@redhat.com>
35344         [BZ #17325]
35345         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
35346         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
35347         assert.
35348         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
35349         * iconvdata/ibm935.c (BODY): Likewise.
35350         * iconvdata/ibm937.c (BODY): Likewise.
35351         * iconvdata/ibm939.c (BODY): Likewise.
35352         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
35353         assert.
35354         * iconvdata/Makefile (iconv-test.out): Pass module list to test
35355         script.
35356         * iconvdata/run-iconv-test.sh: New test loop for checking for
35357         decoder crashers.
35359 2014-09-02  Khem Raj  <raj.khem@gmail.com>
35361         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
35362         libm_hidden_ver.
35364 2014-09-01  Allan McRae  <allan@archlinux.org>
35366         * po/eo.po: Update Esperanto translation from translation project.
35368         * po/ca.po: Update Catalan translation from translation project.
35370 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35372         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
35373         __proc_dostop call.
35375 2014-08-27  Mark Wielaard  <mjw@redhat.com>
35377         [BZ #17319]
35378         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
35379         to call set_thread_area instead of hand written asm.
35380         (__NR_set_thread_area): Removed define.
35381         (TLS_FLAG_WRITABLE): Likewise.
35382         (__ASSUME_SET_THREAD_AREA): Remove check.
35383         (TLS_EBX_ARG): Remove define.
35384         (TLS_LOAD_EBX): Likewise.
35386 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35388         Simplify atomicity of socket creation in bind.
35390         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
35391         looking up the name after linking the file.
35393 2014-08-27  Allan McRae  <allan@archlinux.org>
35395         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35397 2014-08-26  Florian Weimer  <fweimer@redhat.com>
35399         [BZ #17187]
35400         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
35401         trans_compare, open_translit, __gconv_translit_find):
35402         Remove module loading code.
35404 2014-08-26  Allan McRae  <allan@archlinux.org>
35406         * po/vi.po: Update Vietnamese translation from translation project.
35408         * po/uk.po: Update Ukrainian translation from translation project.
35410         * po/fr.po: Update French translation from translation project.
35412         * po/ru.po: Update Russian translation from translation project.
35414         * po/pl.po: Update Polish translation from translation project.
35416         * po/cs.po: Update Czech translation from translation project.
35418         * po/de.po: Update German translation from translation project.
35420         * po/bg.po: Update Bulgarian translation from translation project.
35422         * po/sv.po: Update Sweedish translation from translation project.
35424         * po/nl.po: Update Dutch translation from translation project.
35426         * po/es.po: Update Spanish translation from translation project.
35428 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35430         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
35432         * catgets/Makefile (CPPFLAGS-gencat): Remove.
35433         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
35434         (CPPFLAGS-iconvconfig): Likewise.
35435         * timezone/Makefile (CPPFLAGS-zic): Likewise.
35437         * include/libc-symbols.h: Remove unnecessary check for
35438         NOT_IN_libc.
35439         * nptl/pthreadP.h: Likewise.
35440         * sysdeps/aarch64/setjmp.S: Likewise.
35441         * sysdeps/alpha/setjmp.S: Likewise.
35442         * sysdeps/arm/sysdep.h: Likewise.
35443         * sysdeps/i386/setjmp.S: Likewise.
35444         * sysdeps/m68k/setjmp.c: Likewise.
35445         * sysdeps/posix/getcwd.c: Likewise.
35446         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
35447         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
35448         * sysdeps/s390/s390-32/setjmp.S: Likewise.
35449         * sysdeps/s390/s390-64/setjmp.S: Likewise.
35450         * sysdeps/sh/sh3/setjmp.S: Likewise.
35451         * sysdeps/sh/sh4/setjmp.S: Likewise.
35452         * sysdeps/unix/alpha/sysdep.h: Likewise.
35453         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35454         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35455         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
35456         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35459         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35460         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35461         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35462         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35463         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35464         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35465         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35466         * sysdeps/x86_64/setjmp.S: Likewise.
35468 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
35470         [BZ #17263]
35471         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
35472         <stdint.h>.
35473         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
35474         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
35476 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35478         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
35480         [BZ #17262]
35481         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
35482         and __x86_64__ when disabling x87 inline functions.
35484 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
35486         [BZ #17259]
35487         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
35488         asm statement with __cpuid_count.
35490 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
35492         * configure.ac: Change __ehdr_start code to dereference the struct.
35493         Run readelf on the output to look for relocations.
35494         * configure: Regenerated.
35496 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
35498         [BZ #17261]
35499         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
35500         value to 0.
35501         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
35503 2014-08-12  Roland McGrath  <roland@hack.frob.com>
35505         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
35507 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
35509         [BZ #16892]
35510         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
35511         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
35513 2014-08-12  Sean Anderson  <seanga2@gmail.com>
35515         * malloc/malloc.c: Fix typo in comment.
35517 2014-08-09  Allan McRae  <allan@archlinux.org>
35519         * Regenerate libc.po.
35521 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
35523         * intl/tst-gettext2.sh: Check every lang file for creation.
35525 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
35527         * sysdeps/aarch64/fpu/math_private.h
35528         (libc_feholdsetround_noex_aarch64_ctx): New function.
35530 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
35532         * sysdeps/arm/armv6/strcpy.S (strcpy):
35533         Fix performance issue in misaligned cases.
35535 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35537         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
35538         Move definition from termios.h.
35539         (struct termio): Likewise.
35540         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35541         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
35542         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
35543         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
35544         Likewise.
35545         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
35546         Move definition to ioctl-types.h
35547         (struct termio): Likewise.
35548         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35549         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
35550         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
35551         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
35552         Likewise.
35554 2014-08-05  Richard Henderson  <rth@redhat.com>
35556         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
35557         exceptions.
35558         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
35559         Add fraiseexcpt.
35560         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
35561         Use __feraiseexcept.
35562         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
35563         Protect libm symbols with IS_IN_libm.
35565         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
35567 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
35569         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
35571 2014-08-04  Will Newton  <will.newton@linaro.org>
35573         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
35574         file.
35576 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
35578         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
35579         variants for each function.
35581 2014-08-04  Roland McGrath  <roland@hack.frob.com>
35583         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
35584         appended ...
35585         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
35586         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
35587         appended ...
35588         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
35589         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
35590         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
35591         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
35592         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
35593         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
35594         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
35595         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
35596         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
35597         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
35598         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
35599         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
35600         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
35601         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
35602         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
35603         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
35604         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
35605         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
35606         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
35607         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
35608         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
35609         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
35610         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
35611         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
35612         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
35613         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
35614         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
35615         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
35616         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
35617         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
35618         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
35619         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
35620         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
35621         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
35622         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
35623         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
35624         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
35625         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
35626         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
35627         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
35628         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
35629         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
35630         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
35631         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
35632         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
35633         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
35634         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
35635         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
35636         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
35637         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
35638         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
35639         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
35640         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
35641         Update #include.
35642         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
35643         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
35645 2014-08-04  Roland McGrath  <roland@hack.frob.com>
35647         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
35648         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
35649         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
35650         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
35651         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
35652         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
35654 2014-08-04  Roland McGrath  <roland@hack.frob.com>
35656         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
35657         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
35658         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35659         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
35661 2014-08-04  Roland McGrath  <roland@hack.frob.com>
35663         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
35664         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
35665         (__libc_vfork): Define function under this name.
35666         (__vfork): Define as an alias.
35667         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
35668         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
35670 2014-08-04  Roland McGrath  <roland@hack.frob.com>
35672         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
35673         that was previously under [RESET_PID].
35674         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
35676 2014-08-04  Andreas Schwab  <schwab@suse.de>
35678         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
35680 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
35682         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
35683         (main): Likewise.
35685 2014-08-01  Roland McGrath  <roland@hack.frob.com>
35687         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
35689 2014-08-01  Richard Henderon  <rth@redhat.com>
35691         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
35692         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
35693         typo in exact zero test.
35694         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35695         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35696         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35698 2014-08-01  Roland McGrath  <roland@hack.frob.com>
35700         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
35701         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
35702         * sysdeps/arm/sysdep.h: ... here.
35703         [!__ASSEMBLER__]: Include <stdint.h>.
35705 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35707         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
35708         (HAVE_WCTYPE_H): Likewise.
35709         (HAVE_ISWCTYPE): Likewise.
35710         (ENABLE_NLS): Likewise.
35711         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
35712         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
35714         * posix/regex_internal.c: Check if DEBUG is defined and is
35715         set.
35717         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
35718         (HAVE_MBSRTOWCS): Likewise.
35719         * posix/fnmatch.c: Include string.h unconditionally.
35721 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
35723         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
35724         reversal.
35726 2014-07-31  Roland McGrath  <roland@hack.frob.com>
35728         * sysdeps/generic/safe-fatal.h: New file.
35729         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
35730         * nptl/forward.c: Include it.
35731         (__pthread_unwind): Use __safe_fatal as default action, rather
35732         than a bogus use of INTERNAL_SYSCALL that could never work.
35734         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
35735         * configure.ac (libc_cv_builtin_trap): New test.
35736         * configure: Regenerated.
35737         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
35738         (ABORT_INSTRUCTION): Define using __builtin_trap.
35740         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
35741         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
35742         * sysdeps/nptl/nptl-signals.h: New file.
35743         * nptl/pthreadP.h: Include <nptl-signals.h>.
35745 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
35747         * sysdeps/s390/s390-64/utf16-utf32-z9.c
35748         (ONE_DIRECTION): Define.
35749         * sysdeps/s390/s390-64/utf8-utf16-z9.c
35750         (ONE_DIRECTION): Define.
35751         * sysdeps/s390/s390-64/utf8-utf32-z9.c
35752         (ONE_DIRECTION): Define.
35754 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
35756         * sysdeps/s390/Makefile: Delete file.
35757         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
35758         * sysdeps/s390/__longjmp.c: Delete file.
35759         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
35760         Remove fields __flags and __reserved.
35761         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
35762         and add versioning.
35763         * sysdeps/s390/rtld-__longjmp.c: Delete file.
35764         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
35765         * sysdeps/s390/rtld-setjmp.S: Likewise.
35766         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
35767         * sysdeps/s390/s390-32/__longjmp.c: ... here.
35768         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
35769         * sysdeps/s390/s390-32/setjmp.S: ... here.
35770         Add versioning.
35771         (__sigsetjmp): Remove setting __flags field.
35772         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
35773         * sysdeps/s390/s390-64/__longjmp.c: ... here.
35774         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
35775         * sysdeps/s390/s390-64/setjmp.S: ... here.
35776         Add versioning.
35777         (__sigsetjmp): Remove setting __flags field.
35778         * sysdeps/s390/setjmp.S: Delete file.
35779         * sysdeps/s390/sigjmp.c: Likewise.
35780         * sysdeps/s390/v1-longjmp.c: Likewise.
35781         * sysdeps/s390/v1-setjmp.h: Likewise.
35782         * sysdeps/s390/v1-sigjmp.c: Likewise.
35783         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
35784         Remove v1-longjmp_chk.
35785         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
35786         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
35787         Include debug/longjmp_chk.c and add versioning.
35788         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
35789         Include nptl/pt-longjmp.c and add versioning.
35790         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
35791         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
35792         Include __longjmp.c.
35793         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
35794         Move to ...
35795         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
35796         (__getcontext): Remove setting __flags field.
35797         Add versioning.
35798         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35799         Don't restore upper high grps.
35800         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
35801         Likewise.
35802         (__swapcontext): Remove setting uc_flags field.
35803         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
35804         Delete file.
35805         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
35806         Include __longjmp.c.
35807         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
35808         Move to ...
35809         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
35810         (__getcontext): Remove setting __flags field.
35811         Add versioning.
35812         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
35813         (__swapcontext): Remove setting uc_flags field.
35814         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
35815         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
35816         Remove fields uc_high_gprs and __reserved.
35817         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
35818         New file with reverted content.
35819         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
35820         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
35821         Regenerated.
35822         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
35823         Regenerated.
35825 2014-07-31  Andreas Schwab  <schwab@suse.de>
35827         * config.h.in (HAVE_IFUNC): Define to 0.
35828         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
35829         definedness.
35831 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
35833         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35834         memmove-avx-unaligned, memcpy-avx-unaligned and
35835         mempcpy-avx-unaligned.
35836         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35837         Add tests for AVX memcpy functions.
35838         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
35839         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
35840         memcpy_chk.
35841         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
35842         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
35843         memmove_chk.
35844         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
35845         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
35846         mempcpy_chk.
35847         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
35848         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
35849         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
35851 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35853         [BZ #17213]
35854         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
35855         powerpc64le.
35857 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
35859         [BZ #16839]
35860         * manual/llio.texi: Add section about open file description locks.
35861         * manual/examples/ofdlocks.c: Example of open file description
35862         lock usage.
35863         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
35864         F_OFD_SETLK, and F_OFD_SETLKW.
35866 2014-07-23  Allan McRae  <allan@archlinux.org>
35868         * po/es.po: Update Spanish translation from translation project.
35870 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
35872         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
35874 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
35876         [BZ #17078]
35877         * sysdeps/arm/dl-machine.h (elf_machine_rela)
35878         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
35879         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
35881 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
35883         [BZ #17088]
35884         * math/fesetenv.c (__fesetenv)
35885         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
35886         * math/feupdateenv.c (__feupdateenv)
35887         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
35889         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
35890         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
35891         (__ASSUME_SOCKETCALL): Do not define.
35893         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
35894         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
35895         (__ASSUME_SOCKETCALL): Do not define.
35896         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
35897         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
35898         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35899         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
35900         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35901         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
35902         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35903         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35905         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
35906         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
35907         (__ASSUME_SOCKETCALL): Do not define.
35908         (__ASSUME_IPC64): Define unconditionally.
35909         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
35910         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35911         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
35912         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35913         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
35914         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35915         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
35916         Likewise.
35918         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
35919         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
35920         (__ASSUME_SOCKETCALL): Do not define.
35921         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
35922         (__ASSUME_FUTEX_LOCK_PI): Likewise.
35923         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35924         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
35925         (__ASSUME_REQUEUE_PI): Define unconditionally.
35926         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
35927         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
35928         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35929         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
35930         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35931         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35933         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
35934         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
35935         (__ASSUME_SOCKETCALL): Do not define.
35936         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
35937         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35938         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35939         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
35940         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35941         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35943         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
35944         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
35945         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35946         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
35947         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35948         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
35949         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35950         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
35951         (__ASSUME_GETCPU_SYSCALL): Likewise.
35953         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
35954         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
35955         cases for individual architectures.
35956         * sysdeps/gnu/configure: Regenerated.
35957         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
35958         LIBC_SLIBDIR_RTLDDIR.
35959         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
35960         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
35961         LIBC_SLIBDIR_RTLDDIR.
35962         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
35963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
35964         LIBC_SLIBDIR_RTLDDIR.
35965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35966         Regenerated.
35967         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
35968         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
35969         file.
35970         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
35971         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
35972         file.
35973         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
35974         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
35975         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
35976         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
35978         * sysdeps/aarch64/shlib-versions: Move to ...
35979         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
35980         * sysdeps/alpha/shlib-versions: Move to ...
35981         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
35982         * sysdeps/arm/shlib-versions: Move to ...
35983         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
35984         * sysdeps/hppa/shlib-versions: Move all contents except for
35985         libgcc_s entry to ...
35986         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
35987         entry from ...
35988         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
35989         * sysdeps/ia64/shlib-versions: Move to ...
35990         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
35991         entry from ...
35992         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
35993         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
35994         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
35995         * sysdeps/microblaze/shlib-versions: Move to ...
35996         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
35997         * sysdeps/mips/shlib-versions: Move to ...
35998         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
35999         entry from ...
36000         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
36001         * sysdeps/tile/shlib-versions: Move to ...
36002         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
36003         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
36004         from ...
36005         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
36006         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
36007         entry from ...
36008         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
36010 2014-07-17  Will Newton  <will.newton@linaro.org>
36012         * sysdeps/arm/bits/atomic.h
36013         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
36014         (__arch_compare_and_exchange_bool_16_int): Likewise.
36015         (__arch_compare_and_exchange_bool_64_int): Likewise.
36017         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
36018         into an #else block.
36020 2014-07-16  Roland McGrath  <roland@hack.frob.com>
36022         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
36023         just Linux configurations.  Test empirically that the compiler sets
36024         __ARM_EABI__, rather than using the tuple to decide.
36025         * sysdeps/arm/preconfigure: Regenerated.
36026         * sysdeps/unix/sysv/linux/arm/configure: File removed.
36027         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
36028         contents appended ...
36029         * sysdeps/arm/configure.ac: ... here.
36030         * sysdeps/arm/configure: Regenerated.
36032 2014-07-15  Roland McGrath  <roland@hack.frob.com>
36034         * nptl/pthread_kill.c: New file.
36035         * nptl/pthread_sigmask.c: New file.
36036         * nptl/pthread_sigqueue.c: New file.
36038         * sysdeps/nptl/lowlevellock.h: New file.
36039         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
36040         * sysdeps/nptl/lowlevellock-futex.h: New file.
36042         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
36043         Remove dead declarations.
36045 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
36047         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
36048         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
36049         config-cflags-avx2.
36050         * sysdeps/x86_64/configure.ac: Likewise.
36051         * sysdeps/i386/configure: Regenerated.
36052         * sysdeps/x86_64/configure: Likewise.
36053         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36054         memset-avx2 only if config-cflags-avx2 is yes.
36055         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36056         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
36057         defined.
36058         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
36059         only if HAVE_AVX2_SUPPORT is defined.
36060         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36062 2014-07-14  Alan Modra  <amodra@gmail.com>
36064         [BZ #17153]
36065         * elf/elf.h (DT_PPC64_NUM): Correct value.
36066         * NEWS: Add to fixed bug list.
36068 2014-07-13  Jim Meyering  <meyering@fb.com>
36070         [BZ 17150]
36071         regex: don't deref NULL upon heap allocation failure
36072         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
36073         failure in one more place.
36074         To trigger the segfault, configure grep -with-included-regex,
36075         build it, and run these commands:
36076         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
36078 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
36080         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
36082 2014-07-11  Richard Henderson  <rth@redhat.com>
36084         * sysdeps/aarch64/libm-test-ulps: Update.
36086 2014-07-10  Florian Weimer  <fweimer@redhat.com>
36088         [BZ #17135]
36089         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
36090         * nptl/allocatestack.c (__nptl_setxid_error): New function.
36091         (__nptl_setxid): Initialize error member.  Call
36092         __nptl_setxid_error.
36093         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
36094         * nptl/descr.h (struct xid_command): Add error member.
36095         * nptl/tst-setuid3.c: New file.
36096         * nptl/Makefile (tests): Add it.
36098 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36100         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
36101         New define.
36102         (__lll_trylock): Use __lll_base_trylock.
36103         (__lll_cond_trylock): Likewise.
36105 2014-07-10  Roland McGrath  <roland@hack.frob.com>
36107         * nptl/pthread_create.c (start_thread): Use atomic_or and
36108         lll_futex_wake directly rather than lll_robust_dead.
36109         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36110         (lll_robust_dead): Macro removed.
36111         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
36112         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36113         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36114         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36115         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36116         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36117         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36118         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36119         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36120         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36121         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36122         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36123         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36124         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36125         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36127         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
36128         Use atomic_compare_and_exchange_val_acq directly rather than
36129         lll_robust_trylock.
36130         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36131         (__lll_robust_trylock, lll_robust_trylock): Removed.
36132         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36133         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36134         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36135         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36136         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36137         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36138         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36139         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36140         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36141         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36142         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36143         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36144         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36145         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36147 2014-07-02  Florian Weimer  <fweimer@redhat.com>
36149         * manual/locale.texi (Locale Names): New section documenting
36150         locale name syntax.  Adjust menu and node chaining accordingly.
36151         (Choosing Locale): Reference Locale Names, Locale Categories.
36152         Mention setting LC_ALL=C.  Reflect that name syntax is now
36153         documented.
36154         (Locale Categories): New section title.  Reference Locale Names.
36155         LC_ALL is an environment variable, but not a category.
36156         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
36157         description, now in Locale Name.  Reference that section.  Locale
36158         name syntax is now documented.
36160 2014-07-02  Florian Weimer  <fweimer@redhat.com>
36162         [BZ #17137]
36163         * locale/findlocale.c (name_present, valid_locale_name): New
36164         functions.
36165         (_nl_find_locale): Use the loc_name variable to store name
36166         candidates.  Call name_present and valid_locale_name to check and
36167         validate locale names.  Return an error if the locale is invalid.
36169 2014-07-02  Florian Weimer  <fweimer@redhat.com>
36171         * locale/setlocale.c (setlocale): Use strdup for allocating
36172         composite name copy.
36174 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36176         Sync up with gnulib.
36177         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
36178         [!_LIBC && ENABLE_NLS]: Include gettext.h.
36179         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
36180         and _GL_ARG_NONNULL.
36181         [USE_UNLOCKED_IO]: Include unlocked-io.h.
36182         [!_LIBC]: Include code for Windows and Cygwin.
36183         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
36184         Include prototype for int strerror_r.
36185         [!_LIBC] (is_open): New function.
36186         (flush_stdout): New function.
36187         (print_errno_message): Use it.
36188         (error): Likewise.
36189         (error_at_line): Likewise.
36190         (error_tail) Add function attribute macros.  Use
36191         __builtin_expect.
36193         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
36195         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
36197         * io/ftw.c: Include sys/param.h unconditionally.
36199         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
36201         [BZ #17125]
36202         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
36203         libc_freeres_ptr.
36204         (freecache): New function to free CACHE on exit.
36206         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
36207         initialization.
36209 2014-07-09  David S. Miller  <davem@davemloft.net>
36211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36213         * sysdeps/sparc/nptl/internaltypes.h: Delete.
36214         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
36215         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
36216         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
36217         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
36218         * sysdeps/sparc/nptl/sem_init.c: Likewise.
36219         * sysdeps/sparc/nptl/sem_post.c: Likewise.
36220         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
36221         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
36222         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
36223         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
36224         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
36225         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
36227 2014-07-09  Andreas Schwab  <schwab@suse.de>
36229         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
36230         output.
36231         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
36232         (do_test): Likewise.
36234         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36236 2014-07-09  Will Newton  <will.newton@linaro.org>
36238         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
36239         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
36240         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
36241         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
36242         * sysdeps/hppa/start.S (_start): Likewise.
36244 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
36246         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
36248         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
36249         defined.
36251 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36253         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
36254         after checking that it is non-NULL.
36256         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
36258 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36260         * sysdeps/powerpc/memmove.c: Remove file.
36261         * sysdeps/powerpc/powerpc32/power4/memcopy.h
36262         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
36263         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
36264         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
36265         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
36266         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
36267         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
36268         string memmove instead of removed powerpc one.
36270         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
36271         [weak_alias]: Fix compiler warning due trailing data.
36272         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
36273         [weak_alias]: Likewise.
36274         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
36275         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
36277         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36278         (__libc_ifunc_impl_list): Add memmove functions.
36280 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36282         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
36283         Remove code.
36284         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
36285         Likewise.
36286         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
36287         Likewise.
36288         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
36289         Likewise.
36290         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
36291         Likewise.
36292         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
36293         Likewise.
36294         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
36295         Likewise.
36296         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
36297         Likewise.
36298         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
36299         Likewise.
36300         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
36301         Likewise.
36302         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
36303         Likewise.
36304         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
36305         Likewise.
36306         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
36307         Likewise.
36308         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
36309         Likewise.
36310         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
36311         Likewise.
36312         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
36313         Likewise.
36314         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
36315         Likewise.
36317 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36319         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
36320         to avoid alignment traps in non-cacheable memory.
36321         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
36323         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
36324         multiarch objects.
36325         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
36326         file: multiarch power7 memmove.
36327         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
36328         multiarch default memmove.
36329         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
36330         multiarch memove for powerpc32/power4.
36332         * string/bcopy.c: Use full path to include memmove.c.
36333         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
36334         multiarch objects.
36335         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
36336         bcopy for powerpc64.
36337         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
36338         bcopy for powerpc64.
36339         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
36340         and memmove implementations.
36341         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
36342         optimized multiarch memmove for POWER7/powerpc64.
36343         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
36344         default multiarch memmove for powerpc64.
36345         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
36346         multiarch for powerpc64.
36347         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
36348         for POWER7/powerpc64.
36349         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
36350         memmove for POWER7/powerpc64.
36352         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
36353         glibc default one.
36355         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
36356         __ELF_NATIVE_CLASS equal to 64.
36358 2014-07-07  Roland McGrath  <roland@hack.frob.com>
36360         * sysdeps/nptl/lowlevellock.h: File removed.
36362         * NEWS: NPTL is no longer an add-on!
36363         * nptl/internaltypes.h: Moved ...
36364         * sysdeps/nptl/internaltypes.h: ... here.
36365         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
36366         * sysdeps/nptl/fork.c: Likewise.
36367         * sysdeps/nptl/gai_misc.h: Likewise.
36368         * sysdeps/nptl/librt-cancellation.c: Likewise.
36369         * sysdeps/nptl/jmp-unwind.c: Likewise.
36370         * sysdeps/nptl/setxid.h: Likewise.
36371         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
36372         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
36373         * sysdeps/unix/sysv/linux/arm/Implies: New file.
36374         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
36375         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
36376         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
36377         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
36378         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
36379         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
36380         * sysdeps/unix/sysv/linux/mips/Implies: New file.
36381         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
36382         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
36383         * sysdeps/unix/sysv/linux/sh/Implies: New file.
36384         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
36385         * sysdeps/unix/sysv/linux/tile/Implies: New file.
36386         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
36387         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
36388         * nptl/Makeconfig: Moved ...
36389         * sysdeps/nptl/Makeconfig: ... here.
36390         * nptl/configure: File removed.
36391         * nptl/ANNOUNCE: File removed.
36392         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
36393         * sysdeps/unix/sysv/linux/configure: Regenerated.
36395         * nptl/Makefile (routines): Add libc_pthread_init,
36396         libc_multiple_threads, register-atfork and unregister-atfork.
36397         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
36398         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
36399         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
36400         pthread-pi-defines.sym, structsem.sym.
36401         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
36402         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
36403         [$(subdir) = nptl] (tests): Add tst-setgetname.
36404         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
36405         * sysdeps/unix/sysv/linux/sigaction.c: Just include
36406         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
36407         [!LIBC_SIGACTION]: Remove aliases.
36408         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
36409         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
36410         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
36411         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
36412         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
36413         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
36414         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36415         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36416         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
36417         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
36418         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
36419         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
36420         __libc_allocate_rtsig_private.
36421         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
36422         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
36423         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
36424         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
36425         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
36426         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
36427         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
36428         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
36429         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
36430         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
36431         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
36432         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
36433         * nptl/internaltypes.h: ... here.
36434         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
36435         * sysdeps/nptl/jmp-unwind.c: ... here.
36436         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
36437         * nptl/libc-lowlevellock.c: ... here.
36438         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
36439         * nptl/libc_multiple_threads.c: ... here.
36440         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
36441         * nptl/libc_pthread_init.c: ... here.
36442         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
36443         * nptl/lowlevelbarrier.sym: ... here.
36444         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
36445         * nptl/lowlevelcond.sym: ... here.
36446         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
36447         * nptl/lowlevellock.c: ... here.
36448         * nptl/lowlevellock.h: Moved ...
36449         * sysdeps/nptl/lowlevellock.h: ... here.
36450         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
36451         * nptl/lowlevelrobustlock.c: ... here.
36452         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
36453         * nptl/lowlevelrobustlock.sym: ... here.
36454         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
36455         * nptl/lowlevelrwlock.sym: ... here.
36456         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
36457         * nptl/pt-fork.c: ... here.
36458         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
36459         * nptl/pthread-pi-defines.sym: ... here.
36460         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
36461         * nptl/pthread_attr_getaffinity.c: ... here.
36462         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
36463         * nptl/pthread_attr_setaffinity.c: ... here.
36464         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
36465         * nptl/pthread_mutex_cond_lock.c: ... here.
36466         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
36467         Update #include.
36468         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
36469         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
36470         * nptl/pthread_once.c: ... here, replacing old file.
36471         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
36472         * nptl/pthread_yield.c: ... here.
36473         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
36474         * nptl/register-atfork.c: ... here.
36475         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
36476         * nptl/sem_post.c: ... here.
36477         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
36478         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
36479         * nptl/sem_timedwait.c: ... here.
36480         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
36481         * nptl/sem_trywait.c: ... here.
36482         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
36483         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
36484         * nptl/sem_wait.c: ... here.
36485         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
36486         * nptl/structsem.sym: ... here.
36487         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
36488         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
36489         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
36490         * nptl/unregister-atfork.c: ... here.
36491         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
36492         * nptl/unwindbuf.sym: ... here.
36493         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
36494         * sysdeps/nptl/fork.c: ... here.
36495         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
36496         * sysdeps/nptl/fork.h: ... here.
36497         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
36498         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
36499         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
36500         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
36501         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
36502         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
36503         * sysdeps/unix/sysv/linux/getpid.c: ... here.
36504         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
36505         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
36506         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
36507         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
36508         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
36509         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
36510         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
36511         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
36512         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
36513         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
36514         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
36515         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
36516         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
36517         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
36518         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
36519         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
36520         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
36521         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
36522         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
36523         * sysdeps/unix/sysv/linux/raise.c: ... here.
36524         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
36525         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
36526         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
36527         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
36528         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
36529         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
36530         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
36531         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
36532         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
36533         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
36534         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
36535         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
36536         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
36537         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
36538         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
36540 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36542         * sysdeps/generic/memcopy.h: Add comment for
36543         MEMCPY_OK_FOR_FWD_MEMMOVE.
36545 2014-07-04  Will Newton  <will.newton@linaro.org>
36547         * string/memchr.c: Merge from gnulib.
36548         [_LIBC]: Remove conditionals.
36549         (__ptr_t): Remove define.
36550         (LONG_MAX_32_BITS): Likewise.
36551         (LONG_MAX): Likewise.
36552         (MEMCHR): Use ANSI prototype and optimize algorithm.
36554         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
36556 2014-07-03  Roland McGrath  <roland@hack.frob.com>
36558         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
36559         (lll_futex_timed_wait_bitset): Fix syscall argument count.
36561         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
36562         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
36563         in a bare environment with no <stdlib.h> installed.
36564         * sysdeps/nptl/configure: Regenerated.
36566         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
36568         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
36569         AC_EGREP_CPP for kernel header checks, so they only succeed if
36570         including <linux/version.h> actually works right.
36571         * sysdeps/unix/sysv/linux/configure: Regenerated.
36573         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
36574         value so it's not diagnosed as unused.
36576         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
36577         thing) with "ifeq ($(subdir),rt)".
36579 2014-07-03  Richard Henderson  <rth@redhat.com>
36581         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
36582         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
36583         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
36585         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
36586         (math_force_eval): New.
36588         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
36589         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
36591         * sysdeps/alpha/fpu/s_round.c: Remove file.
36592         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
36594         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
36595         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
36596         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
36597         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
36598         (_dl_start, print_statistics): Likewise.
36599         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
36600         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
36602         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36603         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36604         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36605         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36606         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
36607         (HP_SMALL_TIMING_AVAIL): Define.
36608         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36609         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
36610         (HP_SMALL_TIMING_AVAIL): Define.
36611         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36612         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36614         * sysdeps/aarch64/hp-timing.h: New file.
36616         * sysdeps/generic/hp-timing.h: Remove dead comment.
36617         * sysdeps/generic/hp-timing-common.h: New file.
36618         * sysdeps/alpha/hp-timing.h: Include it.
36619         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
36620         * sysdeps/i386/i686/hp-timing.h: Likewise.
36621         * sysdeps/ia64/hp-timing.h: Likewise.
36622         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36623         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36624         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36625         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36626         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
36627         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
36628         (hp_timing_t): New.
36630         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
36631         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
36632         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
36633         * elf/rtld.c (_dl_start_final): Likewise.
36634         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
36635         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36636         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36637         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36638         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36639         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
36640         (HP_TIMING_DIFF_INIT): Remove.
36641         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36642         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
36643         (HP_TIMING_DIFF_INIT): Remove.
36644         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36645         * sysdeps/i386/i686/hp-timing.c: Remove file.
36646         * sysdeps/x86_64/hp-timing.c: Remove file.
36647         * sysdeps/ia64/hp-timing.c: Remove file.
36648         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
36649         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
36650         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
36651         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
36653         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
36654         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
36655         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
36656         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
36657         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
36658         (HP_TIMING_ACCUM): Remove.
36659         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
36660         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
36661         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
36663         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
36664         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
36665         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
36666         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
36667         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
36668         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
36669         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
36670         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
36672         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
36674 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
36676         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
36678 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36680         Sync up with gettext.
36681         * intl/loadmsgcat.c: Define O_BINARY if not defined.
36682         [_MSC_VER]: Include malloc.h
36683         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
36684         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
36685         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
36686         TEMP_FAILURE_RETRY.  Cast return of alloca.
36687         [!_LIBC] Call gl_rwlock_init.
36688         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
36690 2014-07-02  Roland McGrath  <roland@hack.frob.com>
36692         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
36693         before checking its value.
36695 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36697         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
36699         * debug/memcpy_chk.c: Don't include pagecopy.h.
36700         * debug/mempcpy_chk.c: Likewise.
36701         * string/memcpy.c: Likewise.
36702         * string/memmove.c: Likewise.
36703         * sysdeps/powerpc/memmove.c: Likewise.
36704         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
36705         definition of PAGE_COPY_FWD_MAYBE here...
36706         * sysdeps/generic/pagecopy.h: ... from here.
36707         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
36709 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36710             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36712         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
36713         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
36714         optimizations.
36715         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36716         (__libc_ifunc_impl_list): Likewise.
36717         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
36718         multiarch strcat for PPC64.
36719         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
36720         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
36722 2014-07-02  Roland McGrath  <roland@hack.frob.com>
36724         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
36726 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36728         * intl/loadmsgcat.c: Remove declaration of
36729         get_sysdep_segment_value.
36730         (get_sysdep_segment_value): Use ISO C style.
36731         (_nl_load_domain): Use ISO C style.  Get rid of redundant
36732         semicolon.  Fix typo and formatting in comment.
36733         (_nl_unload_domain): Use ISO C style.
36735         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
36737 2014-07-02  Will Newton  <will.newton@linaro.org>
36739         * malloc/obstack.c: Merge from gnulib master.
36740         [HAVE_CONFIG_H]: Remove conditional code.
36741         [!_LIBC]: Include config.h.
36742         [!ELIDE_CODE]: Don't include inttypes.h, include
36743         stdint.h unconditionally.
36744         (print_and_abort): Mark as _Noreturn.
36745         (_obstack_allocated_p): Mark as __attribute_pure__.
36746         (obstack_free): Rename to __obstack_free.
36747         [!__attribute__]: Remove conditional code.
36748         * malloc/obstack.h: Merge from gnulib master.
36749         [__cplusplus]: Move conditional down.
36750         [!__attribute_pure__]: Define __attribute_pure__ here
36751         if it is not already defined.
36752         (_obstack_memory_used): Mark as __attribute_pure__.
36753         [!__obstack_free]: Define as obstack_free.
36754         [__GNUC__]: Remove check for ancient NeXT gcc.
36756 2014-07-02  Will Newton  <will.newton@linaro.org>
36757             Paul Eggert  <eggert@cs.ucla.edu>
36759         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
36761 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36763         * resolv/gethnamaddr.c: Add comment warning that the file is
36764         not maintained.
36766 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
36768         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
36769         entries.
36771         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
36772         entry for aio_cancel and aio_cancel64.
36773         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
36774         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
36775         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
36776         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
36777         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
36778         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
36779         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
36780         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
36781         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
36782         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
36783         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
36784         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
36785         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
36787 2014-07-01  Roland McGrath  <roland@hack.frob.com>
36789         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
36790         * nptl/pthread_mutex_lock.c: Likewise.
36791         * nptl/pthread_mutex_timedlock.c: Likewise.
36792         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
36794 2014-07-01  Richard henderson  <rth@redhat.com>
36796         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
36797         (__isnan, __isnanl): Remove.
36798         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
36800         * sysdeps/alpha/fpu/libm-test-ulps: Update.
36802 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
36804         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36806 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36808         * resolv/nss_dns/dns-host.c (getanswer_r)
36809         [MULTI_PTRS_ARE_ALIASES]: Remove code.
36811 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
36813         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36814         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
36815         undefine.
36816         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
36817         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
36819 2014-07-01  Roland McGrath <roland@hack.frob.com>
36821         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
36822         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
36824         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
36825         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
36827         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
36828         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
36829         ... here.
36830         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
36831         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
36833         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
36834         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
36835         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
36836         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
36838         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
36839         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
36840         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
36841         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
36842         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
36843         Moved ...
36844         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
36845         ... here.
36846         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
36847         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
36848         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
36849         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
36850         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
36851         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
36852         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
36853         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
36854         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
36855         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
36856         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
36857         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
36858         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
36859         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
36860         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
36861         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
36862         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
36863         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
36864         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
36865         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
36866         ... here.
36867         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
36868         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
36869         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
36870         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
36871         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
36872         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
36873         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
36874         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
36876 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
36878         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
36879         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
36880         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
36881         Add sysdep.
36883 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36885         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36887 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
36889         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
36890         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
36892         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
36894         * sysdeps/arm/libm-test-ulps: Regenerated.
36896 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
36897             Roland McGrath <roland@hack.frob.com>
36899         * test-skeleton.c (signal_handler): Kill the whole process group
36900         before killing the child individually.
36901         (main): Report any failure on `setpgid'.
36903 2014-06-30  Roland McGrath  <roland@hack.frob.com>
36905         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
36906         from _TLS_H to _ARM_NPTL_TLS_H.
36907         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
36908         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
36910 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
36912         [BZ #16539]
36913         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
36914         (__expm1l): Return argument unchanged when small but not
36915         subnormal.
36917         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
36918         include macro name.
36919         (_FP_UNPACK_RAW_1_P): Likewise.
36920         (_FP_PACK_RAW_1): Likewise.
36921         (_FP_PACK_RAW_1_P): Likewise.
36922         (_FP_MUL_MEAT_1_wide): Likewise.
36923         (_FP_MUL_MEAT_DW_1_hard): Likewise.
36924         (_FP_MUL_MEAT_1_hard): Likewise.
36925         (_FP_DIV_MEAT_1_imm): Likewise.
36926         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
36927         (_FP_DIV_MEAT_1_udiv): Likewise.
36928         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
36929         (_FP_UNPACK_RAW_2): Likewise.
36930         (_FP_UNPACK_RAW_2_P): Likewise.
36931         (_FP_PACK_RAW_2): Likewise.
36932         (_FP_PACK_RAW_2_P): Likewise.
36933         (_FP_MUL_MEAT_DW_2_wide): Likewise.
36934         (_FP_MUL_MEAT_2_wide): Likewise.
36935         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
36936         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
36937         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
36938         (_FP_MUL_MEAT_2_gmp): Likewise.
36939         (_FP_DIV_MEAT_2_udiv): Likewise.
36940         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
36941         (_FP_FRAC_SRL_4): Likewise.
36942         (_FP_FRAC_SRST_4): Likewise.
36943         (_FP_FRAC_SRS_4): Likewise.
36944         (_FP_UNPACK_RAW_4): Likewise.
36945         (_FP_UNPACK_RAW_4_P): Likewise.
36946         (_FP_PACK_RAW_4): Likewise.
36947         (_FP_PACK_RAW_4_P): Likewise.
36948         (_FP_MUL_MEAT_DW_4_wide): Likewise.
36949         (_FP_MUL_MEAT_4_wide): Likewise.
36950         (_FP_MUL_MEAT_4_gmp): Likewise.
36951         (umul_ppppmnnn): Likewise.
36952         (_FP_DIV_MEAT_4_udiv): Likewise.
36953         (__FP_FRAC_ADD_4): Likewise.
36954         (__FP_FRAC_SUB_3): Likewise.
36955         (__FP_FRAC_SUB_4): Likewise.
36956         (__FP_FRAC_DEC_3): Likewise.
36957         (__FP_FRAC_DEC_4): Likewise.
36958         (__FP_FRAC_ADDI_4): Likewise.
36959         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
36960         (_FP_FRAC_SRL_8): Likewise.
36961         (_FP_FRAC_SRS_8): Likewise.
36963         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
36964         include macro name.
36965         (FP_UNPACK_RAW_EP): Likewise.
36966         (FP_PACK_RAW_E): Likewise.
36967         (FP_PACK_RAW_EP): Likewise.
36968         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
36969         (_FP_ISSIGNAN): Likewise.
36970         (_FP_ADD_INTERNAL): Likewise.
36971         (_FP_FMA): Likewise.
36972         (_FP_CMP): Likewise.
36973         (_FP_SQRT): Likewise.
36974         (_FP_TO_INT): Likewise.
36975         (_FP_FROM_INT): Likewise.
36976         (FP_EXTEND): Likewise.
36977         (_FP_DIV_MEAT_N_loop): Likewise.
36979 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
36981         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
36982         throughout.
36984 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
36986         [BZ #17097]
36987         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
36988         result with correct sign in case of exponents that produce
36989         overflow except for X very close to 1.
36991 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
36993         mktime: merge #if/#ifdef usage from glibc
36994         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
36995         as that works with both Glibc's and Gnulib's style.
36996         See thread starting at Siddhesh Poyarekar's bug report at:
36997         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
36999 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37001         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
37002         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
37003         * sysdeps/tile/tilegx/memmove.c: Remove file.
37005 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
37007         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
37008         abi-name definition.
37009         * scripts/soversions.awk: Do not handle or generate ABI lines.
37010         * shlib-versions: Remove ABI entries.
37011         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
37012         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
37014 2014-06-27  Roland McGrath  <roland@hack.frob.com>
37016         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
37017         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
37018         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
37019         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
37020         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
37021         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
37022         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
37023         Moved ...
37024         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
37025         ... here.
37026         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
37027         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
37028         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
37029         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
37030         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
37031         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
37032         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
37033         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
37034         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
37035         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
37036         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
37037         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
37038         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
37039         Moved ...
37040         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
37041         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
37042         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
37043         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
37044         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
37045         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
37046         Moved ...
37047         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
37048         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
37049         Moved ...
37050         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
37051         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
37052         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
37053         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
37054         Moved ...
37055         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
37056         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
37057         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
37058         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
37059         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
37060         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
37061         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
37062         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
37063         Moved ...
37064         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
37065         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
37066         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
37067         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
37068         Moved ...
37069         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
37070         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
37071         Moved ...
37072         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
37073         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
37074         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
37075         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
37076         Moved ...
37077         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
37078         ... here.
37079         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
37080         Identical file removed.
37081         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
37082         Moved ...
37083         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
37084         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
37085         Identical file removed.
37086         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
37087         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
37088         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
37089         Moved ...
37090         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
37091         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
37092         Identical file removed.
37093         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
37094         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
37095         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
37096         Identical file removed.
37097         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
37098         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
37099         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
37100         Identical file removed.
37101         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
37102         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
37103         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
37104         Identical file removed.
37105         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
37106         Moved ...
37107         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
37108         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
37109         Identical file removed.
37110         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
37111         Moved ...
37112         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
37113         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
37114         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
37115         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
37116         Identical file removed.
37117         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
37118         Moved ...
37119         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
37120         ... here.
37121         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
37122         Identical file removed.
37123         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
37124         Moved ...
37125         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
37126         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
37127         Identical file removed.
37128         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
37129         Moved ...
37130         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
37131         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
37132         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
37133         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
37134         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
37135         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
37136         Moved ...
37137         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
37138         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
37139         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
37141         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
37142         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
37143         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
37144         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
37145         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
37147 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
37149         [BZ #17092]
37150         * nscd/nscd.c (monitor_child): Return exit status of child
37151         instead of return value from wait syscall.
37153 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
37155         * configure.ac (libc_commonpagesize): Remove variable.
37156         (libc_relro_required): Likewise.
37157         (libc_cv_z_relro): Remove configure test.
37158         * configure: Regenerated.
37159         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
37160         variable.
37161         (libc_relro_required): Likewise.
37162         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
37163         (libc_relro_required): Likewise.
37164         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
37165         (libc_relro_required): Likewise.
37166         * sysdeps/arm/preconfigure: Regenerated.
37167         * sysdeps/ia64/preconfigure: Remove file.
37168         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
37169         variable.
37170         (libc_relro_required): Likewise.
37172         [BZ #16561]
37173         [BZ #16562]
37174         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
37175         (__ieee754_yn): Set FE_TONEAREST mode internally and then
37176         recompute overflowing results in original rounding mode.
37177         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
37178         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
37179         recompute overflowing results in original rounding mode.
37180         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
37181         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37182         recompute overflowing results in original rounding mode.
37183         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
37184         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37185         recompute overflowing results in original rounding mode.
37186         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
37187         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37188         recompute overflowing results in original rounding mode.
37189         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
37190         (libc_feholdsetround_ctx): New macro.
37191         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
37192         * sysdeps/i386/fpu/libm-test-ulps: Update.
37193         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
37195 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
37197         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
37198         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
37199         corresponding .cpsetup call.
37201 2014-06-26  Roland McGrath  <roland@hack.frob.com>
37203         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
37204         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
37205         * sysdeps/arm/Makefile [$(subdir) = csu]
37206         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
37207         (static-only-routines): Add aeabi_read_tp here.
37208         (shared-only-routines): Add libc-aeabi_read_tp here.
37209         (CFLAGS-libc-start.c): Add -fexceptions here.
37210         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
37211         (sysdep_routines, static-only-routines, shared-only-routines):
37212         Don't add to these here.
37213         (CFLAGS-libc-start.c): Likewise.
37215         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
37216         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37217         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
37218         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37219         * sysdeps/arm/Makefile [$(subdir) = rt]
37220         (librt-sysdep_routines, librt-shared-only-routines):
37221         Append rt-aeabi_unwind_cpp_pr1 here.
37222         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
37223         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
37224         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
37225         (libpthread-sysdep_routines, libpthread-shared-only-routines):
37226         Append nptl-aeabi_unwind_cpp_pr1 here.
37227         (tests): Filter out tst-cleanupx4 here.
37228         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
37229         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
37230         Don't do those here.
37232 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
37234         * scripts/list-sources.sh: Do not handle ports specially.
37236 2014-06-26  Roland McGrath  <roland@hack.frob.com>
37238         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
37239         * sysdeps/arm/feupdateenv.c: Likewise.
37241         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
37243 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
37245         * manual/texinfo.tex: Update to version 2014-05-05.10 with
37246         trailing whitespace removed.
37247         * scripts/config.guess: Update to version 2014-03-23.
37248         * scripts/config.sub: Update to version 2014-05-01
37249         * scripts/install-sh: Update to version 2013-12-25.23.
37250         * scripts/move-if-change: Update from gnulib.
37252 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37254         * debug/memmove_chk.c: Remove pagecopy.h include.
37256 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
37258         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
37259         identical to gnulib mktime.
37261 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
37263         * configure.ac: Do not test for machine being rs6000.  Do not test
37264         for powerpc*-*soft.
37265         * configure: Regenerated.
37267         [BZ #11505]
37268         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
37269         test.
37270         * configure: Regenerated.
37271         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
37272         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
37273         Remove configure test.
37274         * sysdeps/arm/configure: Regenerated.
37275         * sysdeps/nptl/configure.ac: Do not check
37276         libc_cv_asm_cfi_directives.
37277         * sysdeps/nptl/configure: Regenerated.
37278         * sysdeps/x86_64/nptl/configure.ac: Remove file.
37279         * sysdeps/x86_64/nptl/configure: Remove generated file.
37280         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
37281         unconditional.
37282         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
37284 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37286         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
37287         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
37288         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
37289         it is defined.
37291         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
37292         instead of whether it is defined.
37293         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
37294         * sysdeps/hppa/dl-machine.h: Likewise.
37295         * sysdeps/ia64/dl-machine.h: Likewise.
37296         * sysdeps/m68k/dl-machine.h: Likewise.
37297         * sysdeps/microblaze/dl-machine.h: Likewise.
37298         * sysdeps/mips/dl-machine.: Likewise.
37299         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37300         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37301         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37302         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37303         * sysdeps/sh/dl-machine.h: Likewise.
37304         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37305         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37306         * sysdeps/tile/dl-machine.h: Likewise.
37307         * sysdeps/x86_64/dl-machine.h: Likewise.
37309         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
37310         code.
37311         (verify_persistent_db): Likewise.
37313 2014-06-26  Roland McGrath  <roland@hack.frob.com>
37315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
37316         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
37317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
37318         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
37319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37320         Moved ...
37321         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
37322         ... here.
37323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
37324         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
37325         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
37326         Identical file removed.
37327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
37328         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
37329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
37330         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
37331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
37332         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
37333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
37334         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
37335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
37336         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
37337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37338         Moved ...
37339         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
37340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
37341         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
37342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
37343         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
37344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37345         Moved ...
37346         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
37347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
37348         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
37349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
37350         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
37351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37352         Identical file removed.
37353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
37354         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
37355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
37356         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
37357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37358         Moved ...
37359         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
37360         ... here.
37361         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
37362         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
37363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
37364         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
37365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
37366         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
37367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
37368         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
37369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
37370         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
37371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37372         Moved ...
37373         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
37374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
37375         Moved ...
37376         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
37377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
37378         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
37379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37380         Moved ...
37381         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
37382         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
37383         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
37385         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
37386         folded into ...
37387         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
37388         * sysdeps/unix/sysv/linux/s390/Versions
37389         (libpthread: GLIBC_2.19): New version set.
37390         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
37391         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
37392         (librt: GLIBC_2.3.3): New version set.
37393         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
37394         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
37395         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
37396         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
37397         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
37398         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
37399         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
37400         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
37401         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
37402         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
37403         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
37404         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
37405         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
37406         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
37407         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
37408         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
37409         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
37410         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
37411         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
37412         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
37413         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
37414         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
37415         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
37416         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
37417         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
37418         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
37419         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
37420         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
37421         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
37422         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
37423         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
37424         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
37425         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
37426         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
37427         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
37428         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
37429         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
37430         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
37431         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
37432         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
37433         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
37434         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
37435         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
37436         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
37437         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
37439         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
37440         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
37441         (__libc_vfork): Define the function under this name.
37442         [!NOT_IN_libc] (__vfork): Make this an alias.
37443         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
37444         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
37445         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
37446         (__libc_vfork): Define the function under this name.
37447         [!NOT_IN_libc] (__vfork): Make this an alias.
37448         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
37449         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
37450         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
37451         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
37452         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
37453         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37455         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
37456         code that was previously under [RESET_PID].
37457         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
37458         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
37459         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
37461         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
37462         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
37463         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
37464         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
37465         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
37466         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
37467         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
37468         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
37469         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
37470         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
37471         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
37472         Moved ...
37473         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
37474         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
37475         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
37476         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
37477         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
37478         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
37479         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
37480         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
37481         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
37482         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
37483         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
37484         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
37485         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
37486         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
37487         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
37488         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
37489         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
37490         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
37491         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
37492         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
37493         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
37494         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
37495         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
37496         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
37497         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
37498         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
37499         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
37500         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
37501         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
37503 2014-06-25  Roland McGrath  <roland@hack.frob.com>
37505         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
37506         that was previously under [RESET_PID].
37507         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
37509 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
37511         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
37512         not undefine and redefine.
37513         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
37514         [O_CLOEXEC]: Make code unconditional.
37515         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
37516         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
37517         <kernel-features.h>.
37518         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
37519         conditional variable definition.
37520         (shm_open) [O_CLOEXEC]: Make code unconditional.
37521         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
37522         code.
37524         * configure.ac (USE_REGPARMS): Don't define here.
37525         * configure: Regenerated.
37526         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
37527         * sysdeps/i386/configure: Regenerated.
37529         * nptl/createthread.c: Don't include kernel-features.h.
37530         * nptl/pthread_cancel.c: Likewise.
37531         * nptl/pthread_condattr_setclock.c: Likewise.
37532         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
37533         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
37534         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
37535         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
37536         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
37537         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
37538         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
37539         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
37540         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
37541         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
37542         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
37543         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
37544         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
37545         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
37546         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
37547         * nscd/gai.c: Likewise.
37548         * nss/nss_db/db-open.c: Likewise.
37549         * sysdeps/generic/ldsodefs.h: Likewise.
37550         * sysdeps/sh/nptl/tls.h: Likewise.
37551         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
37552         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
37553         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
37554         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
37555         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
37556         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
37557         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
37558         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37559         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37560         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
37561         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
37562         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37563         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
37564         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
37565         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
37566         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
37567         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
37568         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
37569         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
37570         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
37571         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
37572         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
37573         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
37574         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
37575         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
37576         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
37577         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
37578         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
37579         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
37580         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
37581         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
37582         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
37583         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
37584         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37585         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37586         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
37587         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37588         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
37589         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
37590         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
37591         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
37592         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
37593         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
37594         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37595         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
37596         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
37597         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
37598         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
37599         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
37600         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
37601         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
37602         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
37603         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
37604         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
37605         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
37606         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
37607         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
37608         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
37609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
37610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
37611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
37612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
37613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
37614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
37615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
37616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
37617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
37618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
37619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
37620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
37621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
37622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
37623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
37624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
37629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
37630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
37631         * sysdeps/unix/sysv/linux/pread.c: Likewise.
37632         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
37633         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
37634         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
37635         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
37636         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
37637         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
37638         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
37639         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
37640         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
37641         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
37642         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
37643         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
37644         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
37645         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
37646         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
37647         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
37648         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
37649         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
37650         * sysdeps/unix/sysv/linux/system.c: Likewise.
37651         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
37652         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
37653         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37654         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37655         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
37656         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
37657         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
37659         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
37660         * configure: Regenerated.
37661         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
37663         * configure.ac (base_machine): Do not set specially for particular
37664         machines here.
37665         * configure: Regenerated.
37666         * sysdeps/powerpc/preconfigure: Move machine and base_machine
37667         settings from configure.ac.
37668         * sysdeps/i386/preconfigure: New file.
37669         * sysdeps/s390/preconfigure: Likewise.
37670         * sysdeps/sh/preconfigure: Likewise.
37671         * sysdeps/sparc/preconfigure: Likewise.
37673 2014-06-25  Roland McGrath  <roland@hack.frob.com>
37675         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
37676         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
37677         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
37678         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
37679         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
37680         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
37681         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
37682         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
37683         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
37684         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
37685         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
37686         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
37687         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
37688         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
37689         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
37690         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
37691         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
37692         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
37693         * sysdeps/sparc/sparc64/Makefile: ... appended here.
37695         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
37696         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
37697         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
37698         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
37699         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
37700         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
37701         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
37702         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
37703         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
37704         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
37705         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
37706         * sysdeps/sparc/sparc32/sem_post.c: ... here.
37707         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
37708         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
37709         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
37710         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
37711         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
37712         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
37713         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
37714         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
37715         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
37716         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
37717         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
37718         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
37719         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
37720         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
37721         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
37722         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
37723         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
37724         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
37725         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
37726         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
37727         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
37728         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
37729         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
37730         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
37731         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
37732         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
37734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
37735         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
37736         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
37737         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
37738         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37739         Moved ...
37740         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
37741         ... here.
37742         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
37743         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
37744         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
37745         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
37746         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
37747         Moved ...
37748         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
37749         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
37750         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
37751         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
37752         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
37753         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
37754         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
37755         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37756         Moved ...
37757         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
37758         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37759         Moved ...
37760         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
37761         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
37762         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
37763         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37764         Moved ...
37765         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
37766         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
37767         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
37768         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
37769         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
37770         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
37771         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
37772         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
37773         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
37774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37775         Moved ...
37776         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
37777         ... here.
37778         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
37779         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
37780         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
37781         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
37782         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
37783         Moved ...
37784         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
37785         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
37786         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
37787         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
37788         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
37789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
37790         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
37791         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37792         Moved ...
37793         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
37794         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37795         Moved ...
37796         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
37797         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
37798         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
37799         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37800         Moved ...
37801         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
37802         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
37803         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
37804         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
37805         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
37807 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
37809         * timezone/checktab.awk: Update from tzcode 2014e.
37810         * timezone/private.h: Likewise.
37811         * timezone/tzfile.h: Likewise.
37812         * timezone/zdump.c: Likewise.
37813         * timezone/zic.c: Likewise.
37815         * sysdeps/unix/sysv/linux/kernel-features.h
37816         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
37817         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
37818         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
37819         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
37820         Remove conditional code.
37822 2014-06-25  Will Newton  <will.newton@linaro.org>
37824         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
37825         (_dl_arm_cap_flags): Add HWCAP2 values.
37826         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
37827         (_DL_HWCAP_COUNT): Increase to 37.
37828         (_DL_HWCAP_LAST): New define.
37829         (_DL_HWCAP2_LAST): New define.
37830         (_dl_procinfo): Add support for printing
37831         AT_HWCAP2 entries.
37832         (_dl_string_hwcap): Use _dl_hwcap_string.
37834 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37838 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
37840         * README: Do not mention ports directory.
37842         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
37843         Remove macro.
37844         * sysdeps/unix/sysv/linux/futimes.c: Do not include
37845         <kernel-features.h>.
37846         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
37847         conditional variable definition.
37848         (__futimes): Update comment.
37849         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
37850         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
37852         [BZ #16560]
37853         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
37854         arguments close to 0.
37855         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
37856         Likewise.
37857         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
37858         Likewise.
37859         * math/auto-libm-test-in: Add more tests of exp10.
37860         * math/auto-libm-test-out: Regenerated.
37861         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37863         * sysdeps/unix/sysv/linux/kernel-features.h
37864         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
37865         * sysdeps/unix/sysv/linux/readv.c: Do not include
37866         <kernel-features.h>.
37867         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
37868         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
37869         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
37870         unconditional.
37871         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
37872         conditional code.
37873         * sysdeps/unix/sysv/linux/writev.c: Do not include
37874         <kernel-features.h>.
37875         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
37876         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
37877         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
37878         unconditional.
37879         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
37880         conditional code.
37882 2014-06-25  Will Newton  <will.newton@linaro.org>
37884         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
37885         comment changes throughout the file.  Remove checks
37886         for HAVE_*_H definitions that are not required.
37887         (__gen_tempname): Call abort if an unknown kind value is
37888         passed.
37890 2014-06-25  Andreas Schwab  <schwab@suse.de>
37892         [BZ #17086]
37893         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
37894         scalbln, scalblnf, scalblnl in libc.
37896 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37898         [BZ #17086]
37899         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
37900         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
37901         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
37903 2014-06-24  Roland McGrath  <roland@hack.frob.com>
37905         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
37906         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
37907         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
37908         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
37909         Update #include.
37910         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
37911         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
37912         Update #include.
37913         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
37914         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
37915         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
37916         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
37917         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
37918         * sysdeps/x86/bits/pthreadtypes.h: ... here.
37919         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
37920         * sysdeps/x86/bits/semaphore.h: ... here.
37921         * sysdeps/x86/nptl/elide.h: Moved ...
37922         * sysdeps/x86/elide.h: ... here.
37923         * sysdeps/x86_64/nptl/Implies: File removed.
37924         * sysdeps/i386/nptl/Implies: File removed.
37926 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
37928         [BZ #16539]
37929         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
37930         return the argument for normal arguments with exponent below -64.
37931         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
37932         Likewise.
37933         * math/auto-libm-test-in: Add another test of expm1.
37934         * math/auto-libm-test-out: Regenerated.
37936         [BZ #16287]
37937         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
37938         calling __erfcl for arguments at least 16.
37939         * math/auto-libm-test-in: Add more tests of erf.
37940         * math/auto-libm-test-out: Regenerated.
37942         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
37943         individual architectures.
37944         * sysdeps/unix/sysv/linux/configure: Regenerated.
37945         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
37946         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
37947         * sysdeps/unix/sysv/linux/powerpc/configure.ac
37948         (ldd_rewrite_script): Define variable.
37949         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
37951         file.
37952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
37953         generated file.
37954         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
37955         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
37956         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
37957         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
37958         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
37959         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
37960         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
37961         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
37963 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37965         [BZ #17084]
37966         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
37967         Rename member __data.d to __data.__elision_data.
37969 2014-06-24  Wilco  <wdijkstr@arm.com>
37971         * NEWS: Add 16918 to fixed bug list.
37973 2014-06-24  Wilco  <wdijkstr@arm.com>
37975         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
37977 2014-06-24  Wilco  <wdijkstr@arm.com>
37979         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
37980         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
37981         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
37982         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
37983         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
37984         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
37985         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
37986         Use _FPU_MASK_RM.
37988 2014-06-24  Wilco  <wdijkstr@arm.com>
37990         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
37992 2014-06-24  Wilco  <wdijkstr@arm.com>
37994         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
37995         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
37996         * sysdeps/arm/fesetround.c (fesetround): Remove space.
37997         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
37999 2014-06-24  Wilco  <wdijkstr@arm.com>
38001         [BZ #16918]
38002         * sysdeps/arm/feupdateenv.c (feupdateenv):
38003         Rewrite to reduce FPSCR accesses and fix return value.
38005 2014-06-24  Wilco  <wdijkstr@arm.com>
38007         * sysdeps/arm/fclrexcpt.c (feclearexcept):
38008         Optimize to avoid unnecessary FPSCR writes.
38009         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
38010         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
38011         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
38012         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
38014 2014-06-24  Wilco  <wdijkstr@arm.com>
38016         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
38017         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
38018         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
38019         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
38020         Call libc_fetestexcept_vfp.
38021         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
38022         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
38023         __SOFTFP__ ifdef so that they can be built for softfp.
38025 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38027         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
38028         argument type signed char.
38030         * Makerules (check-abi): Dump diff of symlist if the test
38031         fails.
38033 2014-06-23  Roland McGrath  <roland@hack.frob.com>
38035         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
38036         using abort.
38038         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
38039         Remove unused variable ST.
38041 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
38043         [BZ #16354]
38044         [BZ #17061]
38045         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
38046         small arguments before calling __expm1.
38047         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
38048         small arguments before calling __expm1f.
38049         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
38050         small arguments before calling __expm1l.
38051         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
38052         Likewise.
38053         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38054         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
38055         spurious underflow for some cosh tests.
38056         * math/auto-libm-test-out: Regenerated.
38057         * sysdeps/i386/fpu/libm-test-ulps: Update.
38059         [BZ #17050]
38060         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
38061         (__ieee754_y1): Set errno if return value overflows.
38062         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
38063         (__ieee754_y1f): Set errno if return value overflows.
38064         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
38065         (__ieee754_y1l): Set errno if return value overflows.
38066         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
38067         (__ieee754_y1l): Set errno if return value overflows.
38068         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
38069         * math/auto-libm-test-out: Regenerated.
38071         * math/gen-auto-libm-tests.c: Document use of
38072         ignore-zero-inf-sign.
38073         (input_flag_type): Add value flag_ignore_zero_inf_sign.
38074         (input_flags): Add ignore-zero-inf-sign.
38075         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
38076         * math/gen-libm-test.pl (generate_testfile): Handle
38077         ignore-zero-inf-sign.
38078         * math/auto-libm-test-in: Mark some cpow tests with
38079         ignore-zero-inf-sign and some with xfail-rounding.
38080         * math/auto-libm-test-out: Regenerated.
38081         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
38082         * sysdeps/i386/fpu/libm-test-ulps: Update.
38083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38085         [BZ #16315]
38086         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
38087         overflowing or underflowing operations take place with sign of
38088         result.
38089         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38090         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38091         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
38092         (__ieee754_pow): Recompute overflowing and underflowing results in
38093         original rounding mode.
38094         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
38095         (__powl_helper): Allow negative argument X and scale negated value
38096         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
38097         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
38098         overflowing or underflowing operations take place with sign of
38099         result.
38100         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
38101         Include <math.h>.
38102         * math/auto-libm-test-in: Add more tests of pow.
38103         * math/auto-libm-test-out: Regenerated.
38104         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
38105         (pow_tonearest_test_data): Remove.
38106         (pow_test_tonearest): Likewise.
38107         (pow_towardzero_test_data): Likewise.
38108         (pow_test_towardzero): Likewise.
38109         (pow_downward_test_data): Likewise.
38110         (pow_test_downward): Likewise.
38111         (pow_upward_test_data): Likewise.
38112         (pow_test_upward): Likewise.
38113         (main): Don't call removed functions.
38114         * sysdeps/i386/fpu/libm-test-ulps: Update.
38115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38117 2014-06-23  Roland McGrath  <roland@hack.frob.com>
38119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
38120         Moved ...
38121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
38122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38123         Moved ...
38124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
38125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38126         Moved ...
38127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
38128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38129         Moved ...
38130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
38131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38132         File removed.
38133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38134         File removed.
38135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
38136         File removed.
38137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
38138         File removed.
38139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
38140         File removed.
38141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
38142         File removed.
38143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
38144         File removed.
38145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38146         File removed.
38147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
38148         File removed.
38149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38150         File removed.
38151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
38152         File removed.
38153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
38154         File removed.
38155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
38156         Moved ...
38157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
38158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
38159         Moved ...
38160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
38161         ... here.
38162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
38163         Moved ...
38164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
38165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
38166         Moved ...
38167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
38168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
38169         Moved ...
38170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
38171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
38172         Moved ...
38173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
38174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
38175         Moved ...
38176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
38177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
38178         Moved ...
38179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
38180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
38181         Moved ...
38182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
38183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
38184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
38185         ... here.
38186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
38187         Moved ...
38188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
38189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
38190         Moved ...
38191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
38192         ... here.
38193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
38194         Moved ...
38195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
38196         ... here.
38197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38198         Moved ...
38199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
38200         ... here.
38201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38202         Moved ...
38203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
38204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38205         Moved ...
38206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
38207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
38208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
38209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38210         Moved ...
38211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
38212         ... here.
38213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38214         Moved ...
38215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
38216         ... here.
38217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38218         Moved ...
38219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
38220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38221         Moved ...
38222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
38223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38224         Moved ...
38225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
38226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38227         Moved ...
38228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
38229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38230         Moved ...
38231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
38232         ... here.
38233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38234         Moved ...
38235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
38236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
38237         Moved ...
38238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
38239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38240         Moved ...
38241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
38242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
38243         Moved ...
38244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
38245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
38246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
38247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
38248         Moved ...
38249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
38250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38251         Moved ...
38252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
38253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
38254         Moved ...
38255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
38256         ... here.
38257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38258         Moved ...
38259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
38260         ... here.
38261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
38262         Moved ...
38263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
38264         ... here.
38265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38266         Moved ...
38267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
38268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
38269         Moved ...
38270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
38271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38272         Moved ...
38273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
38274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
38275         Moved ...
38276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
38277         ... here.
38278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38279         Moved ...
38280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
38281         ... here.
38282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
38283         Moved ...
38284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
38285         ... here.
38286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38287         Moved ...
38288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
38289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38290         Moved ...
38291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
38293 2014-06-23  Will Newton  <will.newton@linaro.org>
38294             Wilco  <wdijkstr@arm.com>
38296         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
38297         implementation.  Include get-rounding-mode.h.
38298         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
38299         [!libc_feholdsetround_noex_ctx]: Define
38300         libc_feholdsetround_noex_ctx.
38301         [!libc_feholdsetround_noexf_ctx]: Define
38302         libc_feholdsetround_noexf_ctx.
38303         [!libc_feholdsetround_noexl_ctx]: Define
38304         libc_feholdsetround_noexl_ctx.
38305         (libc_feholdsetround_ctx): New function.
38306         (libc_feresetround_ctx): New function.
38307         (libc_feholdsetround_noex_ctx): New function.
38308         (libc_feresetround_noex_ctx): New function.
38310 2014-06-23  Roland McGrath  <roland@hack.frob.com>
38312         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
38313         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
38314         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
38315         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
38316         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
38317         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
38319         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
38320         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
38321         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
38322         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
38323         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
38324         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
38325         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
38326         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
38327         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
38328         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
38329         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
38330         Moved ...
38331         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
38332         ... here.
38333         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
38334         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
38335         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
38336         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
38337         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
38338         Moved ...
38339         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
38340         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
38341         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
38342         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
38343         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
38344         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
38345         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
38346         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
38347         Moved ...
38348         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
38349         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
38350         Moved ...
38351         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
38352         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
38353         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
38354         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
38355         Moved ...
38356         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
38357         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
38358         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
38359         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
38360         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
38361         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
38362         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
38363         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
38364         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
38365         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
38366         Moved ...
38367         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
38368         ... here.
38369         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
38370         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
38371         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
38372         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
38373         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
38374         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
38375         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
38376         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
38377         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
38378         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
38379         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
38380         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
38381         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
38382         Moved ...
38383         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
38384         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
38385         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
38386         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
38387         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
38388         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
38389         Moved ...
38390         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
38391         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
38392         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
38393         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
38394         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
38396         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
38397         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
38398         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
38399         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
38400         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
38401         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
38402         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
38403         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
38404         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
38405         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
38406         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
38407         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
38408         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
38409         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
38410         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
38411         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
38412         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
38413         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
38414         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
38415         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
38416         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
38417         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
38418         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
38419         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
38420         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
38421         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
38422         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
38423         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
38425 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
38427         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
38428         (FALLOC_FL_COLLAPSE_RANGE): New macro.
38429         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
38430         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
38431         (IPV6_PMTUDISC_INTERFACE): Likewise.
38432         (IPV6_PMTUDISC_OMIT): Likewise.
38434 2014-06-23  Andreas Schwab  <schwab@suse.de>
38436         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
38437         Remove unused errout label.
38439 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38441         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
38442         macro: hardware supports Vector Crypto instructions.
38444 2014-06-23  Will Newton  <will.newton@linaro.org>
38446         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
38447         rather than __builtin_expect.
38449         * elf/dl-lookup.c (undefined_msg): Remove variable.
38450         (_dl_lookup_symbol_x): Replace undefined_msg with string
38451         literal.
38453         * elf/dl-lookup.c (do_lookup_unique): New function.
38454         (do_lookup_x): Move STB_GNU_UNIQUE handling code
38455         to a separate function.
38457 2014-06-23  Andreas Schwab  <schwab@suse.de>
38459         [BZ #17079]
38460         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
38461         before reading the next line.
38463 2014-06-23  Will Newton  <will.newton@linaro.org>
38465         * test-skeleton.c (signal_handler): Use printf and %m
38466         rather than perror.  Use printf rather than fprintf to
38467         stderr.  Use puts rather than fputs to stderr.
38468         (main): Likewise.
38470 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
38472         * nscd/nscd.c (thread_info_t): Remove typedef.
38473         (thread_info): Remove variable.
38475 2014-06-21  Allan McRae  <allan@archlinux.org>
38477         * NEWS: Mention CVE-2014-4043.
38479 2014-06-20  Roland McGrath  <roland@hack.frob.com>
38481         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
38482         * nptl/smp.h: ... here.
38484         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
38486         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
38487         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
38488         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
38489         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
38491         * nptl/allocatestack.c: Include <stack-aliasing.h>.
38492         * nptl/stack-aliasing.h: New file.
38493         * sysdeps/i386/i686/stack-aliasing.h: New file.
38494         * sysdeps/i386/i686/nptl/Makefile: File removed.
38495         * sysdeps/x86_64/stack-aliasing.h: New file.
38496         * sysdeps/x86_64/nptl/Makefile
38497         (CFLAGS-pthread_create.c): Variable removed.
38499         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
38500         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
38501         old file.
38502         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
38503         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
38504         old file.
38506 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
38508         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38509         (__ASSUME_SIGFRAME_V2): Remove macro.
38510         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
38511         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
38512         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
38513         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
38514         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
38515         Declare as function.  Remove conditional macro definitions.
38516         (__default_rt_sa_restorer): Likewise.
38517         (__default_sa_restorer_v1): Remove declaration.
38518         (__default_sa_restorer_v2): Likewise.
38519         (__default_rt_sa_restorer_v1): Likewise.
38520         (__default_rt_sa_restorer_v2): Likewise.
38521         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
38522         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
38523         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
38525 2014-06-20  Roland McGrath  <roland@hack.frob.com>
38527         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
38528         (libpthread-routines): Add sysdep.
38529         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
38530         * sysdeps/unix/sysv/linux/sparc/Versions
38531         (libpthread: GLIBC_2.3.3): New version set.
38532         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
38533         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
38534         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
38535         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
38536         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
38537         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
38538         Moved ...
38539         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
38540         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
38541         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
38542         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
38543         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
38544         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
38545         * sysdeps/sparc/nptl/sem_init.c: ... here.
38546         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
38547         * sysdeps/sparc/nptl/sem_post.c: ... here.
38548         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
38549         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
38550         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
38551         * sysdeps/sparc/nptl/sem_wait.c: ... here.
38552         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
38553         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
38554         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
38555         (libpthread-routines): Add cpu_relax.
38556         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
38557         File removed.
38558         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
38559         (librt: GLIBC_2.3.3): New version set.
38560         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
38561         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
38562         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
38563         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
38564         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
38565         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
38566         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
38567         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
38568         Moved ...
38569         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
38570         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
38571         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
38572         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
38573         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
38574         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
38575         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
38576         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
38577         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
38578         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
38579         Moved ...
38580         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
38581         Update #include.
38582         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
38583         Moved ...
38584         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
38585         Update #include.
38586         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
38587         Moved ...
38588         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
38589         Update #include.
38590         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
38591         Moved ...
38592         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
38593         Update #include.
38594         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
38595         Moved ...
38596         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
38597         Update #include.
38598         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
38599         Moved ...
38600         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
38601         Update #include.
38602         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
38603         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
38604         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
38605         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
38606         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
38607         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
38608         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
38609         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
38610         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
38611         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
38612         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
38613         Moved ...
38614         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
38615         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
38616         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
38617         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
38618         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
38620 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
38622         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
38623         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
38624         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
38625         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
38626         * nscd/nscd.c: Likewise.
38627         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
38628         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
38629         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
38630         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
38632         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
38633         <kernel-features.h>.
38634         (init_mq_netlink): Remove conditional have_sock_cloexec
38635         definitions.  Remove code conditional on have_sock_cloexec < 0.
38636         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
38637         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
38638         * sysdeps/unix/sysv/linux/opensock.c: Do not include
38639         <kernel-features.h>.
38640         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
38641         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
38643 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
38645         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38646         Add tests for memset_chk and memset.
38648         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
38649         with AVX2_Usable.
38651 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
38653         [BZ #16046]
38654         * elf/tst-dl-iter-static.c: New file.
38655         * elf/Makefile (tests-static): Add tst-dl-iter-static.
38657         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
38658         error.
38660 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
38662         * sysdeps/unix/sysv/linux/kernel-features.h
38663         (__ASSUME_F_GETOWN_EX): Remove macro.
38664         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
38665         <kernel-features.h>.
38666         (miss_F_GETOWN_EX): Remove variable or macro.
38667         (do_fcntl): Do not check miss_F_GETOWN_EX.
38668         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
38670         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
38671         Remove macro.
38672         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
38673         [!__ASSUME_AT_RANDOM]: Remove conditional code.
38674         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
38676         * sysdeps/unix/sysv/linux/kernel-features.h
38677         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
38678         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
38679         [ADJ_OFFSET_SS_READ]: Make code unconditional.
38680         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
38682 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
38684         [BZ #17075]
38685         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
38686         Fix calculation of the symbol's value.
38687         * sysdeps/arm/tst-armtlsdescloc.c: New file.
38688         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
38689         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
38690         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
38691         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
38692         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
38693         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
38694         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
38695         (modules-names): Add `tst-armtlsdescmod',
38696         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
38697         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
38698         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
38699         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
38700         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
38701         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
38702         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
38703         ($(objpfx)tst-armtlsdescloc): New dependency.
38704         ($(objpfx)tst-armtlsdescextnow): Likewise.
38705         ($(objpfx)tst-armtlsdescextlazy): Likewise.
38706         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
38707         TLS scheme support.
38708         * sysdeps/arm/configure: Regenerate.
38710 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
38712         * include/fcntl.h (__atfct_seterrno): Remove prototype.
38713         (__atfct_seterrno_2): Likewise.
38714         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
38715         <kernel-features.h>.
38716         (__ASSUME_ATFCTS): Do not undefine and redefine.
38717         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
38718         (__have_atfcts): Remove conditional definition.
38719         (__fxstatat([__NR_fstatat64]: Make code unconditional.
38720         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
38721         unreachable if [__ASSUME_ATFCTS].
38722         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
38723         not undefine and redefine.
38724         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
38725         <kernel-features.h>.
38726         (faccessat) [__NR_faccessat]: Make code unconditional.
38727         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
38728         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
38729         <kernel-features.h>.
38730         (fchmodat) [__NR_fchmodat]: Make code unconditional.
38731         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
38732         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
38733         <kernel-features.h>.
38734         (fchownat) [__NR_fchownat]: Make code unconditional.
38735         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
38736         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
38737         <kernel-features.h>.
38738         (futimesat) [__NR_futimesat]: Make code unconditional.
38739         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
38740         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38741         <kernel-features.h>.
38742         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
38743         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38744         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38745         <kernel-features.h>.
38746         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
38747         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
38748         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
38749         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38750         <kernel-features.h>.
38751         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
38752         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38753         * sysdeps/unix/sysv/linux/linkat.c: Do not include
38754         <kernel-features.h>.
38755         (linkat) [__NR_linkat]: Make code unconditional.
38756         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38757         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
38758         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
38759         <kernel-features.h>.
38760         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
38761         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
38762         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
38763         <kernel-features.h>.
38764         (mkdirat) [__NR_mkdirat]: Make code unconditional.
38765         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
38766         * sysdeps/unix/sysv/linux/openat.c: Do not include
38767         <kernel-features.h>.
38768         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
38769         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
38770         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
38771         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
38772         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
38773         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
38774         <kernel-features.h>.
38775         (readlinkat) [__NR_readlinkat]: Make code unconditional.
38776         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
38777         result of INLINE_SYSCALL directly, not via int variable.
38778         * sysdeps/unix/sysv/linux/renameat.c: Do not include
38779         <kernel-features.h>.
38780         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
38781         (renameat) [__NR_renameat]: Make code unconditional.
38782         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
38783         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
38784         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
38785         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
38786         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
38787         (__ASSUME_ATFCTS): Do not undefine and redefine.
38788         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
38789         <kernel-features.h>.
38790         (symlinkat) [__NR_symlinkat]: Make code unconditional.
38791         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38792         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
38793         <kernel-features.h>.
38794         (unlinkat) [__NR_unlinkat]: Make code unconditional.
38795         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38796         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
38797         (__ASSUME_ATFCTS): Do not undefine and redefine.
38798         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38799         <kernel-features.h>.
38800         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
38801         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38802         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
38803         <kernel-features.h>.
38804         (__xmknodat) [__NR_mknodat]: Make code unconditional.
38805         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
38807 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
38809         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
38811 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
38813         [BZ #17069]
38814         * posix/regcomp.c (parse_reg_exp): Deallocate partially
38815         constructed tree before returning error.
38816         * posix/bug-regexp36.c: Expand test case.
38818 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
38820         [BZ #6803]
38821         * math/libm-test.inc (scalbln_test_date):
38822         Add errno expectations.
38823         * math/w_scalblnf.c: New File.
38824         Add wrapper which checks for setting errno to ERANGE.
38825         Add weak_alias for corresponding scalbln function.
38826         * math/w_scalbln.c: Likewise.
38827         * math/w_scalblnl.c: Likewise.
38828         * math/Makefile (libm-calls): Add w_scalbln.
38829         * sysdeps/ieee754/flt-32/s_scalblnf.c:
38830         Remove weak_alias for corresponding scalbln function.
38831         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38832         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38833         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38834         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38835         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
38836         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
38837         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
38838         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
38839         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
38840         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
38841         Remove long_double_symbol for scalblnl function in libm, libc.
38842         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
38843         Add wrapper which checks for setting errno to ERANGE.
38844         Add long_double_symbol for scalblnl function in libm, libc.
38845         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
38846         Remove long_double_symbol for scalblnl in libm.
38847         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
38848         Add wrapper which checks for setting errno to ERANGE.
38849         Add long_double_symbol for scalblnl function in libm.
38850         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
38851         Do not use wrapper because of own implementation.
38853 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
38855         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
38856         3 bytes for __pad1 for x32.
38857         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
38859 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
38860             H.J. Lu  <hongjiu.lu@intel.com>
38862         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
38863         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
38864         * sysdeps/x86_64/multiarch/memset.S: Likewise.
38865         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38866         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
38868 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
38870         [BZ #17069]
38871         * posix/regcomp.c (parse_expression): Deallocate partially
38872         constructed tree before returning error.
38873         * posix/Makefile.c (tests): Add bug-regex36.
38874         (generated): Add bug-regex36.mtrace.
38875         (tests-special): Add $(objpfx)bug-regex36-mem.out
38876         (bug-regex36-ENV): New variable.
38877         ($(objpfx)bug-regex36-mem.out): New rule.
38878         * posix/bug-regex36.c: New file.
38880 2014-06-19  Will Newton  <will.newton@linaro.org>
38882         * malloc/malloc.c (systrim): If extra is zero then return
38883         early.
38885 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38887         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
38889 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
38891         * sysdeps/aarch64/strchr.S: New file.
38893 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
38895         [BZ #17022]
38896         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
38897         from arguments -2 or below.
38898         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
38899         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
38901 2014-06-18  Andreas Schwab  <schwab@suse.de>
38903         [BZ #17062]
38904         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
38905         of a bracket expr not to run off the end of the string.
38906         * posix/Makefile (tests): Add tst-fnmatch3.
38907         * posix/tst-fnmatch3.c: New file.
38909 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
38911         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
38912         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38913         [$(cross-compiling) = no]: Likewise.
38914         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38915         [$(cross-compiling) = no]: Likewise.
38917 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38919         [BZ #17031]
38920         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
38921         double, adjusted for any remainder from the high double.
38922         * math/libm-test.inc (nearbyint): Add tests.
38923         (rint): Likewise.
38925 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38927         * nptl/sysdeps/powerpc/Makefile: Moved ...
38928         * sysdeps/powerpc/nptl/Makefile: ... here.
38929         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
38930         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
38931         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
38932         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
38933         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
38934         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
38935         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
38936         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
38937         * nptl/sysdeps/powerpc/tls.h: Moved ...
38938         * sysdeps/powerpc/nptl/tls.h: ... here.
38940 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
38942         [BZ #16681]
38943         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
38944         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
38945         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
38946         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
38947         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
38948         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
38949         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
38950         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
38951         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
38953 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
38955         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
38957 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
38959         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
38960         defined operator.
38962         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
38963         $TIMEOUTFACTOR.
38965 2014-06-16  Florian Weimer  <fweimer@redhat.com>
38967         [BZ #17058]
38968         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
38969         non-executed part of the test.
38971 2014-06-16  Andreas Schwab  <schwab@suse.de>
38973         * string/bits/string2.h (strdup, strndup): Update feature guard.
38975 2014-06-14  David S. Miller  <davem@davemloft.net>
38977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38979 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
38981         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
38982         that was previously under [RESET_PID].
38983         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
38985         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
38986         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
38987         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
38988         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38989         (__libc_vfork): New strong alias.
38990         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
38992 2014-06-14 Andi Kleen  <ak@linux.intel.com>
38994         * sysdeps/generic/elide.h: New file.
38996 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38998         * Makefile (installed-headers): Adjust path of pthread.h header.
39000 2014-06-13  Roland McGrath  <roland@hack.frob.com>
39002         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
39003         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
39004         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
39005         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
39007         * nptl/sysdeps/s390/Makefile: Moved ...
39008         * sysdeps/s390/nptl/Makefile: ... here.
39009         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
39010         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
39011         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
39012         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
39013         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
39014         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
39015         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
39016         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
39017         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
39018         * sysdeps/s390/nptl/pthreaddef.h: ... here.
39019         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
39020         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
39021         * nptl/sysdeps/s390/tls.h: Moved ...
39022         * sysdeps/s390/nptl/tls.h: ... here.
39024         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
39025         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
39027 2014-06-13  David S. Miller  <davem@davemloft.net>
39029         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
39030         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
39031         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
39032         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
39033         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
39034         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
39035         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
39036         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
39037         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
39038         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
39039         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
39040         Remove RESET_PID cpp guards.
39041         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
39042         Remove RESET_PID cpp guards.
39043         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
39045 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
39047         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
39048         __sp to uintptr_t.
39050 2014-06-13  Andi Kleen  <ak@linux.intel.com>
39052         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
39053         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
39054         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
39055         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
39056         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
39057         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
39058         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
39059         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
39060         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
39061         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
39062         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
39063         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
39064         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
39065         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
39066         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
39067         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
39068         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
39069         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
39070         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
39071         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
39073         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
39074         (pthread_rwlock_rdlock): Add elision.
39075         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
39076         (pthread_rwlock_wrlock): Add elision.
39077         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
39078         (pthread_rwlock_trywrlock): Add elision.
39079         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
39080         (pthread_rwlock_tryrdlock): Add elision.
39081         * nptl/pthread_rwlock_unlock.c: Include elide.h.
39082         (pthread_rwlock_tryrdlock): Add elision unlock.
39083         * nptl/sysdeps/pthread/pthread.h:
39084         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
39085         (PTHREAD_RWLOCK_INITIALIZER,
39086         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
39087         Handle new elision field.
39088         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
39089         * sysdeps/arm/nptl/bits/pthreadtypes.h
39090         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39091         * sysdeps/sh/nptl/bits/pthreadtypes.h
39092         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39093         * sysdeps/tile/nptl/bits/pthreadtypes.h
39094         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39095         * sysdeps/a/nptl/bits/pthreadtypes.h
39096         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39097         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
39098         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39099         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
39100         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39101         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
39102         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39103         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
39104         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39105         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
39106         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39107         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
39108         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39109         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
39110         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39111         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
39112         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39113         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
39114         (elision_init): Set try_xbegin to zero when no RTM.
39115         * sysdeps/x86/nptl/bits/pthreadtypes.h
39116         (pthread_rwlock_t): Change __pad1 to __rwelision.
39117         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39119 2014-06-13  Andi Kleen  <ak@linux.intel.com>
39121         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
39122         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
39123         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
39124         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
39126 2014-06-13  Meador Inge  <meadori@codesourcery.com>
39128         [BZ #16996]
39129         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
39130         that the cached result has been set before returning it.
39132 2014-06-12  Roland McGrath  <roland@hack.frob.com>
39134         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
39135         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
39136         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
39137         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
39138         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
39139         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
39141         * nptl/sysdeps/sparc/Makefile: Moved ...
39142         * sysdeps/sparc/nptl/Makefile: ... here.
39143         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
39144         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
39145         * nptl/sysdeps/sparc/tls.h: Moved ...
39146         * sysdeps/sparc/nptl/tls.h: ... here.
39147         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
39148         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
39149         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
39150         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
39151         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
39152         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
39153         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
39154         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
39155         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
39156         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
39157         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
39158         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
39159         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
39160         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
39161         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
39162         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
39163         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
39164         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
39165         Update #include.
39166         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
39167         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
39168         Update #include.
39169         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
39170         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
39171         Update #include.
39172         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
39173         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
39174         Update #include.
39176         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39178         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
39179         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
39181         * sysdeps/pthread/posix-timer.h: Include <list.h>.
39182         (struct list_links): Type removed.
39183         (struct thread_node, struct timer_node): Replace struct list_links
39184         with struct list_head.
39185         (list_unlink_ip): Likewise.
39186         * sysdeps/pthread/timer_routines.c
39187         (timer_free_list, thread_free_list, thread_active_list): Likewise.
39188         (list_append, list_insbefore): Likewise.
39189         (list_init): Function removed.
39190         (thread_init, init_module): Use INIT_LIST_HEAD instead.
39191         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
39192         * sysdeps/pthread/Makefile: ... here, new file.
39194         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
39195         * sysdeps/nptl/Implies: ... here.
39196         * sysdeps/unix/sysv/linux/Implies: Add nptl.
39197         * nptl/sysdeps/pthread/list.h: Moved ...
39198         * include/list.h: ... here.
39199         * nptl/sysdeps/pthread/createthread.c: Moved ...
39200         * nptl/createthread.c: ... here.
39201         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
39202         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
39203         * nptl/pt-longjmp.c: ... here.
39204         * nptl/sysdeps/pthread/Makefile: Moved ...
39205         * sysdeps/nptl/Makefile: ... here.
39206         * nptl/sysdeps/pthread/Subdirs: Moved ...
39207         * sysdeps/nptl/Subdirs: ... here.
39208         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
39209         * sysdeps/nptl/aio_misc.h: ... here.
39210         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
39211         * sysdeps/nptl/bits/libc-lock.h: ... here.
39212         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
39213         * sysdeps/nptl/bits/libc-lockP.h: ... here.
39214         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
39215         * sysdeps/nptl/bits/stdio-lock.h: ... here.
39216         * nptl/sysdeps/pthread/configure: Moved ...
39217         * sysdeps/nptl/configure: ... here.
39218         * nptl/sysdeps/pthread/configure.ac: Moved ...
39219         * sysdeps/nptl/configure.ac: ... here.
39220         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
39221         * sysdeps/nptl/gai_misc.h: ... here.
39222         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
39223         * sysdeps/nptl/librt-cancellation.c: ... here.
39224         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
39225         * sysdeps/nptl/malloc-machine.h: ... here.
39226         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
39227         * sysdeps/nptl/pthread-functions.h: ... here.
39228         * nptl/sysdeps/pthread/pthread.h: Moved ...
39229         * sysdeps/nptl/pthread.h: ... here.
39230         * nptl/sysdeps/pthread/setxid.h: Moved ...
39231         * sysdeps/nptl/setxid.h: ... here.
39232         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
39233         * sysdeps/nptl/sigfillset.c: ... here.
39234         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
39235         * sysdeps/nptl/tcb-offsets.h: ... here.
39236         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
39237         * sysdeps/nptl/tst-mqueue8x.c: ... here.
39238         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
39239         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
39240         * nptl/sysdeps/pthread/allocalim.h: Moved ...
39241         * sysdeps/pthread/allocalim.h: ... here.
39242         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
39243         * sysdeps/pthread/bits/sigthread.h: ... here.
39244         * nptl/sysdeps/pthread/flockfile.c: Moved ...
39245         * sysdeps/pthread/flockfile.c: ... here.
39246         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
39247         * sysdeps/pthread/ftrylockfile.c: ... here.
39248         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
39249         * sysdeps/pthread/funlockfile.c: ... here.
39250         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
39251         * sysdeps/pthread/posix-timer.h: ... here.
39252         * nptl/sysdeps/pthread/timer_create.c: Moved ...
39253         * sysdeps/pthread/timer_create.c: ... here.
39254         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
39255         * sysdeps/pthread/timer_delete.c: ... here.
39256         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
39257         * sysdeps/pthread/timer_getoverr.c: ... here.
39258         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
39259         * sysdeps/pthread/timer_gettime.c: ... here.
39260         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
39261         * sysdeps/pthread/timer_routines.c: ... here.
39262         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
39263         * sysdeps/pthread/timer_settime.c: ... here.
39264         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
39265         * sysdeps/pthread/tst-timer.c: ... here.
39266         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
39267         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
39269         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
39270         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
39272         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
39273         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
39274         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
39275         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
39276         Update #include target.
39277         * nptl/sysdeps/i386/i686/Makefile: Moved ...
39278         * sysdeps/i386/i686/nptl/Makefile: ... here.
39279         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
39280         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
39281         Update #include target.
39282         * nptl/sysdeps/i386/i686/tls.h: Moved ...
39283         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
39284         * nptl/sysdeps/i386/Makefile: Moved ...
39285         * sysdeps/i386/nptl/Makefile: ... here.
39286         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
39287         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
39288         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
39289         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
39290         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
39291         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
39292         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
39293         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
39294         * sysdeps/i386/nptl/pthreaddef.h: ... here.
39295         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
39296         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
39297         * nptl/sysdeps/i386/tls.h: Moved ...
39298         * sysdeps/i386/nptl/tls.h: ... here.
39300         * sysdeps/sh/Makefile [$(subdir) = csu]
39301         (gen-as-const-headers): Add tcb-offsets.sym.
39302         * nptl/sysdeps/sh/Makefile: File removed.
39303         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
39304         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
39305         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
39306         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
39307         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
39308         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
39309         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
39310         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
39311         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
39312         * sysdeps/sh/nptl/pthreaddef.h: ... here.
39313         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
39314         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
39315         * nptl/sysdeps/sh/tls.h: Moved ...
39316         * sysdeps/sh/nptl/tls.h: ... here.
39317         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
39318         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
39319         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
39320         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
39321         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
39322         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
39323         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
39324         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
39325         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
39326         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
39327         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
39328         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
39329         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
39330         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
39331         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
39332         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
39333         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
39334         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
39335         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
39336         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
39337         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
39338         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
39339         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
39340         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
39341         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
39342         Moved ...
39343         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
39344         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
39345         Moved ...
39346         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
39347         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
39348         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
39349         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
39350         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
39351         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
39352         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
39353         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
39354         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
39355         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
39356         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
39357         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
39358         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
39359         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
39360         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
39361         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
39362         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
39363         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
39364         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
39366 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
39368         * posix/spawn_faction_addopen.c: Include string.h.
39370 2014-06-11  Roland McGrath  <roland@hack.frob.com>
39372         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
39373         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
39374         * nptl/sysdeps/x86_64/Makefile: Moved ...
39375         * sysdeps/x86_64/nptl/Makefile: ... here.
39376         * nptl/sysdeps/x86_64/configure: Moved ...
39377         * sysdeps/x86_64/nptl/configure: ... here.
39378         * nptl/sysdeps/x86_64/configure.ac: Moved ...
39379         * sysdeps/x86_64/nptl/configure.ac: ... here.
39380         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
39381         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
39382         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
39383         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
39384         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
39385         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
39386         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
39387         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
39388         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
39389         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
39390         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
39391         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
39392         * nptl/sysdeps/x86_64/tls.h: Moved ...
39393         * sysdeps/x86_64/nptl/tls.h: ... here.
39394         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
39395         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
39396         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
39397         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
39399         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
39401 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39403         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39405 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
39407         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
39408         type.
39409         [POSIX] (off_t): Likewise.
39410         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
39411         [POSIX] (S_ISBLK): Require macro.
39412         [POSIX] (S_ISCHR): Likewise.
39413         [POSIX] (S_ISDIR): Likewise.
39414         [POSIX] (S_ISFIFO): Likewise.
39415         [POSIX] (S_ISREG): Likewise.
39416         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
39417         optional-macro.
39418         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
39419         type.
39420         [POSIX] (time_t): Likewise.
39421         [POSIX] (timer_t): Likewise.
39423 2014-06-11  Florian Weimer  <fweimer@redhat.com>
39425         [BZ #17048]
39426         * posix/spawn_int.h (struct __spawn_action): Make the path string
39427         non-const to support deallocation.
39428         * posix/spawn_faction_addopen.c
39429         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
39430         * posix/spawn_faction_destroy.c
39431         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
39432         path in all spawn_do_open actions.
39433         * posix/tst-spawn.c (do_test): Exercise the copy operation in
39434         posix_spawn_file_actions_addopen.
39436 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
39438         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
39439         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
39440         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
39441         conditional code always true.
39442         (__libc_vfork): New alias.
39444 2014-06-11  Roland McGrath  <roland@hack.frob.com>
39446         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39447         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
39449         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
39451         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39452         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
39454         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39455         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
39457         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39458         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
39460 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39462         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
39463         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
39464         multiarch strcmp for PPC64.
39465         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
39466         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
39467         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
39468         multiarch optimizations.
39469         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39470         (__libc_ifunc_impl_list): Likewise.
39472 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39474         * benchtests/scripts/validate_benchout.py: New script.
39475         * benchtests/Makefile (bench-func): Call it.
39476         * benchtests/scripts/benchout.schema.json: New file.
39478 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
39480         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
39481         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
39482         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
39483         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
39484         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
39485         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
39486         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
39487         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
39488         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
39489         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
39490         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
39491         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
39492         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
39493         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
39494         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
39495         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
39496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
39497         Moved ...
39498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
39499         ... here.
39500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
39501         Moved ...
39502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
39503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
39504         Moved ...
39505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
39506         ... here.
39507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
39508         Moved ...
39509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
39510         ... here.
39511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
39512         Moved ...
39513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
39514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
39515         Moved ...
39516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
39517         ... here.
39518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
39519         Moved ...
39520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
39521         ... here.
39522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
39523         Moved ...
39524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
39525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
39526         Moved ...
39527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
39528         ... here.
39529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
39530         Moved ...
39531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
39532         ... here.
39533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
39534         Moved ...
39535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
39536         ... here.
39537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
39538         Moved ...
39539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
39540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
39541         Moved ...
39542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
39543         ... here.
39544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
39545         Moved ...
39546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
39547         ... here.
39548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
39549         Moved ...
39550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
39551         ... here.
39552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
39553         Moved ...
39554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
39555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
39556         Moved ...
39557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
39558         ... here.
39559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
39560         Moved ...
39561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
39562         ... here.
39563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
39564         Moved ...
39565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
39566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
39567         Moved ...
39568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
39569         ... here.
39570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
39571         Moved ...
39572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
39573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
39574         Moved ...
39575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
39576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
39577         Moved ...
39578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
39579         ... here.
39580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
39581         Moved ...
39582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
39583         ... here.
39584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
39585         Moved ...
39586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
39587         ... here.
39588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
39589         Moved ...
39590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
39591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
39592         Moved ...
39593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
39594         ... here.
39595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
39596         Moved ...
39597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
39598         ... here.
39599         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
39600         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
39601         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
39602         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
39603         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
39604         Moved ...
39605         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
39606         ... here.
39607         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
39608         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
39609         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
39610         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
39611         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
39612         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
39613         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
39614         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
39615         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
39616         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
39617         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
39618         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
39619         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
39620         Moved ...
39621         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
39622         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
39623         Moved ...
39624         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
39625         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
39626         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
39627         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
39628         Moved ...
39629         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
39630         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
39631         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
39632         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
39633         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
39634         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
39635         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
39637 2014-06-10  Wilco  <wdijkstr@arm.com>
39639         * math/test-fenv-return.c: New file.
39640         * math/Makefile: Add new test test-fenv-return.
39642 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
39644         [BZ #17042]
39645         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
39646         when x - 1 is zero.
39647         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
39648         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
39649         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
39650         0.0L for an argument of 1.0L.
39651         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
39652         Likewise.
39653         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
39654         value when x - 1 is zero.
39655         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
39656         * sysdeps/i386/fpu/libm-test-ulps: Update.
39657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39659 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
39661         [BZ #15119]
39662         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
39664 2014-06-09  Roland McGrath  <roland@hack.frob.com>
39666         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
39667         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
39669 2014-06-09  Roland McGrath  <roland@hack.frob.com>
39671         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39672         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
39674         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39675         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
39677         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39678         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
39680         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39681         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
39683         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
39684         if not already defined.
39685         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
39686         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
39687         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
39688         (TLS_INIT_TP): Use it.
39689         (TLS_DEFINE_INIT_TP): New macro.
39690         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
39692 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
39694         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
39695         constant.
39696         [POSIX] (IXANY): Likewise.
39697         [POSIX] (OLCUC): Likewise.
39698         [POSIX || POSIX2008] (CBAUD): Do not allow.
39699         [POSIX || POSIX2008] (DEFECHO): Likewise.
39700         [POSIX || POSIX2008] (ECHOCTL): Likewise.
39701         [POSIX || POSIX2008] (ECHOKE): Likewise.
39702         [POSIX || POSIX2008] (ECHOPRT): Likewise.
39703         [POSIX || POSIX2008] (EXTA): Likewise.
39704         [POSIX || POSIX2008] (EXTB): Likewise.
39705         [POSIX || POSIX2008] (FLUSHO): Likewise.
39706         [POSIX || POSIX2008] (LOBLK): Likewise.
39707         [POSIX || POSIX2008] (PENDIN): Likewise.
39708         [POSIX || POSIX2008] (SWTCH): Likewise.
39709         [POSIX || POSIX2008] (VDISCARD): Likewise.
39710         [POSIX || POSIX2008] (VDSUSP): Likewise.
39711         [POSIX || POSIX2008] (VLNEXT): Likewise.
39712         [POSIX || POSIX2008] (VREPRINT): Likewise.
39713         [POSIX || POSIX2008] (VSTATUS): Likewise.
39714         [POSIX || POSIX2008] (VWERASE): Likewise.
39715         (B*): Change to B[0123456789]*.
39716         * conform/data/time.h-data [POSIX || UNIX98]
39717         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
39718         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39719         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
39720         [POSIX] (tm_*): Do not allow.
39722 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
39724         * Makefile (install): Don't set LANGUAGE.
39725         * Makefile.in (install): Likewise.
39726         * assert/Makefile (test-assert-ENV): Remove variable.
39727         (test-assert-perr-ENV): Likewise.
39728         * elf/Makefile (neededtest4-ENV): Likewise.
39729         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
39730         [$(cross-compiling) = no]: Don't set LANGUAGE.
39731         * io/ftwtest-sh (LANG): Remove variable.
39732         * libio/Makefile (tst-widetext-ENV): Likewise.
39733         * manual/install.texi (Running make install): Don't refer to
39734         environment settings for make install.
39735         * INSTALL: Regenerated.
39736         * nptl/tst-tls6.sh: Don't set LANG.
39737         * posix/globtest.sh (LANG): Remove variable.
39738         * string/Makefile (tester-ENV): Likewise.
39739         (inl-tester-ENV): Likewise.
39740         (noinl-tester-ENV): Likewise.
39741         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
39742         [$(cross-compiling) = no]: Don't set LANGUAGE.
39743         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
39744         without explicit environment settings.
39746 2014-06-06  Roland McGrath  <roland@hack.frob.com>
39748         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
39749         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
39750         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
39751         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
39753 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
39755         * crypt/crypt-private.h [DOS]: Add some includes taken from the
39756         other files in the crypt directory.
39757         * crypt/crypt.c: Remove duplicate includes.
39758         * crypt/crypt-entry.c: Likewise.
39759         * crypt/crypt_util.c: Likewise.
39761 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
39763         * Makeconfig (run-program-env): New variable.
39764         (run-program-prefix-before-env): Likewise.
39765         (run-program-prefix-after-env): Likewise.
39766         (run-program-prefix): Define in terms of new variables.
39767         (built-program-cmd-before-env): New variable.
39768         (built-program-cmd-after-env): Likewise.
39769         (built-program-cmd): Define in terms of new variables.
39770         (test-program-prefix-before-env): New variable.
39771         (test-program-prefix-after-env): Likewise.
39772         (test-program-prefix): Define in terms of new variables.
39773         (test-program-cmd-before-env): New variable.
39774         (test-program-cmd-after-env): Likewise.
39775         (test-program-cmd): Define in terms of new variables.
39776         * Rules (make-test-out): Use $(run-program-env).
39777         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
39778         (help): Do not mention environment variables.  Mention
39779         --timeoutfactor option.
39780         (timeoutfactor): New variable.
39781         (blacklist_exports): Remove function.
39782         (exports): Remove variable.
39783         (command): Do not include ${exports}.
39784         * manual/install.texi (Configuring and compiling): Do not mention
39785         test wrappers preserving environment variables.  Mention that last
39786         assignment to a variable must take precedence.
39787         * INSTALL: Regenerated.
39788         * benchtests/Makefile (run-bench): Use $(run-program-env).
39789         * catgets/Makefile ($(objpfx)test1.cat): Use
39790         $(built-program-cmd-before-env), $(run-program-env) and
39791         $(built-program-cmd-after-env).
39792         ($(objpfx)test2.cat): Do not specify environment variables
39793         explicitly.
39794         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
39795         $(run-program-env) and $(built-program-cmd-after-env).
39796         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
39797         $(run-program-env) and $(test-program-cmd-after-env).
39798         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
39799         explicitly.
39800         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
39801         run_program_env and test_program_cmd_after_env arguments.
39802         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
39803         * elf/tst-pathopt.sh: Use run_program_env argument.
39804         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
39805         $(test-wrapper-env) and $(run-program-env).
39806         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
39807         run_program_env arguments.
39808         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
39809         * intl/Makefile ($(objpfx)tst-gettext.out): Use
39810         $(test-program-prefix-before-env), $(run-program-env) and
39811         $(test-program-prefix-after-env).
39812         ($(objpfx)tst-gettext2.out): Likewise.
39813         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
39814         run_program_env and test_program_prefix_after_env arguments.
39815         * intl/tst-gettext2.sh: Likewise.
39816         * intl/tst-gettext4.sh: Do not set environment variables
39817         explicitly.
39818         * intl/tst-gettext6.sh: Likewise.
39819         * intl/tst-translit.sh: Likewise.
39820         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
39821         $(test-program-prefix-before-env), $(run-program-env) and
39822         $(test-program-prefix-after-env).
39823         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
39824         run_program_env and test_program_prefix_after_env arguments.
39825         * math/Makefile (run-regen-ulps): Use $(run-program-env).
39826         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
39827         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
39828         explicitly with each use of ${test_wrapper_env}.
39829         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
39830         $(test-program-prefix-before-env), $(run-program-env) and
39831         $(test-program-prefix-after-env).
39832         * posix/tst-getconf.sh: Do not set environment variables
39833         explicitly.
39834         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
39835         run_program_env and test_program_prefix_after_env arguments.
39836         * stdio-common/tst-printf.sh: Do not set environment variables
39837         explicitly.
39838         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
39839         $(test-program-prefix-before-env), $(run-program-env) and
39840         $(test-program-prefix-after-env).
39841         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
39842         run_program_env and test_program_prefix_after_env arguments.
39843         Split $test calls into $test_pre and $test.
39844         * timezone/Makefile (build-testdata): Use
39845         $(built-program-cmd-before-env), $(run-program-env) and
39846         $(built-program-cmd-after-env).
39848 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39850         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
39851         strlen for non SHARED builds.
39853 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39855         * nptl/allocatestack.c (check_list): Inlined function...
39856         (__reclaim_stacks): ... here.
39858 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
39860         [BZ #15698]
39861         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
39862         memory overrun.
39864 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
39866         * Rules (make-test-out): Include
39867         LOCPATH=$(common-objpfx)localedata in default environment.
39868         * debug/Makefile (tst-chk1-ENV): Remove variable.
39869         (tst-chk2-ENV): Likewise.
39870         (tst-chk3-ENV): Likewise.
39871         (tst-chk4-ENV): Likewise.
39872         (tst-chk5-ENV): Likewise.
39873         (tst-chk6-ENV): Likewise.
39874         (tst-lfschk1-ENV): Likewise.
39875         (tst-lfschk2-ENV): Likewise.
39876         (tst-lfschk3-ENV): Likewise.
39877         (tst-lfschk4-ENV): Likewise.
39878         (tst-lfschk5-ENV): Likewise.
39879         (tst-lfschk6-ENV): Likewise.
39880         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
39881         (tst-iconv7-ENV): Likewise.
39882         * intl/Makefile (LOCPATH-ENV): Likewise.
39883         (tst-codeset-ENV): Likewise.
39884         (tst-gettext3-ENV): Likewise.
39885         (tst-gettext5-ENV): Likewise.
39886         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
39887         (tst-fopenloc-ENV): Likewise.
39888         (tst-fgetws-ENV): Remove variable.
39889         (tst-ungetwc1-ENV): Likewise.
39890         (tst-ungetwc2-ENV): Likewise.
39891         (bug-ungetwc2-ENV): Likewise.
39892         (tst-swscanf-ENV): Likewise.
39893         (bug-ftell-ENV): Likewise.
39894         (tst-fgetwc-ENV): Likewise.
39895         (tst-fseek-ENV): Likewise.
39896         (tst-ftell-partial-wide-ENV): Likewise.
39897         (tst-ftell-active-handler-ENV): Likewise.
39898         (tst-ftell-append-ENV): Likewise.
39899         * posix/Makefile (tst-fnmatch-ENV): Likewise.
39900         (tst-regexloc-ENV): Likewise.
39901         (bug-regex1-ENV): Likewise.
39902         (tst-regex-ENV): Likewise.
39903         (tst-regex2-ENV): Likewise.
39904         (bug-regex5-ENV): Likewise.
39905         (bug-regex6-ENV): Likewise.
39906         (bug-regex17-ENV): Likewise.
39907         (bug-regex18-ENV): Likewise.
39908         (bug-regex19-ENV): Likewise.
39909         (bug-regex20-ENV): Likewise.
39910         (bug-regex22-ENV): Likewise.
39911         (bug-regex23-ENV): Likewise.
39912         (bug-regex25-ENV): Likewise.
39913         (bug-regex26-ENV): Likewise.
39914         (bug-regex30-ENV): Likewise.
39915         (bug-regex32-ENV): Likewise.
39916         (bug-regex33-ENV): Likewise.
39917         (bug-regex34-ENV): Likewise.
39918         (bug-regex35-ENV): Likewise.
39919         (tst-rxspencer-ENV): Likewise.
39920         (tst-rxspencer-no-utf8-ENV): Likewise.
39921         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
39922         (tst-sscanf-ENV): Likewise.
39923         (tst-swprintf-ENV): Likewise.
39924         (tst-swscanf-ENV): Likewise.
39925         (test-vfprintf-ENV): Likewise.
39926         (scanf13-ENV): Likewise.
39927         (bug14-ENV): Likewise.
39928         (tst-grouping-ENV): Likewise.
39929         * stdlib/Makefile (tst-strtod-ENV): Likewise.
39930         (tst-strtod3-ENV): Likewise.
39931         (tst-strtod4-ENV): Likewise.
39932         (tst-strtod5-ENV): Likewise.
39933         (testmb2-ENV): Likewise./
39934         * string/Makefile (tst-strxfrm-ENV): Likewise.
39935         (tst-strxfrm2-ENV): Likewise.
39936         (bug-strcoll1-ENV): Likewise.
39937         (test-strcasecmp-ENV): Likewise.
39938         (test-strncasecmp-ENV): Likewise.
39939         * time/Makefile (tst-strptime-ENV): Likewise.
39940         (tst-ftime_l-ENV): Likewise.
39941         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
39942         (tst-mbrtowc-ENV): Likewise.
39943         (tst-wcrtomb-ENV): Likewise.
39944         (tst-mbrtowc2-ENV): Likewise.
39945         (tst-c16c32-1-ENV): Likewise.
39946         (tst-mbsnrtowcs-ENV): Likewise.
39948 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
39950         * manual/resource.texi (How to get information about the memory
39951         subsystem?): Fix typo.
39952         Reported by Peon de la Parra Ivan <peon@keba.com>
39954 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
39956         [BZ #16882]
39957         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
39958         (pthread_spin_lock): Branch out of spin loop to proper location.
39959         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
39960         (pthread_spin_lock): Likewise.
39962         * nptl/tst-spin4.c: New test.
39963         * nptl/Makefile (tests): Add tst-spin4.
39965 2014-06-03  Andreas Schwab  <schwab@suse.de>
39967         [BZ #15946]
39968         * resolv/res_send.c (send_dg): Reload file descriptor after
39969         calling reopen.
39971 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
39973         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39975 2014-06-03  Richard Henderson  <rth@redhat.com>
39977         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
39978         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
39979         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
39980         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
39981         in the SAVE_PID block.
39982         (__libc_vfork): New alias.
39983         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
39985         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
39986         child in registers, not on the stack.  Remove RESET_PID conditionals.
39987         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
39989 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39991         * sysdeps/aarch64/libm-test-ulps: Regenerate.
39993 2014-06-03  Wilco  <wdijkstr@arm.com>
39995         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
39996         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
39997         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
39998         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
39999         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
40000         Likewise.
40002 2014-06-03  Wilco  <wdijkstr@arm.com>
40004         * sysdeps/aarch64/fpu/math_private.h
40005         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
40006         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
40007         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
40008         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
40009         Fix declarations.
40011 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40013         * crypt/crypt-private.h: Include ufc-crypt.h.
40014         (__b64_from_24bit): Declare extern.
40015         * crypt/crypt_util.c(__b64_from_24bit): New function.
40016         (b64t): New static const variable.
40017         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
40018         (b64t): Remove variable.
40019         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
40020         * crypt/sha256-crypt.c: Include crypt-private.h.
40021         (b64t): Remove variable.
40022         (__sha256_crypt_r): Remove b64_from_24bit and replace
40023         with __b64_from_24bit.
40024         * crypt/sha512-crypt.c: Likewise.
40026 2014-06-02  Roland McGrath  <roland@hack.frob.com>
40028         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
40029         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
40030         Label the code __libc_vfork rather than __vfork.
40031         [!NOT_IN_libc] (vfork): Define as weak alias.
40032         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
40033         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
40034         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
40036 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40038         * malloc/malloc.c (malloc_info): Fix format specifier for
40039         n_mmaps.
40041 2014-06-02  Wilco  <wdijkstr@arm.com>
40043         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
40044         FPCR write.
40046 2014-06-02  Wilco  <wdijkstr@arm.com>
40048         [BZ #17009]
40049         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
40050         Rewrite to reduce FPCR/FPSR accesses.
40052 2014-06-01  David S. Miller  <davem@davemloft.net>
40054         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40056 2014-05-31  David S. Miller  <davem@davemloft.net>
40058         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
40059         to occur in round to nearest mode when |x| >= 2.0
40061 2014-05-30  Richard Henderson  <rth@twiddle.net>
40063         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
40064         (PSEUDO_RET_NOERRNO): Remove.
40065         (ret): Don't redefine.
40066         (ret_NOERRNO): Define in terms of ret.
40067         (ret_ERRVAL): Likewise.
40069         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
40070         use of PSEUDO_RET; perform the error check directly.
40072 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
40074         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
40075         with __int128_t.
40077 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40079         * malloc/malloc (malloc_info): Fix formatting.
40081 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40082             Roland McGrath  <roland@hack.frob.com>
40084         * malloc/malloc (malloc_info): Also print mmapped statistics.
40086 2014-05-30  Roland McGrath  <roland@hack.frob.com>
40088         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
40089         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
40091 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
40093         * malloc/malloc.c (malloc_info): Inline mi_arena.
40095 2014-05-29  Richard Henderson  <rth@twiddle.net>
40097         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
40098         Remove comma before expanding ASM_ARGS_##nr.
40099         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
40100         Make _x0 a strict output; make _x8 a strict input; adjust expansion
40101         of ASM_ARGS_##nr.
40102         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
40103         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
40104         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
40105         (ASM_ARGS_1): Add leading comma.
40107         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
40108         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
40109         to __errno_location.
40110         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
40111         Remove the expected plt for __errno_location.
40113         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40114         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
40115         call to __read_tp.
40117         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40118         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
40119         it and break it down.
40120         (DOCARGS_0, DOCARGS_1): Do nothing.
40121         (DOCARGS_2): Update to store into the new stack frame.
40122         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
40123         (UNDOCARGS_1): Update to restore from the new stack frame.
40124         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
40125         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
40127         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40128         (SINGLE_THREAD_P): New parameter for result regno.
40129         (PSEUDO): Update to match; use cbz instead of beq.
40131         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40132         Use ENTRY to define the _nocancel entry point.  Share the syscall
40133         and syscall error check paths with the cancel path.
40134         (PSEUDO_END): New.
40136         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
40137         whitespace; tabs before and after asm mnemonics.
40139 2014-05-29  Eric Wong  <normalperson@yhbt.net>
40141         [BZ #15132]
40142         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40143         Call fstat64 or stat64 internally, depending on arguments passed.
40144         Replace stat buffer argument with file descriptor argument.
40145         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
40146         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
40147         Pass fd to __internal_statvfs instead of calling fstat64.
40148         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
40149         Pass fd to __internal_statvfs64 instead of calling fstat64.
40150         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
40151         Pass -1 to __internal_statvfs instead of calling stat64.
40152         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
40153         Pass -1 to __internal_statvfs64 instead of calling stat64.
40155 2014-05-28  Roland McGrath  <roland@hack.frob.com>
40157         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
40158         that was previously under [RESET_PID].
40159         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
40161         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
40162         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
40164 2014-05-27  Roland McGrath  <roland@hack.frob.com>
40166         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
40168         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
40169         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
40171 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
40173         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
40175 2014-05-27  Andreas Schwab  <schwab@suse.de>
40177         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
40178         TLS_INIT_TP macro.
40179         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
40180         * elf/rtld.c (init_tls, dl_main): Likewise.
40181         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
40182         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
40183         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
40184         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
40185         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
40186         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
40187         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
40188         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
40189         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
40190         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
40191         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
40192         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
40193         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
40194         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
40195         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
40196         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
40197         * sysdeps/generic/tls.h: Update description.
40199 2014-05-27  Will Newton  <will.newton@linaro.org>
40201         [BZ #16990]
40202         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
40203         and restore r2 rather than just restoring.
40205 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40207         [BZ #16724]
40208         * libio/tst-ftell-append.c: New test case.
40209         * libio/Makefile (tests): Add test case.
40210         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
40211         append mode.
40212         * libio/wfileops.c (do_ftell_wide): Likewise.
40214 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40216         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40218         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
40219         ...
40220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
40221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
40222         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
40223         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
40224         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
40225         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
40226         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
40227         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
40228         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
40229         Moved ...
40230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
40231         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
40232         Moved ...
40233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
40234         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
40235         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
40236         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
40237         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
40238         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
40239         ...
40240         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
40241         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
40242         Moved ...
40243         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
40244         here.
40245         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
40246         ...
40247         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
40248         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
40249         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
40251         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
40252         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
40253         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
40254         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
40256         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
40257         merge into ...
40258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
40259         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
40260         ...
40261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
40262         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
40263         ...
40264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
40265         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
40266         Moved ...
40267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
40268         here.
40269         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
40270         Moved ...
40271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
40272         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
40273         Moved ...
40274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
40276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
40277         conditional [RESET_PID].
40278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
40279         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
40280         removed.
40281         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
40282         removed.
40284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
40285         <tcb-offsets.h>.
40286         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
40287         (__libc_vfork): New strong alias.
40288         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
40289         removed.
40290         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
40291         Removed.
40293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
40294         <tcb-offsets.h>.
40295         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
40296         (__libc_vfork): New strong alias.
40297         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
40298         removed.
40299         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
40300         removed.
40302 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
40304         * malloc/malloc.c (mi_arena): New function.
40305         (malloc_info): Remove nested function mi_arena. Call non-nosted
40306         function mi_arena.
40308 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40310         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
40311         by insrwi.
40312         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
40313         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
40314         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
40315         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
40316         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
40317         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
40318         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
40320 2014-05-26  Andreas Schwab  <schwab@suse.de>
40322         [BZ #16984]
40323         * locale/programs/repertoire.c (repertoire_read): Add slash
40324         between I18NPATH element and file name.
40325         * locale/programs/locfile.c (locfile_read): Likewise.
40327 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
40329         * nptl/pthread_mutexattr_settype.c
40330         (__pthread_mutexattr_settype):
40331         Disable lock elision for PTHREAD_MUTEX_NORMAL.
40333 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
40335         * nptl/tst-mutex5 (do_test):
40336         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
40338 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40340         * benchtests/README: Document 'init' directive.
40341         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
40342         BENCH_INIT.
40343         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
40344         (parse_file): Recognize 'init' directive.
40346 2014-05-26  Kyle McMartin  <kyle@redhat.com>
40348         [BZ #16796]
40349         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
40350         alignment of struct pthread.
40352 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40354         [BZ #16878]
40355         * nscd/netgroupcache.c (addgetnetgrentX): Look for
40356         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
40357         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
40358         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
40360 2014-05-25  Richard Henderson  <rth@twiddle.net>
40362         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40363         (SINGLE_THREAD_P_PIC): Remove.
40364         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
40365         (SINGLE_THREAD_P_PIC): Remove.
40367         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
40368         branch to syscall error ...
40369         (PSEUDO): ... here.
40370         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
40371         from __local_syscall_error to .Lsyscall_error.
40372         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
40373         (SYSCALL_ERROR): Update label name.
40375         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40376         Do not use DOARGS/UNDOARGS.
40377         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
40378         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
40379         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
40380         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
40381         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
40383         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
40384         block comment.
40386         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
40387         define if !NOT_IN_libc.
40388         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
40389         define with non-default symbol versions.
40391 2014-05-23  Richard Henderson  <rth@twiddle.net>
40393         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
40394         (vfork, __vfork): Define via compat_symbol.
40396         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
40397         [!HAVE_IFUNC] (vfork_compat): Remove.
40398         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
40400 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
40402         [BZ #16978]
40403         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
40404         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
40405         variable.
40407 2014-05-23  Richard Henderson  <rth@twiddle.net>
40409         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
40410         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
40411         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
40412         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
40414         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
40415         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
40416         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
40417         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
40418         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
40419         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
40420         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
40421         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
40422         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
40423         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
40424         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
40425         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
40426         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
40427         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
40428         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
40429         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
40430         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
40431         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
40432         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
40433         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
40434         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
40435         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
40436         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
40437         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
40438         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
40439         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
40440         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
40441         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
40442         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
40443         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
40444         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
40445         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
40446         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
40447         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
40448         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
40449         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
40450         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
40451         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
40452         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
40453         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
40454         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
40455         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
40456         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
40457         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
40458         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
40459         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
40460         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
40461         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
40462         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
40463         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
40464         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
40465         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
40466         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
40467         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
40468         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
40469         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
40471         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
40472         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
40473         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
40474         before exiting on error.
40475         (__libc_vfork): New strong alias.
40476         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
40477         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
40479         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
40480         that was previously under [RESET_PID].
40481         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
40483         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
40485 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
40487         [BZ #16977]
40488         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
40489         value when x - 1 is zero.
40490         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
40491         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
40492         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
40493         0.0L for an argument of 1.0L.
40494         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
40495         Likewise.
40496         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
40497         value when x - 1 is zero.
40498         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
40499         * sysdeps/i386/fpu/libm-test-ulps: Update.
40500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40502 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
40504         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
40505         alphasort and versionsort.
40507 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40509         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
40510         macro.
40511         [copysignf]: Likewise.
40513 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40515         * crypt/md5-crypt.c: Fix formatting.
40517 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40519         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
40520         (b64_from_24bit): New function.
40522 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40524         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
40525         libc_hidden_builtin_def to ifunc.
40526         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
40527         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
40529 2014-05-21  Roland McGrath  <roland@hack.frob.com>
40531         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
40532         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
40534 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
40536         * nscd/Depend (linuxthreads): Remove.
40537         (nptl): Add.
40538         * resolv/Depend (linuxthreads): Remove.
40539         * rt/Depend (linuxthreads): Remove.
40541         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
40542         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
40543         $(common-objpfx)elf/.
40544         (link-libc-before-gnulib): Likewise.
40545         (elfobjdir): Remove variable.
40546         * Makefile (install): Use $(elf-objpfx) instead of
40547         $(common-objpfx)elf/.
40548         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
40549         $(elfobjdir)/.
40550         (link-libc-deps): Likewise.
40551         ($(common-objpfx)libc.so): Likewise.
40552         ($(common-objpfx)linkobj/libc.so): Likewise.
40553         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
40554         instead of $(common-objpfx)elf/.
40555         (symbolic-link-list): Likewise.
40556         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
40557         [$(cross-compiling) = no]: Likewise.
40558         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
40559         $(elfobjdir)/.
40560         (static-gnulib-arch): Likewise.
40561         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
40562         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
40563         $(common-objpfx)elf/.
40565 2014-05-21  Richard Henderson  <rth@redhat.com>
40567         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40568         (SINGLE_THREAD_P): Use the correct width load.  Fold
40569         into the ldr offset.
40571         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
40572         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
40574 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
40576         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
40577         (libgcc_s_resume): Use __attribute_used__.
40578         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
40579         Likewise.
40581 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40583         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
40584         optimization when used with float constants.
40586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40588 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
40590         [BZ #16915]
40591         * locale/nl_langinfo_l.c: Make direct reference to every
40592         _nl_current_CATEGORY symbol.
40593         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
40594         (tests-static): Add tst-langinfo-static.
40595         (tests-special): Add tst-langinfo-static.out.
40596         ($(objpfx)tst-langinfo.out): Redirect output.
40597         ($(objpfx)tst-langinfo-static.out): New.
40598         * localedata/tst-langinfo.sh: Send output to stdout.
40599         * localedata/tst-langinfo-static.c: New file.
40601         [BZ #16965]
40602         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
40603         when the shift amount is modulo the limb size.
40605 2014-05-20  Richard Henderson  <rth@redhat.com>
40607         [BZ #16967]
40608         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
40609         Change type of sa_flags from unsigned int to int.
40611         [BZ #16966]
40612         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
40614         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
40616 2014-05-20  Will Newton  <will.newton@linaro.org>
40618         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40619         Test the return value of the system call in the nocancel case.
40621 2014-05-20  Will Newton  <will.newton@linaro.org>
40622             Yvan Roux  <yvan.roux@linaro.org>
40624         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
40625         #include of asm/ptrace.h.
40626         (PTRACE_GET_THREAD_AREA): Remove #undef.
40627         (PTRACE_GETHBPREGS): Likewise.
40628         (PTRACE_SETHBPREGS): Likewise.
40629         (struct user_regs_struct): New structure.
40630         (struct user_fpsimd_struct): New structure.
40631         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
40632         #include of asm/ptrace.h and second #include of sys/user.h.
40633         (PTRACE_GET_THREAD_AREA): Remove #undef.
40634         (PTRACE_GETHBPREGS): Likewise.
40635         (PTRACE_SETHBPREGS): Likewise.
40636         (ELF_NGREG): Use new struct user_regs_struct.
40637         (elf_fpregset_t): Use new struct user_fpsimd_struct.
40639 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40641         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
40642         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
40644 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
40646         [BZ #16958]
40647         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
40648         membar to avoid block loads/stores to overlap previous stores.
40650 2014-05-17  Richard Henderson  <rth@redhat.com>
40652         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
40653         Create the __##syscall_name##_nocancel entry point.
40654         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
40655         Remove; let the sysdep-cancel.h code create it.
40657 2014-05-17  David S. Miller  <davem@davemloft.net>
40659         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
40660         Protect with __USE_GNU.
40661         (TIOCSET_TEMPT): Likewise.
40662         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40663         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
40664         these are already provided in bits/ioctl-types.h
40666 2014-05-16  Roland McGrath  <roland@hack.frob.com>
40668         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
40669         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
40671         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
40672         Use wait4 regardless of [__NR_waitpid].
40674 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
40676         PR libgcc/60166
40677         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
40678         (_FP_NANSIGN_Q): Set the quiet bit.
40680 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
40682         * benchtests/Makefile
40683         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
40684         not $(common-objpfx)math/libm.so.
40685         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
40686         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
40687         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
40688         $(common-objpfx)dlfcn/libdl.so.
40689         ($(objpfx)tst-audit8): Depend on $(libm), not
40690         $(common-objpfx)math/libm.so.
40691         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
40692         not $(common-objpfx)dlfcn/libdl.so.
40693         * math/Makefile
40694         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
40695         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
40696         [$(build-shared) = yes].
40697         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
40698         $(common-objpfx)nptl/libpthread.so.
40699         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
40700         $(common-objpfx)math/libm.so$(libm.so-version) or
40701         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
40702         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
40703         $(common-objpfx)dlfcn/libdl.so.
40704         * setjmp/Makefile (link-libm): Remove variable.
40705         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
40706         * stdio-common/Makefile (link-libm): Remove variable.
40707         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
40708         * stdlib/Makefile (link-libm): Remove variable.
40709         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
40710         ($(objpfx)tst-strtod-round): Likewise.
40711         ($(objpfx)tst-tininess): Likewise.
40712         ($(objpfx)tst-strtod-underflow): Likewise.
40713         ($(objpfx)tst-strtod6): Likewise.
40714         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
40715         $(libdl), not $(common-objpfx)nptl/libpthread.so and
40716         $(common-objpfx)dlfcn/libdl.so.
40718 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40720         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
40721         BSD terminal modes definitions.
40723 2014-05-16  Roland McGrath  <roland@hack.frob.com>
40725         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
40726         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
40728         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
40729         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
40730         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
40731         Don't do #include_next.
40732         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
40733         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
40734         Don't do #include_next.
40735         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
40736         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
40737         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
40738         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
40740 2014-05-16  Allan McRae  <allan@archlinux.org>
40742         * po/sv.po: Update Swedish translation from translation project.
40744         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
40745         in sed expression.
40747 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
40749         [BZ #16917]
40750         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
40751         errno if the TIOCGPTN ioctl fails with an error different than
40752         EINVAL.
40753         * login/tst-ptsname.c: New file.
40754         * login/Makefile (tests): Add tst-ptsname.
40756         [BZ #16943]
40757         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
40758         and prlimit64.
40760 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40762         [BZ #16849]
40763         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
40764         herrno to return EAI_AGAIN.
40766 2014-05-14  Roland McGrath  <roland@hack.frob.com>
40768         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
40769         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
40770         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
40771         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
40772         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
40773         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
40774         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
40775         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
40776         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
40777         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
40778         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
40779         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
40780         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
40781         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
40782         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
40783         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
40784         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
40785         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
40786         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
40787         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
40788         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
40789         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
40790         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
40791         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
40792         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
40793         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
40794         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
40795         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
40796         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
40797         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
40798         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
40799         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
40800         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
40801         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
40802         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40803         Moved ...
40804         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
40805         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
40806         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
40807         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
40808         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
40809         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
40810         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
40811         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
40812         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
40813         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
40814         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
40815         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
40816         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
40817         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
40818         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
40819         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
40820         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
40821         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
40822         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
40823         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
40824         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
40825         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
40826         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
40827         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
40828         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
40829         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
40830         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
40831         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40832         Moved ...
40833         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
40834         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
40835         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
40836         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
40837         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
40838         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
40839         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
40840         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
40841         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
40842         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
40843         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
40844         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
40845         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
40846         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
40847         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
40848         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
40849         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
40850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
40851         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
40852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40853         Moved ...
40854         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
40855         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
40856         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
40858         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
40859         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
40860         (libpthread-sysdep_routines): Add elision-related stuff here instead.
40861         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
40862         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
40863         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
40864         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
40865         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
40866         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
40867         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
40868         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
40869         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
40870         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
40871         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
40872         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
40873         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
40874         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
40875         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
40876         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
40877         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
40878         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
40879         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
40880         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
40881         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
40882         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
40883         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
40884         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
40885         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
40886         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
40887         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
40888         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
40890         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
40891         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
40893         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
40894         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
40895         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
40896         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
40897         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
40898         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
40899         Moved ...
40900         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
40901         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
40902         Moved ...
40903         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
40904         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
40905         Moved ...
40906         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
40907         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
40908         Moved ...
40909         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
40910         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
40911         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
40912         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
40913         Moved ...
40914         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
40915         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
40916         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
40917         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
40918         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
40919         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
40920         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
40921         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
40922         Moved ...
40923         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
40924         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
40925         Moved ...
40926         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
40927         ... here.
40928         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
40929         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
40930         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
40931         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
40932         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
40933         Moved ...
40934         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
40935         ... here.
40936         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
40937         Moved ...
40938         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
40939         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
40940         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
40941         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
40942         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
40943         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
40944         Moved ...
40945         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
40946         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
40947         Moved ...
40948         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
40949         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
40950         Moved ...
40951         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
40952         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
40953         Moved ...
40954         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
40955         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
40956         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
40957         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
40958         Moved ...
40959         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
40960         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
40961         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
40962         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
40963         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
40964         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
40965         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
40966         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
40967         Moved ...
40968         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
40969         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
40970         Moved ...
40971         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
40972         ... here.
40973         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
40974         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
40975         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
40976         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
40977         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
40978         Moved ...
40979         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
40980         ... here.
40981         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
40982         Moved ...
40983         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
40984         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
40985         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
40986         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
40987         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
40988         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
40989         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
40990         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
40991         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
40992         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
40993         Moved ...
40994         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
40995         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
40996         Moved ...
40997         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
40998         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
40999         Moved ...
41000         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
41001         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
41002         Moved ...
41003         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
41004         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
41005         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
41006         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
41007         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
41008         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
41009         Moved ...
41010         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
41011         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
41012         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
41013         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
41014         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
41015         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
41016         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
41017         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
41018         Moved ...
41019         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
41020         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41021         Moved ...
41022         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41023         ... here.
41024         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
41025         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
41026         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
41027         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
41028         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41029         Moved ...
41030         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41031         ... here.
41032         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
41033         Moved ...
41034         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
41035         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
41036         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
41037         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
41038         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
41039         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
41040         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
41041         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
41042         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
41043         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
41044         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
41046         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
41047         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
41049         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
41050         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
41052         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
41053         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
41054         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
41055         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
41056         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
41057         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
41058         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
41059         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
41060         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
41061         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
41062         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
41063         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
41064         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
41065         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
41066         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
41067         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
41068         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
41069         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
41070         Moved ...
41071         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
41072         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
41073         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
41074         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
41075         Moved ...
41076         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
41077         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
41078         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
41079         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
41080         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
41081         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
41082         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
41083         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
41084         Moved ...
41085         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
41086         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
41087         Moved ...
41088         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
41089         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
41090         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
41091         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
41092         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
41093         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
41094         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
41095         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
41096         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
41097         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
41098         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
41099         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
41100         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
41101         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
41102         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
41103         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
41104         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
41106         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
41107         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
41108         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
41109         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
41110         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
41112         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
41113         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
41114         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
41115         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
41116         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
41117         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
41118         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
41119         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
41120         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
41121         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
41123         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
41124         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
41126         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
41127         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
41128         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
41129         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
41130         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
41131         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
41132         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
41133         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
41134         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
41135         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
41136         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
41137         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
41138         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
41139         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
41140         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
41141         Update #include.
41142         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
41143         Likewise.
41144         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
41145         Likewise.
41146         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
41147         Likewise.
41148         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
41149         Likewise.
41150         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
41151         Likewise.
41152         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
41153         Likewise.
41154         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
41155         Likewise.
41156         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
41157         Likewise.
41158         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
41159         Likewise.
41160         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
41161         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
41162         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
41163         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
41164         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
41165         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
41166         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
41167         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
41168         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
41169         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
41170         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
41171         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
41172         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
41173         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
41174         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
41176         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
41177         that was previously under [RESET_PID].
41178         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41179         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
41180         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
41182         * sysdeps/i386/nptl/Implies: New file.
41183         * sysdeps/x86_64/nptl/Implies: New file.
41184         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
41185         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
41186         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
41187         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
41189         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
41190         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41191         (__libc_vfork): New strong alias.
41192         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
41193         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
41195         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
41196         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41197         (__libc_vfork): New strong alias.
41198         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
41199         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
41201         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
41202         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41203         (__libc_vfork): New strong alias.
41204         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
41205         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
41206         * nptl/pt-vfork.c: New file.
41207         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
41208         (libpthread: GLIBC_2.20): New version set (empty).
41210 2014-05-14  Will Newton  <will.newton@linaro.org>
41212         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
41213         rather than #if.
41215 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
41217         [BZ #16564]
41218         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
41219         arguments with exponent 65 or above.
41220         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
41221         arguments 0x1p113L or above.
41222         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
41223         to arguments 0x1p107L or above.
41224         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
41225         positive arguments with exponent 65 or above.
41226         * math/auto-libm-test-in: Add more tests of log1p.
41227         * math/auto-libm-test-out: Regenerated.
41229         [BZ #16928]
41230         * math/s_cacos.c (__cacos): Ensure zero real part of result from
41231         non-finite arguments is +0.
41232         * math/s_cacosf.c (__cacosf): Likewise.
41233         * math/s_cacosl.c (__cacosl): Likewise.
41234         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
41235         * sysdeps/i386/fpu/libm-test-ulps: Update.
41236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41238         [BZ #16927]
41239         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
41240         value.
41241         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
41242         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
41243         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
41244         for explicit high bit of mantissa when testing for argument equal
41245         to 1.
41246         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
41247         * sysdeps/i386/fpu/libm-test-ulps: Update.
41248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41250         [BZ #16516]
41251         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
41252         (__erf): Scale by 16 instead of 8 in potentially underflowing
41253         case.  Ensure exception if result actually underflows.
41254         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
41255         (__erff): Scale by 16 instead of 8 in potentially underflowing
41256         case.  Ensure exception if result actually underflows.
41257         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
41258         (efx8): Remove variable.
41259         (__erfl): Scale by 16 instead of 8 in potentially underflowing
41260         case.  Ensure exception if result actually underflows.
41261         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
41262         (efx8): Remove variable.
41263         (__erfl): Scale by 16 instead of 8 in potentially underflowing
41264         case.  Ensure exception if result actually underflows.
41265         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
41266         (efx8): Remove variable.
41267         (__erfl): Scale by 16 instead of 8 in potentially underflowing
41268         case.  Ensure exception if result actually underflows.
41269         * math/auto-libm-test-in: Add more tests of erf.
41270         * math/auto-libm-test-out: Regenerated.
41272 2014-05-14  Andreas Schwab  <schwab@suse.de>
41274         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
41275         Remove code conditionalized on USE___THREAD.
41277         * config.h.in (HAVE_PT_CHOWN): Define as 0.
41278         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
41279         not definedness.
41281 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
41283         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
41284         Define unconditionally.
41285         (__ASSUME_O_CLOEXEC): Likewise.
41286         (__ASSUME_SOCK_CLOEXEC): Likewise.
41287         (__ASSUME_IN_NONBLOCK): Likewise.
41288         (__ASSUME_PIPE2): Likewise.
41289         (__ASSUME_EVENTFD2): Likewise.
41290         (__ASSUME_SIGNALFD4): Likewise.
41291         (__ASSUME_DUP3): Likewise.
41292         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41293         (__ASSUME_DUP3): Do not define.
41294         (__ASSUME_EVENTFD2): Likewise.
41295         (__ASSUME_IN_NONBLOCK): Likewise.
41296         (__ASSUME_O_CLOEXEC): Likewise.
41297         (__ASSUME_PIPE2): Likewise.
41298         (__ASSUME_SIGNALFD4): Likewise.
41299         (__ASSUME_SOCK_CLOEXEC): Likewise.
41300         (__ASSUME_UTIMES): Undefine.
41301         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41302         (__ASSUME_UTIMES): Do not define.
41303         (__ASSUME_O_CLOEXEC): Likewise.
41304         (__ASSUME_SOCK_CLOEXEC): Likewise.
41305         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
41306         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
41307         0x020621].
41308         (__ASSUME_PIPE2): Likewise.
41309         (__ASSUME_EVENTFD2): Likewise.
41310         (__ASSUME_SIGNALFD4): Likewise.
41311         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
41312         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
41313         Do not define.
41314         (__ASSUME_EVENTFD2): Likewise.
41315         (__ASSUME_SIGNALFD4): Likewise.
41316         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41317         (__ASSUME_32BITUIDS): Likewise.
41318         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41319         (__ASSUME_IPC64): Likewise.
41320         (__ASSUME_ST_INO_64_BIT): Likewise.
41321         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
41322         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
41323         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41324         (__ASSUME_UTIMES): Do not define.
41325         (__ASSUME_PSELECT): Likewise.
41326         (__ASSUME_PPOLL): Likewise.
41327         (__ASSUME_O_CLOEXEC): Likewise.
41328         (__ASSUME_SOCK_CLOEXEC): Likewise.
41329         (__ASSUME_IN_NONBLOCK): Likewise.
41330         (__ASSUME_PIPE2): Likewise.
41331         (__ASSUME_EVENTFD2): Likewise.
41332         (__ASSUME_SIGNALFD4): Likewise.
41333         (__ASSUME_DUP3): Likewise.
41334         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41335         (__ASSUME_UTIMES): Likewise.
41336         (__ASSUME_O_CLOEXEC): Likewise.
41337         (__ASSUME_SOCK_CLOEXEC): Likewise.
41338         (__ASSUME_IN_NONBLOCK): Likewise.
41339         (__ASSUME_PIPE2): Likewise.
41340         (__ASSUME_EVENTFD2): Likewise.
41341         (__ASSUME_SIGNALFD4): Likewise.
41342         (__ASSUME_DUP3): Likewise.
41343         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41344         (__ASSUME_UTIMES): Likewise.
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         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
41353         Likewise.
41354         (__ASSUME_UTIMES): Likewise.
41355         (__ASSUME_EVENTFD2): Likewise.
41356         (__ASSUME_SIGNALFD4): Likewise.
41357         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41358         (__ASSUME_O_CLOEXEC): Likewise.
41359         (__ASSUME_SOCK_CLOEXEC): Likewise.
41360         (__ASSUME_IN_NONBLOCK): Likewise.
41361         (__ASSUME_PIPE2): Likewise.
41362         (__ASSUME_EVENTFD2): Likewise.
41363         (__ASSUME_SIGNALFD4): Likewise.
41364         (__ASSUME_DUP3): Likewise.
41365         (__ASSUME_UTIMES): Undefine.
41367         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
41368         feclearexcept.  Remove symbol versioning code.
41369         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
41370         symbol versioning code.
41371         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
41372         symbol versioning code.
41373         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
41374         feupdateenv.  Remove symbol versioning code.
41375         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
41376         fegetexceptflag.  Remove symbol versioning code.
41377         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
41378         fesetexceptflag.  Remove symbol versioning code.
41379         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
41380         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
41381         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
41382         (__posix_fadvise64_l32): Remove prototype.
41383         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
41384         code.
41386 2014-05-13  Roland McGrath  <roland@hack.frob.com>
41388         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
41389         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
41390         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
41391         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
41393 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
41395         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
41396         current working directory
41398 2014-05-13  Roland McGrath  <roland@hack.frob.com>
41400         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
41401         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
41402         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
41403         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
41404         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
41405         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
41406         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
41407         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
41408         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
41409         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
41410         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
41411         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
41412         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
41413         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
41414         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
41415         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
41416         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
41417         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
41418         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
41419         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
41420         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
41421         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
41422         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
41423         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
41424         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
41425         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
41426         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
41427         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
41428         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
41429         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
41430         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
41431         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
41432         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
41433         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
41434         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
41435         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
41436         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
41437         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
41438         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
41439         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
41440         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
41441         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
41443         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
41444         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
41446         * sysdeps/unix/sysv/linux/arm/Makefile
41447         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41448         Add rt-aeabi_unwind_cpp_pr1.
41449         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
41450         Add nptl-aeabi_unwind_cpp_pr1.
41451         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
41452         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
41453         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
41454         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
41455         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
41456         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
41458         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
41459         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
41460         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
41461         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
41463         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
41464         Deconditionalize the code that was previously under [RESET_PID].
41465         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
41467         * sysdeps/generic/exit-thread.h: New file.
41468         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
41469         * include/unistd.h (__exit_thread): Remove declaration.
41470         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
41471         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
41472         * csu/libc-start.c: Include <exit-thread.h>.
41473         (LIBC_START_MAIN): Pass no argument to __exit_thread.
41474         * nptl/pthread_create.c: Include <exit-thread.h>.
41475         (start_thread): Call __exit_thread in place of __exit_thread_inline.
41476         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
41477         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
41478         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
41479         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
41480         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
41481         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
41482         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
41483         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
41484         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
41485         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
41486         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
41487         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
41488         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
41489         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
41490         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
41491         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
41493 2014-05-13  Andreas Schwab  <schwab@suse.de>
41495         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
41497 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
41499         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
41500         (__ASSUME_UTIMES): Do not condition on kernel version.
41501         (__ASSUME_PSELECT): Define unconditionally.
41502         (__ASSUME_PPOLL): Likewise.
41503         (__ASSUME_ATFCTS): Likewise.
41504         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
41505         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
41506         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
41507         (__ASSUME_UTIMENSAT): Define unconditionally.
41508         (__ASSUME_PRIVATE_FUTEX): Likewise.
41509         (__ASSUME_FALLOCATE): Likewise.
41510         (__ASSUME_O_CLOEXEC): Likewise.
41511         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
41512         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
41513         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
41514         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
41515         (__ASSUME_IN_NONBLOCK): Likewise.
41516         (__ASSUME_PIPE2): Likewise.
41517         (__ASSUME_EVENTFD2): Likewise.
41518         (__ASSUME_SIGNALFD4): Likewise.
41519         (__ASSUME_DUP3): Likewise.
41520         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41521         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
41522         (__ASSUME_AT_RANDOM): Likewise.
41523         (__ASSUME_PREADV): Likewise.
41524         (__ASSUME_PWRITEV): Likewise.
41525         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
41526         (__ASSUME_F_GETOWN_EX): Define unconditionally.
41527         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
41528         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
41529         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
41530         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41531         (__ASSUME_O_CLOEXEC): Define unconditionally.
41532         (__ASSUME_PSELECT): Do not undefine conditionally.
41533         (__ASSUME_PPOLL): Likewise.
41534         (__ASSUME_ATFCTS): Likewise.
41535         (__ASSUME_SET_ROBUST_LIST): Likewise.
41536         (__ASSUME_UTIMENSAT): Likewise.
41537         (__ASSUME_FDATASYNC): Define unconditionally.
41538         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41539         (__ASSUME_SIGFRAME_V2): Likewise.
41540         )__ASSUME_EVENTFD2): Likewise.
41541         (__ASSUME_SIGNALFD4): Likewise.
41542         (__ASSUME_PSELECT): Do not undefine conditionally.
41543         (__ASSUME_PPOLL): Likewise.
41544         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41545         (__ASSUME_PSELECT): Define unconditionally.
41546         (__ASSUME_PPOLL): Likewise.
41547         (__ASSUME_O_CLOEXEC): Likewise.
41548         (__ASSUME_SOCK_CLOEXEC): Likewise.
41549         (__ASSUME_IN_NONBLOCK): Likewise.
41550         (__ASSUME_PIPE2): Likewise.
41551         (__ASSUME_EVENTFD2): Likewise.
41552         (__ASSUME_SIGNALFD4): Likewise.
41553         (__ASSUME_DUP3): Likewise.
41554         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41555         (__ASSUME_O_CLOEXEC): Likewise.
41556         (__ASSUME_SOCK_CLOEXEC): Likewise.
41557         (__ASSUME_IN_NONBLOCK): Likewise.
41558         (__ASSUME_PIPE2): Likewise.
41559         (__ASSUME_EVENTFD2): Likewise.
41560         (__ASSUME_SIGNALFD4): Likewise.
41561         (__ASSUME_DUP3): Likewise.
41562         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41563         (__ASSUME_EVENTFD2): Likewise.
41564         (__ASSUME_SIGNALFD4): Likewise.
41565         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41567 2014-05-12  Andreas Schwab  <schwab@suse.de>
41569         [BZ #16932]
41570         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
41571         (_nss_nis_gethostbyname4_r): Return error if item length is larger
41572         than maximum RPC packet size.
41573         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
41574         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
41575         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
41576         (_nss_nis_getservbyport_r): Likewise.
41578 2014-05-12  Will Newton  <will.newton@linaro.org>
41580         * malloc/Makefile (tests): Add tst-mallopt.
41581         * malloc/tst-mallopt.c: New file.
41583 2014-05-09  Roland McGrath  <roland@hack.frob.com>
41585         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
41586         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
41588 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41590         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
41591         (tst-tlsmod6.so): Likewise.
41593 2014-05-09  Roland McGrath  <roland@hack.frob.com>
41595         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
41597 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
41599         [BZ #16064]
41600         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
41601         and <dl-procinfo.h>.
41602         (__fegetenv): Save SSE state in envp->__eip if supported.
41603         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
41604         envp->__eip if supported.
41605         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
41606         and <dl-procinfo.h>.
41607         (__fesetenv): Always set __eip, __cs_selector, __opcode,
41608         __data_offset and __data_selector in environment to 0.  Set SSE
41609         state if supported.
41610         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
41611         test-fenv-sse.
41612         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
41613         -mfpmath=sse.
41614         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
41616 2014-05-09  Will Newton  <will.newton@linaro.org>
41618         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
41619         and libc_relro_required for ARM.
41620         * sysdeps/arm/preconfigure: Regenerate.
41622 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
41623             Stefan Liebler  <stli@linux.vnet.ibm.com>
41625         * config.make.in (enable-lock-elision): New Makefile variable.
41626         * configure.ac: Likewise.
41627         * configure: Regenerate.
41628         * sysdeps/s390/configure.ac:
41629         Add check for gcc transactions support.
41630         * sysdeps/s390/configure: Regenerate.
41631         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
41632         Build elision files if enabled.
41633         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
41634         Add lock elision support for s390.
41635         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
41636         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
41637         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
41638         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
41639         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
41640         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
41641         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
41642         Likewise.
41643         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
41644         Likewise.
41645         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
41646         Likewise.
41647         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
41648         Likewise.
41649         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
41650         (__lll_timedlock_elision, __lll_lock_elision)
41651         (__lll_unlock_elision, __lll_trylock_elision)
41652         (lll_timedlock_elision, lll_lock_elision)
41653         (lll_unlock_elision, lll_trylock_elision): Add.
41654         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
41655         (pthread_mutex_t): Add lock elision support for s390.
41657 2014-05-14  Wilco  <wdijkstr@arm.com>
41659         * sysdeps/arm/fclrexcpt.c: Cleanup.
41660         * sysdeps/arm/fedisblxcpt.c: Cleanup.
41661         * sysdeps/arm/feenablxcpt.c: Cleanup.
41662         * sysdeps/arm/fegetenv.c: Cleanup.
41663         * sysdeps/arm/fegetexcept.c: Cleanup.
41664         * sysdeps/arm/fegetround.c: Cleanup.
41665         * sysdeps/arm/feholdexcpt.c: Cleanup.
41666         * sysdeps/arm/fesetenv.c: Cleanup.
41667         * sysdeps/arm/fesetround.c: Cleanup.
41668         * sysdeps/arm/feupdateenv.c: Cleanup.
41669         * sysdeps/arm/fgetexcptflg.c: Cleanup.
41670         * sysdeps/arm/fraiseexcpt.c: Cleanup.
41671         * sysdeps/arm/fsetexcptflg.c: Cleanup.
41672         * sysdeps/arm/ftestexcept.c: Cleanup.
41673         * sysdeps/arm/get-rounding-mode.h: Cleanup.
41674         * sysdeps/arm/setfpucw.c: Cleanup.
41676 2014-05-09  Will Newton  <will.newton@linaro.org>
41678         * sysdeps/arm/armv7/strcmp.S: New file.
41679         * NEWS: Mention addition of ARMv7 optimized strcmp.
41681 2014-05-08  Roland McGrath  <roland@hack.frob.com>
41683         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
41684         look for %.ac rather than %.in.
41686         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
41687         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
41688         * sysdeps/mach/hurd/configure: Regenerated.
41689         * sysdeps/unix/sysv/linux/configure: Regenerated.
41691         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
41693 2014-05-07  Steve Ellcey  <sellcey@mips.com>
41695         [BZ# 16922]
41696         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
41697         (LONG_SUB): Ditto.
41698         (PTR_SUB): Ditto.
41700 2014-05-07  Andreas Schwab  <schwab@suse.de>
41702         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
41703         when skipping over non-matching result from nscd.
41705 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
41707         [BZ #16876]
41708         * nptl/sockperf.c (client): Check socket return value.
41710         [BZ #16877]
41711         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
41712         nscd security class.
41714 2014-05-06  Roland McGrath  <roland@hack.frob.com>
41716         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
41717         * sysdeps/arm/unwind.h: ... here.
41719 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
41721         [BZ# 16916]
41722         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
41723         Define.
41725 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41727         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
41728         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
41729         multiarch strncpy for PPC64.
41730         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
41731         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
41732         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
41733         multiarch optimizations.
41734         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41735         (__libc_ifunc_impl_list): Likewise.
41736         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
41737         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
41738         multiarch stpncpy for PPC64.
41739         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
41740         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
41742 2014-05-06  Andreas Schwab  <schwab@suse.de>
41744         [BZ #16912]
41745         * gmon/mcount.c (_MCOUNT_DECL): Use
41746         atomic_compare_and_exchange_bool_acq instead of
41747         catomic_compare_and_exchange_bool_acq.
41749 2014-05-05  Roland McGrath  <roland@hack.frob.com>
41751         * elf/Makefile (others, install-bin): Remove pldd.
41752         (pldd-modules): Variable removed.
41753         ($(objpfx)pldd): Target removed.
41754         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
41755         (others, install-bin): Append pldd here.
41756         ($(objpfx)pldd): New target.
41758         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
41759         to 0, so the first #if test emitted later doesn't see it undefined.
41760         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
41761         * sysdeps/gnu/errlist.c: Regenerated.
41763 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41765         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
41766         [libc_hidden_builtin_def]: Define to empty value.
41767         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
41768         [libc_hidden_builtin_def]: Likewise.
41769         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
41770         [libc_hidden_builtin_def]: Likewise.
41771         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
41772         [libc_hidden_builtin_def]: Likewise.
41773         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
41774         __redirect_memcpy and define ifunc as default hidden symbol.
41775         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
41776         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
41778 2014-05-04  Adam Conrad  <adconrad@0c3.net>
41780         * locale/iso-4217.def: Reintroduce XDR currency.
41782 2014-05-04  Allan McRae  <allan@archlinux.org>
41784         * po/eo.po: Update Esperanto translation from translation project.
41786 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
41788         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
41789         and FEATURE_INDEX_MAX to 1.
41790         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
41792 2014-05-01  Steve Ellcey  <sellcey@mips.com>
41794         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
41795         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
41796         * iconvdata/big5.c (ONE_DIRECTION): Define.
41797         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
41798         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
41799         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
41800         * iconvdata/cp932.c (ONE_DIRECTION): Define.
41801         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
41802         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
41803         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
41804         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
41805         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
41806         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
41807         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
41808         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
41809         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
41810         * iconvdata/gbk.c (ONE_DIRECTION): Define.
41811         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
41812         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
41813         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
41814         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
41815         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
41816         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
41817         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
41818         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
41819         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
41820         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
41821         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
41822         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
41823         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
41824         * iconvdata/iso646.c (ONE_DIRECTION): Define.
41825         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
41826         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
41827         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
41828         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
41829         * iconvdata/johab.c (ONE_DIRECTION): Define.
41830         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
41831         * iconvdata/sjis.c (ONE_DIRECTION): Define.
41832         * iconvdata/t.61.c (ONE_DIRECTION): Define.
41833         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
41834         * iconvdata/tscii.c (ONE_DIRECTION): Define.
41835         * iconvdata/uhc.c (ONE_DIRECTION): Define.
41836         * iconvdata/unicode.c (ONE_DIRECTION): Define.
41837         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
41838         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
41839         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
41841 2014-05-01  Roland McGrath  <roland@hack.frob.com>
41843         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
41844         (_IO_JUMPS_OFFSET): Define to 0.
41846         * nptl/sysdeps/pthread/bits/libc-lock.h
41847         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
41848         (__libc_lock_define_initialized_recursive): Always define using
41849         initializer.  Modern compilers treat uninitialized (implicit zero) and
41850         explicit zero initializers the same (i.e. put the datum in bss).
41852 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
41854         * nscd/nscd-client.h: Include <string.h>.
41856 2014-05-01  David S. Miller  <davem@davemloft.net>
41858         [BZ #16885]
41859         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
41860         multiple zero bytes exist at the end of a string.
41861         Reported by Aurelien Jarno <aurelien@aurel32.net>
41863         * string/test-strcmp.c (check): Add explicit test for situations where
41864         there are multiple zero bytes after the first.
41866 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
41868         [BZ #16890]
41869         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
41870         when compiling wprintf.
41871         * stdio-common/tstdiomisc.c (t3): New function.
41872         (main): Call it.
41874 2014-05-01  Steve Ellcey  <sellcey@mips.com>
41876         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
41877         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
41878         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
41879         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
41881 2014-05-01  Steve Ellcey  <sellcey@mips.com>
41883         * stdlib/longlong.h: Updated from GCC.
41885 2014-05-01  Will Newton  <will.newton@linaro.org>
41886             Bernard Ogden  <bernie.ogden@linaro.org>
41888         * NEWS: Update fixed bug list.
41890         [BZ #15119]
41891         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
41893 2014-04-30  David S. Miller  <davem@davemloft.net>
41895         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
41896         (libc_feholdexcept_setround_sparc_ctx): New function.
41897         (libc_fesetenv_sparc_ctx): Likewise.
41898         (libc_feupdateenv_sparc_ctx): Likewise.
41899         (libc_feholdsetround_sparc_ctx): Likewise.
41900         (libc_feholdexcept_setround_ctx): Define.
41901         (libc_feholdexcept_setroundf_ctx): Likewise.
41902         (libc_feholdexcept_setroundl_ctx): Likewise.
41903         (libc_fesetenv_ctx): Likewise.
41904         (libc_fesetenvf_ctx): Likewise.
41905         (libc_fesetenvl_ctx): Likewise.
41906         (libc_feupdateenv_ctx): Likewise.
41907         (libc_feupdateenvf_ctx): Likewise.
41908         (libc_feupdateenvl_ctx): Likewise.
41909         (libc_feresetround_ctx): Likewise.
41910         (libc_feresetroundf_ctx): Likewise.
41911         (libc_feresetroundl_ctx): Likewise.
41912         (libc_feholdsetround_ctx): Likewise.
41913         (libc_feholdsetroundf_ctx): Likewise.
41914         (libc_feholdsetroundl_ctx): Likewise.
41916         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
41917         with __USE_GNU instead of XOPEN cpp guards.
41919         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
41920         0.
41922         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
41923         with XOPEN cpp guards.
41925 2014-04-30  Julian Brown  <julian@codesourcery.com>
41927         [BZ #16888]
41928         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
41929         handling.
41931 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
41933         [BZ #9894]
41934         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
41935         Change to 2.6.32.
41936         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
41937         * sysdeps/unix/sysv/linux/configure: Regenerated.
41938         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
41939         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
41940         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
41941         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
41942         * README: Update reference to required Linux kernel version.
41943         * manual/install.texi (Linux): Update reference to required Linux
41944         kernel headers version.
41945         * INSTALL: Regenerated.
41947         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
41948         header inclusion.
41949         [POSIX] (limits.h): Likewise.
41950         [POSIX] (math.h): Likewise.
41951         [POSIX] (sys/wait.h): Likewise.
41952         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
41953         function.
41954         [POSIX] (stddef.h): Do not allow header inclusion.
41956 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41958         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
41960 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
41962         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
41963         Return immediately after lll_futex_wake.
41965 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41967         [BZ #16791]
41968         * nscd/nscd-client.h (datahead_init_common): Initialize entire
41969         structure.
41970         (datahead_init_pos): Call datahead_init_common early.
41971         (datahead_init_neg): Likewise.
41973         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
41974         datahead_init_neg): New functions.
41975         * nscd/aicache.c (addhstaiX): Use them.
41976         * nscd/grpcache.c (cache_addgr): Likewise.
41977         * nscd/hstcache.c (cache_addhst): Likewise.
41978         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41979         * nscd/netgroupcache.c (do_notfound): Likewise.
41980         (addgetnetgrentX): Likewise.
41981         (addinnetgrX): Likewise.
41982         * nscd/pwdcache.c (cache_addpw): Likewise.
41983         * nscd/servicescache.c (cache_addserv): Likewise.
41985 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41986             Atsushi Onoe  <atsushi@onoe.org>
41988         [BZ #14308]
41989         [BZ #12994]
41990         [BZ #13651]
41991         * resolv/res_query.c (__libc_res_nsearch): Return if at least
41992         one response is valid.
41993         * resolv/res_send.c (send_dg): Check for validity of other
41994         response if the current response is a referral.
41996 2014-04-29  Steve Ellcey  <sellcey@mips.com>
41998         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
42000 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
42002         [BZ #16823]
42003         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
42004         Always divide by positive zero when computing -Inf result.
42005         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
42006         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
42008 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42010         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
42011         FPSCR if value do not change.
42012         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42013         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
42014         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
42015         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42016         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
42017         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
42018         function.
42020 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
42022         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
42023         * sysdeps/unix/sysv/linux/hppa: Move directory from
42024         ports/systeps/unix/sysv/linux/hppa.
42025         * README: Update listing for hppa-*-linux-gnu.
42027 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
42029         [BZ #16754]
42030         * manual/stdio.texi (Hook functions): Fix types of stream hook
42031         functions.
42032         [BZ #16854]
42033         * socket/sys/socket.h: Fix typo in comment.
42035 2014-04-28  Wilco  <wdijkstr@arm.com>
42037         * sysdeps/arm/fenv_private.h: New file.
42038         * sysdeps/arm/math_private.h: New file.
42039         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
42041 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
42043         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
42044         with __int128_t.
42045         (La_x86_64_retval): Likewise.
42047 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
42049         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
42050         fpsr if value didn't change.
42051         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
42052         to fpcr if value didn't change.
42053         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
42054         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
42055         fpsr or fpcr if value didn't change.
42056         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
42057         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
42058         fpcr if value didn't change.
42059         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
42060         to fpsr if value didn't change.
42062 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
42064         * nptl/tst-sem3.c: Use test-skeleton.c
42065         (main): Rename to do_test.  Use return instead of
42066         exit.
42067         * nptl/tst-sem4.c: Use test-skeleton.c
42068         (main): Rename to do_test.
42070 2014-04-22  David S. Miller  <davem@davemloft.net>
42072         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
42073         (struct sigaction): New struct member __glibc_reserved0, change
42074         type of sa_flags to int.
42076 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
42078         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
42079         (COUNT_LEADING_ZEROS_0): Define for AArch64.
42081 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42083         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
42084         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
42086 2014-04-22  Will Newton  <will.newton@linaro.org>
42087             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
42089         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
42090         (__longjmp): Add longjmp and longjmp_target SystemTap
42091         probes.
42092         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
42093         (__sigsetjmp): Add setjmp SystemTap probe.
42095 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
42097         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
42098         match manual order.
42100 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42102         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
42104         * sysdeps/powerpc/fpu/fenv_private.h
42105         (libc_feholdexcept_setroundl_ctx): Define to
42106         libc_feholdexcept_setround_ppc_ctx.
42107         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
42108         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
42109         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
42110         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
42112 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
42114         * sysdeps/aarch64/math-tests.h: New file.
42116 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
42118         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
42119         New.
42120         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42121         Check and set bit_AVX2_Usable.
42122         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
42123         macro.
42124         (bit_AVX2): Likewise.
42125         (index_AVX2_Usable): Likewise.
42126         (CPUID_AVX2): Likewise.
42127         (HAS_AVX2): Likewise.
42129 2014-04-17  Will Newton  <will.newton@linaro.org>
42131         * manual/setjmp.texi (System V contexts): Add note that
42132         calling setcontext on a context created by a call to a
42133         signal handler is undefined.  Update text to note that
42134         setcontext from a signal handler is possible but not
42135         recommended.
42137         [BZ #16629]
42138         * stdlib/tst-setcontext.c: Include signal.h.
42139         (main): Check that the signal stack before and
42140         after swapcontext is the same.
42142         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
42143         Re-implement to restore registers in user code and avoid
42144         rt_sigreturn system call.
42146 2014-04-17  Wilco  <wdijkstr@arm.com>
42148         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
42149         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
42150         * math/test-fenv.c: Skip exception trap tests on targets which only
42151         support non-stop mode.
42153 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
42154             Wilco Dijkstra  <wilco.dijkstra@arm.com>
42156         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
42157         (libc_feholdsetround_aarch64_ctx)
42158         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
42159         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
42160         (libc_feresetround_ctx, libc_feresetroundf_ctx)
42161         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
42162         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
42163         (libc_feresetround_noexl_ctx): Define.
42165 2014-04-16  Richard Henderson  <rth@redhat.com>
42167         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
42169         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
42170         unwind tables.
42172         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
42173         const from the non-libc, non-ldso copy.
42175         * sysdeps/alpha/libm-test-ulps: Regenerate.
42177 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
42178             Wilco Dijkstra  <wilco.dijkstra@arm.com>
42180         * sysdeps/aarch64/fpu/math_private.h: New file.
42182 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42184         * sysdeps/aarch64/libm-test-ulps: Regenerate.
42186 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
42188         [BZ #16275]
42189         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
42190         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
42191         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
42192         Intel MPX bound registers before _dl_profile_fixup.
42193         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
42194         registers after _dl_profile_fixup.  Save and restore bound
42195         registers bnd0/bnd1 when calling _dl_call_pltexit.
42196         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
42197         (LR_BND_OFFSET): Likewise.
42198         (LRV_BND0_OFFSET): Likewise.
42199         (LRV_BND1_OFFSET): Likewise.
42201 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42203         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
42204         to...
42205         * sysdeps/mach/hurd/i386/tls.h: ... here.
42206         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
42207         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
42208         fields.
42210 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42212         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
42214 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
42216         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42218 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
42220         [BZ #14770]
42221         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
42222         * sysdeps/s390/configure: Regenerate.
42224         [BZ #16824]
42225         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
42226         Set round-to-nearest internally to reduce error accumulation.
42228 2014-04-16  Alan Modra  <amodra@gmail.com>
42230         [BZ #16740]
42231         [BZ #16619]
42232         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
42233         * math/libm-test.inc (frexp_test_data): Add tests.
42234         * NEWS: Update fixed bug list.
42236 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42238         * benchtests/Makefile: Depend on libraries in build directory.
42239         (bench-math): Separate out math tests.
42240         (bench-pthread): Separate out pthread tests.
42241         (bench): Include math and pthread tests.
42243 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
42245         [BZ #16831]
42246         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
42247         _dl_debug_initialize.
42249         * configure.ac: Remove SELinux header check.
42250         * configure: Regenerate.
42251         * nscd/selinux.c (perms): Array of const char* to permission names.
42252         (nscd_request_avc_has_perm): Call security_deny_unknown to find
42253         default policy. Call string_to_security_class and string_to_av_perm to
42254         translate strings. Enforce default policy and call avs_has_perm with
42255         results of translated strings.
42257 2014-04-13  David S. Miller  <davem@davemloft.net>
42259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42261 2014-04-12  Allan McRae  <allan@archlinux.org>
42263         [BZ #16838]
42264         * manual/string.texi (Collation Functions): Fix qsort argument
42265         order in example.
42266         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42268 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
42270         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
42271         Make the test a no-op if there are no exceptions defined.
42273 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
42275         * elf/Makefile (tests): make tst-dlopen-aout conditional on
42276         enable-hardcoded-path-in-tests
42278 2014-04-11  Will Newton  <will.newton@linaro.org>
42280         * benchtests/Makefile (extra-objs): Add json-lib.o.
42281         (bench-func): Tidy up JSON output.
42282         * benchtests/bench-skeleton.c: Include json-lib.h.
42283         (main): Use JSON library functions to do output of
42284         benchmark results.
42285         * benchtests/bench-timing-type.c (main): Output the
42286         timing type simply, leaving formatting to the user.
42287         * benchtests/json-lib.c: New file.
42288         * benchtests/json-lib.h: Likewise.
42290 2014-04-11  Torvald Riegel  <triegel@redhat.com>
42292         [BZ #15215]
42293         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
42294         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
42295         memory barriers.  Add comments.
42296         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
42297         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
42298         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
42299         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
42300         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
42301         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
42303 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42305         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
42306         * sysdeps/s390/s390-64/configure.ac: ... this ...
42307         * sysdeps/s390/configure.ac: ... to here.
42308         * sysdeps/s390/s390-32/configure: Delete file.
42309         * sysdeps/s390/s390-64/configure: Delete file.
42310         * sysdeps/s390/configure: Regenerate.
42312 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
42314         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
42316 2014-04-11  Will Newton  <will.newton@linaro.org>
42318         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
42319         to zero if it is not defined elsewhere.  (mtrim): Test
42320         the value of MALLOC_DEBUG with #if rather than #ifdef.
42322 2014-04-10 Torvald Riegel  <triegel@redhat.com>
42324         * benchtests/pthread_once-inputs: New file.
42325         * benchtests/pthread_once-source.c: New file.
42326         * benchtests/README: Update documentation.
42328 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
42329             H.J. Lu  <hongjiu.lu@intel.com>
42331         [BZ #16275]
42332         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
42333         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
42334         * sysdeps/x86_64/configure: Regenerated.
42335         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
42336         macro.
42337         (REGISTER_SAVE_RAX): Likewise.
42338         (REGISTER_SAVE_RCX): Likewise.
42339         (REGISTER_SAVE_RDX): Likewise.
42340         (REGISTER_SAVE_RSI): Likewise.
42341         (REGISTER_SAVE_RDI): Likewise.
42342         (REGISTER_SAVE_R8): Likewise.
42343         (REGISTER_SAVE_R9): Likewise.
42344         (REGISTER_SAVE_BND0): Likewise.
42345         (REGISTER_SAVE_BND1): Likewise.
42346         (REGISTER_SAVE_BND2): Likewise.
42347         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
42348         bound registers when calling _dl_fixup.
42350 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42352         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
42353         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
42354         of its definition.
42355         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
42356         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
42357         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
42358         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
42359         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
42360         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
42361         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
42363 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
42365         [BZ #15514]
42366         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
42367         pathconf(_PC_NAME_MAX).
42369 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42371         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
42372         Remove macro usage.
42373         (__PTHREAD_SPINS): Move definition to ...
42374         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
42375         (__PTHREAD_SPINS): ... here.
42376         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42377         (__PTHREAD_SPIN): Likewise.
42378         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
42379         (__PTHREAD_SPIN): Likewise.
42380         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
42381         (__PTHREAD_SPIN): Likewise.
42382         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
42383         (__PTHREAD_SPIN): Likewise.
42384         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
42385         (__PTHREAD_SPIN): Likewise.
42386         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
42387         (__PTHREAD_SPIN): Likewise.
42388         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
42389         (__PTHREAD_SPIN): Likewise.
42390         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
42391         (__PTHREAD_SPIN): Likewise.
42392         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
42393         (__PTHREAD_SPIN): Likewise.
42394         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
42395         (__PTHREAD_SPIN): Likewise.
42396         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
42397         (__PTHREAD_SPIN): Likewise.
42398         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
42399         (__PTHREAD_SPIN): Likewise.
42401         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
42402         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
42403         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
42404         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
42405         imply folder.
42406         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
42407         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
42408         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
42409         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
42410         correct imply path.
42411         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
42412         strlen symbol for non multi-arch builds.
42413         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
42414         missing hidden_def and weak_alias.
42416 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
42418         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
42420 2014-04-07  Will Newton  <will.newton@linaro.org>
42422         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
42423         and contents.  [!_LIBC] Remove #ifndef and contents.
42424         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
42425         * string/memccpy.c (__memccpy): Use ANSI prototype.
42426         * string/memfrob.c (memfrob): Likewise.
42427         * string/strcoll.c (STRCOLL): Likewise.
42428         * string/strlen.c (strlen): Likewise.
42429         * string/strtok.c (STRTOK): Likewise.
42430         * string/strcat.c: Remove unused #include of memcopy.h.
42431         (strcat): Use ANSI prototype.
42432         * string/strchr.c: Remove unused #include of memcopy.h.
42433         (strchr): Use ANSI prototype.
42434         * string/strcmp.c: Remove unused #include of memcopy.h.
42435         (strcmp): Use ANSI prototype.
42436         * string/strcpy.c: Remove unused #include of memcopy.h.
42437         (strcpy): Use ANSI prototype.
42439 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42441         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
42442         * config.make.in (config-extra-cppflags): Set it from
42443         libc_extra_cppflags.
42444         * configure.ac (libc_extra_cflags): Make it accumulate over
42445         configure fragments.
42446         (libc_extra_cppflags): New flag.
42447         * configure. Regenerate.
42448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
42449         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
42450         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
42451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
42453         [BZ #16815]
42454         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
42455         result for FE_DOWNWARD rounding mode.
42456         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
42457         Likewise.
42458         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42460 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
42462         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
42463         in function argument name.
42465 2014-04-03  David Svoboda  <svoboda@cert.org>
42467         [BZ #5666]
42468         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
42469         explicitly.
42471 2014-04-03  Roland McGrath  <roland@hack.frob.com>
42473         * elf/dl-unmap-segments.h: New file.
42474         * sysdeps/generic/ldsodefs.h
42475         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
42476         * elf/dl-close.c: Include <dl-unmap-segments.h>.
42477         * elf/dl-fptr.c: Likewise.
42478         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
42479         * sysdeps/aarch64/tlsdesc.c: Likewise.
42480         * sysdeps/arm/tlsdesc.c: Likewise.
42481         * sysdeps/i386/tlsdesc.c: Likewise.
42482         * sysdeps/tile/dl-runtime.c: Likewise.
42483         * sysdeps/x86_64/tlsdesc.c: Likewise.
42484         * elf/dl-load.h: New file.
42485         * elf/dl-load.c: Include it.
42486         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
42487         Macros moved to dl-load.h.
42488         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
42489         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
42490         Use _dl_unmap_segments in place of __munmap.
42491         Break out segment-mapping loop into ...
42492         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
42494 2014-04-03  Will Newton  <will.newton@linaro.org>
42496         * elf/dl-lookup.c (do_lookup_x): Remove comment
42497         referring to nested function and move variable
42498         declarations down to before first use.
42500 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
42502         [BZ #16799]
42503         [BZ #16800]
42504         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
42505         with 0 numerator.
42506         * math/s_catanf.c (__catanf): Likewise.
42507         * math/s_catanh.c (__catanh): Likewise.
42508         * math/s_catanhf.c (__catanhf): Likewise.
42509         * math/s_catanhl.c (__catanhl): Likewise.
42510         * math/s_catanl.c (__catanl): Likewise.
42511         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
42512         by positive zero when computing -Inf result.
42513         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
42514         (catanh_test): Likewise.
42515         * sysdeps/i386/fpu/libm-test-ulps: Update.
42516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42518         [BZ #16789]
42519         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
42520         instead of using underflowing value in computing result.
42521         * math/s_clog10.c (__clog10): Likewise.
42522         * math/s_clog10f.c (__clog10f): Likewise.
42523         * math/s_clog10l.c (__clog10l): Likewise.
42524         * math/s_clogf.c (__clogf): Likewise.
42525         * math/s_clogl.c (__clogl): Likewise.
42526         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
42527         (clog10_test): Likewise.
42528         * sysdeps/i386/fpu/libm-test-ulps: Update.
42529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42531 2014-04-02  Alan Modra  <amodra@gmail.com>
42533         [BZ #16739]
42534         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
42535         output when value is near a power of two.  Use int64_t for lx and
42536         remove casts.  Use decimal rather than hex exponent constants.
42537         Don't use long double multiplication when double will suffice.
42538         * math/libm-test.inc (nextafter_test_data): Add tests.
42539         * NEWS: Add 16739 and 16786 to bug list.
42541         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
42543         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
42545 2014-04-01  Will Newton  <will.newton@linaro.org>
42547         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
42548         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
42550 2014-04-01  Florian Weimer  <fweimer@redhat.com>
42552         [BZ #13347]
42553         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
42554         * nptl/tst-setuid2.c: New file.
42555         * nptl/Makefile (xtests): Add tst-setuid2.
42557 2014-04-01  Alan Modra  <amodra@gmail.com>
42559         [BZ #16786]
42560         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
42562 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
42564         [BZ #6803]
42565         [BZ #6804]
42566         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
42567         set errno as appropriate.
42568         * math/w_scalbf.c (__scalbf): Likewise.
42569         * math/w_scalbl.c (__scalbl): Likewise.
42570         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
42571         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
42572         * math/libm-test.inc (scalb_test_data): Add errno expectations.
42573         Add more NaN tests.
42575         [BZ #16349]
42576         * math/w_atan2.c: Include <errno.h>.
42577         (__atan2): Set errno for result underflowing to zero.
42578         * math/w_atan2f.c: Include <errno.h>.
42579         (__atan2f): Set errno for result underflowing to zero.
42580         * math/w_atan2l.c: Include <errno.h>.
42581         (__atan2l): Set errno for result underflowing to zero.
42582         * math/auto-libm-test-in: Don't allow missing errno for some atan2
42583         tests.
42584         * math/auto-libm-test-out: Regenerated.
42586 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42588         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
42589         Encode instruction correctly in little endian.
42590         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
42591         Likewise.
42592         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
42593         Likewise.
42594         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
42595         Likewise.
42596         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
42597         Likewise.
42599 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
42601         [BZ #9894]
42602         * sysdeps/unix/sysv/linux/kernel-features.h
42603         [__sparc__ && !__arch64__ && !__sparc_v9__]
42604         (__ASSUME_SET_ROBUST_LIST): Do not define.
42605         [__sparc__ && !__arch64__ && !__sparc_v9__]
42606         (__ASSUME_FUTEX_LOCK_PI): Likewise.
42607         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
42608         Likewise.
42609         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42610         (__ASSUME_FUTEX_LOCK_PI): Undefine.
42611         (__ASSUME_REQUEUE_PI): Likewise.
42612         (__ASSUME_SET_ROBUST_LIST): Likewise.
42613         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42614         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
42615         Undefine.
42616         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42617         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
42618         Likewise.
42619         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
42620         Likewise.
42621         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
42622         Likewise.
42623         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42624         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
42625         Undefine.
42626         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
42627         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
42628         Likewise.
42630         [BZ #16648]
42631         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42632         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
42633         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
42635 2014-03-31  Will Newton  <will.newton@linaro.org>
42637         * benchtests/Makefile (bench): Add ffs and ffsll to list
42638         of tests.
42639         * benchtests/ffs-inputs: New file.
42640         * benchtests/ffsll-inputs: Likewise.
42642 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
42644         [BZ #16770]
42645         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
42646         too large before casting to int.
42647         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
42648         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
42649         * math/libm-test.inc (scalb_test_data): Add more tests.
42651 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42653         * benchtests/Makefile (DETAILED_OPT): New make option.
42654         (bench-func): Run benchmark program with -d if DETAILED_OPT is
42655         set.
42656         * benchtests/bench-skeleton.c: Include stdbool.h.
42657         (main): Store and print timings per input.
42658         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
42659         member to each argument value.
42660         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
42661         (_print_arg_data): Initialize per-input timing to 0.
42663         * benchtests/Makefile (timing-type): New binary.
42664         (bench-clean): Also remove bench-timing-type.
42665         (bench): New target for timing-type.
42666         (bench-func): Print output in JSON format.
42667         * benchtests/bench-skeleton.c (main): Print output in JSON
42668         format.
42669         * benchtests/bench-timing-type.c: New file.
42670         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
42671         (TIMING_PRINT_STATS): Remove.
42672         * benchtests/scripts/bench.py (_print_arg_data): Store variant
42673         name separately.
42675         * benchtests/bench-modf.c: Remove.
42676         * benchtests/modf-inputs: New inputs file.
42678 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
42680         [BZ #16362]
42681         * math/s_clog10.c (M_PI_LOG10E): New macro.
42682         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
42683         imaginary parts are 0.
42684         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
42685         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
42686         imaginary parts are 0.
42687         * math/s_clog10l.c (M_PI_LOG10El): New macro.
42688         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
42689         imaginary parts are 0.
42690         * math/libm-test.inc (clog10_test_data): Update expected results
42691         for when real and imaginary parts are 0.
42693 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
42695         * elf/dl-load.c: Finish conversion of __builtin_expect into
42696         __glibc_{un}likely.
42698 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
42700         [BZ #16348]
42701         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
42702         1+x for argument with exponent below -67.
42703         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
42704         Likewise.
42705         * math/auto-libm-test-in: Add more tests of exp.
42706         * math/auto-libm-test-out: Regenerated.
42708 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42710         [BZ #16759]
42711         * inet/getnetgrent_r.c (get_nonempty_val): New function.
42712         (nscd_getnetgrent): Use it.
42714         [BZ #16760]
42715         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
42716         of stpcpy.
42718 2014-03-27  Andi Kleen  <ak@linux.intel.com>
42720         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
42721         (lll_robust_lock, lll_cond_lock, lll_timedlock)
42722         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
42723         (lll_robust_unlock): Remove out of line section. Use cfi
42724         intrinsics.
42725         (LLL_STUB_UNWIND_INFO*): Remove.
42726         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
42727         (lll_robust_lock, lll_cond_lock, lll_timedlock)
42728         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
42729         (lll_robust_unlock): Remove out of line section. Use cfi
42730         intrinsics.
42731         (LLL_STUB_UNWIND_INFO*): Remove.
42733 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42735         [BZ #16758]
42736         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
42737         blank values.
42739 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
42741         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
42743 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
42745         [BZ #16198]
42746         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
42747         fnstenv.
42748         * math/test-fenv-preserve.c: New file.
42749         * math/Makefile (tests): Add test-fenv-preserve.
42751 2014-03-26  Will Newton <will.newton@linaro.org>
42753         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
42755 2014-03-25  Roland McGrath  <roland@hack.frob.com>
42757         * scripts/versionlist.awk: Partition the version sets and emit all
42758         GLIBC_* (sorted) before all others (sorted).
42760 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
42762         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
42763         GLIBC_2.2.5 version.
42765 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42767         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
42768         calls.
42770         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
42771         previous change.
42773         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42775 2014-03-25  Andreas Schwab  <schwab@suse.de>
42777         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
42778         label to be used after in6ailist is initialized.
42780 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42782         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
42783         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
42785 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
42787         [BZ #16357]
42788         [BZ #16599]
42789         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
42790         min_plus_half.
42791         (fp_formats): Update initializers.
42792         (init_fp_formats): Initialize new field.
42793         (output_for_one_input_case): Allow underflow for results up to
42794         min_plus_half.
42795         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
42796         * math/auto-libm-test-in: Don't mark some underflows from asin and
42797         atanh as spurious.
42798         * math/auto-libm-test-out: Regenerated.
42799         * sysdeps/i386/fpu/libm-test-ulps: Update.
42800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42802 2014-03-25  Andreas Schwab  <schwab@suse.de>
42804         * libio/Makefile (tst-ftell-partial-wide-ENV)
42805         (tst-ftell-active-handler-ENV): Define.
42807 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
42809         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
42811 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
42813         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
42815 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
42817         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
42818         * sysdeps/x86_64/fpu/multiarch/e_exp.c
42819         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
42821 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
42823         [BZ #16634]
42824         * elf/dl-load.c (open_verify): Add mode parameter.
42825         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
42826         (open_path): Change from boolean 'secure' to complete flag 'mode'
42827         (_dl_map_object): Adjust.
42828         * elf/Makefile (tests): Add tst-dlopen-aout.
42829         * elf/tst-dlopen-aout.c: New test.
42831 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
42833         [BZ #16714]
42834         * sysdeps/unix/sysv/linux/s390/bits/stat.h
42835         (struct stat): Rename member pad0 to __glibc_reserved0.
42837         [BZ #16712]
42838         * sysdeps/s390/s390-32/bits/wordsize.h
42839         (__WORDSIZE32_SIZE_ULONG): New define.
42840         * sysdeps/s390/s390-64/bits/wordsize.h
42841         (__WORDSIZE32_SIZE_ULONG): Likewise.
42842         * sysdeps/generic/stdint.h (SIZE_MAX):
42843         Define as UL if __WORDSIZE32_SIZE_ULONG.
42845         [BZ #16713]
42846         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
42847         (__glibc_reserved0): New variable.
42848         (sa_flags): Change type to int.
42850         * posix/Makefile (before-compile): Use += before-compile instead
42851         of a :=.
42853         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42854         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
42856 2014-03-20  Andreas Schwab  <schwab@suse.de>
42858         [BZ #16743]
42859         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
42860         non-matching result from nscd.
42862 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42864         * scripts/bench.py: Moved to ...
42865         * benchtests/scripts/bench.py: ... here.
42866         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
42868 2014-03-24  Andreas Schwab  <schwab@suse.de>
42870         [BZ #16002]
42871         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
42872         alloca_account and account alloca use for struct in6ailist.
42874 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
42876         [BZ #16284]
42877         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
42878         rounding mode to recompute results that overflow to infinity or
42879         underflow to zero.
42880         * math/auto-libm-test-in: Don't mark tests as expected to fail for
42881         bug 16284.
42882         * math/auto-libm-test-out: Regenerated.
42883         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
42884         (ccosh_test): Likewise.
42885         (csin_test_data): Use plus_oflow.
42886         (csin_test): Use ALL_RM_TEST.
42887         (csinh_test_data): Use plus_oflow.
42888         (csinh_test): Use ALL_RM_TEST.
42889         * sysdeps/i386/fpu/libm-test-ulps: Update.
42890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42892 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
42894         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
42895         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
42896         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
42898         [BZ #16731]
42899         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
42900         when x - 1 is zero.
42901         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
42902         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
42903         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
42904         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
42905         argument is 1.
42906         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
42907         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
42908         zero.
42909         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
42910         * sysdeps/i386/fpu/libm-test-ulps: Update.
42911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42913 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42915         * scripts/bench.pl: Remove file.
42916         * scripts/bench.py: New benchmark script.
42917         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
42918         * benchtests/README: Mention python dependency.
42919         * scripts/pylintrc: New file.
42920         * scripts/pylint: New file.
42922         * bits/mathdef.h: Use #ifdef instead of #if.
42923         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
42924         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42925         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
42926         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42927         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
42928         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42930 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42931             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42933         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
42934         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
42935         and strpbrk-ppc64 objects.
42936         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42937         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
42938         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
42939         multiarch strpbrk for POWER7.
42940         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
42941         multiarch strpbrk for PPC64.
42942         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
42943         ifunc selector.
42944         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
42945         strpbrk for POWER7.
42947 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
42949         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
42950         (atan_test): Likewise.
42951         (atanh_test_data): Use NO_TEST_INLINE for two tests.
42952         (atanh_test): Use ALL_RM_TEST.
42953         (atan2_test_data): Likewise.
42954         (cabs_test): Likewise.
42955         (cacosh_test): Likewise.
42956         (carg_test): Likewise.
42957         (casin_test): Likewise.
42958         (casinh_test): Likewise.
42959         (cbrt_test): Likewise.
42960         (csqrt_test): Likewise.
42961         (erf_test): Likewise.
42962         (erfc_test): Likewise.
42963         (pow10_test): Likewise.
42964         (exp2_test): Likewise.
42965         (hypot_test): Likewise.
42966         (j0_test): Likewise.
42967         (j1_test): Likewise.
42968         (lgamma_test): Likewise.
42969         (gamma_test): Likewise.
42970         (sincos_test): Likewise.
42971         (tanh_test): Likewise.
42972         (y0_test): Likewise.
42973         (y1_test): Likewise.
42974         * sysdeps/i386/fpu/libm-test-ulps: Update.
42975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42977 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42979         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
42980         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
42981         and strcspn-ppc64 objects.
42982         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42983         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
42984         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
42985         multiarch strcspn for POWER7.
42986         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
42987         multiarch strcspn for PPC64.
42988         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
42989         ifunc selector.
42990         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
42991         strcspn for POWER7.
42993 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
42995         * math/gen-libm-test.pl (generate_testfile): Expect only function
42996         name as argument to AUTO_TESTS_* and pass results for all rounding
42997         modes to parse_args.
42998         (parse_auto_input): Separate inputs of automatic tests from
42999         outputs before storing in %auto_tests.
43000         * math/libm-test.inc (acos_test_data): Update call to
43001         AUTO_TESTS_f_f.
43002         (acos_test): Use ALL_RM_TEST.
43003         (acos_tonearest_test_data): Remove.
43004         (acos_test_tonearest): Likewise.
43005         (acos_towardzero_test_data): Likewise.
43006         (acos_test_towardzero): Likewise.
43007         (acos_downward_test_data): Likewise.
43008         (acos_test_downward): Likewise.
43009         (acos_upward_test_data): Likewise.
43010         (acos_test_upward): Likewise.
43011         (acosh_test_data): Update call to AUTO_TESTS_f_f.
43012         (asin_test_data): Likewise.
43013         (asin_test): Use ALL_RM_TEST.
43014         (asin_tonearest_test_data): Remove.
43015         (asin_test_tonearest): Likewise.
43016         (asin_towardzero_test_data): Likewise.
43017         (asin_test_towardzero): Likewise.
43018         (asin_downward_test_data): Likewise.
43019         (asin_test_downward): Likewise.
43020         (asin_upward_test_data): Likewise.
43021         (asin_test_upward): Likewise.
43022         (asinh_test_data): Update call to AUTO_TESTS_f_f.
43023         (atan_test_data): Likewise.
43024         (atanh_test_data): Likewise.
43025         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
43026         (cabs_test_data): Update call to AUTO_TESTS_c_f.
43027         (carg_test_data): Likewise.
43028         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
43029         (ccos_test_data): Update call to AUTO_TESTS_c_c.
43030         (ccosh_test_data): Likewise.
43031         (cexp_test_data): Likewise.
43032         (clog_test_data): Likewise.
43033         (clog10_test_data): Likewise.
43034         (cos_test_data): Update call to AUTO_TESTS_f_f.
43035         (cos_test): Use ALL_RM_TEST.
43036         (cos_tonearest_test_data): Remove.
43037         (cos_test_tonearest): Likewise.
43038         (cos_towardzero_test_data): Likewise.
43039         (cos_test_towardzero): Likewise.
43040         (cos_downward_test_data): Likewise.
43041         (cos_test_downward): Likewise.
43042         (cos_upward_test_data): Likewise.
43043         (cos_test_upward): Likewise.
43044         (cosh_test_data): Update call to AUTO_TESTS_f_f.
43045         (cosh_test): Use ALL_RM_TEST.
43046         (cosh_tonearest_test_data): Remove.
43047         (cosh_test_tonearest): Likewise.
43048         (cosh_towardzero_test_data): Likewise.
43049         (cosh_test_towardzero): Likewise.
43050         (cosh_downward_test_data): Likewise.
43051         (cosh_test_downward): Likewise.
43052         (cosh_upward_test_data): Likewise.
43053         (cosh_test_upward): Likewise.
43054         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
43055         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
43056         (ctan_test_data): Likewise.
43057         (ctan_test): Use ALL_RM_TEST.
43058         (ctan_tonearest_test_data): Remove.
43059         (ctan_test_tonearest): Likewise.
43060         (ctan_towardzero_test_data): Likewise.
43061         (ctan_test_towardzero): Likewise.
43062         (ctan_downward_test_data): Likewise.
43063         (ctan_test_downward): Likewise.
43064         (ctan_upward_test_data): Likewise.
43065         (ctan_test_upward): Likewise.
43066         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
43067         (ctanh_test): Use ALL_RM_TEST.
43068         (ctanh_tonearest_test_data): Remove.
43069         (ctanh_test_tonearest): Likewise.
43070         (ctanh_towardzero_test_data): Likewise.
43071         (ctanh_test_towardzero): Likewise.
43072         (ctanh_downward_test_data): Likewise.
43073         (ctanh_test_downward): Likewise.
43074         (ctanh_upward_test_data): Likewise.
43075         (ctanh_test_upward): Likewise.
43076         (erf_test_data): Update call to AUTO_TESTS_f_f.
43077         (erfc_test_data): Likewise.
43078         (exp_test_data): Likewise.
43079         (exp_test): Use ALL_RM_TEST.
43080         (exp_tonearest_test_data): Remove.
43081         (exp_test_tonearest): Likewise.
43082         (exp_towardzero_test_data): Likewise.
43083         (exp_test_towardzero): Likewise.
43084         (exp_downward_test_data): Likewise.
43085         (exp_test_downward): Likewise.
43086         (exp_upward_test_data): Likewise.
43087         (exp_test_upward): Likewise.
43088         (exp10_test_data): Update call to AUTO_TESTS_f_f.
43089         (exp10_test): Use ALL_RM_TEST.
43090         (exp10_tonearest_test_data): Remove.
43091         (exp10_test_tonearest): Likewise.
43092         (exp10_towardzero_test_data): Likewise.
43093         (exp10_test_towardzero): Likewise.
43094         (exp10_downward_test_data): Likewise.
43095         (exp10_test_downward): Likewise.
43096         (exp10_upward_test_data): Likewise.
43097         (exp10_test_upward): Likewise.
43098         (exp2_test_data): Update call to AUTO_TESTS_f_f.
43099         (expm1_test_data): Likewise.
43100         (expm1_test): Use ALL_RM_TEST.
43101         (expm1_tonearest_test_data): Remove.
43102         (expm1_test_tonearest): Likewise.
43103         (expm1_towardzero_test_data): Likewise.
43104         (expm1_test_towardzero): Likewise.
43105         (expm1_downward_test_data): Likewise.
43106         (expm1_test_downward): Likewise.
43107         (expm1_upward_test_data): Likewise.
43108         (expm1_test_upward): Likewise.
43109         (fma_test_data): Update call to AUTO_TESTS_fff_f.
43110         (fma_test): Use ALL_RM_TEST.
43111         (fma_towardzero_test_data): Remove.
43112         (fma_test_towardzero): Likewise.
43113         (fma_downward_test_data): Likewise.
43114         (fma_test_downward): Likewise.
43115         (fma_upward_test_data): Likewise.
43116         (fma_test_upward): Likewise.
43117         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
43118         (j0_test_data): Update call to AUTO_TESTS_f_f.
43119         (j1_test_data): Likewise.
43120         (jn_test_data): Update call to AUTO_TESTS_if_f.
43121         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
43122         (log_test_data): Update call to AUTO_TESTS_f_f.
43123         (log10_test_data): Likewise.
43124         (log1p_test_data): Likewise.
43125         (log2_test_data): Likewise.
43126         (pow_test_data): Update call to AUTO_TESTS_ff_f.
43127         (pow_tonearest_test_data): Likewise.
43128         (sin_test_data): Update call to AUTO_TESTS_f_f.
43129         (sin_test): Use ALL_RM_TEST.
43130         (sin_tonearest_test_data): Remove.
43131         (sin_test_tonearest): Likewise.
43132         (sin_towardzero_test_data): Likewise.
43133         (sin_test_towardzero): Likewise.
43134         (sin_downward_test_data): Likewise.
43135         (sin_test_downward): Likewise.
43136         (sin_upward_test_data): Likewise.
43137         (sin_test_upward): Likewise.
43138         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
43139         (sinh_test_data): Update call to AUTO_TESTS_f_f.
43140         (sinh_test): Use ALL_RM_TEST.
43141         (sinh_tonearest_test_data): Remove.
43142         (sinh_test_tonearest): Likewise.
43143         (sinh_towardzero_test_data): Likewise.
43144         (sinh_test_towardzero): Likewise.
43145         (sinh_downward_test_data): Likewise.
43146         (sinh_test_downward): Likewise.
43147         (sinh_upward_test_data): Likewise.
43148         (sinh_test_upward): Likewise.
43149         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
43150         (sqrt_test): Use ALL_RM_TEST.
43151         (sqrt_tonearest_test_data): Remove.
43152         (sqrt_test_tonearest): Likewise.
43153         (sqrt_towardzero_test_data): Likewise.
43154         (sqrt_test_towardzero): Likewise.
43155         (sqrt_downward_test_data): Likewise.
43156         (sqrt_test_downward): Likewise.
43157         (sqrt_upward_test_data): Likewise.
43158         (sqrt_test_upward): Likewise.
43159         (tan_test_data): Update call to AUTO_TESTS_f_f.
43160         (tan_test): Use ALL_RM_TEST.
43161         (tan_tonearest_test_data): Remove.
43162         (tan_test_tonearest): Likewise.
43163         (tan_towardzero_test_data): Likewise.
43164         (tan_test_towardzero): Likewise.
43165         (tan_downward_test_data): Likewise.
43166         (tan_test_downward): Likewise.
43167         (tan_upward_test_data): Likewise.
43168         (tan_test_upward): Likewise.
43169         (tanh_test_data): Update call to AUTO_TESTS_f_f.
43170         (tgamma_test_data): Likewise.
43171         (y0_test_data): Likewise.
43172         (y1_test_data): Likewise.
43173         (yn_test_data): Update call to AUTO_TESTS_if_f.
43174         (main): Do not call removed functions.
43176 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
43178         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
43179         (ldexp_test_data): Remove.
43180         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
43181         scalbn_test_data.
43182         (scalb_test): Use ALL_RM_TEST.
43184 2014-03-19  Andreas Schwab  <schwab@suse.de>
43186         * nscd/nscd.service: Also invalidate netgroup cache on reload.
43188 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
43190         [BZ #16649]
43191         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43192         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
43193         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
43194         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43195         (__ASSUME_PREADV): Undefine.
43196         (__ASSUME_PWRITEV): Likewise.
43198 2014-03-18  Roland McGrath  <roland@hack.frob.com>
43200         * bits/mman-linux.h: Add comment about non-Linux use.
43201         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
43202         bits/mman-linux.h resting place.
43204         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
43205         * bits/mman-linux.h: ... here.
43207 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43209         * conform/conformtest.pl: Add standard definition when calling C
43210         preprocessor on data files.
43211         (checknamespace): Remove unused variable.
43213 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
43215         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
43216         minus_oflow, plus_uflow and minus_uflow in expected results.
43217         * math/libm-test.inc (scalbn_test_data): Add more tests of
43218         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
43219         minus_uflow.
43220         (scalbn_test): Use ALL_RM_TEST.
43221         (scalbln_test_data): Add more tests of negative arguments.  Use
43222         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
43223         (scalbln_test): Use ALL_RM_TEST.
43225 2014-03-18  Roland McGrath  <roland@hack.frob.com>
43227         * scripts/abilist.awk: Ignore symbols marked with .hidden.
43229 2014-03-18  Will Newton  <will.newton@linaro.org>
43231         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
43232         inaccurate comment.
43234 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
43236         * Makerules [!subdir] (check-abi): Exit with error status if a
43237         test failed.
43239 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
43241         * math/libm-test.inc (nearbyint_test_data): Include all tests used
43242         for rint.  Include results for all rounding modes.
43243         (nearbyint_test): Use ALL_RM_TEST.
43244         (rint_test_data): Include all tests used for nearbyint.
43246 2014-03-17  Will Newton  <will.newton@linaro.org>
43248         * nptl/sysdeps/pthread/pthread.h: Revert previous
43249         change.
43251         * sysdeps/generic/ldsodefs.h: Revert previous
43252         change.
43254         * libio/genops.c: Revert previous change.
43255         * libio/libioP.h: Likewise.
43256         * stdio-common/vfprintf.c: Likewise.
43258         * sysdeps/generic/math_private.h: Revert previous
43259         change.
43261         * sysdeps/generic/math_private.h: Check whether
43262         HAVE_RM_CTX is defined with #ifdef rather
43263         than #if.
43265         * argp/argp-fmtstream.h: Check whether
43266         __STRICT_ANSI__ is defined with #ifdef rather
43267         than #if.
43268         * argp/argp.h: Likewise.
43270         * libio/genops.c: Check whether
43271         _IO_JUMPS_OFFSET is defined with #ifdef rather
43272         than #if.
43273         * libio/libioP.h: Likewise.
43274         * stdio-common/vfprintf.c: Likewise.
43276         * sysdeps/generic/ldsodefs.h: Check whether
43277         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
43278         than #if.
43280         * nptl/sysdeps/pthread/pthread.h: Check
43281         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
43282         its value.
43284 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43286         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
43287         setting O_APPEND.
43288         * libio/tst-ftell-active-handler.c (do_append_test): Add a
43289         test case.
43291         [BZ #16680]
43292         * libio/fileops.c (_IO_file_open): Seek to end of file but
43293         don't cache the offset.
43294         (get_file_offset): Remove function.
43295         (do_ftell): Use cached offset when available.
43296         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
43297         don't cache the offset.
43298         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
43299         case.
43300         (do_one_test): Call it.
43301         (do_ftell_test): Fix up expected old offset for a+ mode.
43302         * libio/wfileops.c (do_ftell_wide): Used cached offset when
43303         available.
43305         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
43306         up test status with function return status.
43307         (do_write_test): Likewise.
43308         (do_append_test): Likewise.
43310         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
43311         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
43312         Remove.
43314 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
43316         * math/gen-libm-test.pl (parse_args): Handle results specified for
43317         each rounding mode separately.
43318         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
43319         tests and results from lrint_tonearest_test_data,
43320         lrint_towardzero_test_data, lrint_downward_test_data and
43321         lrint_upward_test_data.
43322         (lrint_test): Use ALL_RM_TEST.
43323         (lrint_tonearest_test_data): Remove.
43324         (lrint_test_tonearest): Likewise.
43325         (lrint_towardzero_test_data): Likewise.
43326         (lrint_test_towardzero): Likewise.
43327         (lrint_downward_test_data): Likewise.
43328         (lrint_test_downward): Likewise.
43329         (lrint_upward_test_data): Likewise.
43330         (lrint_test_upward): Likewise.
43331         (llrint_test_data): Merge in per-rounding-mode tests and results
43332         from llrint_tonearest_test_data, llrint_towardzero_test_data,
43333         llrint_downward_test_data and llrint_upward_test_data.
43334         (llrint_test): Use ALL_RM_TEST.
43335         (llrint_tonearest_test_data): Remove.
43336         (llrint_test_tonearest): Likewise.
43337         (llrint_towardzero_test_data): Likewise.
43338         (llrint_test_towardzero): Likewise.
43339         (llrint_downward_test_data): Likewise.
43340         (llrint_test_downward): Likewise.
43341         (llrint_upward_test_data): Likewise.
43342         (llrint_test_upward): Likewise.
43343         (rint_test_data): Merge in per-rounding-mode tests and results
43344         from rint_tonearest_test_data, rint_towardzero_test_data,
43345         rint_downward_test_data and rint_upward_test_data.  Add
43346         per-rounding-mode results for tests not in those arrays.
43347         (rint_test): Use ALL_RM_TEST.
43348         (rint_tonearest_test_data): Remove.
43349         (rint_test_tonearest): Likewise.
43350         (rint_towardzero_test_data): Likewise.
43351         (rint_test_towardzero): Likewise.
43352         (rint_downward_test_data): Likewise.
43353         (rint_test_downward): Likewise.
43354         (rint_upward_test_data): Likewise.
43355         (rint_test_upward): Likewise.
43356         (main): Don't call removed functions.
43358 2014-03-14  Roland McGrath  <roland@hack.frob.com>
43360         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
43361         "Compiled on ..." crapola.  It is anti-useful.
43363 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
43365         * scripts/evaluate-test.sh: Handle fourth argument to determine
43366         whether test run should stop on failure.
43367         * Makeconfig (stop-on-test-failure): New variable.
43368         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
43369         $(stop-on-test-failure).
43370         * Makefile (tests): Give a summary of results from testing and
43371         exit with failure status if they include an ERROR or FAIL.
43372         (xtests): Likewise.
43373         * manual/install.texi (Configuring and compiling): Mention
43374         stop-on-test-failure=y.
43375         * INSTALL: Regenerated.
43377 2014-03-14  Roland McGrath  <roland@hack.frob.com>
43379         * scripts/versionlist.awk: New file.
43380         * Makerules [$(build-shared) = yes]
43381         (postclean-generated): Add Versions.def, not Versions.def.v and
43382         Versions.def.v.i.
43383         ($(common-objpfx)Versions.def.v.i): Target removed.
43384         ($(common-objpfx)Versions.def): New target.
43385         ($(common-objpfx)Versions.all): Depend on that rather that
43386         $(common-objpfx)Versions.def.v.
43387         * Versions.def: File removed.
43389         * Makeconfig (+gccwarn): Add -Wundef.
43390         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
43391         a dl-sysdep.h breaking its contract.
43392         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
43393         * include/stackinfo.h: New file.
43394         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
43395         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
43396         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
43397         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
43398         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
43399         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
43400         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43401         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43402         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43403         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43404         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43405         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
43406         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43407         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43408         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43410 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43412         [BZ #16707]
43413         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
43414         implementation.
43415         * math/libm-test.inc (round_test_data): Add more tests.
43417         [BZ #16706]
43418         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
43419         implementation.
43420         * math/libm-test.inc (nearbyint_test_data): Add more tests.
43422         [BZ #16701]
43423         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
43424         implementation.
43425         * math/libm-test.inc (ceil_test_data): Add more tests.
43427         * math/libm-test.inc (trunc_test_data): Add more tests related to
43428         BZ#16414.
43430 2014-03-14  Roland McGrath  <roland@hack.frob.com>
43432         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
43433         with #if rather than #ifdef.
43434         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
43436 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
43438         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
43439         first.  Disable AVX-512 GCC support if assembler doesn't support
43440         it.
43441         * sysdeps/x86_64/configure: Regenerated.
43443 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
43445         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
43446         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
43447         (__old_pthread_attr_setstack): Likewise.
43448         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
43449         [!_STACK_GROWS_DOWN]: Likewise.
43451 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
43453         * config.make.in (have-bash2): Delete.
43454         * configure.ac (libc_cv_have_bash2): Delete.
43455         * configure: Regenerate.
43456         * elf/Makefile (common-ldd-rewrite): Rename to ...
43457         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
43458         (sh-ldd-rewrite): Delete.
43459         (bash-ldd-rewrite): Delete.
43460         (have-bash2): Delete checks.
43461         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
43462         ldd-rewrite.
43464         * config.make.in (have-ksh): Delete.
43465         (KSH): Delete.
43466         * configure.ac (libc_cv_have_ksh): Delete.
43467         * configure: Regenerate.
43469         * elf/Makefile: Delete $(have-ksh) check.
43470         ($(objpfx)sotruss): Change KSH to BASH.
43471         * elf/sotruss.ksh: Rename to ...
43472         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
43473         function style to match POSIX.  Drop ksh vim mode setting.
43475         * manual/time.texi (Specifying the Time Zone with TZ): Change
43476         Tuesday to Thursday.
43478         * debug/tst-longjmp_chk2.c: Update header comment.
43479         (stackoverflow_handler): Add comment.  Call assert on pass value.
43481 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
43483         [BZ #16194]
43484         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
43485         (HAVE_AVX512_ASM_SUPPORT): Likewise.
43486         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
43487         (La_x86_64_vector): Add zmm.
43488         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
43489         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
43490         ($(objpfx)tst-audit10): New target.
43491         ($(objpfx)tst-audit10.out): Likewise.
43492         (tst-audit10-ENV): New.
43493         (AVX512-CFLAGS): Likewise.
43494         (CFLAGS-tst-audit10.c): Likewise.
43495         (CFLAGS-tst-auditmod10a.c): Likewise.
43496         (CFLAGS-tst-auditmod10b.c): Likewise.
43497         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
43498         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
43499         * sysdeps/x86_64/configure: Regenerated.
43500         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
43501         AVX-512 zmm register support.
43502         (_dl_x86_64_save_sse): Likewise.
43503         (_dl_x86_64_restore_sse): Likewise.
43504         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
43505         size vector registers.
43506         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
43507         (ZMM_SIZE): Likewise.
43508         * sysdeps/x86_64/tst-audit10.c: New file.
43509         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
43510         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
43512 2014-03-13  Roland McGrath  <roland@hack.frob.com>
43514         * configure.ac (HAVE_EHDR_START): New check.
43515         * configure: Regenerated.
43516         * config.h.in (HAVE_EHDR_START): New #undef.
43517         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
43518         assuming the lowest-addressed segment maps the start of the file.
43520 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
43522         * INSTALL: Regenerated.
43524 2014-03-13  Will Newton  <will.newton@linaro.org>
43526         * manual/setjmp.texi (System V contexts): Improve
43527         clarity and grammar of documentation.
43529 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
43531         [BZ #16381]
43532         * elf/Makefile (tests): Add tst-pie2.
43533         (tests-pie): Add tst-pie2.
43534         * elf/tst-pie2.c: New file.
43535         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
43536         for ET_EXEC.
43537         * elf/rtld.c (map_doit): Load executable as lt_executable.
43538         (dl_main): Likewise.
43540 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
43542         [BZ #16642]
43543         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43544         (__ASSUME_PSELECT): Undefine.
43546 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43548         [BZ #16689]
43549         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
43550         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
43551         static build.
43552         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
43553         selector for static builds.
43555 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43557         [BZ #16695]
43558         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
43559         key in the buffer.
43561 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43563         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
43564         IFUNC selector for static builds.
43566 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
43568         * sysdeps/mips/math_private.h [__mips_hard_float]
43569         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
43570         libc_feresetround_mips_ctx.
43571         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
43572         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
43573         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
43575         [BZ #16677]
43576         * math/s_nextafter.c (__nextafter): Do not return value from
43577         overflowing computation.
43578         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
43579         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
43580         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
43581         Likewise.
43582         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
43583         Likewise.
43584         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
43585         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
43587 2014-03-11  Roland McGrath  <roland@hack.frob.com>
43589         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
43590         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
43591         Move sfi_sp use from the load-multiple (that no longer sets sp) to
43592         the new mov targetting sp.
43594 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43596         [BZ #16683]
43597         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
43598         Define it for static builds as well.
43599         (NO_BZERO_IMPL): Likewise.
43601 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43603         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
43604         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
43605         multiarch strspn for PPC64.
43606         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
43607         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
43608         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43609         (__libc_ifunc_impl_list): Likewise.
43610         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
43611         multiarch optimizations
43612         * string/strspn.c (strspn): Using macro to redefine symbol name.
43614 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43615             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43617         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
43618         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
43619         multiarch strncat for PPC64.
43620         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
43621         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
43622         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43623         (__libc_ifunc_impl_list): Likewise.
43624         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
43625         multiarch optimizations
43627 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43629         [BZ #16639]
43630         * nscd/nscd.service: Make service type forking.
43632 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43634         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
43635         sign in non default rounding modes.
43636         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
43638 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
43640         * math/libm-test.inc (ALL_RM_TEST): New macro.
43641         (ceil_test): Use ALL_RM_TEST.
43642         (cimag_test): Likewise.
43643         (conj_test): Likewise.
43644         (copysign_test): Likewise.
43645         (cproj_test): Likewise.
43646         (creal_test): Likewise.
43647         (fabs_test): Likewise.
43648         (floor_test): Likewise.
43649         (fmax_test): Likewise.
43650         (fmin_test): Likewise.
43651         (fmod_test): Likewise.
43652         (fpclassify_test): Likewise.
43653         (frexp_test): Likewise.
43654         (ilogb_test): Likewise.
43655         (isfinite_test): Likewise.
43656         (finite_test): Likewise.
43657         (isgreater_test): Likewise.
43658         (isgreaterequal_test): Likewise.
43659         (isinf_test): Likewise.
43660         (isless_test): Likewise.
43661         (islessequal_test): Likewise.
43662         (islessgreater_test): Likewise.
43663         (isnan_test): Likewise.
43664         (isnormal_test): Likewise.
43665         (issignaling_test): Likewise.
43666         (isunordered_test): Likewise.
43667         (logb_test): Likewise.
43668         (logb_downward_test_data): Remove.
43669         (logb_test_downward): Likewise.
43670         (lround_test): Use ALL_RM_TEST.
43671         (llround_test): Likewise.
43672         (modf_test): Likewise.
43673         (nexttoward_test): Likewise.
43674         (remainder_test): Likewise.
43675         (drem_test): Likewise.
43676         (remainder_tonearest_test_data): Likewise.
43677         (remainder_test_tonearest): Likewise.
43678         (drem_test_tonearest): Likewise.
43679         (remainder_towardzero_test_data): Likewise.
43680         (remainder_test_towardzero): Likewise.
43681         (drem_test_towardzero): Likewise.
43682         (remainder_downward_test_data): Likewise.
43683         (remainder_test_downward): Likewise.
43684         (drem_test_downward): Likewise.
43685         (remainder_upward_test_data): Likewise.
43686         (remainder_test_upward): Likewise.
43687         (drem_test_upward): Likewise.
43688         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
43689         (round_test): Use ALL_RM_TEST.
43690         (signbit_test): Likewise.
43691         (trunc_test): Likewise.
43692         (significand_test): Likewise.
43693         (main): Don't call removed functions.
43695 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
43697         [BZ #16674]
43698         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
43699         || __USE_XOPEN2K8].
43700         (ILL_ILLOPN): Likewise.
43701         (ILL_ILLADR): Likewise.
43702         (ILL_ILLTRP): Likewise.
43703         (ILL_PRVOPC): Likewise.
43704         (ILL_PRVREG): Likewise.
43705         (ILL_COPROC): Likewise.
43706         (ILL_BADSTK): Likewise.
43707         (FPE_INTDIV): Likewise.
43708         (FPE_INTOVF): Likewise.
43709         (FPE_FLTDIV): Likewise.
43710         (FPE_FLTOVF): Likewise.
43711         (FPE_FLTUND): Likewise.
43712         (FPE_FLTRES): Likewise.
43713         (FPE_FLTINV): Likewise.
43714         (FPE_FLTSUB): Likewise.
43715         (SEGV_MAPERR): Likewise.
43716         (SEGV_ACCERR): Likewise.
43717         (BUS_ADRALN): Likewise.
43718         (BUS_ADRERR): Likewise.
43719         (BUS_OBJERR): Likewise.
43720         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43721         (TRAP_TRACE): Likewise.
43722         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43723         __USE_XOPEN2K8].
43724         (CLD_KILLED): Likewise.
43725         (CLD_DUMPED): Likewise.
43726         (CLD_TRAPPED): Likewise.
43727         (CLD_STOPPED): Likewise.
43728         (CLD_CONTINUED): Likewise.
43729         (POLL_IN): Likewise.
43730         (POLL_OUT): Likewise.
43731         (POLL_MSG): Likewise.
43732         (POLL_ERR): Likewise.
43733         (POLL_PRI): Likewise.
43734         (POLL_HUP): Likewise.
43735         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
43736         Likewise.
43737         (ILL_ILLOPN): Likewise.
43738         (ILL_ILLADR): Likewise.
43739         (ILL_ILLTRP): Likewise.
43740         (ILL_PRVOPC): Likewise.
43741         (ILL_PRVREG): Likewise.
43742         (ILL_COPROC): Likewise.
43743         (ILL_BADSTK): Likewise.
43744         (FPE_INTDIV): Likewise.
43745         (FPE_INTOVF): Likewise.
43746         (FPE_FLTDIV): Likewise.
43747         (FPE_FLTOVF): Likewise.
43748         (FPE_FLTUND): Likewise.
43749         (FPE_FLTRES): Likewise.
43750         (FPE_FLTINV): Likewise.
43751         (FPE_FLTSUB): Likewise.
43752         (SEGV_MAPERR): Likewise.
43753         (SEGV_ACCERR): Likewise.
43754         (BUS_ADRALN): Likewise.
43755         (BUS_ADRERR): Likewise.
43756         (BUS_OBJERR): Likewise.
43757         (BUS_MCEERR_AR): Likewise.
43758         (BUS_MCEERR_AO): Likewise.
43759         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43760         (TRAP_TRACE): Likewise.
43761         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43762         __USE_XOPEN2K8].
43763         (CLD_KILLED): Likewise.
43764         (CLD_DUMPED): Likewise.
43765         (CLD_TRAPPED): Likewise.
43766         (CLD_STOPPED): Likewise.
43767         (CLD_CONTINUED): Likewise.
43768         (POLL_IN): Likewise.
43769         (POLL_OUT): Likewise.
43770         (POLL_MSG): Likewise.
43771         (POLL_ERR): Likewise.
43772         (POLL_PRI): Likewise.
43773         (POLL_HUP): Likewise.
43774         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
43775         (ILL_ILLOPN): Likewise.
43776         (ILL_ILLADR): Likewise.
43777         (ILL_ILLTRP): Likewise.
43778         (ILL_PRVOPC): Likewise.
43779         (ILL_PRVREG): Likewise.
43780         (ILL_COPROC): Likewise.
43781         (ILL_BADSTK): Likewise.
43782         (FPE_INTDIV): Likewise.
43783         (FPE_INTOVF): Likewise.
43784         (FPE_FLTDIV): Likewise.
43785         (FPE_FLTOVF): Likewise.
43786         (FPE_FLTUND): Likewise.
43787         (FPE_FLTRES): Likewise.
43788         (FPE_FLTINV): Likewise.
43789         (FPE_FLTSUB): Likewise.
43790         (SEGV_MAPERR): Likewise.
43791         (SEGV_ACCERR): Likewise.
43792         (BUS_ADRALN): Likewise.
43793         (BUS_ADRERR): Likewise.
43794         (BUS_OBJERR): Likewise.
43795         (BUS_MCEERR_AR): Likewise.
43796         (BUS_MCEERR_AO): Likewise.
43797         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43798         (TRAP_TRACE): Likewise.
43799         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43800         __USE_XOPEN2K8].
43801         (CLD_KILLED): Likewise.
43802         (CLD_DUMPED): Likewise.
43803         (CLD_TRAPPED): Likewise.
43804         (CLD_STOPPED): Likewise.
43805         (CLD_CONTINUED): Likewise.
43806         (POLL_IN): Likewise.
43807         (POLL_OUT): Likewise.
43808         (POLL_MSG): Likewise.
43809         (POLL_ERR): Likewise.
43810         (POLL_PRI): Likewise.
43811         (POLL_HUP): Likewise.
43812         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
43813         Likewise.
43814         (ILL_ILLOPN): Likewise.
43815         (ILL_ILLADR): Likewise.
43816         (ILL_ILLTRP): Likewise.
43817         (ILL_PRVOPC): Likewise.
43818         (ILL_PRVREG): Likewise.
43819         (ILL_COPROC): Likewise.
43820         (ILL_BADSTK): Likewise.
43821         (ILL_BADIADDR): Likewise.
43822         (ILL_BREAK): Likewise.
43823         (FPE_INTDIV): Likewise.
43824         (FPE_INTOVF): Likewise.
43825         (FPE_FLTDIV): Likewise.
43826         (FPE_FLTOVF): Likewise.
43827         (FPE_FLTUND): Likewise.
43828         (FPE_FLTRES): Likewise.
43829         (FPE_FLTINV): Likewise.
43830         (FPE_FLTSUB): Likewise.
43831         (FPE_DECOVF): Likewise.
43832         (FPE_DECDIV): Likewise.
43833         (FPE_DECERR): Likewise.
43834         (FPE_INVASC): Likewise.
43835         (FPE_INVDEC): Likewise.
43836         (SEGV_MAPERR): Likewise.
43837         (SEGV_ACCERR): Likewise.
43838         (SEGV_PSTKOVF): Likewise.
43839         (BUS_ADRALN): Likewise.
43840         (BUS_ADRERR): Likewise.
43841         (BUS_OBJERR): Likewise.
43842         (BUS_MCEERR_AR): Likewise.
43843         (BUS_MCEERR_AO): Likewise.
43844         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43845         (TRAP_TRACE): Likewise.
43846         (TRAP_BRANCH): Likewise.
43847         (TRAP_HWBKPT): Likewise.
43848         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43849         __USE_XOPEN2K8].
43850         (CLD_KILLED): Likewise.
43851         (CLD_DUMPED): Likewise.
43852         (CLD_TRAPPED): Likewise.
43853         (CLD_STOPPED): Likewise.
43854         (CLD_CONTINUED): Likewise.
43855         (POLL_IN): Likewise.
43856         (POLL_OUT): Likewise.
43857         (POLL_MSG): Likewise.
43858         (POLL_ERR): Likewise.
43859         (POLL_PRI): Likewise.
43860         (POLL_HUP): Likewise.
43861         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
43862         (ILL_ILLOPN): Likewise.
43863         (ILL_ILLADR): Likewise.
43864         (ILL_ILLTRP): Likewise.
43865         (ILL_PRVOPC): Likewise.
43866         (ILL_PRVREG): Likewise.
43867         (ILL_COPROC): Likewise.
43868         (ILL_BADSTK): Likewise.
43869         (FPE_INTDIV): Likewise.
43870         (FPE_INTOVF): Likewise.
43871         (FPE_FLTDIV): Likewise.
43872         (FPE_FLTOVF): Likewise.
43873         (FPE_FLTUND): Likewise.
43874         (FPE_FLTRES): Likewise.
43875         (FPE_FLTINV): Likewise.
43876         (FPE_FLTSUB): Likewise.
43877         (SEGV_MAPERR): Likewise.
43878         (SEGV_ACCERR): Likewise.
43879         (BUS_ADRALN): Likewise.
43880         (BUS_ADRERR): Likewise.
43881         (BUS_OBJERR): Likewise.
43882         (BUS_MCEERR_AR): Likewise.
43883         (BUS_MCEERR_AO): Likewise.
43884         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43885         (TRAP_TRACE): Likewise.
43886         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43887         __USE_XOPEN2K8].
43888         (CLD_KILLED): Likewise.
43889         (CLD_DUMPED): Likewise.
43890         (CLD_TRAPPED): Likewise.
43891         (CLD_STOPPED): Likewise.
43892         (CLD_CONTINUED): Likewise.
43893         (POLL_IN): Likewise.
43894         (POLL_OUT): Likewise.
43895         (POLL_MSG): Likewise.
43896         (POLL_ERR): Likewise.
43897         (POLL_PRI): Likewise.
43898         (POLL_HUP): Likewise.
43899         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
43900         (ILL_ILLOPN): Likewise.
43901         (ILL_ILLADR): Likewise.
43902         (ILL_ILLTRP): Likewise.
43903         (ILL_PRVOPC): Likewise.
43904         (ILL_PRVREG): Likewise.
43905         (ILL_COPROC): Likewise.
43906         (ILL_BADSTK): Likewise.
43907         (FPE_INTDIV): Likewise.
43908         (FPE_INTOVF): Likewise.
43909         (FPE_FLTDIV): Likewise.
43910         (FPE_FLTOVF): Likewise.
43911         (FPE_FLTUND): Likewise.
43912         (FPE_FLTRES): Likewise.
43913         (FPE_FLTINV): Likewise.
43914         (FPE_FLTSUB): Likewise.
43915         (SEGV_MAPERR): Likewise.
43916         (SEGV_ACCERR): Likewise.
43917         (BUS_ADRALN): Likewise.
43918         (BUS_ADRERR): Likewise.
43919         (BUS_OBJERR): Likewise.
43920         (BUS_MCEERR_AR): Likewise.
43921         (BUS_MCEERR_AO): Likewise.
43922         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43923         (TRAP_TRACE): Likewise.
43924         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43925         __USE_XOPEN2K8].
43926         (CLD_KILLED): Likewise.
43927         (CLD_DUMPED): Likewise.
43928         (CLD_TRAPPED): Likewise.
43929         (CLD_STOPPED): Likewise.
43930         (CLD_CONTINUED): Likewise.
43931         (POLL_IN): Likewise.
43932         (POLL_OUT): Likewise.
43933         (POLL_MSG): Likewise.
43934         (POLL_ERR): Likewise.
43935         (POLL_PRI): Likewise.
43936         (POLL_HUP): Likewise.
43937         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
43938         (ILL_ILLOPN): Likewise.
43939         (ILL_ILLADR): Likewise.
43940         (ILL_ILLTRP): Likewise.
43941         (ILL_PRVOPC): Likewise.
43942         (ILL_PRVREG): Likewise.
43943         (ILL_COPROC): Likewise.
43944         (ILL_BADSTK): Likewise.
43945         (FPE_INTDIV): Likewise.
43946         (FPE_INTOVF): Likewise.
43947         (FPE_FLTDIV): Likewise.
43948         (FPE_FLTOVF): Likewise.
43949         (FPE_FLTUND): Likewise.
43950         (FPE_FLTRES): Likewise.
43951         (FPE_FLTINV): Likewise.
43952         (FPE_FLTSUB): Likewise.
43953         (SEGV_MAPERR): Likewise.
43954         (SEGV_ACCERR): Likewise.
43955         (BUS_ADRALN): Likewise.
43956         (BUS_ADRERR): Likewise.
43957         (BUS_OBJERR): Likewise.
43958         (BUS_MCEERR_AR): Likewise.
43959         (BUS_MCEERR_AO): Likewise.
43960         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43961         (TRAP_TRACE): Likewise.
43962         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43963         __USE_XOPEN2K8].
43964         (CLD_KILLED): Likewise.
43965         (CLD_DUMPED): Likewise.
43966         (CLD_TRAPPED): Likewise.
43967         (CLD_STOPPED): Likewise.
43968         (CLD_CONTINUED): Likewise.
43969         (POLL_IN): Likewise.
43970         (POLL_OUT): Likewise.
43971         (POLL_MSG): Likewise.
43972         (POLL_ERR): Likewise.
43973         (POLL_PRI): Likewise.
43974         (POLL_HUP): Likewise.
43975         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
43976         (ILL_ILLOPN): Likewise.
43977         (ILL_ILLADR): Likewise.
43978         (ILL_ILLTRP): Likewise.
43979         (ILL_PRVOPC): Likewise.
43980         (ILL_PRVREG): Likewise.
43981         (ILL_COPROC): Likewise.
43982         (ILL_BADSTK): Likewise.
43983         (ILL_DBLFLT): Likewise.
43984         (ILL_HARDWALL): Likewise.
43985         (FPE_INTDIV): Likewise.
43986         (FPE_INTOVF): Likewise.
43987         (FPE_FLTDIV): Likewise.
43988         (FPE_FLTOVF): Likewise.
43989         (FPE_FLTUND): Likewise.
43990         (FPE_FLTRES): Likewise.
43991         (FPE_FLTINV): Likewise.
43992         (FPE_FLTSUB): Likewise.
43993         (SEGV_MAPERR): Likewise.
43994         (SEGV_ACCERR): Likewise.
43995         (BUS_ADRALN): Likewise.
43996         (BUS_ADRERR): Likewise.
43997         (BUS_OBJERR): Likewise.
43998         (BUS_MCEERR_AR): Likewise.
43999         (BUS_MCEERR_AO): Likewise.
44000         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44001         (TRAP_TRACE): Likewise.
44002         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44003         __USE_XOPEN2K8].
44004         (CLD_KILLED): Likewise.
44005         (CLD_DUMPED): Likewise.
44006         (CLD_TRAPPED): Likewise.
44007         (CLD_STOPPED): Likewise.
44008         (CLD_CONTINUED): Likewise.
44009         (POLL_IN): Likewise.
44010         (POLL_OUT): Likewise.
44011         (POLL_MSG): Likewise.
44012         (POLL_ERR): Likewise.
44013         (POLL_PRI): Likewise.
44014         (POLL_HUP): Likewise.
44015         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
44016         (ILL_ILLOPN): Likewise.
44017         (ILL_ILLADR): Likewise.
44018         (ILL_ILLTRP): Likewise.
44019         (ILL_PRVOPC): Likewise.
44020         (ILL_PRVREG): Likewise.
44021         (ILL_COPROC): Likewise.
44022         (ILL_BADSTK): Likewise.
44023         (FPE_INTDIV): Likewise.
44024         (FPE_INTOVF): Likewise.
44025         (FPE_FLTDIV): Likewise.
44026         (FPE_FLTOVF): Likewise.
44027         (FPE_FLTUND): Likewise.
44028         (FPE_FLTRES): Likewise.
44029         (FPE_FLTINV): Likewise.
44030         (FPE_FLTSUB): Likewise.
44031         (SEGV_MAPERR): Likewise.
44032         (SEGV_ACCERR): Likewise.
44033         (BUS_ADRALN): Likewise.
44034         (BUS_ADRERR): Likewise.
44035         (BUS_OBJERR): Likewise.
44036         (BUS_MCEERR_AR): Likewise.
44037         (BUS_MCEERR_AO): Likewise.
44038         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44039         (TRAP_TRACE): Likewise.
44040         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44041         __USE_XOPEN2K8].
44042         (CLD_KILLED): Likewise.
44043         (CLD_DUMPED): Likewise.
44044         (CLD_TRAPPED): Likewise.
44045         (CLD_STOPPED): Likewise.
44046         (CLD_CONTINUED): Likewise.
44047         (POLL_IN): Likewise.
44048         (POLL_OUT): Likewise.
44049         (POLL_MSG): Likewise.
44050         (POLL_ERR): Likewise.
44051         (POLL_PRI): Likewise.
44052         (POLL_HUP): Likewise.
44053         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
44054         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44056         [BZ #16670]
44057         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
44058         before #include of <time.h>.
44059         [!__USE_XOPEN2K] (__need_timespec): Likewise.
44060         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
44061         (test-xfail-UNIX98/sched.h/conform): Likewise.
44063 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44065         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
44066         error absence of trapping exception support.
44067         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
44069 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
44071         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
44072         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
44073         * timezone/Makefile (testdata): Move definition above include of
44074         Rules.
44075         (test-zones): New variable.
44076         (tests-special): Add zone files.
44077         (build-testdata): Use $(evaluate-test).
44079         * elf/Makefile (tests-special): Rename tests to end with .out.
44080         ($(objpfx)noload-mem): Likewise.
44081         ($(objpfx)tst-leaks1-mem): Likewise.
44082         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
44083         * iconv/Makefile (xtests-special): Change test-iconvconfig to
44084         $(objpfx)test-iconvconfig.out.
44085         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
44086         set -e inside subshell and redirect output to file.
44087         * iconvdata/Makefile (generated): Rename tests to end with .out.
44088         Correct type.
44089         (tests-special): Rename tests to end with .out.
44090         ($(objpfx)mtrace-tst-loading): Likewise.
44091         * intl/Makefile (generated): Likewise.
44092         (tests-special): Likewise.
44093         ($(objpfx)mtrace-tst-gettext): Likewise.
44094         * misc/Makefile (generated): Likewise.
44095         (tests-special): Likewise.
44096         ($(objpfx)tst-error1-mem): Likewise.
44097         * nptl/Makefile (tests-special): Likewise.
44098         ($(objpfx)tst-stack3-mem): Likewise.
44099         (generated): Likewise.
44100         * posix/Makefile (generated): Likewise.
44101         (tests-special): Likewise.
44102         (xtests-special): Likewise.
44103         ($(objpfx)tst-fnmatch-mem): Likewise.
44104         ($(objpfx)bug-regex2-mem): Likewise.
44105         ($(objpfx)bug-regex14-mem): Likewise.
44106         ($(objpfx)bug-regex21-mem): Likewise.
44107         ($(objpfx)bug-regex31-mem): Likewise.
44108         ($(objpfx)tst-vfork3-mem): Likewise.
44109         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
44110         ($(objpfx)tst-pcre-mem): Likewise.
44111         ($(objpfx)tst-boost-mem): Likewise.
44112         ($(objpfx)bug-ga2-mem): Likewise.
44113         ($(objpfx)bug-glob2-mem): Likewise.
44114         * resolv/Makefile (generate): Likewise.
44115         (tests-special): Likewise.
44116         (xtests-special): Likewise.
44117         (generated): Likewise.
44118         ($(objpfx)mtrace-tst-leaks): Likewise.
44119         ($(objpfx)mtrace-tst-leaks2): Likewise.
44121         * scripts/merge-test-results.sh: New file.
44122         * Makefile (tests-special-notdir): New variable.
44123         (tests): Run merge-test-results.sh.
44124         (xtests): Likewise.
44125         * Rules (tests-special-notdir): New variable.
44126         (xtests-special-notdir): Likewise.
44127         (tests): Run merge-test-results.sh
44128         (xtests): Likewise.
44130         * Makeconfig (test-xfail-name): New variable.
44131         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
44132         compute variable name for expected failures.
44133         * conform/Makefile (conformtest-headers-data): New variable.
44134         (conformtest-standards): Likewise.
44135         (conformtest-headers-ISO): Likewise.
44136         (conformtest-headers-ISO99): Likewise.
44137         (conformtest-headers-ISO11): Likewise.
44138         (conformtest-headers-POSIX): Likewise.
44139         (conformtest-headers-XPG3): Likewise.
44140         (conformtest-headers-XPG4): Likewise.
44141         (conformtest-headers-UNIX98): Likewise.
44142         (conformtest-headers-XOPEN2K): Likewise.
44143         (conformtest-headers-POSIX2008): Likewise.
44144         (conformtest-headers-XOPEN2K8): Likewise.
44145         (conformtest-header-list-base): Likewise.
44146         (conformtest-header-list-tests): Likewise.
44147         (conformtest-header-base): Likewise.
44148         (conformtest-header-tests): Likewise.
44149         (tests-special): Add $(conformtest-header-list-tests).  If
44150         [$(fast-check) && !$(cross-compiling)], add
44151         $(conformtest-header-tests) instead of
44152         $(objpfx)run-conformtest.out.
44153         (generated): Add $(conformtest-header-list-base).  If
44154         [$(fast-check) && !$(cross-compiling)], add
44155         $(conformtest-header-base).  Remove previous setting.
44156         ($(conformtest-header-list-tests)): New target.
44157         (test-xfail-run-conformtest): Remove variable.
44158         ($(objpfx)run-conformtest.out): Remove target.
44159         (test-xfail-ISO11/complex.h/conform): New variable.
44160         (test-xfail-ISO11/stdalign.h/conform): Likewise.
44161         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
44162         (test-xfail-XPG3/varargs.h/conform): Likewise.
44163         (test-xfail-XPG4/varargs.h/conform): Likewise.
44164         (test-xfail-UNIX98/varargs.h/conform): Likewise.
44165         (test-xfail-XPG4/ndbm.h/conform): Likewise.
44166         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
44167         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
44168         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
44169         (test-xfail-XPG3/fcntl.h/conform): Likewise.
44170         (test-xfail-XPG3/ftw.h/conform): Likewise.
44171         (test-xfail-XPG3/grp.h/conform): Likewise.
44172         (test-xfail-XPG3/langinfo.h/conform): Likewise.
44173         (test-xfail-XPG3/limits.h/conform): Likewise.
44174         (test-xfail-XPG3/pwd.h/conform): Likewise.
44175         (test-xfail-XPG3/search.h/conform): Likewise.
44176         (test-xfail-XPG3/signal.h/conform): Likewise.
44177         (test-xfail-XPG3/stdio.h/conform): Likewise.
44178         (test-xfail-XPG3/stdlib.h/conform): Likewise.
44179         (test-xfail-XPG3/string.h/conform): Likewise.
44180         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
44181         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
44182         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
44183         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
44184         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
44185         (test-xfail-XPG3/sys/types.h/conform): Likewise.
44186         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
44187         (test-xfail-XPG3/termios.h/conform): Likewise.
44188         (test-xfail-XPG3/time.h/conform): Likewise.
44189         (test-xfail-XPG3/unistd.h/conform): Likewise.
44190         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
44191         (test-xfail-XPG4/fcntl.h/conform): Likewise.
44192         (test-xfail-XPG4/langinfo.h/conform): Likewise.
44193         (test-xfail-XPG4/netdb.h/conform): Likewise.
44194         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
44195         (test-xfail-XPG4/signal.h/conform): Likewise.
44196         (test-xfail-XPG4/stdio.h/conform): Likewise.
44197         (test-xfail-XPG4/stdlib.h/conform): Likewise.
44198         (test-xfail-XPG4/stropts.h/conform): Likewise.
44199         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
44200         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
44201         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
44202         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
44203         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
44204         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
44205         (test-xfail-XPG4/sys/time.h/conform): Likewise.
44206         (test-xfail-XPG4/sys/types.h/conform): Likewise.
44207         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
44208         (test-xfail-XPG4/termios.h/conform): Likewise.
44209         (test-xfail-XPG4/ucontext.h/conform): Likewise.
44210         (test-xfail-XPG4/unistd.h/conform): Likewise.
44211         (test-xfail-XPG4/utmpx.h/conform): Likewise.
44212         (test-xfail-POSIX/sched.h/conform): Likewise.
44213         (test-xfail-POSIX/signal.h/conform): Likewise.
44214         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44215         (test-xfail-POSIX/tar.h/conform): Likewise.
44216         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
44217         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
44218         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
44219         (test-xfail-UNIX98/netdb.h/conform): Likewise.
44220         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
44221         (test-xfail-UNIX98/sched.h/conform): Likewise.
44222         (test-xfail-UNIX98/signal.h/conform): Likewise.
44223         (test-xfail-UNIX98/stdio.h/conform): Likewise.
44224         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
44225         (test-xfail-UNIX98/stropts.h/conform): Likewise.
44226         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
44227         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
44228         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
44229         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
44230         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
44231         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
44232         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
44233         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
44234         (test-xfail-UNIX98/unistd.h/conform): Likewise.
44235         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
44236         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
44237         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
44238         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
44239         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
44240         (test-xfail-XOPEN2K/math.h/conform): Likewise.
44241         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
44242         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
44243         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
44244         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
44245         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
44246         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
44247         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
44248         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
44249         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
44250         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
44251         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
44252         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
44253         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
44254         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
44255         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
44256         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
44257         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
44258         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
44259         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
44260         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
44261         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
44262         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
44263         (test-xfail-POSIX2008/signal.h/conform): Likewise.
44264         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
44265         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
44266         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
44267         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
44268         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
44269         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
44270         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
44271         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
44272         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
44273         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
44274         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
44275         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
44276         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
44277         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
44278         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
44279         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
44280         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
44281         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
44282         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
44283         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
44284         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
44285         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
44286         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
44287         (conformtest-cc-flags): Likewise.
44288         ($(conformtest-header-tests): New target.
44289         * conform/check-header-lists.sh: New file.
44290         * conform/run-conformtest.sh: Remove.
44292         * conform/conformtest.pl: Allow ' and \ in values given for
44293         constants.
44294         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
44295         inclusion.
44296         [POSIX] (sys/types.h): Likewise.
44297         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
44298         inclusion.
44299         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
44300         inclusion.
44301         * conform/data/signal.h-data (SIGIO): Remove expectation.
44302         [XPG3] (SIGBUS): Do not expect.
44303         [POSIX || XPG3] (SIGPOLL): Likewise.
44304         [POSIX || XPG3] (SIGPROF): Likewise.
44305         [POSIX || XPG3] (SIGSYS): Likewise.
44306         [XPG3] (SIGTRAP): Likewise.
44307         [POSIX || XPG3] (SIGURG): Likewise.
44308         [POSIX || XPG3] (SIGVTALRM): Likewise.
44309         [POSIX || XPG3] (SIGXCPU): Likewise.
44310         [POSIX || XPG3] (SIGXFSZ): Likewise.
44311         [POSIX] (SA_SIGINFO): Expect.
44312         [XPG3] (siginfo_t): Do not expect type or contents.
44313         [POSIX] (si_pid): Do not expect element.
44314         [POSIX] (si_uid): Likewise.
44315         [POSIX] (si_addr): Likewise.
44316         [POSIX] (si_status): Likewise.
44317         [POSIX] (si_band): Likewise.
44318         [XPG4] (si_value): Likewise.
44319         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
44320         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
44321         [POSIX || XPG3] (ILL_ILLADR): Likewise.
44322         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
44323         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
44324         [POSIX || XPG3] (ILL_PRVREG): Likewise.
44325         [POSIX || XPG3] (ILL_COPROC): Likewise.
44326         [POSIX || XPG3] (ILL_BADSTK): Likewise.
44327         [POSIX || XPG3] (FPE_INTDIV): Likewise.
44328         [POSIX || XPG3] (FPE_INTOVF): Likewise.
44329         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
44330         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
44331         [POSIX || XPG3] (FPE_FLTUND): Likewise.
44332         [POSIX || XPG3] (FPE_FLTRES): Likewise.
44333         [POSIX || XPG3] (FPE_FLTINV): Likewise.
44334         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
44335         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
44336         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
44337         [POSIX || XPG3] (BUS_ADRALN): Likewise.
44338         [POSIX || XPG3] (BUS_ADRERR): Likewise.
44339         [POSIX || XPG3] (BUS_OBJERR): Likewise.
44340         [POSIX || XPG3] (CLD_EXITED): Likewise.
44341         [POSIX || XPG3] (CLD_KILLED): Likewise.
44342         [POSIX || XPG3] (CLD_DUMPED): Likewise.
44343         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
44344         [POSIX || XPG3] (CLD_STOPPED): Likewise.
44345         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
44346         [POSIX || XPG3] (POLL_IN): Likewise.
44347         [POSIX || XPG3] (POLL_OUT): Likewise.
44348         [POSIX || XPG3] (POLL_MSG): Likewise.
44349         [POSIX || XPG3] (POLL_ERR): Likewise.
44350         [POSIX || XPG3] (POLL_PRI): Likewise.
44351         [POSIX || XPG3] (POLL_HUP): Likewise.
44352         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
44353         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
44354         (SIG*): Do not allow.
44355         [XPG3] (si_*): Likewise.
44356         [XPG3] (SI_*): Likewise.
44357         [XPG3 || XPG4] (sigev_*): Likewise.
44358         [XPG3 || XPG4] (SIGEV_*): Likewise.
44359         [XPG3 || XPG4] (sival_*): Likewise.
44360         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
44361         [POSIX || XPG3] (BUS_*): Likewise.
44362         [POSIX || XPG3] (CLD_*): Likewise.
44363         [POSIX || XPG3] (FPE_*): Likewise.
44364         [POSIX || XPG3] (ILL_*): Likewise.
44365         [POSIX || XPG3] (POLL_*): Likewise.
44366         [POSIX || XPG3] (SEGV_*): Likewise.
44367         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
44368         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
44369         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
44370         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
44371         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
44372         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
44373         Specify type and value.
44374         (TVERSLEN): Likewise.
44375         (REGTYPE): Likewise.
44376         (AREGTYPE): Likewise.
44377         (LNKTYPE): Likewise.
44378         (SYMTYPE): Likewise.
44379         (CHRTYPE): Likewise.
44380         (BLKTYPE): Likewise.
44381         (DIRTYPE): Likewise.
44382         (FIFOTYPE): Likewise.
44383         (CONTTYPE): Likewise.
44384         (TSUID): Likewise.
44385         (TSGID): Likewise.
44386         (TSVTX): Likewise.
44387         (TUREAD): Likewise.
44388         (TUWRITE): Likewise.
44389         (TUEXEC): Likewise.
44390         (TGREAD): Likewise.
44391         (TGWRITE): Likewise.
44392         (TGEXEC): Likewise.
44393         (TOREAD): Likewise.
44394         (TOWRITE): Likewise.
44395         (TOEXEC): Likewise.
44396         [POSIX] (TSVTX): Expect constant.
44398 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
44400         * Makefile (tests): Change dependencies to ....
44401         (tests-special): ... additions to this variable.
44402         (tests): Depend on $(tests-special).
44403         * Makerules (check-abi-list): New variable.
44404         (check-abi): Depend on $(check-abi-list).
44405         [$(subdir) = elf] (tests-special): Add
44406         $(objpfx)check-abi-libc.out.
44407         [$(build-shared) = yes && subdir] (tests-special): Add
44408         $(check-abi-list).
44409         [$(build-shared) = yes && subdir] (tests): Do not depend on
44410         check-abi.
44411         * Rules (tests): Depend on $(tests-special).
44412         (xtests): Depend on $(xtests-special).
44413         * catgets/Makefile (tests): Change dependencies to ....
44414         (tests-special): ... additions to this variable.
44415         * conform/Makefile (tests): Change dependencies to ....
44416         (tests-special): ... additions to this variable.
44417         * elf/Makefile (tests): Change dependencies to ....
44418         (tests-special): ... additions to this variable.
44419         * grp/Makefile (tests): Change dependencies to ....
44420         (tests-special): ... additions to this variable.
44421         * iconv/Makefile (xtests): Change dependencies to ....
44422         (xtests-special): ... additions to this variable.
44423         * iconvdata/Makefile (tests): Change dependencies to ....
44424         (tests-special): ... additions to this variable.
44425         * intl/Makefile (tests): Change dependencies to ....
44426         (tests-special): ... additions to this variable.  Also add
44427         $(objpfx)tst-gettext.out.
44428         * io/Makefile (tests): Change dependencies to ....
44429         (tests-special): ... additions to this variable.
44430         * libio/Makefile (tests): Change dependencies to ....
44431         (tests-special): ... additions to this variable.
44432         * malloc/Makefile (tests): Change dependencies to ....
44433         (tests-special): ... additions to this variable.
44434         * misc/Makefile (tests): Change dependencies to ....
44435         (tests-special): ... additions to this variable.
44436         * nptl/Makefile (tests): Change dependencies to ....
44437         (tests-special): ... additions to this variable.
44438         * nptl_db/Makefile (tests): Change dependencies to ....
44439         (tests-special): ... additions to this variable.
44440         * posix/Makefile (tests): Change dependencies to ....
44441         (tests-special): ... additions to this variable.
44442         (xtests): Change dependencies to ....
44443         (xtests-special): ... additions to this variable.
44444         * resolv/Makefile (tests): Change dependencies to ....
44445         (tests-special): ... additions to this variable.
44446         (xtests): Change dependencies to ....
44447         (xtests-special): ... additions to this variable.
44448         * stdio-common/Makefile (tests): Change dependencies to ....
44449         (tests-special): ... additions to this variable.
44450         (do-tst-unbputc): Remove target.
44451         (do-tst-printf): Likewise.
44452         * stdlib/Makefile (tests): Change dependencies to ....
44453         (tests-special): ... additions to this variable.
44454         * string/Makefile (tests): Change dependencies to ....
44455         (tests-special): ... additions to this variable.
44456         * sysdeps/x86/Makefile (tests): Change dependencies to ....
44457         (tests-special): ... additions to this variable.
44459         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
44460         whole file.
44461         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
44462         whole file.
44463         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
44464         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
44466         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
44467         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
44468         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
44469         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
44470         * conform/data/libgen.h-data [XPG3]: Likewise.
44471         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
44472         * conform/data/ndbm.h-data [XPG3]: Likewise.
44473         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
44474         * conform/data/netdb.h-data [XPG3]: Likewise.
44475         * conform/data/netinet/in.h-data [XPG3]: Likewise.
44476         * conform/data/poll.h-data [XPG3]: Likewise.
44477         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
44478         * conform/data/strings.h-data [XPG3]: Likewise.
44479         * conform/data/stropts.h-data [XPG3]: Likewise.
44480         * conform/data/sys/mman.h-data [XPG3]: Likewise.
44481         * conform/data/sys/resource.h-data [XPG3]: Likewise.
44482         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
44483         Likewise.
44484         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
44485         * conform/data/sys/time.h-data [XPG3]: Likewise.
44486         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
44487         * conform/data/sys/uio.h-data [XPG3]: Likewise.
44488         * conform/data/sys/un.h-data [XPG3]: Likewise.
44489         * conform/data/syslog.h-data [XPG3]: Likewise.
44490         * conform/data/ucontext.h-data [XPG3]: Likewise.
44491         * conform/data/utmpx.h-data [XPG3]: Likewise.
44492         * conform/data/varargs.h-data [UNIX98]: Enable file.
44494         * manual/Makefile (INSTALL_INFO): Remove variable setting.
44496         * math/libm-test.inc (struct test_f_f_data): Move expected results
44497         into structure for each rounding mode.
44498         (struct test_ff_f_data): Likewise.
44499         (struct test_ff_f_data_nexttoward): Likewise.
44500         (struct test_fi_f_data): Likewise.
44501         (struct test_fl_f_data): Likewise.
44502         (struct test_if_f_data): Likewise.
44503         (struct test_fff_f_data): Likewise.
44504         (struct test_c_f_data): Likewise.
44505         (struct test_f_f1_data): Likewise.
44506         (struct test_fF_f1_data): Likewise.
44507         (struct test_ffI_f1_data): Likewise.
44508         (struct test_c_c_data): Likewise.
44509         (struct test_cc_c_data): Likewise.
44510         (struct test_f_i_data): Likewise.
44511         (struct test_ff_i_data): Likewise.
44512         (struct test_f_l_data): Likewise.
44513         (struct test_f_L_data): Likewise.
44514         (struct test_fFF_11_data): Likewise.
44515         (RM_): New macro.
44516         (RM_FE_DOWNWARD): Likewise.
44517         (RM_FE_TONEAREST): Likewise.
44518         (RM_FE_TOWARDZERO): Likewise.
44519         (RM_FE_UPWARD): Likewise.
44520         (RUN_TEST_LOOP_f_f): Update references to expected results.
44521         (RUN_TEST_LOOP_2_f): Likewise.
44522         (RUN_TEST_LOOP_fff_f): Likewise.
44523         (RUN_TEST_LOOP_c_f): Likewise.
44524         (RUN_TEST_LOOP_f_f1): Likewise.
44525         (RUN_TEST_LOOP_fF_f1): Likewise.
44526         (RUN_TEST_LOOP_fI_f1): Likewise.
44527         (RUN_TEST_LOOP_ffI_f1): Likewise.
44528         (RUN_TEST_LOOP_c_c): Likewise.
44529         (RUN_TEST_LOOP_cc_c): Likewise.
44530         (RUN_TEST_LOOP_f_i): Likewise.
44531         (RUN_TEST_LOOP_f_i_tg): Likewise.
44532         (RUN_TEST_LOOP_ff_i_tg): Likewise.
44533         (RUN_TEST_LOOP_f_b): Likewise.
44534         (RUN_TEST_LOOP_f_b_tg): Likewise.
44535         (RUN_TEST_LOOP_f_l): Likewise.
44536         (RUN_TEST_LOOP_f_L): Likewise.
44537         (RUN_TEST_LOOP_fFF_11): Likewise.
44538         * math/gen-libm-test.pl (parse_args): Output four copies of
44539         expected results for each test.
44541         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
44542         (__ASSUME_UTIMES): Remove.
44543         * sysdeps/unix/sysv/linux/tile/kernel-features.h
44544         (__ASSUME_UTIMES): Likewise.
44546         * math/gen-auto-libm-tests.c: Update comment on output format.
44547         (output_for_one_input_case): Generate before-rounding and
44548         after-rounding information as conditions on output flags not
44549         floating-point format.
44550         * math/auto-libm-test-out: Regenerated.
44551         * math/gen-libm-test.pl (cond_value): New function.
44552         (or_cond_value): Use cond_value.
44553         (generate_testfile): Handle conditional exceptions.
44555 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
44557         * math/libm-test.inc (max_valid_error): New variable.
44558         (init_max_error): Take new argument specifying whether function
44559         results are exactly determined.  Set max_valid_error and bound
44560         other variables for errors based on this argument.
44561         (set_max_error): Do not record results above max_valid_error.
44562         (check_float_internal): Only accept errors of up to 0.5ulps if
44563         also at most max_valid_error.
44564         (START): Take new argument EXACT and pass it to init_max_error.
44565         (acos_test): Update call to START.
44566         (acos_test_tonearest): Likewise.
44567         (acos_test_towardzero): Likewise.
44568         (acos_test_downward): Likewise.
44569         (acos_test_upward): Likewise.
44570         (acosh_test): Likewise.
44571         (asin_test): Likewise.
44572         (asin_test_tonearest): Likewise.
44573         (asin_test_towardzero): Likewise.
44574         (asin_test_downward): Likewise.
44575         (asin_test_upward): Likewise.
44576         (asinh_test): Likewise.
44577         (atan_test): Likewise.
44578         (atanh_test): Likewise.
44579         (atan2_test): Likewise.
44580         (cabs_test): Likewise.
44581         (cacos_test): Likewise.
44582         (cacosh_test): Likewise.
44583         (carg_test): Likewise.
44584         (casin_test): Likewise.
44585         (casinh_test): Likewise.
44586         (catan_test): Likewise.
44587         (catanh_test): Likewise.
44588         (cbrt_test): Likewise.
44589         (ccos_test): Likewise.
44590         (ccosh_test): Likewise.
44591         (ceil_test): Likewise.
44592         (cexp_test): Likewise.
44593         (cimag_test): Likewise.
44594         (clog_test): Likewise.
44595         (clog10_test): Likewise.
44596         (conj_test): Likewise.
44597         (copysign_test): Likewise.
44598         (cos_test): Likewise.
44599         (cos_test_tonearest): Likewise.
44600         (cos_test_towardzero): Likewise.
44601         (cos_test_downward): Likewise.
44602         (cos_test_upward): Likewise.
44603         (cosh_test): Likewise.
44604         (cosh_test_tonearest): Likewise.
44605         (cosh_test_towardzero): Likewise.
44606         (cosh_test_downward): Likewise.
44607         (cosh_test_upward): Likewise.
44608         (cpow_test): Likewise.
44609         (cproj_test): Likewise.
44610         (creal_test): Likewise.
44611         (csin_test): Likewise.
44612         (csinh_test): Likewise.
44613         (csqrt_test): Likewise.
44614         (ctan_test): Likewise.
44615         (ctan_test_tonearest): Likewise.
44616         (ctan_test_towardzero): Likewise.
44617         (ctan_test_downward): Likewise.
44618         (ctan_test_upward): Likewise.
44619         (ctanh_test): Likewise.
44620         (ctanh_test_tonearest): Likewise.
44621         (ctanh_test_towardzero): Likewise.
44622         (ctanh_test_downward): Likewise.
44623         (ctanh_test_upward): Likewise.
44624         (erf_test): Likewise.
44625         (erfc_test): Likewise.
44626         (exp_test): Likewise.
44627         (exp_test_tonearest): Likewise.
44628         (exp_test_towardzero): Likewise.
44629         (exp_test_downward): Likewise.
44630         (exp_test_upward): Likewise.
44631         (exp10_test): Likewise.
44632         (exp10_test_tonearest): Likewise.
44633         (exp10_test_towardzero): Likewise.
44634         (exp10_test_downward): Likewise.
44635         (exp10_test_upward): Likewise.
44636         (pow10_test): Likewise.
44637         (exp2_test): Likewise.
44638         (expm1_test): Likewise.
44639         (expm1_test_tonearest): Likewise.
44640         (expm1_test_towardzero): Likewise.
44641         (expm1_test_downward): Likewise.
44642         (expm1_test_upward): Likewise.
44643         (fabs_test): Likewise.
44644         (fdim_test): Likewise.
44645         (floor_test): Likewise.
44646         (fma_test): Likewise.
44647         (fma_test_towardzero): Likewise.
44648         (fma_test_downward): Likewise.
44649         (fma_test_upward): Likewise.
44650         (fmax_test): Likewise.
44651         (fmin_test): Likewise.
44652         (fmod_test): Likewise.
44653         (fpclassify_test): Likewise.
44654         (frexp_test): Likewise.
44655         (hypot_test): Likewise.
44656         (ilogb_test): Likewise.
44657         (isfinite_test): Likewise.
44658         (finite_test): Likewise.
44659         (isgreater_test): Likewise.
44660         (isgreaterequal_test): Likewise.
44661         (isinf_test): Likewise.
44662         (isless_test): Likewise.
44663         (islessequal_test): Likewise.
44664         (islessgreater_test): Likewise.
44665         (isnan_test): Likewise.
44666         (isnormal_test): Likewise.
44667         (issignaling_test): Likewise.
44668         (isunordered_test): Likewise.
44669         (j0_test): Likewise.
44670         (j1_test): Likewise.
44671         (jn_test): Likewise.
44672         (ldexp_test): Likewise.
44673         (lgamma_test): Likewise.
44674         (gamma_test): Likewise.
44675         (lrint_test): Likewise.
44676         (lrint_test_tonearest): Likewise.
44677         (lrint_test_towardzero): Likewise.
44678         (lrint_test_downward): Likewise.
44679         (lrint_test_upward): Likewise.
44680         (llrint_test): Likewise.
44681         (llrint_test_tonearest): Likewise.
44682         (llrint_test_towardzero): Likewise.
44683         (llrint_test_downward): Likewise.
44684         (llrint_test_upward): Likewise.
44685         (log_test): Likewise.
44686         (log10_test): Likewise.
44687         (log1p_test): Likewise.
44688         (log2_test): Likewise.
44689         (logb_test): Likewise.
44690         (logb_test_downward): Likewise.
44691         (lround_test): Likewise.
44692         (llround_test): Likewise.
44693         (modf_test): Likewise.
44694         (nearbyint_test): Likewise.
44695         (nextafter_test): Likewise.
44696         (nexttoward_test): Likewise.
44697         (pow_test): Likewise.
44698         (pow_test_tonearest): Likewise.
44699         (pow_test_towardzero): Likewise.
44700         (pow_test_downward): Likewise.
44701         (pow_test_upward): Likewise.
44702         (remainder_test): Likewise.
44703         (drem_test): Likewise.
44704         (remainder_test_tonearest): Likewise.
44705         (drem_test_tonearest): Likewise.
44706         (remainder_test_towardzero): Likewise.
44707         (drem_test_towardzero): Likewise.
44708         (remainder_test_downward): Likewise.
44709         (drem_test_downward): Likewise.
44710         (remainder_test_upward): Likewise.
44711         (drem_test_upward): Likewise.
44712         (remquo_test): Likewise.
44713         (rint_test): Likewise.
44714         (rint_test_tonearest): Likewise.
44715         (rint_test_towardzero): Likewise.
44716         (rint_test_downward): Likewise.
44717         (rint_test_upward): Likewise.
44718         (round_test): Likewise.
44719         (scalb_test): Likewise.
44720         (scalbn_test): Likewise.
44721         (scalbln_test): Likewise.
44722         (signbit_test): Likewise.
44723         (sin_test): Likewise.
44724         (sin_test_tonearest): Likewise.
44725         (sin_test_towardzero): Likewise.
44726         (sin_test_downward): Likewise.
44727         (sin_test_upward): Likewise.
44728         (sincos_test): Likewise.
44729         (sinh_test): Likewise.
44730         (sinh_test_tonearest): Likewise.
44731         (sinh_test_towardzero): Likewise.
44732         (sinh_test_downward): Likewise.
44733         (sinh_test_upward): Likewise.
44734         (sqrt_test): Likewise.
44735         (sqrt_test_tonearest): Likewise.
44736         (sqrt_test_towardzero): Likewise.
44737         (sqrt_test_downward): Likewise.
44738         (sqrt_test_upward): Likewise.
44739         (tan_test): Likewise.
44740         (tan_test_tonearest): Likewise.
44741         (tan_test_towardzero): Likewise.
44742         (tan_test_downward): Likewise.
44743         (tan_test_upward): Likewise.
44744         (tanh_test): Likewise.
44745         (tgamma_test): Likewise.
44746         (trunc_test): Likewise.
44747         (y0_test): Likewise.
44748         (y1_test): Likewise.
44749         (yn_test): Likewise.
44750         (significand_test): Likewise.
44752         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
44753         individual tests in comment.
44754         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
44755         (prev_max_error): New variable.
44756         (prev_real_max_error): Likewise.
44757         (prev_imag_max_error): Likewise.
44758         (compare_ulp_data): Don't refer to test names in comment.
44759         (find_test_ulps): Remove function.
44760         (find_function_ulps): Likewise.
44761         (find_complex_function_ulps): Likewise.
44762         (init_max_error): Take function name as argument.  Look up ulps
44763         for that function.
44764         (print_ulps): Remove function.
44765         (print_max_error): Use prev_max_error instead of calling
44766         find_function_ulps.
44767         (print_complex_max_error): Use prev_real_max_error and
44768         prev_imag_max_error instead of calling find_complex_function_ulps.
44769         (check_float_internal): Take max_ulp parameter instead of calling
44770         find_test_ulps.  Don't call print_ulps.
44771         (check_float): Update call to check_float_internal.
44772         (check_complex): Update calls to check_float_internal.
44773         (START): Pass argument to init_max_error.
44774         * math/gen-libm-test.pl (%results): Don't include "kind"
44775         information.
44776         (parse_ulps): Don't handle ulps of individual tests.
44777         (print_ulps_file): Likewise.
44778         (output_ulps): Likewise.
44779         * math/README.libm-test: Update.
44780         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
44781         individual tests.
44782         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
44783         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
44784         * sysdeps/arm/libm-test-ulps: Likewise.
44785         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
44786         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
44787         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
44788         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
44789         * sysdeps/microblaze/libm-test-ulps: Likewise.
44790         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
44791         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
44792         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44793         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
44794         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44795         * sysdeps/sh/libm-test-ulps: Likewise.
44796         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44797         * sysdeps/tile/libm-test-ulps: Likewise.
44798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44800 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
44802         * math/libm-test.inc (print_complex_max_error): Check separately
44803         whether real and imaginary errors are within allowed range and
44804         pass 0 to print_complex_function_ulps instead of value within
44805         allowed range.
44807 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44809         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
44810         formatting.
44811         (get_handles_fopen): Likewise.
44812         (do_write_test): Likewise.
44814         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
44816         * libio/fileops.c (do_ftell): Use cached offset when
44817         available.
44818         * libio/iofwide.c (do_ftell_wide): Likewise.
44819         * libio/iofdopen.c (_IO_new_fdopen): Don't use
44820         _IO_file_attach.
44821         * libio/wfileops.c (_IO_fwide): Don't cache offset.
44823         [BZ #16532]
44824         * libio/libioP.h (get_file_offset): New function.
44825         * libio/fileops.c (get_file_offset): Likewise.
44826         (do_ftell): Likewise.
44827         (_IO_new_file_seekoff): Split out ftell logic.
44828         * libio/wfileops.c (do_ftell_wide): Likewise.
44829         (_IO_wfile_seekoff): Split out ftell logic.
44830         * libio/tst-ftell-active-handler.c: New test case.
44831         * libio/Makefile (tests): Add it.
44833 2014-03-03  Roland McGrath  <roland@hack.frob.com>
44835         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
44836         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
44838 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44840         [BZ #16639]
44841         * nscd/connections.c (nscd_init): Call do_exit.
44842         (start_threads): Call do_exit and notify_parent.
44843         (begin_drop_privileges): Call do_exit.
44844         (finish_drop_privileges): Likewise.
44845         * nscd/selinux.c (preserve_capabilities): Likewise.
44846         (install_real_capabilities): Likewise.
44847         (nscd_selinux_enabled): Likewise.
44848         (avc_create_thread): Likewise.
44849         (avc_alloc_lock): Likewise.
44850         (nscd_avc_init): Likewise.
44851         * nscd/nscd.c (parent_fd): New static variable.
44852         (main): Create a pipe between parent and child processes.
44853         Skip closing parent_fd.
44854         (monitor_child): New function.
44855         (do_exit): Likewise.
44856         (notify_parent): Likewise.
44857         * nscd/nscd.h (notify_parent): Likewise.
44858         (do_exit): Likewise.
44860 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
44862         * malloc/malloc.c (__libc_calloc): Revert last change.
44864 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44866         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44868 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
44870         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
44871         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
44872         implementation.
44873         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44874         (__libc_ifunc_impl_list): Likewise.
44875         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
44876         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
44877         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
44878         * string/strrchr.c: Define STRRCHR.
44880 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
44882         * benchtest/bench-strtok.c (simple_strtok): Delete.
44883         (strtok_string): Use as benchmark.
44884         * string/strtok (STRTOK): New macro.
44886 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
44888         * manual/threads.texi: Add header and standard comments to all
44889         functions.
44891         * elf/dl-lookup.c (check_match): New function.
44892         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
44893         (do_lookup_x): Remove nested function check_match. Use non-nested
44894         function check_match.
44896 2014-02-28  Roland McGrath  <roland@hack.frob.com>
44898         * csu/Makefile (generated, before-compile): Use += rather than =.
44899         * catgets/Makefile (generated, generated-dirs): Likewise.
44900         * debug/Makefile (generated): Likewise.
44901         * dlfcn/Makefile (generated): Likewise.
44902         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
44903         * iconvdata/Makefile (before-compile, generated): Likewise.
44904         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
44905         * libio/Makefile (generated): Likewise.
44906         * malloc/Makefile (generated): Likewise.
44907         * manual/Makefile (generated, generated-dirs): Likewise.
44908         * misc/Makefile (generated): Likewise.
44909         * posix/Makefile (generated): Likewise.
44910         * resolv/Makefile (generated): Likewise.
44911         * sunrpc/Makefile (generated, generated-dirs): Likewise.
44912         * timezone/Makefile (generated, generated-dirs): Likewise.
44914         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
44916 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44918         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
44919         power8 implementation.
44920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
44921         file: POWER8 llround ifunc implementation.
44922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
44923         (__lllround): Add POWER8 implementation.
44924         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
44925         POWER8 llround implementation.
44927         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
44928         power8 implementation.
44929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
44930         file: POWER8 llrint ifunc implementation.
44931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
44932         Add POWER8 implementation.
44933         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
44934         POWER8 llrint implementation.
44936         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
44937         power8 implementation.
44938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
44939         file: POWER8 finite ifunc implementation.
44940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
44941         Add POWER8 implementation.
44942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
44943         Likewise.
44944         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
44945         POWER8 finite implementation.
44946         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
44948         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
44949         power8 implementation.
44950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
44951         file: POWER8 isinf ifunc implementation.
44952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
44953         POWER8 implementation.
44954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
44955         Likewise.
44956         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
44957         isinf implementation.
44958         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
44960         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
44961         (INIT_ARCH): Add hwcap2 initialization.
44962         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
44963         power8 implementation.
44964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
44965         file: POWER8 isnan ifunc implementation.
44966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
44967         POWER8 implementation.
44968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
44969         Likewise.
44970         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
44971         isnan implementation.
44972         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
44974 2014-02-27  Joey Ye  <joey.ye@arm.com>
44976         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
44977         (_FP_NANFRAC_Q): Set to zero.
44979 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44981         [BZ #16623]
44982         * math/auto-libm-test-in: New test inputs.
44983         * math/auto-libm-test-out: Regenerate.
44984         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
44985         and DA.
44986         (__cos): Likewise.
44987         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
44989 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
44991         * scripts/evaluate-test.sh: Take new argument indicating whether
44992         failure is expected.
44993         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
44994         indicating whether failure is expected.
44995         * conform/Makefile (test-xfail-run-conformtest): New variable.
44996         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
44997         level.
44998         * posix/Makefile (test-xfail-annexc): New variable.
44999         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
45001 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
45003         * argp/Makefile: Include Makeconfig immediately after defining
45004         subdir.
45005         * assert/Makefile: Likewise.
45006         * benchtests/Makefile: Likewise.
45007         * catgets/Makefile: Likewise.
45008         * conform/Makefile: Likewise.
45009         * crypt/Makefile: Likewise.
45010         * csu/Makefile: Likewise.
45011         (all): Remove target.
45012         * ctype/Makefile: Include Makeconfig immediately after defining
45013         subdir.
45014         * debug/Makefile: Likewise.
45015         * dirent/Makefile: Likewise.
45016         * dlfcn/Makefile: Likewise.
45017         * gmon/Makefile: Likewise.
45018         * gnulib/Makefile: Likewise.
45019         * grp/Makefile: Likewise.
45020         * gshadow/Makefile: Likewise.
45021         * hesiod/Makefile: Likewise.
45022         * hurd/Makefile: Likewise.
45023         (all): Remove target.
45024         * iconvdata/Makefile: Include Makeconfig immediately after
45025         defining subdir.
45026         * inet/Makefile: Likewise.
45027         * intl/Makefile: Likewise.
45028         * io/Makefile: Likewise.
45029         * libio/Makefile: Likewise.
45030         (all): Remove target.
45031         * locale/Makefile: Include Makeconfig immediately after defining
45032         subdir.
45033         * login/Makefile: Likewise.
45034         * mach/Makefile: Likewise.
45035         (all): Remove target.
45036         * malloc/Makefile: Include Makeconfig immediately after defining
45037         subdir.
45038         (all): Remove target.
45039         * manual/Makefile: Include Makeconfig immediately after defining
45040         subdir.
45041         * math/Makefile: Likewise.
45042         * misc/Makefile: Likewise.
45043         * nis/Makefile: Likewise.
45044         * nss/Makefile: Likewise.
45045         * po/Makefile: Likewise.
45046         (all): Remove target.
45047         * posix/Makefile: Include Makeconfig immediately after defining
45048         subdir.
45049         * pwd/Makefile: Likewise.
45050         * resolv/Makefile: Likewise.
45051         * resource/Makefile: Likewise.
45052         * rt/Makefile: Likewise.
45053         * setjmp/Makefile: Likewise.
45054         * shadow/Makefile: Likewise.
45055         * signal/Makefile: Likewise.
45056         * socket/Makefile: Likewise.
45057         * soft-fp/Makefile: Likewise.
45058         * stdio-common/Makefile: Likewise.
45059         * stdlib/Makefile: Likewise.
45060         * streams/Makefile: Likewise.
45061         * string/Makefile: Likewise.
45062         * sunrpc/Makefile: Likewise.
45063         (all): Remove target.
45064         * sysvipc/Makefile: Include Makeconfig immediately after defining
45065         subdir.
45066         * termios/Makefile: Likewise.
45067         * time/Makefile: Likewise.
45068         * timezone/Makefile: Likewise.
45069         (all): Remove target.
45070         * wcsmbs/Makefile: Include Makeconfig immediately after defining
45071         subdir.
45072         * wctype/Makefile: Likewise.
45074 2014-02-26  Steve Ellcey  <sellcey@mips.com>
45076         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
45077         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
45078         (libc_feholdexcept_setround_mips): Ditto.
45079         (libc_feholdsetround): New.
45080         (libc_feholdsetroundf): New.
45081         (libc_feholdsetroundl): New.
45082         (libc_feupdateenv_test_mips): New.
45083         (libc_feupdateenv_test): New.
45084         (libc_feupdateenv_testf): New.
45085         (libc_feupdateenv_testl): New.
45086         (libc_feresetround): New.
45087         (libc_feresetroundf): New.
45088         (libc_feresetroundl): New.
45089         (libc_fetestexcept_mips): New.
45090         (libc_fetestexcept): New.
45091         (libc_fetestexceptf): New.
45092         (libc_fetestexceptl): New.
45093         (HAVE_RM_CTX): New.
45094         (libc_feholdexcept_setround_mips_ctx): New.
45095         (libc_feholdexcept_setround_ctx): New.
45096         (libc_feholdexcept_setroundf_ctx): New.
45097         (libc_feholdexcept_setroundl_ctx): New.
45098         (libc_fesetenv_mips_ctx): New.
45099         (libc_fesetenv_ctx): New.
45100         (libc_fesetenv_ctxf): New.
45101         (libc_fesetenv_ctxl): New.
45102         (libc_feupdateenv_mips_ctx): New.
45103         (libc_feupdateenv_ctx): New.
45104         (libc_feupdateenvf_ctx): New.
45105         (libc_feupdateenvl_ctx): New.
45106         (libc_feholdsetround_mips_ctx): New.
45107         (libc_feholdsetround_ctx): New.
45108         (libc_feholdsetroundf_ctx): New.
45109         (libc_feholdsetroundl_ctx): New.
45110         (libc_feresetround_mips_ctx): New.
45111         (libc_feresetround_ctx): New.
45112         (libc_feresetroundf_ctx): New.
45113         (libc_feresetroundl_ctx): New.
45115 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
45117         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
45119         * manual/ipc.texi: New file.
45120         * manual/Makefile (chapters): Add ipc.
45121         * manual/job.texi: Add "Inter-Process Communication" to next.
45122         * manual/process.texi: Add "Inter-Process Communication" to prev.
45124 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45126         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45128 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
45130         * malloc/malloc.c (__libc_calloc): Simplify implementation.
45132         * manual/arith.texi: Fix spaces after sentences.
45133         * manual/charset.texi: Likewise.
45134         * manual/errno.texi: Likewise.
45135         * manual/install.texi: Likewise.
45136         * manual/llio.texi: Likewise.
45137         * manual/locale.texi: Likewise.
45138         * manual/maint.texi: Likewise.
45139         * manual/math.texi: Likewise.
45140         * manual/memory.texi: Likewise.
45141         * manual/message.texi: Likewise.
45142         * manual/probes.texi: Likewise.
45143         * manual/resource.texi: Likewise.
45144         * manual/signal.texi: Likewise.
45145         * manual/socket.texi: Likewise.
45146         * manual/stdio.texi: Likewise.
45147         * manual/string.texi: Likewise.
45148         * manual/time.texi: Likewise.
45149         * manual/users.texi: Likewise.
45151 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
45153         [BZ #16632]
45154         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
45155         _DEFAULT_SOURCE is defined.
45157 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
45158             Carlos O'Donell  <carlos@redhat.com>
45160         [BZ #16613]
45161         * elf/dl-tls.c (_dl_count_modids): New function.
45162         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
45163         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
45164         audit library and increment generation counter.
45165         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
45166         * elf/tst-audit9.c: New file.
45167         * elf/tst-auditmod9a.c: New file.
45168         * elf/tst-auditmod9b.c: New file.
45169         * elf/Makefile: Add rules to build and run tst-audit9.
45171 2014-02-25  Florian Weimer  <fweimer@redhat.com>
45173         [BZ #15347]
45174         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
45176 2014-02-25  Will Newton  <will.newton@linaro.org>
45178         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
45179         (__longjmp): Restore sp and lr before restoring callee
45180         saved registers.  Add longjmp and longjmp_target
45181         SystemTap probe point.
45182         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
45183         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
45184         Define to zero to match jmpbuf layout.
45185         * sysdeps/arm/setjmp.S: Include stap-probe.h.
45186         (__sigsetjmp): Save sp and lr before saving callee
45187         saved registers.  Add setjmp SystemTap probe point.
45189 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
45191         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45193 2014-02-24  Andreas Schwab  <schwab@suse.de>
45195         [BZ #15804]
45196         * elf/pldd.c (wait_for_ptrace_stop): New function.
45197         (main): Call it after attaching.
45199 2014-02-22  Roland McGrath  <roland@hack.frob.com>
45201         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
45202         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
45203         Versions files is now verboten.
45204         * hurd/Versions (libc: GLIBC_2.0):
45205         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
45206         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
45207         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
45208         * mach/Versions: Likewise.
45210         * csu/Versions: Remove unused %include.
45211         * resolv/Versions: Likewise.
45213 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
45215         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
45216         ($(objpfx)check-local-headers.out): Likewise.
45217         ($(objpfx)begin-end-check.out): Likewise.
45218         * Makerules (check-abi-%.out): Likewise.
45219         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
45220         ($(objpfx)test2.cat): Likewise.
45221         ($(objpfx)de/libc.cat): Likewise.
45222         ($(objpfx)test-gencat.out): Likewise.
45223         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
45224         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
45225         ($(objpfx)noload-mem): Likewise.
45226         ($(objpfx)tst-pathopt.out): Likewise.
45227         ($(objpfx)tst-rtld-load-self.out): Likewise.
45228         ($(objpfx)tst-array1-cmp.out): Likewise.
45229         ($(objpfx)tst-array1-static-cmp.out): Likewise.
45230         ($(objpfx)tst-array2-cmp.out): Likewise.
45231         ($(objpfx)tst-array3-cmp.out): Likewise.
45232         ($(objpfx)tst-array4-cmp.out): Likewise.
45233         ($(objpfx)tst-array5-cmp.out): Likewise.
45234         ($(objpfx)tst-array5-static-cmp.out): Likewise.
45235         ($(objpfx)check-textrel.out): Likewise.
45236         ($(objpfx)check-execstack.out): Likewise.
45237         ($(objpfx)check-localplt.out): Likewise.
45238         ($(objpfx)order2-cmp.out): Likewise.
45239         ($(objpfx)tst-leaks1-mem): Likewise.
45240         ($(objpfx)tst-leaks1-static-mem): Likewise.
45241         ($(objpfx)tst-initorder-cmp.out): Likewise.
45242         ($(objpfx)tst-initorder2-cmp.out): Likewise.
45243         ($(objpfx)tst-unused-dep.out): Likewise.
45244         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
45245         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
45246         * iconv/Makefile (test-iconvconfig): Likewise.
45247         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
45248         ($(objpfx)iconv-test.out): Likewise.
45249         ($(objpfx)tst-tables.out): Likewise.
45250         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
45251         ($(objpfx)tst-gettext.out): Likewise.
45252         ($(objpfx)tst-translit.out): Likewise.
45253         ($(objpfx)tst-gettext2.out): Likewise.
45254         ($(objpfx)tst-gettext4.out): Likewise.
45255         ($(objpfx)tst-gettext6.out): Likewise.
45256         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
45257         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
45258         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
45259         ($(objpfx)tst-fopenloc-mem.out): Likewise.
45260         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
45261         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
45262         * posix/Makefile ($(objpfx)globtest.out): Likewise.
45263         ($(objpfx)wordexp-tst.out): Likewise.
45264         ($(objpfx)annexc.out): Likewise.
45265         ($(objpfx)tst-fnmatch-mem): Likewise.
45266         ($(objpfx)bug-regex2-mem): Likewise.
45267         ($(objpfx)bug-regex14-mem): Likewise.
45268         ($(objpfx)bug-regex21-mem): Likewise.
45269         ($(objpfx)bug-regex31-mem): Likewise.
45270         ($(objpfx)tst-vfork3-mem): Likewise.
45271         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
45272         ($(objpfx)tst-pcre-mem): Likewise.
45273         ($(objpfx)tst-boost-mem): Likewise.
45274         ($(objpfx)tst-getconf.out): Likewise.
45275         ($(objpfx)bug-ga2-mem): Likewise.
45276         ($(objpfx)bug-glob2-mem): Likewise.
45277         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
45278         ($(objpfx)mtrace-tst-leaks2): Likewise.
45279         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
45280         ($(objpfx)tst-printf.out): Likewise.
45281         ($(objpfx)tst-setvbuf1.out): Likewise.
45282         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
45283         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
45284         ($(objpfx)tst-fmtmsg.out): Likewise.
45285         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
45286         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
45288         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
45289         * bits/sigaction.h [__USE_MISC]: Likewise.
45290         * bits/waitstatus.h: Update #endif comments.
45291         * ctype/ctype.h: Likewise.
45292         * dirent/dirent.h: Likewise.
45293         [__USE_MISC]: Remove redundant conditionals.
45294         * grp/grp.h: Update #endif comments.
45295         [__USE_GNU]: Remove redundant conditionals.
45296         [__USE_MISC]: Likewise.
45297         * inet/netinet/in.h [__USE_GNU]: Likewise.
45298         * io/sys/stat.h [__USE_MISC]: Likewise.
45299         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
45300         * libio/bits/stdio.h: Update #endif comments.
45301         [__USE_MISC]: Remove redundant conditionals.
45302         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
45303         * libio/stdio.h: Update #endif comments.
45304         [__USE_MISC]: Remove redundant conditionals.
45305         * math/bits/math-finite.h [__USE_MISC]: Likewise.
45306         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
45307         * math/math.h: Update #else and #endif comments.
45308         [__USE_MISC]: Remove redundant conditionals.
45309         * misc/sys/uio.h: Update #endif comments.
45310         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
45311         * posix/glob.h [__USE_MISC]: Likewise.
45312         * posix/sys/types.h: Update #endif comments.
45313         [__USE_MISC]: Remove redundant conditionals.
45314         * posix/sys/wait.h: Update #endif comments.
45315         [__USE_MISC]: Remove redundant conditionals.
45316         * posix/unistd.h: Update #endif comments.
45317         [__USE_MISC]: Remove redundant conditionals.
45318         * pwd/pwd.h [__USE_GNU]: Likewise.
45319         [__USE_MISC]: Likewise.
45320         * resolv/netdb.h [__USE_GNU]: Likewise.
45321         * signal/signal.h: Update #endif comments.
45322         [__USE_MISC]: Remove redundant conditionals.
45323         * stdlib/stdlib.h: Update #else and #endif comments.
45324         [__USE_MISC]: Remove redundant conditionals.
45325         [__USE_GNU]: Likewise.
45326         * string/bits/string2.h [__USE_MISC]: Likewise.
45327         * string/string.h: Update #endif comments.
45328         [__USE_MISC]: Remove redundant conditionals.
45329         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
45330         Likewise.
45331         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
45332         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
45333         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
45334         Likewise.
45335         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
45336         Likewise.
45337         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
45338         comments.
45339         [__USE_MISC]: Remove redundant conditionals.
45340         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
45341         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
45342         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
45343         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
45344         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
45345         Likewise.
45346         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
45347         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
45348         Likewise.
45349         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
45350         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
45351         Likewise.
45352         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
45353         Likewise.
45354         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
45355         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
45356         Likewise.
45357         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
45358         Likewise.
45359         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
45360         * sysdeps/x86/bits/string.h: Update #endif comments.
45361         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
45362         conditionals.
45363         * time/sys/time.h: Update #endif comments.
45364         * time/time.h: Likewise.
45365         [__USE_MISC]: Remove redundant conditionals.
45367 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
45369         [BZ #16600]
45370         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
45372 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
45374         * Versions.def (librt): Add GLIBC_2.17.
45376 2014-02-21  Adam Conrad  <adconrad@0c3.net>
45378         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
45379         synonym for _SYS_AUXV_H to allow direct inclusion.
45380         * sysdeps/sparc/bits/hwcap.h: Likewise.
45381         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
45382         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
45383         * sysdeps/sparc/sysdep.h: Likewise.
45385 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45387         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
45389 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45391         * benchtests/bench-strrchr.c: Print length instead of position.
45393 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
45395         [BZ #16611]
45396         * sysdeps/unix/sysv/linux/kernel-features.h
45397         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
45398         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
45399         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
45400         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
45401         Likewise.
45402         [__i386__ || __powerpc__ || __sh__ || __sparc__]
45403         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45404         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
45405         (__ASSUME_SENDMMSG): Define instead of using previous
45406         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
45407         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45408         (__ASSUME_SENDMMSG_SYSCALL): Define.
45409         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45410         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
45411         Likewise.
45412         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45413         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45414         Likewise.
45415         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45416         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45417         Likewise.
45418         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
45419         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
45420         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
45421         [__ASSUME_SENDMMSG]: Change conditionals to
45422         [__ASSUME_SENDMMSG_SOCKETCALL].
45423         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45424         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
45425         Define.
45426         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45427         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
45428         Likewise.
45429         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
45430         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
45431         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
45432         [!__ASSUME_SENDMMSG]: Change conditional to
45433         [!__ASSUME_SENDMMSG_SOCKETCALL].
45434         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45435         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45436         Define.
45438         [BZ #16610]
45439         * sysdeps/unix/sysv/linux/kernel-features.h
45440         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
45441         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
45442         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
45443         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
45444         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45445         [__i386__ || __sparc__]
45446         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45447         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
45448         (__ASSUME_RECVMMSG): Define instead of using previous
45449         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
45450         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45451         (__ASSUME_RECVMMSG_SYSCALL): Define.
45452         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45453         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45454         Likewise.
45455         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45456         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45457         Likewise.
45458         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45459         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45460         Likewise.
45461         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
45462         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
45463         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
45464         [__ASSUME_RECVMMSG]: Change condition to
45465         [__ASSUME_RECVMMSG_SOCKETCALL].
45466         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45467         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45468         Define.
45469         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45470         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45471         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45472         Likewise.
45473         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
45474         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
45475         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
45476         [!__ASSUME_RECVMMSG]: Change condition to
45477         [!__ASSUME_RECVMMSG_SOCKETCALL].
45478         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45479         (__ASSUME_RECVMMSG_SYSCALL): Define.
45481         [BZ #16609]
45482         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
45483         __powerpc__ || __s390__ || __sh__ || __sparc__]
45484         (__ASSUME_SOCKETCALL): Define.
45485         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
45486         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
45487         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
45488         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
45489         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45490         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
45491         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
45492         (__ASSUME_ACCEPT4): Define instead of using previous
45493         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
45494         __powerpc__ || __sparc__ || __s390__)] condition.
45495         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45496         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
45497         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
45498         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
45499         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
45500         [!__ASSUME_ACCEPT4]: Change condition to
45501         [!__ASSUME_ACCEPT4_SOCKETCALL].
45502         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45503         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
45504         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
45505         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45506         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
45507         __ASSUME_ACCEPT4_SYSCALL.
45508         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
45509         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
45510         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45511         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
45512         __ASSUME_ACCEPT4_SYSCALL.
45513         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
45514         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
45515         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
45516         [__ASSUME_ACCEPT4]: Change condition to
45517         [__ASSUME_ACCEPT4_SOCKETCALL].
45518         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45519         (__ASSUME_SOCKETCALL): Define.
45520         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
45521         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45522         (__ASSUME_SOCKETCALL): Define.
45523         (__ASSUME_ACCEPT4): Remove.
45524         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
45525         Define.
45526         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45527         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
45528         Likewise.
45529         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45530         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
45532         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
45533         macro.
45534         (HWCAP_ARM_LPAE): Likewise.
45535         (HWCAP_ARM_EVTSTRM): Likewise.
45536         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
45537         Add vpfd32, lpae and evtstrm.
45538         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
45539         Increase to 22.
45541 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
45543         * math/auto-libm-test-in: Add tests of clog10.
45544         * math/auto-libm-test-out: Regenerated.
45545         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
45546         * sysdeps/i386/fpu/libm-test-ulps: Update.
45547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45549 2014-02-18  Andreas Schwab  <schwab@suse.de>
45551         [BZ #16574]
45552         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
45553         Store non-zero if the second buffer was newly allocated.
45554         (send_dg): Likewise.
45555         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
45556         to send_vc and send_dg.
45557         (res_nsend): Pass NULL for ansp2_malloced.
45558         * resolv/res_query.c (__libc_res_nquery): Add parameter
45559         answerp2_malloced and pass it down to __libc_res_nsend.
45560         (res_nquery): Pass additional NULL to __libc_res_nquery.
45561         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
45562         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
45563         second answer buffer if answerp2_malloced was set.
45564         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
45565         (__libc_res_nquerydomain): Add parameter
45566         answerp2_malloced and pass it down to __libc_res_nquery.
45567         (res_nquerydomain): Pass additional NULL to
45568         __libc_res_nquerydomain.
45569         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
45570         additional NULL to __libc_res_nsend and __libc_res_nquery.
45571         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
45572         additional NULL to __libc_res_nsearch.
45573         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
45574         parameter of __libc_res_nsearch to check for separately allocated
45575         second buffer.
45576         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
45577         __libc_res_nquery.
45578         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
45579         additional NULL to __libc_res_nquery.
45580         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
45581         __libc_res_nsearch.
45582         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
45583         * include/resolv.h: Update prototypes of __libc_res_nquery,
45584         __libc_res_nsearch, __libc_res_nsend.
45586 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
45588         * math/auto-libm-test-in: Add tests of fma.
45589         * math/auto-libm-test-out: Regenerated.
45590         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
45591         (fma_towardzero_test_data): Likewise.
45592         (fma_downward_test_data): Likewise.
45593         (fma_upward_test_data): Likewise.
45594         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
45595         mpc_mode.
45596         (rounding_modes): Add values for new field.
45597         (func_calc_method): Add value mpfr_fff_f.
45598         (func_calc_desc): Add mpfr_fff_f union field.
45599         (test_function): Add field exact_args.
45600         (FUNC): Add macro argument EXACT_ARGS.
45601         (FUNC_mpfr_f_f): Update call to FUNC.
45602         (FUNC_mpfr_f_f): Likewise.
45603         (FUNC_mpfr_ff_f): Likewise.
45604         (FUNC_mpfr_if_f): Likewise.
45605         (FUNC_mpc_c_f): Likewise.
45606         (FUNC_mpc_c_c): Likewise.
45607         (test_functions): Add fma.  Update calls to FUNC.
45608         (handle_input_arg): Add argument exact_args.
45609         (add_test): Update call to handle_input_arg.
45610         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
45611         (output_for_one_input_case): Update call to calc_generic_results.
45612         Recalculate exact zero results in each rounding mode.
45614         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
45615         non-negative before setting low bit.
45616         * math/auto-libm-test-in: Mark one asin test possibly having
45617         spurious underflow.
45618         * math/auto-libm-test-out: Regenerated.
45619         * sysdeps/i386/fpu/libm-test-ulps: Update.
45620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45622 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
45624         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
45625         * sysdeps/unix/sysv/linux/microblaze: Move directory from
45626         ports/sysdeps/unix/sysv/linux/microblaze.
45627         * README: Add missing listing for microblaze*-*-linux-gnu.
45629 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
45631         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
45632         duplicate code
45634 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
45636         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
45637         * sysdeps/unix/sysv/linux/ia64: Move directory from
45638         ports/sysdeps/unix/sysv/linux/ia64.
45639         * README: Update listing for ia64-*-linux-gnu.
45641 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
45642             Joseph Myers  <joseph@codesourcery.com>
45644         * Makeconfig (test-name): New variable.
45645         (evaluate-test): Likewise.
45646         * Makerules (do-test-clean): Remove .test-result files.
45647         (common-mostlyclean): Likewise.
45648         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
45649         * scripts/evaluate-test.sh: New file.
45651 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
45653         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
45654         separate $(objpfx)tst-fopenloc-cmp.out and
45655         $(objpfx)tst-fopenloc-mem.out targets.
45656         (tests): Update dependencies.
45657         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
45658         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
45659         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
45660         (tst-rxspencer-no-utf8-ARGS): New variable.
45661         (tst-rxspencer-no-utf8-ENV): Likewise.
45662         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
45663         instead of $(objpfx)tst-rxspencer-mem.
45664         ($(objpfx)tst-rxspencer-mem): Change target to
45665         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
45666         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
45667         * posix/tst-rxspencer-no-utf8.c: New file.
45669         * elf/Makefile ($(objpfx)order.out): Remove rule.
45670         [$(run-built-tests) = yes] (tests): Depend on
45671         $(objpfx)order-cmp.out.
45672         ($(objpfx)order-cmp.out): New rule.
45673         [$(run-built-tests) = yes] (tests): Depend on
45674         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
45675         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
45676         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
45677         $(objpfx)tst-array5-static-cmp.out.
45678         ($(objpfx)tst-array1.out): Remove rule.
45679         ($(objpfx)tst-array1-cmp.out): New rule.
45680         ($(objpfx)tst-array1-static.out): Remove rule.
45681         ($(objpfx)tst-array1-static-cmp.out): New rule.
45682         ($(objpfx)tst-array2.out): Remove rule.
45683         ($(objpfx)tst-array2-cmp.out): New rule.
45684         ($(objpfx)tst-array3.out): Remove rule.
45685         ($(objpfx)tst-array3-cmp.out): New rule.
45686         ($(objpfx)tst-array4.out): Remove rule.
45687         ($(objpfx)tst-array4-cmp.out): New rule.
45688         ($(objpfx)tst-array5.out): Remove rule.
45689         ($(objpfx)tst-array5-cmp.out): New rule.
45690         ($(objpfx)tst-array5-static.out): Remove rule.
45691         ($(objpfx)tst-array5-static-cmp.out): New rule.
45692         [$(run-built-tests) = yes] (tests): Depend on
45693         $(objpfx)order2-cmp.out.
45694         ($(objpfx)order2.out): Remove rule.
45695         ($(objpfx)order2-cmp.out): New rule.
45696         ($(objpfx)tst-initorder.out): Remove rule.
45697         [$(run-built-tests) = yes] (tests): Depend on
45698         $(objpfx)tst-initorder-cmp.out.
45699         ($(objpfx)tst-initorder-cmp.out): New rule.
45700         ($(objpfx)tst-initorder2.out): Remove rule.
45701         [$(run-built-tests) = yes] (tests): Depend on
45702         $(objpfx)tst-initorder2-cmp.out.
45703         ($(objpfx)tst-initorder2-cmp.out): New rule.
45704         [$(run-built-tests) = yes] (tests): Depend on
45705         $(objpfx)tst-unused-dep-cmp.out.
45706         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
45707         ($(objpfx)tst-unused-dep-cmp.out): New rule.
45708         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
45709         on $(objpfx)tst-setvbuf1-cmp.out.
45710         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
45711         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
45712         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
45713         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
45714         ($(objpfx)tst-svc.out): Remove rule.
45715         ($(objpfx)tst-svc-cmp.out): New rule.
45717 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
45719         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
45720         * ctype/ctype.h [__USE_MISC]: Likewise.
45721         * dirent/dirent.h [__USE_MISC]: Likewise.
45722         * grp/grp.h [__USE_MISC]: Likewise.
45723         * io/fcntl.h [__USE_MISC]: Likewise.
45724         * io/sys/stat.h [__USE_MISC]: Likewise.
45725         * libio/stdio.h [__USE_MISC]: Likewise.
45726         * posix/unistd.h [__USE_MISC]: Likewise.
45727         * pwd/pwd.h [__USE_MISC]: Likewise.
45728         * stdlib.h [__USE_MISC]: Likewise.
45729         * string/bits/string2.h [__USE_MISC]: Likewise.
45730         * string/string.h [__USE_MISC]: Likewise.
45731         * time/time.h [__USE_MISC]: Likewise.
45733 2014-02-13  Andreas Schwab  <schwab@suse.de>
45735         [BZ #16574]
45736         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
45737         second answer buffer if it was separately allocated.
45739 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
45741         * sysdeps/mips/math-tests.h: Include <features.h>.
45742         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
45743         (ROUNDING_TESTS_long_double): Do not define.
45744         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
45745         (EXCEPTION_TESTS_long_double): Likewise.
45746         * sysdeps/mips/mips64/libm-test-ulps: Update.
45748         * include/features.h (__USE_BSD): Remove macro definitions.
45749         (__USE_SVID): Likewise.
45750         (_BSD_SOURCE): Likewise.
45751         (_SVID_SOURCE): Likewise.
45752         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
45753         from definition of _DEFAULT_SOURCE.
45754         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
45755         [_DEFAULT_SOURCE].
45756         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
45757         * bits/mman.h [__USE_BSD]: Likewise.
45758         * bits/termios.h [__USE_BSD]: Likewise.
45759         * bits/waitstatus.h [__USE_BSD]: Likewise.
45760         * ctype/ctype.h [__USE_SVID]: Likewise.
45761         * dirent/dirent.h [__USE_BSD]: Likewise.
45762         * grp/grp.h [__USE_SVID]: Likewise.
45763         [__USE_BSD]: Likewise.
45764         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
45765         * io/fcntl.h [__USE_BSD]: Likewise.
45766         * io/ftw.h [__USE_BSD]: Likewise.
45767         * io/sys/stat.h [__USE_BSD]: Likewise.
45768         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
45769         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
45770         * libio/stdio.h [__USE_SVID]: Likewise.
45771         [__USE_BSD]: Likewise.
45772         * math/math.h [__USE_SVID]: Likewise.
45773         [__USE_BSD]: Likewise.
45774         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
45775         * misc/bits/syslog.h [__USE_BSD]: Likewise.
45776         * misc/search.h [__USE_SVID]: Likewise.
45777         * misc/sys/mman.h [__USE_BSD]: Likewise.
45778         * misc/sys/syslog.h [__USE_BSD]: Likewise.
45779         * misc/sys/uio.h [__USE_BSD]: Likewise.
45780         * posix/bits/unistd.h [__USE_BSD]: Likewise.
45781         * posix/glob.h [__USE_BSD]: Likewise.
45782         * posix/regex.h [__USE_BSD]: Likewise.
45783         * posix/sys/types.h [__USE_BSD]: Likewise.
45784         [__USE_SVID]: Likewise.
45785         * posix/sys/utsname.h [__USE_SVID]: Likewise.
45786         * posix/sys/wait.h [__USE_BSD]: Likewise.
45787         [__USE_SVID]: Likewise.
45788         * posix/unistd.h [__USE_BSD]: Likewise.
45789         [__USE_SVID]: Likewise.
45790         * pwd/pwd.h [__USE_SVID]: Likewise.
45791         * resolv/netdb.h [__USE_BSD]: Likewise.
45792         * setjmp/setjmp.h [__USE_BSD]: Likewise.
45793         * signal/signal.h [__USE_BSD]: Likewise.
45794         [__USE_SVID]: Likewise.
45795         * socket/sys/socket.h [__USE_BSD]: Likewise.
45796         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
45797         * stdlib/stdlib.h [__USE_BSD]: Likewise.
45798         [__USE_SVID]: Likewise.
45799         * string/bits/string2.h [__USE_BSD]: Likewise.
45800         [__USE_SVID]: Likewise.
45801         * string/bits/string3.h [__USE_BSD]: Likewise.
45802         * string/endian.h [__USE_BSD]: Likewise.
45803         * string/string.h [__USE_SVID]: Likewise.
45804         [__USE_BSD]: Likewise.
45805         * string/strings.h [__USE_BSD]: Likewise.
45806         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
45807         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
45808         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
45809         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
45810         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
45811         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
45812         Likewise.
45813         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
45814         Likewise.
45815         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
45816         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
45817         Likewise.
45818         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
45819         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
45820         Likewise.
45821         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
45822         Likewise.
45823         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
45824         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
45825         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
45826         Likewise.
45827         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
45828         Likewise.
45829         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
45830         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
45831         * termios/termios.h [__USE_BSD]: Likewise.
45832         * time/sys/time.h [__USE_BSD]: Likewise.
45833         * time/time.h [__USE_BSD]: Likewise.
45834         [__USE_SVID]: Likewise.
45836         * Makefile (subdir_targets): Remove subdir_lint.out.
45838         * stdio-common/Makefile (do-tst-unbputc): Remove target.
45839         (do-tst-printf): Likewise.
45840         (tests): Depend directly on $(objpfx)tst-unbputc.out and
45841         $(objpfx)tst-printf.out.
45843         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
45845         * Makerules (check-abi-%): Change target to
45846         $(objpfx)check-abi-%.out.
45847         (check-abi target): Update dependencies.
45848         (check-abi-pattern variable): Redirect output of diff to $@.
45849         (check-abi variable): Likewise.
45850         * elf/Makefile (check-abi): Update dependencies.
45852         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
45853         unused.
45854         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
45855         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
45856         subnormal range.
45857         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
45858         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
45859         value has largest subnormal exponent.
45860         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
45861         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
45862         * sysdeps/aarch64/soft-fp/sfp-machine.h
45863         (_FP_TININESS_AFTER_ROUNDING): New macro.
45864         * sysdeps/alpha/soft-fp/sfp-machine.h
45865         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45866         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45867         Likewise.
45868         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
45869         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45870         * sysdeps/mips/soft-fp/sfp-machine.h
45871         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45872         * sysdeps/powerpc/soft-fp/sfp-machine.h
45873         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45874         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45875         Likewise.
45876         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45877         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45878         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45879         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45880         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45881         Likewise.
45883 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
45885         [BZ #16545]
45886         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
45887         model 1.
45889 2014-02-12  Richard Henderson  <rth@redhat.com>
45891         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
45892         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
45893         * sysdeps/unix/sysv/linux/alpha: Move directory from
45894         ports/sysdeps/unix/sysv/linux/alpha.
45895         * README: Update listing for alpha-*-linux-gnu.
45897 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
45899         * include/features.h: Update comment documenting feature test
45900         macros.
45901         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
45902         _DEFAULT_SOURCE.
45903         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
45904         (_SVID_SOURCE): Likewise.
45905         (_DEFAULT_SOURCE): Update description of default features.
45906         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
45907         with _GNU_SOURCE.
45908         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
45909         (S_ISVTX): Likewise.
45910         * manual/math.texi (Mathematical Constants): Likewise.
45911         * manual/signal.texi (Interrupted Primitives): Likewise.
45912         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
45913         * math/test-matherr.c (_SVID_SOURCE): Do not define.
45914         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
45915         Don't refer to _SVID_SOURCE in warning text.
45917         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45919         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
45920         already defined.
45921         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
45922         * sysdeps/mips/dl-lookup.c: Remove.
45923         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
45925 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
45927         [BZ #16447]
45928         * math/auto-libm-test-in: Add testcase for expl.
45929         * math/auto-libm-test-out: Regenerate.
45930         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
45931         calculation of unsafe.
45932         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
45934 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
45936         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
45937         * sysdeps/unix/sysv/linux/aarch64: Move directory from
45938         ports/sysdeps/unix/sysv/linux/aarch64.
45939         * README: Update listing for aarch64*-*-linux-gnu.
45941 2014-02-11  Will Newton  <will.newton@linaro.org>
45943         * manual/probes.texi (Mathematical Function Probes): Use
45944         "triggered" instead of "hit".
45946         * manual/probes.texi (Internal Probes): Add documentation
45947         of setjmp, longjmp and longjmp_target probes.
45949         * include/stap-probe.h: Add comment about probe argument
45950         format.
45952         * malloc/mtrace.c (attribute_hidden): Remove unused macro
45953         definition.  (tr_where, tr_freehook, tr_mallochook,
45954         tr_reallochook, tr_memalignhook): Use ANSI protoype.
45956 2014-02-11  David S. Miller  <davem@davemloft.net>
45958         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
45959         processing int_tests.
45961 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
45963         * sysdeps/mips: Move directory from ports/sysdeps/mips.
45964         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
45965         * sysdeps/unix/sysv/linux/mips: Move directory from
45966         ports/sysdeps/unix/sysv/linux/mips.
45967         * README: Update listing for mips-*-linux-gnu and
45968         mips64-*-linux-gnu.
45970 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
45972         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
45973         * sysdeps/unix/sysv/linux/m68k: Move directory from
45974         ports/sysdeps/unix/sysv/linux/m68k.
45975         * README: Update listing for m68k-*-linux-gnu.
45977 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
45979         * sysdeps/tile: Move directory from ports/sysdeps/tile.
45980         * sysdeps/unix/sysv/linux/generic: Move directory from
45981         ports/sysdeps/unix/sysv/linux/generic.
45982         * sysdeps/unix/sysv/linux/tile: Move directory from
45983         ports/sysdeps/unix/sysv/linux/tile.
45984         * README: Update listing for tile*-*-linux-gnu.
45986 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
45988         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
45989         __builtin_expect.
45990         * benchtests/bench-memmem.c (simple_memmem): Likewise.
45991         * catgets/open_catalog.c (__open_catalog): Likewise.
45992         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
45993         * debug/confstr_chk.c: Likewise.
45994         * debug/fread_chk.c (__fread_chk): Likewise.
45995         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
45996         * debug/getgroups_chk.c: Likewise.
45997         * debug/mbsnrtowcs_chk.c: Likewise.
45998         * debug/mbsrtowcs_chk.c: Likewise.
45999         * debug/mbstowcs_chk.c: Likewise.
46000         * debug/memcpy_chk.c: Likewise.
46001         * debug/memmove_chk.c: Likewise.
46002         * debug/mempcpy_chk.c: Likewise.
46003         * debug/memset_chk.c: Likewise.
46004         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46005         * debug/strcat_chk.c (__strcat_chk): Likewise.
46006         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
46007         * debug/strncat_chk.c (__strncat_chk): Likewise.
46008         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
46009         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
46010         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
46011         * debug/wcpncpy_chk.c: Likewise.
46012         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46013         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
46014         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
46015         * debug/wcsncpy_chk.c: Likewise.
46016         * debug/wcsnrtombs_chk.c: Likewise.
46017         * debug/wcsrtombs_chk.c: Likewise.
46018         * debug/wcstombs_chk.c: Likewise.
46019         * debug/wmemcpy_chk.c: Likewise.
46020         * debug/wmemmove_chk.c: Likewise.
46021         * debug/wmempcpy_chk.c: Likewise.
46022         * debug/wmemset_chk.c: Likewise.
46023         * dirent/scandirat.c (SCANDIRAT): Likewise.
46024         * dlfcn/dladdr1.c (dladdr1): Likewise.
46025         * dlfcn/dladdr.c (dladdr): Likewise.
46026         * dlfcn/dlclose.c (dlclose_doit): Likewise.
46027         * dlfcn/dlerror.c (__dlerror): Likewise.
46028         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
46029         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
46030         * dlfcn/dlopen.c (dlopen_doit): Likewise.
46031         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
46032         * dlfcn/dlsym.c (dlsym_doit): Likewise.
46033         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
46034         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
46035         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
46036         Likewise.
46037         * elf/dl-conflict.c: Likewise.
46038         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
46039         * elf/dl-dst.h: Likewise.
46040         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
46041         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
46042         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
46043         * elf/dl-init.c (call_init, _dl_init): Likewise.
46044         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
46045         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
46046         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
46047         Likewise.
46048         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
46049         Likewise.
46050         * elf/dl-minimal.c (__libc_memalign): Likewise.
46051         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
46052         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46053         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
46054         * elf/dl-sym.c (do_sym): Likewise.
46055         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
46056         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
46057         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
46058         * elf/dl-writev.h (_dl_writev): Likewise.
46059         * elf/ldconfig.c (search_dir): Likewise.
46060         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
46061         (dl_main): Likewise.
46062         * elf/setup-vdso.h (setup_vdso): Likewise.
46063         * grp/compat-initgroups.c (compat_call): Likewise.
46064         * grp/fgetgrent.c (fgetgrent): Likewise.
46065         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
46066         * grp/putgrent.c (putgrent): Likewise.
46067         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
46068         Likewise.
46069         * hurd/hurdinit.c: Likewise.
46070         * iconvdata/8bit-gap.c (struct): Likewise.
46071         * iconvdata/ansi_x3.110.c : Likewise.
46072         * iconvdata/big5.c : Likewise.
46073         * iconvdata/big5hkscs.c : Likewise.
46074         * iconvdata/cp1255.c: Likewise.
46075         * iconvdata/cp1258.c : Likewise.
46076         * iconvdata/cp932.c : Likewise.
46077         * iconvdata/euc-cn.c: Likewise.
46078         * iconvdata/euc-jisx0213.c : Likewise.
46079         * iconvdata/euc-jp.c: Likewise.
46080         * iconvdata/euc-jp-ms.c : Likewise.
46081         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
46082         * iconvdata/gb18030.c : Likewise.
46083         * iconvdata/gbbig5.c (const): Likewise.
46084         * iconvdata/gbgbk.c: Likewise.
46085         * iconvdata/gbk.c : Likewise.
46086         * iconvdata/ibm1364.c : Likewise.
46087         * iconvdata/ibm930.c : Likewise.
46088         * iconvdata/ibm932.c: Likewise.
46089         * iconvdata/ibm933.c : Likewise.
46090         * iconvdata/ibm935.c : Likewise.
46091         * iconvdata/ibm937.c : Likewise.
46092         * iconvdata/ibm939.c : Likewise.
46093         * iconvdata/ibm943.c: Likewise.
46094         * iconvdata/iso_11548-1.c: Likewise.
46095         * iconvdata/iso-2022-cn.c : Likewise.
46096         * iconvdata/iso-2022-cn-ext.c : Likewise.
46097         * iconvdata/iso-2022-jp-3.c: Likewise.
46098         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
46099         * iconvdata/iso-2022-kr.c : Likewise.
46100         * iconvdata/iso646.c (gconv_end): Likewise.
46101         * iconvdata/iso_6937-2.c : Likewise.
46102         * iconvdata/iso_6937.c : Likewise.
46103         * iconvdata/iso8859-1.c: Likewise.
46104         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
46105         * iconvdata/shift_jisx0213.c : Likewise.
46106         * iconvdata/sjis.c : Likewise.
46107         * iconvdata/t.61.c : Likewise.
46108         * iconvdata/tcvn5712-1.c : Likewise.
46109         * iconvdata/tscii.c: Likewise.
46110         * iconvdata/uhc.c : Likewise.
46111         * iconvdata/unicode.c (gconv_end): Likewise.
46112         * iconvdata/utf-16.c (gconv_end): Likewise.
46113         * iconvdata/utf-32.c (gconv_end): Likewise.
46114         * iconvdata/utf-7.c (base64): Likewise.
46115         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
46116         * iconv/gconv_close.c (__gconv_close): Likewise.
46117         * iconv/gconv_open.c (__gconv_open): Likewise.
46118         * iconv/gconv_simple.c (internal_ucs4_loop_single)
46119         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
46120         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
46121         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
46122         (ucs4le_internal_loop_single): Likewise.
46123         * iconv/iconv.c (iconv): Likewise.
46124         * iconv/iconv_close.c: Likewise.
46125         * iconv/loop.c (SINGLE): Likewise.
46126         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
46127         * include/atomic.h: Likewise.
46128         * inet/inet6_option.c (option_alloc): Likewise.
46129         * intl/bindtextdom.c (set_binding_values): Likewise.
46130         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
46131         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
46132         * intl/localealias.c (read_alias_file): Likewise.
46133         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
46134         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
46135         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
46136         * libio/fmemopen.c (fmemopen): Likewise.
46137         * libio/iofgets.c (_IO_fgets): Likewise.
46138         * libio/iofgets_u.c (fgets_unlocked): Likewise.
46139         * libio/iofgetws.c (fgetws): Likewise.
46140         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
46141         * libio/iogetdelim.c (_IO_getdelim): Likewise.
46142         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
46143         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
46144         * locale/findlocale.c (_nl_find_locale): Likewise.
46145         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
46146         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
46147         Likewise.
46148         * locale/setlocale.c (setlocale): Likewise.
46149         * login/programs/pt_chown.c (main): Likewise.
46150         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
46151         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
46152         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
46153         (mmap, mmap64, mremap, munmap): Likewise.
46154         * math/e_exp2l.c: Likewise.
46155         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
46156         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
46157         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
46158         * math/s_catan.c (__catan): Likewise.
46159         * math/s_catanf.c (__catanf): Likewise.
46160         * math/s_catanh.c (__catanh): Likewise.
46161         * math/s_catanhf.c (__catanhf): Likewise.
46162         * math/s_catanhl.c (__catanhl): Likewise.
46163         * math/s_catanl.c (__catanl): Likewise.
46164         * math/s_ccosh.c (__ccosh): Likewise.
46165         * math/s_ccoshf.c (__ccoshf): Likewise.
46166         * math/s_ccoshl.c (__ccoshl): Likewise.
46167         * math/s_cexp.c (__cexp): Likewise.
46168         * math/s_cexpf.c (__cexpf): Likewise.
46169         * math/s_cexpl.c (__cexpl): Likewise.
46170         * math/s_clog10.c (__clog10): Likewise.
46171         * math/s_clog10f.c (__clog10f): Likewise.
46172         * math/s_clog10l.c (__clog10l): Likewise.
46173         * math/s_clog.c (__clog): Likewise.
46174         * math/s_clogf.c (__clogf): Likewise.
46175         * math/s_clogl.c (__clogl): Likewise.
46176         * math/s_csin.c (__csin): Likewise.
46177         * math/s_csinf.c (__csinf): Likewise.
46178         * math/s_csinh.c (__csinh): Likewise.
46179         * math/s_csinhf.c (__csinhf): Likewise.
46180         * math/s_csinhl.c (__csinhl): Likewise.
46181         * math/s_csinl.c (__csinl): Likewise.
46182         * math/s_csqrt.c (__csqrt): Likewise.
46183         * math/s_csqrtf.c (__csqrtf): Likewise.
46184         * math/s_csqrtl.c (__csqrtl): Likewise.
46185         * math/s_ctan.c (__ctan): Likewise.
46186         * math/s_ctanf.c (__ctanf): Likewise.
46187         * math/s_ctanh.c (__ctanh): Likewise.
46188         * math/s_ctanhf.c (__ctanhf): Likewise.
46189         * math/s_ctanhl.c (__ctanhl): Likewise.
46190         * math/s_ctanl.c (__ctanl): Likewise.
46191         * math/w_pow.c: Likewise.
46192         * math/w_powf.c: Likewise.
46193         * math/w_powl.c: Likewise.
46194         * math/w_scalb.c (sysv_scalb): Likewise.
46195         * math/w_scalbf.c (sysv_scalbf): Likewise.
46196         * math/w_scalbl.c (sysv_scalbl): Likewise.
46197         * misc/error.c (error_tail): Likewise.
46198         * misc/pselect.c (__pselect): Likewise.
46199         * nis/nis_callback.c (__nis_create_callback): Likewise.
46200         * nis/nis_call.c (__nisfind_server): Likewise.
46201         * nis/nis_creategroup.c (nis_creategroup): Likewise.
46202         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
46203         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
46204         * nis/nis_getservlist.c (nis_getservlist): Likewise.
46205         * nis/nis_lookup.c (nis_lookup): Likewise.
46206         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
46207         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
46208         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
46209         * nis/nis_xdr.c (xdr_endpoint): Likewise.
46210         * nis/nss_compat/compat-grp.c (getgrent_next_file)
46211         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
46212         * nis/nss_compat/compat-initgroups.c (add_group)
46213         (internal_getgrent_r): Likewise.
46214         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
46215         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
46216         * nis/nss_compat/compat-spwd.c (getspent_next_file)
46217         (internal_getspnam_r): Likewise.
46218         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
46219         (_nss_nis_getaliasbyname_r): Likewise.
46220         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
46221         (_nss_nis_getntohost_r): Likewise.
46222         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
46223         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
46224         (_nss_nis_getgrgid_r): Likewise.
46225         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
46226         (internal_nis_gethostent_r, internal_gethostbyname2_r)
46227         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
46228         (_nss_nis_gethostbyname4_r): Likewise.
46229         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
46230         (initgroups_netid): Likewise.
46231         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
46232         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
46233         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
46234         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
46235         (_nss_nis_getprotobynumber_r): Likewise.
46236         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
46237         (_nss_nis_getsecretkey): Likewise.
46238         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
46239         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
46240         (_nss_nis_getpwuid_r): Likewise.
46241         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
46242         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
46243         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
46244         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
46245         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
46246         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
46247         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
46248         Likewise.
46249         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
46250         (_nss_nisplus_getntohost_r): Likewise.
46251         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
46252         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
46253         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
46254         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
46255         Likewise.
46256         * nis/nss_nisplus/nisplus-initgroups.c
46257         (_nss_nisplus_initgroups_dyn): Likewise.
46258         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
46259         (_nss_nisplus_getnetbyaddr_r): Likewise.
46260         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
46261         (_nss_nisplus_getprotobynumber_r): Likewise.
46262         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
46263         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
46264         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
46265         Likewise.
46266         * nis/nss_nisplus/nisplus-service.c
46267         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
46268         (_nss_nisplus_getservbyport_r): Likewise.
46269         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
46270         (_nss_nisplus_getspnam_r): Likewise.
46271         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
46272         Likewise.
46273         * nscd/aicache.c (addhstaiX): Likewise.
46274         * nscd/cache.c (cache_search, prune_cache): Likewise.
46275         * nscd/connections.c (register_traced_file, send_ro_fd)
46276         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
46277         (main_loop_epoll): Likewise.
46278         * nscd/grpcache.c (addgrbyX): Likewise.
46279         * nscd/hstcache.c (addhstbyX): Likewise.
46280         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46281         * nscd/mem.c (gc, mempool_alloc): Likewise.
46282         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
46283         (addinnetgrX): Likewise.
46284         * nscd/nscd-client.h (__nscd_acquire_maplock)
46285         (__nscd_drop_map_ref): Likewise.
46286         * nscd/nscd_getai.c (__nscd_getai): Likewise.
46287         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
46288         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
46289         Likewise.
46290         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
46291         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46292         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
46293         (__nscd_get_map_ref): Likewise.
46294         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
46295         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
46296         Likewise.
46297         * nscd/pwdcache.c (addpwbyX): Likewise.
46298         * nscd/selinux.c (preserve_capabilities): Likewise.
46299         * nscd/servicescache.c (addservbyX): Likewise.
46300         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
46301         * posix/fnmatch.c (fnmatch): Likewise.
46302         * posix/getopt.c (_getopt_internal_r): Likewise.
46303         * posix/glob.c (glob, glob_in_dir): Likewise.
46304         * posix/wordexp.c (exec_comm_child): Likewise.
46305         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
46306         (getanswer_r, gaih_getanswer_slice): Likewise.
46307         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
46308         * resolv/res_init.c: Likewise.
46309         * resolv/res_mkquery.c (res_nmkquery): Likewise.
46310         * resolv/res_query.c (__libc_res_nquery): Likewise.
46311         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
46312         Likewise.
46313         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
46314         * stdio-common/perror.c (perror): Likewise.
46315         * stdio-common/printf_fp.c (___printf_fp): Likewise.
46316         * stdio-common/tmpnam.c (tmpnam): Likewise.
46317         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46318         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
46319         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
46320         Likewise.
46321         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
46322         * stdlib/putenv.c (putenv): Likewise.
46323         * stdlib/setenv.c (__add_to_environ): Likewise.
46324         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46325         * stdlib/strtol_l.c (INTERNAL): Likewise.
46326         * string/memmem.c (memmem): Likewise.
46327         * string/strerror.c (strerror): Likewise.
46328         * string/strnlen.c (__strnlen): Likewise.
46329         * string/test-memmem.c (simple_memmem): Likewise.
46330         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
46331         * sunrpc/pm_getport.c (__get_socket): Likewise.
46332         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
46333         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
46334         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
46335         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
46336         Likewise.
46337         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
46338         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
46339         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
46340         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
46341         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
46342         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
46343         Likewise.
46344         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
46345         Likewise.
46346         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
46347         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
46348         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46349         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
46350         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
46351         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
46352         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
46353         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
46354         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
46355         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
46356         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46357         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
46358         Likewise.
46359         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
46360         Likewise.
46361         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
46362         Likewise.
46363         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
46364         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46365         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
46366         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
46367         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
46368         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
46369         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46370         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
46371         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
46372         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
46373         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
46374         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46375         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
46376         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
46377         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46378         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
46379         Likewise.
46380         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
46381         Likewise.
46382         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
46383         Likewise.
46384         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
46385         Likewise.
46386         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46387         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46388         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
46389         Likewise.
46390         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
46391         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
46392         * sysdeps/posix/opendir.c (__opendirat): Likewise.
46393         * sysdeps/posix/sleep.c: Likewise.
46394         * sysdeps/posix/tempname.c: Likewise.
46395         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
46396         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46397         Likewise.
46398         * sysdeps/powerpc/powerpc32/dl-machine.h
46399         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
46400         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
46401         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46402         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
46403         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
46404         Likewise.
46405         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
46406         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
46407         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
46408         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
46409         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
46410         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
46411         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
46412         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
46413         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46414         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
46415         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
46416         (elf_machine_lazy_rel): Likewise.
46417         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46418         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
46419         (elf_machine_lazy_rel): Likewise.
46420         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
46421         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
46422         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
46423         * sysdeps/unix/grantpt.c (grantpt): Likewise.
46424         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
46425         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
46426         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
46427         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46428         Likewise.
46429         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
46430         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
46431         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
46432         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
46433         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
46434         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
46435         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
46436         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
46437         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
46438         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
46439         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
46440         Likewise.
46441         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
46442         (__posix_fallocate64_l64): Likewise.
46443         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
46444         (posix_fallocate): Likewise.
46445         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
46446         Likewise.
46447         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46448         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
46449         (getifaddrs_internal): Likewise.
46450         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
46451         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
46452         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
46453         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
46454         * sysdeps/unix/sysv/linux/posix_fallocate64.c
46455         (__posix_fallocate64_l64): Likewise.
46456         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
46457         Likewise.
46458         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
46459         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
46460         (__get_clockfreq): Likewise.
46461         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
46462         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
46463         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
46464         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46465         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46466         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
46467         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
46468         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
46469         Likewise.
46470         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
46471         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
46472         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
46473         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
46474         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46475         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
46476         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
46477         Likewise.
46478         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46479         (posix_fallocate): Likewise.
46480         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46481         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
46482         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
46483         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
46484         (elf_machine_rela, elf_machine_rela_relative)
46485         (elf_machine_lazy_rel): Likewise.
46486         * time/asctime.c (asctime_internal): Likewise.
46487         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
46488         * time/tzset.c (__tzset_parse_tz): Likewise.
46489         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46490         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46491         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
46492         * wcsmbs/wcsmbsload.h: Likewise.
46494         [BZ #15894]
46495         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
46497         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
46498         (arena_get2): Remove THREAD_STATS conditionals.
46499         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
46500         (__malloc_stats, int): Likewise.
46502 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
46504         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
46505         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
46507         * manual/setjmp.texi: Fix typos/grammar errors.
46509         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
46510         Only return early when n is <= 0.  Delete unused return statement.
46512         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
46513         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
46514         * debug/tst-longjmp_chk3.c: New file.
46516         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
46517         (test_main): Replace code with set_fortify_handler call.
46518         * debug/test-strcpy_chk.c: Likewise.
46519         * debug/tst-chk1.c: Likewise.
46520         * debug/tst-longjmp_chk.c: Likewise.
46521         * test-skeleton.c: Include fcntl.h & paths.h
46522         (set_fortify_handler): Define.
46524         * debug/tst-longjmp_chk.c: Add header comment and include
46525         ../test-skeleton.c.
46526         (do_test): Mark static.
46527         (TEST_FUNCTION): Define.
46529         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
46530         (IP_PMTUDISC_INTERFACE): Likewise.
46531         (IP_MULTICAST_IF): Likewise.
46532         (IP_MULTICAST_TTL): Likewise.
46533         (IP_MULTICAST_LOOP): Likewise.
46534         (IP_ADD_MEMBERSHIP): Likewise.
46535         (IP_DROP_MEMBERSHIP): Likewise.
46536         (IP_UNBLOCK_SOURCE): Likewise.
46537         (IP_BLOCK_SOURCE): Likewise.
46538         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
46539         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
46540         (IP_MSFILTER): Likewise.
46541         (MCAST_JOIN_GROUP): Likewise.
46542         (MCAST_BLOCK_SOURCE): Likewise.
46543         (MCAST_UNBLOCK_SOURCE): Likewise.
46544         (MCAST_LEAVE_GROUP): Likewise.
46545         (MCAST_JOIN_SOURCE_GROUP): Likewise.
46546         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
46547         (MCAST_MSFILTER): Likewise.
46548         (IP_MULTICAST_ALL): Likewise.
46549         (IP_UNICAST_IF): Likewise.
46551         * timezone/Makefile: Delete $(have-ksh) check.
46552         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
46553         * timezone/tzselect.ksh: Add +x mode bits.
46555         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
46556         (ANON_INODE_FS_MAGIC): Likewise.
46557         (BDEVFS_MAGIC): Likewise.
46558         (BINFMTFS_MAGIC): Likewise.
46559         (BTRFS_TEST_MAGIC): Likewise.
46560         (CRAMFS_MAGIC_WEND): Likewise.
46561         (DEBUGFS_MAGIC): Likewise.
46562         (ECRYPTFS_SUPER_MAGIC): Likewise.
46563         (EXT3_SUPER_MAGIC): Likewise.
46564         (EXT4_SUPER_MAGIC): Likewise.
46565         (FUTEXFS_SUPER_MAGIC): Likewise.
46566         (HOSTFS_SUPER_MAGIC): Likewise.
46567         (HUGETLBFS_MAGIC): Likewise.
46568         (MINIX3_SUPER_MAGIC): Likewise.
46569         (MTD_INODE_FS_MAGIC): Likewise.
46570         (NILFS_SUPER_MAGIC): Likewise.
46571         (OPENPROM_SUPER_MAGIC): Likewise.
46572         (PIPEFS_MAGIC): Likewise.
46573         (PSTOREFS_MAGIC): Likewise.
46574         (QNX6_SUPER_MAGIC): Likewise.
46575         (RAMFS_MAGIC): Likewise.
46576         (REISERFS_SUPER_MAGIC_STRING): Likewise.
46577         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
46578         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
46579         (SECURITYFS_MAGIC): Likewise.
46580         (SELINUX_MAGIC): Likewise.
46581         (SMACK_MAGIC): Likewise.
46582         (SOCKFS_MAGIC): Likewise.
46583         (SQUASHFS_MAGIC): Likewise.
46584         (STACK_END_MAGIC): Likewise.
46585         (TMPFS_MAGIC): Likewise.
46586         (USBDEVICE_SUPER_MAGIC): Likewise.
46587         (V9FS_MAGIC): Likewise.
46588         (XENFS_SUPER_MAGIC): Likewise.
46589         (CRAMFS_MAGIC): Fix typo in comment.
46590         (EXT2_SUPER_MAGIC): Update comment.
46591         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
46593 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
46595         * sysdeps/arm: Move directory from ports/sysdeps/arm.
46596         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
46597         * sysdeps/unix/sysv/linux/arm: Move directory from
46598         ports/sysdeps/unix/sysv/linux/arm.
46599         * README: Update listing for arm-*-linux-gnueabi.
46601         * README: Remove mention of am33.
46603 2014-02-07  Roland McGrath  <roland@hack.frob.com>
46605         * bits/sigset.h (__sigemptyset): Use a statement expression rather
46606         than the comma operator, to avoid "rhs of comma has no effect"
46607         compiler warnings.
46608         (__sigfillset, __sigandset, __sigorset): Likewise.
46609         * include/signal.h (__sigemptyset): Likewise.
46610         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
46612 2014-02-07  Allan McRae  <allan@archlinux.org>
46614         * version.h (RELEASE): Set to "development".
46615         (VERSION): Set to "2.19.90"
46616         * NEWS: Add 2.20 section.
46618 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
46620         [BZ #16529]
46621         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
46623 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
46625         * manual/contrib.texi: Update entry for Carlos O'Donell,
46626         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
46628 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
46630         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
46632         * sysdeps/unix/sysv/linux/kernel-features.h
46633         [__LINUX_KERNEL_VERSION >= 0x020621]
46634         (__ASSUME_PROC_PID_TASK_COMM): Define.
46636 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46638         [BZ #16398]
46639         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
46640         conversion when destination buffer does not have enough space.
46641         * libio/tst-ftell-partial-wide.c: New test case.
46642         * libio/Makefile (tests): Add tst-ftell-partial-wide.
46644         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
46645         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
46646         Leonard and Allan McRae.
46648 2014-02-04  David S. Miller  <davem@davemloft.net>
46650         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
46651         32-bit.
46653 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
46656         New file
46657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
46658         New file
46659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
46660         New file.
46661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
46662         New file.
46663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
46664         New file.
46665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
46666         New file.
46667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
46668         New file.
46669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
46670         New file.
46671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
46672         New file.
46673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
46674         New file.
46675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
46676         New file.
46677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
46678         New file.
46679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
46680         New file.
46682 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46684         * nptl/shlib-versions: Change powerpc*le start to 2.17.
46685         * shlib-versions: Likewise.
46687 2014-02-04  Roland McGrath  <roland@hack.frob.com>
46688             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46690         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
46691         (abilist-pattern): New variable, set to %-le.abilist.
46693         * Makerules (abilist-pattern): New variable.
46694         (vpath): Use $(abilist-pattern) in place of %.abilist.
46695         (check-abi-% pattern rule): Likewise.
46696         (check-abi, update-abi): Likewise.
46698 2014-02-04  Eric Wong  <normalperson@yhbt.net>
46700         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46702 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
46704         * manual/startup.texi: Add next, previous, and top entries for
46705         the `Program Arguments' and `Environment Variables' nodes.
46707 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
46709         * manual/macros.texi: Add comments before MTASC-safety macros.
46711         * manual/users.texi: Document MTASC-safety properties.
46713         * manual/threads.texi (pthread_key_create, pthread_key_delete)
46714         (pthread_getspecific, pthread_setspecific): Format with
46715         @deftypefun, and add @safety note.
46716         * manual/signal.texi: Move comments that analyze the above
46717         functions to their home place.
46719 2014-02-03  Allan McRae  <allan@archlinux.org>
46721         * po/sl.po: Update Slovenian translation from translation project.
46723 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
46725         * manual/time.texi (timegm): Add missing blank after @c.
46726         Reported by Joseph Myers <joseph@codesourcery.com>.
46728 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
46730         * manual/check-safety.sh: New.
46731         * manual/Makefile ($(objpfx)stamp-summary): Run it.
46733         * manual/terminal.texi: Document MTASC-safety properties.
46735         * manual/filesys.texi: Document MTASC-safety properties.
46737         * manual/errno.texi: Document MTASC-safety properties.
46739         * manual/intro.texi: Document safety identifiers and
46740         conditionals.
46742         * manual/string.texi (wcstok): Fix prototype.
46743         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
46745         * manual/time.texi: Document MTASC-safety properties.
46747         * manual/string.texi: Document MTASC-safety properties.
46749         * manual/threads.texi: Document MTASC-safety properties.
46751         * manual/stdio.texi: Document MTASC-safety properties.
46753         * manual/syslog.texi: Document MTASC-safety properties.
46755         * manual/sysinfo.texi: Document MTASC-safety properties.
46757         * manual/startup.texi: Document MTASC-safety properties.
46759         * manual/socket.texi: Document MTASC-safety properties.
46761         * manual/signal.texi: Document MTASC-safety properties.
46763 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
46765         * manual/setjmp.texi: Document MTASC-safety properties.
46767         * manual/search.texi: Document MTASC-safety properties.
46769         * manual/resource.texi: Document MTASC-safety properties.
46771         * manual/process.texi: Document MTASC-safety properties.
46773         * manual/platform.texi: Document MTASC-safety properties.
46775         * manual/pipe.texi: Document MTASC-safety properties.
46777         * manual/pattern.texi: Document MTASC-safety properties.
46779         * manual/message.texi: Document MTASC-safety properties.
46781         [BZ #12751]
46782         * manual/memory.texi: Document MTASC-safety properties.
46784         * manual/math.texi: Document MTASC-safety properties.
46786         * manual/locale.texi: Document MTASC-safety properties.
46788         * manual/llio.texi: Document MTASC-safety properties.
46790         * manual/libdl.texi: New.
46792         * manual/lang.texi: Document MTASC-safety properties.
46794         * manual/job.texi: Document MTASC-safety properties.
46796         * manual/getopt.texi: Document MTASC-safety properties.
46798         * manual/ctype.texi: Document MTASC-safety properties.
46800 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
46802         [BZ #16046]
46803         * csu/libc-tls.c (static_map): Remove variable.
46804         (__libc_setup_tls): Use main executable's link map for TLS data.
46805         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
46806         casing for LM_ID_BASE and GL(dl_nns).
46807         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
46808         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
46809         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
46810         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
46811         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
46812         member.
46813         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
46814         l_phnum members.
46816 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
46818         * manual/debug.texi: Document MTASC-safety properties.
46820 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
46822         [BZ #16510]
46823         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
46824         of __x86_64__ when disabling x87 inline functions.
46826 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
46828         * manual/charset.texi: Document MTASC-safety properties.
46830         * manual/crypt.texi: Document MTASC-safety properties.
46832         * manual/conf.texi: Document MTASC-safety properties.
46834         * manual/arith.texi: Document MTASC-safety properties.
46836         * manual/argp.texi: Document MTASC-safety properties.
46838         * manual/macros.texi: Introduce macros to document multi
46839         thread, asynchronous signal and asynchronous cancellation
46840         safety properties.
46841         * manual/intro.texi: Introduce the properties themselves.
46843 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46845         * sysdeps/sh/sh4/Makefile: New file.
46847 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
46849         * math/gen-libm-test.pl ($srcdir): New variable.
46850         ($auto_input): Use it.
46852 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46854         [BZ #16506]
46855         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
46856         access beyond array bounds when parsing netgroups file.
46858         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
46859         the old buffer before realloc.
46861 2014-01-27  Allan McRae  <allan@archlinux.org>
46863         * po/fr.po: Update French translation from translation project.
46865 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46867         * sysdeps/sh/libm-test-ulps: Regenerate.
46869 2014-01-24  David S. Miller  <davem@davemloft.net>
46871         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
46873 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46875         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
46876         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
46878 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46880         [BZ #16474]
46881         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
46882         string pointers after reallocation.
46884 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46886         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
46887         __SH4A__ instead of __SH_FPU_ANY__.
46889 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46891         * sysdeps/sh/fpu_control.h: New file.
46892         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
46893         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
46894         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
46895         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
46896         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
46897         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
46898         * sysdeps/sh/sys/ucontext.h: Remove.
46899         * sysdeps/sh/sys: Remove directory.
46901 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46903         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
46904         s390/sys/ucontext.h.
46905         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
46906         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
46908 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
46910         [BZ #15605]
46911         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
46913 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46915         [BZ#16431]
46916         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
46917         Adjust the vDSO correctly for internal calls.
46918         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
46920 2014-01-20  Allan McRae  <allan@archlinux.org>
46922         * po/ca.po: Update Catalan translation from translation project.
46924 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
46926         * sysdeps/s390/sotruss-lib.c: New file.
46928 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46930         [BZ#16430]
46931         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
46932         (__GI___gettimeofday): Alias for a different internal symbol to avoid
46933         local calls issues by not having a PLT stub required for IFUNC calls.
46934         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
46936 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
46938         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
46939         * math/test-fpucw-static.c: Likewise.
46941 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46943         [BZ #16453]
46944         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
46946 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46948         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
46949         implementation for powerpc.
46951 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
46953         [BZ #14782]
46954         * sysdeps/posix/system.c (__libc_system): Do not enable
46955         asynchronous cancellation.
46957 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46959         [BZ #16427]
46960         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
46961         handling only for numbers special also in the IEEE case.
46963 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46965         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46967 2014-01-11  Allan McRae  <allan@archlinux.org>
46969         * po/bg.po: Update Bulgarian translation from translation project.
46971         * po/de.po: Update German translation from translation project.
46973 2014-01-10  Roland McGrath  <roland@hack.frob.com>
46975         * sysdeps/generic/gcc-compat.h: New file.
46977 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46979         * benchtests/asin-inputs: Correct slow inputs.
46980         * benchtests/acos-inputs: Likewise.
46982 2014-01-10  Allan McRae  <allan@archlinux.org>
46984         * po:sv.po: Update Swedish translation from translation project.
46986         * po/vi.po: Update Vietnamese translation from translation project.
46988         * po/eo.po: Update Esperanto translation from translation project.
46990         * po/cs.po: Update Czech translation from translation project.
46992         * po/nl.po: Update Dutch translation from translation project.
46994         * po/pl.po: Update Polish translation from translation project.
46996         * po/ru.po: Update Russian translation from translation project.
46998         * po/uk.po: Update Ukrainian translation from translation project.
47000 2014-01-08  Brooks Moses  <bmoses@google.com>
47002         * elf/dl-load.c: Fix comment typo.
47004 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
47006         * po/header.pot: Rename to...
47007         * po/pot.header: ... this.
47008         * po/Makefile: Use pot.header.
47010 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
47011             Maxim Kuvyrkov  <maxim@kugelworks.com>
47013         [BZ #16394]
47014         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
47015         SRC and DEST against LEN.
47017 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47019         [BZ #16414]
47020         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
47021         implementation.
47022         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
47024 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47028 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
47030         [BZ #16408]
47031         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
47032         for large positive arguments.
47034 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
47036         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47038         * math/auto-libm-test-in: Mark various tests with
47039         xfail-rounding:ldbl-128ibm.
47040         * math/auto-libm-test-out: Regenerated.
47042         [BZ #16407]
47043         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
47044         Increase overflow threshold.
47046 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
47048         [BZ #14286]
47049         * stdio-common/vfprintf.c: Check for integer overflow.
47051 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47053         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
47054         the first argument and return value of __tls_get_addr_internal.
47056 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47058         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
47059         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
47061 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47063         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
47064         * sysdeps/s390/rtld-global-offsets.sym: New file.
47065         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
47066         GLIBC_2.19 symbol.
47067         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
47068         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
47069         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47070         ... this.
47071         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
47072         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
47073         ... this.
47074         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47075         Regenerate.
47076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47077         Regenerate.
47078         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
47079         halfs of GPRs for high_gprs contexts.
47080         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
47081         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
47082         field.
47083         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
47084         uc_flags field.
47085         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
47086         64 bit versions:
47087         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
47088         for high GPRs (uc_high_gprs) and for future extensions
47089         (__reserved).
47090         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
47091         for future extensions (__reserved).
47092         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
47093         64 bit versions:
47094         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
47095         SC_HIGHGPRS offset definition.
47096         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
47097         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
47099         * Versions.def: Add GLIBC_2.19 for libpthread.
47100         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
47101         siglongjmp for libpthread with GLIBC_2.19 symver.
47102         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
47103         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
47104         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
47105         * sysdeps/s390/__longjmp.c: New file.
47106         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
47107         * sysdeps/s390/longjmp.c: New file.
47108         * sysdeps/s390/setjmp.S: New file.
47109         * sysdeps/s390/sigjmp.S: New file.
47110         * sysdeps/s390/v1-longjmp.c: New file.
47111         * sysdeps/s390/v1-setjmp.h: New file.
47112         * sysdeps/s390/v1-sigjmp.c: New file.
47113         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
47114         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
47115         GLIBC_2.19 version.
47116         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
47117         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
47118         versioned symbols for ____longjmp_chk.
47119         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47120         Likewise.
47121         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47122         Regenerate.
47123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47124         Regenerate.
47125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47126         Regenerate.
47127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47128         Regenerate.
47129         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
47130         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
47131         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
47132         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
47133         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
47134         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
47135         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
47136         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
47137         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
47138         * sysdeps/s390/rtld-__longjmp.c: New file.
47139         * sysdeps/s390/rtld-setjmp.S: New file.
47141 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
47143         [BZ #16400]
47144         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47145         Return -__logl (x) for small positive arguments without evaluating
47146         a polynomial.
47148 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
47150         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
47151         Rename to ...
47152         (__ptrace_peeksiginfo_args): ... this.
47153         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47154         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47155         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47157 2014-01-06  Allan McRae  <allan@archlinux.org>
47159         * inet/netinet/in.h: Fix typo in comment.
47161 2014-01-05  Andreas Jaeger  <aj@suse.de>
47163         * sysdeps/i386/fpu/libm-test-ulps: Update.
47165 2014-01-05  Allan McRae  <allan@archlinux.org>
47167         * po/libc.pot: Regenerated.
47169         * malloc/memusagestat.c: Fix gettext call formatting.
47171 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
47173         * nscd/nscd.c: Improve usage() output.
47175 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
47177         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
47178         * sysdeps/unix/sysv/linux/configure: Regenerated.
47179         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
47180         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
47182 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
47184         [BZ #16390]
47185         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
47186         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
47188 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47190         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
47191         extra tokens at end of #undef directive.
47192         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
47193         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
47194         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
47196 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
47198         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47200         * math/auto-libm-test-in: Mark various tests with
47201         xfail-rounding:ldbl-128ibm.
47202         * math/auto-libm-test-out: Regenerated.
47204 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
47206         [BZ #16386]
47207         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
47208         numbers with subnormal high part when calculating exponent.
47210         [BZ #16385]
47211         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
47212         fabs.
47214         [BZ #16384]
47215         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
47216         M_LN2l.
47217         (__ieee754_acoshl): Use __log1pl not __log1p.
47219 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
47221         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
47222         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
47223         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
47224         (grow_heap, heap_trim, _int_new_arena, get_free_list)
47225         (reused_arena, arena_get2): Convert to GNU style.
47226         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
47227         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
47228         (memalign_check, __malloc_set_state): Likewise.
47229         * malloc/mallocbug.c (main): Likewise.
47230         * malloc/malloc.c (__malloc_assert, malloc_init_state)
47231         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
47232         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
47233         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
47234         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
47235         (__posix_memalign, malloc_info): Likewise.
47236         * malloc/malloc.h: Likewise.
47237         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
47238         (mallochook, memalignhook, reallochook, mabort): Likewise.
47239         * malloc/mcheck.h: Likewise.
47240         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
47241         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
47242         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
47243         * malloc/morecore.c (__default_morecore): Likewise.
47244         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
47245         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
47246         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
47247         (print_and_abort): Likewise.
47248         * malloc/obstack.h: Likewise.
47249         * malloc/set-freeres.c (__libc_freeres): Likewise.
47250         * malloc/tst-mallocstate.c (main): Likewise.
47251         * malloc/tst-mtrace.c (main): Likewise.
47252         * malloc/tst-realloc.c (do_test): Likewise.
47254 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47256         [BZ #16366]
47257         * nscd/netgroupcache.c (do_notfound): New function.
47258         (addgetnetgrentX): Use it.
47260         [BZ # 16365]
47261         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
47262         NSS_STATUS_NOTFOUND.
47264 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
47266         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
47267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47269 2014-01-01  Allan McRae  <allan@archlinux.org>
47271         * scripts/update-copyrights: Update configure input file suffix.
47273         * NEWS: Update copyright year.
47274         * catgets/gencat.c: Likewise.
47275         * csu/version.c: Likewise.
47276         * debug/catchsegv.sh: Likewise.
47277         * debug/pcprofiledump.c: Likewise.
47278         * debug/xtrace.sh: Likewise.
47279         * elf/ldconfig.c: Likewise.
47280         * elf/ldd.bash.in: Likewise.
47281         * elf/pldd.c: Likewise.
47282         * elf/sotruss.ksh: Likewise.
47283         * elf/sprof.c: Likewise.
47284         * iconv/iconv_prog.c: Likewise.
47285         * iconv/iconvconfig.c: Likewise.
47286         * locale/programs/locale.c: Likewise.
47287         * locale/programs/localedef.c: Likewise.
47288         * login/programs/pt_chown.c: Likewise.
47289         * malloc/memusage.sh: Likewise.
47290         * malloc/memusagestat.c: Likewise.
47291         * malloc/mtrace.pl: Likewise.
47292         * manual/libc.texinfo: Likewise.
47293         * nscd/nscd.c: Likewise.
47294         * nss/getent.c: Likewise.
47295         * nss/makedb.c: Likewise.
47296         * posix/getconf.c: Likewise.
47297         * scripts/test-installation.pl: Likewise.
47299         * All files with FSF copyright notices: Update copyright dates
47300         using scripts/update-copyrights.
47301         * intl/plural.c: Regenerated.
47302         * locale/programs/charmap-kw.h: Likewise.
47303         * locale/programs/locfile-kw.h: Likewise.
47305 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
47307         * sysdeps/unix/sysv/linux/configure: Regenerated.
47308         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
47309         the linux/fanotify.h header.
47310         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
47311         HAVE_LINUX_FANOTIFY_H is defined.
47313 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
47315         * benchtests/cos-inputs: New inputs.
47316         * benchtests/sin-inputs: Likewise.
47318         * benchtests/atan-inputs: New inputs. Fix name of multiple
47319         precision fallback inputs.
47321         * benchtests/atanh-inputs: New inputs.
47322         * benchtests/tanh-inputs: Likewise.
47324         * benchtests/acosh-inputs: New inputs.
47325         * benchtests/asinh-inputs: Likewise.
47327         * benchtests/cosh-inputs: New inputs.
47328         * benchtests/sinh-inputs: Likewise.
47330         * benchtests/acos-inputs: Add more inputs.
47331         * benchtests/asin-inputs: Likewise.
47333 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
47335         [BZ #16375]
47336         * manual/arith.texi: Fix spelling.
47337         * manual/charset.texi: Likewise.
47338         * manual/errno.texi: Likewise.
47339         * manual/filesys.texi: Likewise.
47340         * manual/lang.texi: Likewise.
47341         * manual/llio.texi: Likewise.
47342         * manual/locale.texi: Likewise.
47343         * manual/message.texi: Likewise.
47344         * manual/resource.texi: Likewise.
47345         * manual/search.texi: Likewise.
47346         * manual/setjmp.texi: Likewise.
47347         * manual/stdio.texi: Likewise.
47348         * manual/string.texi: Likewise.
47349         * manual/sysinfo.texi: Likewise.
47350         * manual/time.texi: Likewise.
47352 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
47354         * po/sl.po: New file.
47356 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
47358         * .gitignore: Add core/.gdbinit/.gdb_history.
47360 2013-12-27  Allan McRae  <allan@archlinux.org>
47362         [BZ #16369]
47363         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
47364         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
47366 2013-12-24  Brooks Moses  <bmoses@google.com>
47368         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
47369         all compilers that claim C++98 compliance, not just GCC.
47370         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
47371         Likewise.
47373 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
47375         * NEWS: Restore accidentally deleted bug-fix entries.
47377 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
47378             Ondřej Bílka  <neleai@seznam.cz>
47380         [BZ #15073]
47381         * malloc/malloc.c (_int_free): Perform sanity check only if we
47382         have_lock.
47384 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
47386         [BZ #12986]
47387         * manual/stdio.texi (String Input Conversions): Clarify that character
47388         classes are not supported.
47390 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47392         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47394 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
47396         [BZ #16337]
47397         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47398         Calculate results for small negative arguments directly rather
47399         than using reflection formula with special underflow handling.
47401         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
47402         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
47403         sysdeps/unix/bsd/bsd4.4/syscalls.list.
47404         (fchflags): Likewise.
47405         (revoke): Likewise.
47406         (setlogin): Likewise.
47407         (sigaltstack): Likewise.
47408         (wait4): Likewise.
47409         (sigblock): Remove.
47410         (sigsetmask): Likewise.
47411         (wait3): Likewise.
47412         (waitpid): Likewise.
47413         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
47414         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
47415         file.
47416         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
47417         * sysdeps/unix/bsd/Makefile: ... here.
47418         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
47419         * sysdeps/unix/bsd/Versions: ... here.
47420         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
47421         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
47422         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
47423         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
47424         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
47425         * sysdeps/unix/bsd/sigblock.c: ... here.
47426         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
47427         * sysdeps/unix/bsd/sigsetmask.c: ... here.
47428         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
47429         * sysdeps/unix/bsd/sigvec.c: ... here.
47430         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
47431         * sysdeps/unix/bsd/tcdrain.c: ... here.
47432         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
47433         * sysdeps/unix/bsd/tcgetattr.c: ... here.
47434         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
47435         * sysdeps/unix/bsd/tcsetattr.c: ... here.
47436         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
47437         * sysdeps/unix/bsd/wait.c: ... here.
47438         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
47439         * sysdeps/unix/bsd/wait3.c: ... here.
47440         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
47441         * sysdeps/unix/bsd/waitpid.c: ... here.
47443 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
47445         [BZ #16356]
47446         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
47447         round-to-nearest for [!USE_AS_EXPM1L].
47448         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
47449         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
47450         more tests of exp and exp10.  Expect some exp10 tests to miss
47451         exceptions or fail in directed rounding modes.
47452         * math/auto-libm-test-out: Regenerated.
47453         * math/libm-test.inc (exp10_tonearest_test_data): New array.
47454         (exp10_test_tonearest): New function.
47455         (exp10_towardzero_test_data): New array.
47456         (exp10_test_towardzero): New function.
47457         (exp10_downward_test_data): New array.
47458         (exp10_test_downward): New function.
47459         (exp10_upward_test_data): New array.
47460         (exp10_test_upward): New function.
47461         (main): Call the new functions.
47462         * sysdeps/i386/fpu/libm-test-ulps: Update.
47463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47465 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
47467         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
47468         asinh, atan, atan2, atanh, cbrt, cos and cosh.
47469         * math/auto-libm-test-out: Regenerated.
47470         * math/libm-test.inc (acosh_test_data): Add more tests.
47471         (atanh_test_data): Likewise.
47472         (ceil_test_data): Likewise.
47473         (copysign_test_data): Likewise.
47474         * sysdeps/i386/fpu/libm-test-ulps: Update.
47475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47477         * timezone/checktab.awk: Update from tzcode 2013i.
47478         * timezone/private.h: Likewise.
47479         * timezone/scheck.c: Likewise.
47480         * timezone/tzfile.h: Likewise.
47481         * timezone/tzselect.ksh: Likewise.
47482         * timezone/zdump.c: Likewise.
47483         * timezone/zic.c: Likewise.
47485         * math/auto-libm-test-in: Add tests of cpow.
47486         * math/auto-libm-test-out: Regenerated.
47487         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
47488         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47489         mpc_cc_c.
47490         (func_calc_desc): Add mpc_cc_c union field.
47491         (test_functions): Add cpow.
47492         (special_fill_2pi): New function.
47493         (special_real_inputs): Add 2pi.
47494         (calc_generic_results): Handle mpc_cc_c.
47495         * sysdeps/i386/fpu/libm-test-ulps: Update.
47496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47498         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
47499         csqrt, ctan and ctanh.
47500         * math/auto-libm-test-out: Regenerated.
47501         * math/libm-test.inc (TEST_COND_x86_64): New macro.
47502         (TEST_COND_x86): Likewise.
47503         (ccos_test_data): Use AUTO_TESTS_c_c.
47504         (ccosh_test_data): Likewise.
47505         (cexp_test_data): Likewise.
47506         (clog_test_data): Likewise.
47507         (csqrt_test_data): Likewise.
47508         (ctan_test_data): Likewise.
47509         (ctan_tonearest_test_data): Likewise.
47510         (ctan_towardzero_test_data): Likewise.
47511         (ctan_downward_test_data): Likewise.
47512         (ctan_upward_test_data): Likewise.
47513         (ctanh_test_data): Likewise.
47514         (ctanh_tonearest_test_data): Likewise.
47515         (ctanh_towardzero_test_data): Likewise.
47516         (ctanh_downward_test_data): Likewise.
47517         (ctanh_upward_test_data): Likewise.
47518         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47519         mpc_c_c.
47520         (func_calc_desc): Add mpc_c_c union field.
47521         (FUNC_mpc_c_c): New macro.
47522         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
47523         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
47524         ctanh.
47525         (special_fill_min_subnorm_p120): New function.
47526         (special_real_inputs): Add min_subnorm_p120.
47527         (calc_generic_results): Handle mpc_c_c.
47528         * sysdeps/i386/fpu/libm-test-ulps: Update.
47529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47531 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47533         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
47534         (do_sin_slow): New functions.
47535         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
47536         (cslow2, csloww1, csloww2): Use the new functions.
47538         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
47539         Use M to change sign of result instead of X.  Assume X is
47540         positive.
47541         (csloww1): Likewise.
47542         (__sin): Adjust.
47543         (__cos): Adjust.
47545         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
47546         arguments A and DA.
47547         (__sin): Adjust.
47548         (__cos): Likewise.
47550         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
47551         (__cos): Likewise.
47552         (sloww1): Don't adjust sign of DX.
47553         (csloww1): Likewise.
47554         (sloww2): Use X directly and don't adjust sign of DX.
47555         (csloww2): Likewise.
47557 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
47559         * math/auto-libm-test-in: Add tests of cabs and carg.
47560         * math/auto-libm-test-out: Regenerated.
47561         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
47562         (carg_test_data): Likewise.
47563         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47564         mpc_c_f.
47565         (func_calc_desc): Add mpc_c_f union field.
47566         (test_functions): Add cabs and carg.
47567         (calc_generic_results): Handle mpc_c_f.
47569         * sysdeps/powerpc/powerpc32/libgcc-compat.S
47570         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
47571         as a macro and a compat symbol.
47572         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
47573         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
47574         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
47575         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
47576         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
47577         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
47578         not use .hidden.
47579         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
47580         Likewise.
47581         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
47582         Likewise.
47583         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
47584         Likewise.
47585         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
47586         Likewise.
47587         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
47588         Likewise.
47589         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
47590         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
47591         from GLIBC_2.3.2.
47593 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47595         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47597 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
47599         * manual/texinfo.tex: Update to version 2013-11-26.10 with
47600         trailing whitespace removed.
47601         * scripts/config.guess: Update to version 2013-11-29.
47602         * scripts/config.sub: Update to version 2013-10-01.
47604         * math/auto-libm-test-in: Add tests of sincos.
47605         * math/auto-libm-test-out: Regenerated.
47606         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
47607         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47608         mpfr_f_11.
47609         (func_calc_desc): Add mpfr_f_11 union field.
47610         (test_functions): Add sincos.
47611         (calc_generic_results): Handle mpfr_f_11.
47612         * sysdeps/i386/fpu/libm-test-ulps: Update.
47613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47615 2013-12-19  Andreas Schwab  <schwab@suse.de>
47617         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
47618         CALL_MCOUNT.
47619         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
47620         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
47621         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
47623 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
47625         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
47626         * sysdeps/i386/fpu/libm-test-ulps: Update.
47627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47629         [BZ #16293]
47630         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
47631         round-to-nearest mode when using frndint.
47632         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
47633         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47634         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
47635         Likewise.
47636         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
47637         sinh test to fail.
47638         * math/auto-libm-test-out: Regenerated.
47639         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
47640         (TEST_COND_x86): Likewise.
47641         (expm1_tonearest_test_data): New array.
47642         (expm1_test_tonearest): New function.
47643         (expm1_towardzero_test_data): New array.
47644         (expm1_test_towardzero): New function.
47645         (expm1_downward_test_data): New array.
47646         (expm1_test_downward): New function.
47647         (expm1_upward_test_data): New array.
47648         (expm1_test_upward): New function.
47649         (main): Run the new test functions.
47650         * sysdeps/i386/fpu/libm-test-ulps: Update.
47651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47653         * include/features.h: Update comment documenting feature test
47654         macros.  Mention _DEFAULT_SOURCE in comment.
47655         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
47656         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
47657         _BSD_SOURCE and _SVID_SOURCE.
47658         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
47659         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
47660         !_SVID_SOURCE]: Likewise.
47661         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
47662         (__USE_POSIX_IMPLICITLY): Define.
47663         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
47664         (_POSIX_SOURCE): Undefine and redefine.
47665         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
47666         (_POSIX_C_SOURCE): Likewise.
47667         * manual/creature.texi (_DEFAULT_SOURCE): Document.
47668         (Feature Test Macros): Update documentation of default features.
47670 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
47672         * benchtests/Makefile: Add bench-strtok.
47673         * benchtests/bench-strtok.c: New file: strtok benchtest.
47675 2013-12-19  Allan McRae  <allan@archlinux.org>
47677         * manual/install.texi: Suppress menu for plain text output.
47678         * INSTALL: Regenerated.
47680 2013-12-18  Brooks Moses  <bmoses@google.com>
47682         [BZ #15846]
47683         * misc/getauxval.c: Include errno.h.
47684         (__getauxval): Set errno to ENOENT if the requested type is not
47685         found.
47686         * misc/sys/auxv.h (getauxval): Document that it may set errno;
47687         don't declare with __attribute_const__.
47688         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
47689         * manual/startup.texi: Document that getauxval sets errno.
47691 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
47693         * math/auto-libm-test-in: Add tests of jn and yn.
47694         * math/auto-libm-test-out: Regenerated.
47695         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
47696         (yn_test_data): Likewise.
47697         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47698         mpfr_if_f.
47699         (func_calc_desc): Add mpfr_if_f union field.
47700         (FUNC_mpfr_if_f): New macro.
47701         (test_functions): Add jn and yn.
47702         (calc_generic_results): Assert type of second input for
47703         mpfr_ff_f.  Handle mpfr_if_f.
47704         (output_for_one_input_case): Disable all checking for arguments
47705         fitting floating-point types in case of an integer argument.
47706         * sysdeps/i386/fpu/libm-test-ulps: Update.
47707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
47710         Don't expect fegetround reference in libm.so.
47712 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47714         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
47715         $(config-cflags-nofma).
47717 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
47719         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
47720         * math/auto-libm-test-out: Regenerated.
47722         [BZ #16338]
47723         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
47724         to determine exponent and adjust argument to have exponent of -1.
47725         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
47726         log2.
47727         * math/auto-libm-test-out: Regenerated.
47728         * sysdeps/i386/fpu/libm-test-ulps: Update.
47729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47731 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
47733         * manual/probes.texi: Remove cases when per-thread arenas are
47734         disabled.
47736 2013-12-18  Andreas Schwab  <schwab@suse.de>
47738         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
47739         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
47740         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
47741         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
47742         * sysdeps/i386/i686/multiarch/Makefile: Update.
47743         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
47745 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
47747         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
47748         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
47750 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
47752         [BZ #15968]
47753         Support TZ transition times < 00:00:00.
47754         This is needed for version-3 tz-format files; it supports time
47755         stamps past 2037 for America/Godthab (the only entry in the tz
47756         database for which this change is relevant).
47757         * manual/time.texi (TZ Variable): Document transition times
47758         from -167:59:59 through -00:00:01.
47759         * time/tzset.c (tz_rule): Time of day is now signed.
47760         (__tzset_parse_tz): Parse negative time of day.
47762         Document TZ transition times >= 25:00:00.
47763         * manual/time.texi (TZ Variable): Document transition times from
47764         25:00:00 through 167:59:59.  These are already supported, and this
47765         support will help with version-3 tz-format files.
47767         * manual/time.texi (TZ Variable): Modernize North America example
47768         to reflect current (i.e., 2007-and-later) daylight saving rules.
47770         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
47772 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
47774         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
47775         * sysdeps/unix/bsd/bits/stat.h: Likewise.
47776         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
47777         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47778         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
47779         * sysdeps/unix/bsd/bsdstat.h: Likewise.
47780         * sysdeps/unix/bsd/clock.c: Likewise.
47781         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
47782         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
47783         * sysdeps/unix/bsd/init-posix.c: Likewise.
47784         * sysdeps/unix/bsd/poll.c: Likewise.
47785         * sysdeps/unix/bsd/ptsname.c: Likewise.
47786         * sysdeps/unix/bsd/seekdir.c: Likewise.
47787         * sysdeps/unix/bsd/setegid.c: Likewise.
47788         * sysdeps/unix/bsd/seteuid.c: Likewise.
47789         * sysdeps/unix/bsd/setgid.c: Likewise.
47790         * sysdeps/unix/bsd/setrgid.c: Likewise.
47791         * sysdeps/unix/bsd/setruid.c: Likewise.
47792         * sysdeps/unix/bsd/setsid.c: Likewise.
47793         * sysdeps/unix/bsd/setuid.c: Likewise.
47794         * sysdeps/unix/bsd/sigaction.c: Likewise.
47795         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
47796         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
47797         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
47798         * sysdeps/unix/bsd/telldir.c: Likewise.
47799         * sysdeps/unix/bsd/times.c: Likewise.
47800         * sysdeps/unix/bsd/usleep.c: Likewise.
47802         * misc/Makefile (install-lib): Remove libbsd-compat.a.
47803         ($(objpfx)libbsd-compat.a): Remove rule.
47805         * include/features.h (__FAVOR_BSD): Do not define.
47806         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
47807         features conflicting with POSIX.
47808         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
47809         (_BSD_SOURCE): Remove description of not being a subset of other
47810         feature test macros.
47811         * manual/job.texi (getpgrp): Do not document BSD version.
47812         (getpgid): Do not document by reference to BSD getpgrp.
47813         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
47814         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
47815         * signal/signal.h [__FAVOR_BSD]: Likewise.
47816         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
47817         instead of making contents conditional on [__FAVOR_BSD].
47818         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
47820 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47822         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47824 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
47826         [BZ #16314]
47827         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
47828         values below 2**-450, not 2**-500.
47829         * math/auto-libm-test-in: Don't allow spurious underflow from
47830         hypot.
47831         * math/auto-libm-test-out: Regenerated.
47833         [BZ #16316]
47834         [BZ #16330]
47835         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
47836         values of ha and hb and sort them after adjusting subnormal
47837         arguments.
47838         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
47839         Likewise.
47840         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
47841         values of ea and eb and sort them after adjusting subnormal
47842         arguments.
47843         * math/auto-libm-test-in: Do not expect some hypot tests of
47844         subnormals to fail.  Add more hypot tests.
47845         * math/auto-libm-test-out: Regenerated.
47847 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47849         [BZ #13304]
47850         * sysdeps/sh/s_fma.c: New file.
47851         * sysdeps/sh/s_fmaf.c: New file.
47852         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
47853         version.
47854         * sysdeps/sh/Implies: Add sh/soft-fp.
47856 2013-12-16  Roland McGrath  <roland@hack.frob.com>
47858         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
47859         level of indirection to members `objname', `errstring', `malloced'.
47860         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
47861         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
47862         it as the __longjmp argument (just pass 1 instead).
47863         (_dl_catch_error): Initialize C with argument pointers and address of
47864         volatile local ERRCODE rather than copying values out of C at return.
47866 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
47868         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
47869         * math/auto-libm-test-out: Regenerated.
47870         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
47871         (hypot_test_data): Likewise.
47872         (pow_test_data): Likewise.
47873         (pow_tonearest_test_data): Likewise.
47874         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47875         mpfr_ff_f.
47876         (func_calc_desc): Add mpfr_ff_f union field.
47877         (FUNC_mpfr_ff_f): New macro.
47878         (test_functions): Add atan2, hypot and pow.
47879         (special_fill_min): New function.
47880         (special_fill_minus_min): Likewise.
47881         (special_fill_min_subnorm): Likewise.
47882         (special_fill_minus_min_subnorm): Likewise.
47883         (special_real_inputs): Add min, -min, min_subnorm and
47884         -min_subnorm.
47885         (calc_generic_results): Handle mpfr_ff_f.
47886         * sysdeps/i386/fpu/libm-test-ulps: Update.
47887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47889 2013-12-16  Will Newton  <will.newton@linaro.org>
47891         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
47892         (Aligned Memory Blocks): Add documentation for aligned_alloc
47893         and suggest it as an alternative to posix_memalign.
47894         (Hooks for Malloc): Document __memalign_hook is also called
47895         for aligned_alloc.  (Summary of Malloc): Add summary for
47896         aligned alloc.  Document __memalign_hook is also called
47897         for aligned_alloc.
47899 2013-12-16  Will Newton  <will.newton@linaro.org>
47901         * manual/memory.texi (Malloc Examples): Clarify default
47902         alignment documentation.  Suggest posix_memalign rather
47903         than memalign or valloc.
47904         (Aligned Memory Blocks): Remove suggestion to use memalign
47905         or valloc.  Remove obsolete comment about BSD.
47906         Document memalign errno values and mark the function obsolete.
47907         Document posix_memalign returned error codes.  Mark valloc
47908         as obsolete.  (Hooks for Malloc): __memalign_hook is also
47909         called for posix_memalign and valloc.
47910         (Summary of Malloc): Add posix_memalign to function summary.
47911         __memalign_hook is also called for posix_memalign and valloc.
47913 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47915         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
47916         TAYLOR_SIN.
47917         (__sin): Adjust.
47918         (__cos): Likewise.
47919         (sloww): Use mynumber union.  Expand ternary operator into
47920         if-else statements.
47921         (cslow): use mynumber union.
47923 2013-12-16  Allan McRae  <allan@archlinux.org>
47925         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
47926         * configure: Regenerated.
47928         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
47930         [BZ #14120]
47931         * configure.ac: Added --enable-maintainer-mode. Check for
47932         autoconf when enabled.
47933         * configure: Regenerated.
47935         * nscd/nscd.service: New file.
47936         * nscd/nscd.tmpfiles: New file.
47938 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
47940         [BZ #12100]
47941         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
47942         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
47943         * sysdeps/x86_64/multiarch/strstr.c: ... here.
47944         (strstr): Add __strstr_sse2_unaligned ifunc.
47945         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
47946         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
47947         (strcasestr): Remove __strcasestr_sse42 ifunc.
47948         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
47949         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
47950         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
47952 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47954         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
47955         * sysdeps/sh/bits/fenv.h: ... here.
47956         * sysdeps/sh/sh4/fpu/bits: Remove directory.
47958 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47960         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
47962         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
47963         hypotf multiarch implementations.
47964         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
47965         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
47966         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
47967         multiarch hypot for PPC64.
47968         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
47969         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
47970         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
47971         multiarch hypotf for PPC64.
47973         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
47974         modff multiarch implementations.
47975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
47976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
47977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
47978         multiarch modf for PPC64.
47979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
47980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
47981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
47982         multiarch modff for PPC64.
47984         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
47985         and logl multiarch implementations.
47986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
47987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
47988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
47989         multiarch logb for PPC64.
47990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
47991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
47992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
47993         multiarch logb for PPC64.
47994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
47995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
47996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
47997         multiarch logb for PPC64.
47999         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
48000         isinff multiarch implementation.
48001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
48002         file.
48003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
48004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
48005         multiarch isinf for PPC64.
48006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
48007         file.
48008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
48009         multiarch isinff for PPC64.
48011         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
48012         finitef multiarch implementation.
48013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
48014         file.
48015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
48016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
48017         multiarch finite for PPC64.
48018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
48019         file.
48020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
48021         multiarch finitef for PPC64.
48023         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
48024         lrint multiarch implementation.
48025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
48026         file.
48027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
48028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
48029         multiarch llrint for PPC64.
48030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
48031         multiarch lrint for PPC64.
48033         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
48034         copysignf multiarch implementation.
48035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
48036         file.
48037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
48038         file.
48039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
48040         multiarch copysign for PPC64.
48041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
48042         multiarch copysignf for PPC64.
48044         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
48045         multiarch implementation.
48046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
48047         file.
48048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
48049         file.
48050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
48051         file.
48052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
48053         file.
48054         multiarch llround for PPC64.
48055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
48056         multiarch trunc for PPC64.
48057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
48058         multiarch truncf for PPC64.
48060         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
48061         multiarch implementation.
48062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
48063         file.
48064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
48065         file.
48066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
48067         file.
48068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
48069         file.
48070         multiarch llround for PPC64.
48071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
48072         multiarch round for PPC64.
48073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
48074         multiarch roundf for PPC64.
48076         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
48077         multiarch implementation.
48078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
48079         file.
48080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
48081         file.
48082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
48083         file.
48084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
48085         file.
48086         multiarch llround for PPC64.
48087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
48088         multiarch floor for PPC64.
48089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
48090         multiarch floorf for PPC64.
48092         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
48093         multiarch implementation.
48094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
48095         file.
48096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
48097         file.
48098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
48099         file.
48100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
48101         file.
48102         multiarch llround for PPC64.
48103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
48104         multiarch ceil for PPC64.
48105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
48106         multiarch ceilf for PPC64.
48108         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
48109         multiarch implementation.
48110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
48111         file.
48112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
48113         file.
48114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
48115         file.
48116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
48117         multiarch llround for PPC64.
48118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
48119         multiarch lround for PPC64.
48121         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
48122         multiarch implementation.
48123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
48124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
48125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
48126         file.
48127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
48128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
48129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
48130         multiarch isnan for PPC64.
48131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
48132         multiarch isnanf for PPC64.
48134         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
48135         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
48136         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
48137         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
48138         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
48139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
48141         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
48142         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48143         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48144         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48146         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
48147         multiarch implementations.
48148         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48149         (__libc_ifunc_impl_list): Likewise.
48150         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
48151         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
48152         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
48153         multiarch stpcpy for PPC64.
48155         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
48156         multiarch implementations.
48157         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48158         (__libc_ifunc_impl_list): Likewise.
48159         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
48160         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
48161         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
48162         multiarch strcpy for PPC64.
48164         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
48165         redefine function name.
48166         (_wordcopy_fwd_dest_aligned): Likewise.
48167         (_wordcopy_bwd_aligned): Likewise.
48168         (_wordcopy_bwd_dest_aligned): Likewise.
48169         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
48170         multiarch implementations.
48171         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48172         (__libc_ifunc_impl_list): Likewise.
48173         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
48174         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
48175         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
48176         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
48177         multiarch wcscpy for PPC64.
48179         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
48180         multiarch implementations.
48181         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48182         (__libc_ifunc_impl_list): Likewise.
48183         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
48184         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
48185         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
48186         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
48187         multiarch wcscpy for PPC64.
48189         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
48190         multiarch implementations.
48191         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48192         (__libc_ifunc_impl_list): Likewise.
48193         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
48194         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
48195         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
48196         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
48197         multiarch wcsrchr for PPC64.
48199         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
48200         multiarch implementations.
48201         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48202         (__libc_ifunc_impl_list): Likewise.
48203         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
48204         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
48205         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
48206         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
48207         multiarch wcschr for PPC64.
48209         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
48210         multiarch implementations.
48211         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48212         (__libc_ifunc_impl_list): Likewise.
48213         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
48214         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
48215         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
48216         multiarch strchrnul for PPC64.
48218         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
48219         implementations.
48220         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48221         (__libc_ifunc_impl_list): Likewise.
48222         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
48223         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
48224         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
48225         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
48226         strchr for PPC64.
48228         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
48229         implementations.
48230         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48231         (__libc_ifunc_impl_list): Likewise.
48232         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
48233         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
48234         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
48235         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
48236         strncmp for PPC64.
48238         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
48239         multiarch implementations.
48240         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48241         (__libc_ifunc_impl_list): Likewise.
48242         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
48243         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
48244         strncasecmp for PPC64.
48245         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
48246         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
48247         multiarch strncasecmp_l for PPC64.
48249         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
48250         multiarch implementations.
48251         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48252         (__libc_ifunc_impl_list): Likewise.
48253         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
48254         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
48255         multiarch strcasecmp for PPC64.
48256         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
48257         file.
48258         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
48259         multiarch strcasecmp_l for PPC64.
48261         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
48262         implementations.
48263         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48264         (__libc_ifunc_impl_list): Likewise.
48265         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
48266         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
48267         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
48268         strnlen for PPC64.
48270         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
48271         implementations.
48272         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48273         (__libc_ifunc_impl_list): Likewise.
48274         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
48275         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
48276         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
48277         strlen for PPC64.
48279         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
48280         implementations.
48281         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48282         (__libc_ifunc_impl_list): Likewise.
48283         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
48284         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
48285         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
48286         rawmemrchr for PPC64.
48288         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
48289         implementation.
48290         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48291         (__libc_ifunc_impl_list): Likewise.
48292         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
48293         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
48294         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
48295         memrchr for PPC64.
48297         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
48298         implementation.
48299         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48300         (__libc_ifunc_impl_list): Likewise.
48301         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
48302         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
48303         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
48304         memchr for PPC64.
48306         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
48307         implementation.
48308         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48309         (__libc_ifunc_impl_list): Likewise.
48310         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
48311         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
48312         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
48313         mempcpy for PPC64.
48315         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
48316         avoid cretion of __bzero symbol.
48317         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
48318         Likewise.
48319         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
48320         Likewise.
48321         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
48322         Likewise.
48323         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
48324         multiarch implementations.
48325         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48326         (__libc_ifunc_impl_list): Likewise.
48327         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
48328         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
48329         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
48330         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
48331         bzero for PPC32.
48332         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
48333         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
48334         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
48335         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
48336         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
48337         memset for PPC64.
48338         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
48340         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
48341         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
48342         implementations.
48343         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48344         (__libc_ifunc_impl_list): Likewise.
48345         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
48346         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
48347         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
48348         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
48349         memcmp for PPC64.
48351         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
48352         multiarch for POWER/PPC64.
48353         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
48354         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
48355         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
48356         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
48357         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
48358         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
48359         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
48360         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
48361         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
48362         memcpy for PPC64.
48364         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
48365         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
48366         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
48367         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
48368         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
48369         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
48370         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
48371         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
48372         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
48373         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
48374         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
48375         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
48376         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
48377         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
48378         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
48379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
48380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
48381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
48382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
48383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
48384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
48385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
48387 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48389         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
48391 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48393         * benchtests/Makefile (bench): Add exp2 and log2.
48394         (LDLIBS-bench-exp2): Add -lm.
48395         (LDLIBS-bench-log2): Likewise.
48396         * benchtests/exp2-inputs: New inputs file.
48397         * benchtests/log2-inputs: New inputs file.
48398         * benchtests/log-inputs: Add new inputs.
48399         * benchtests/tan-inputs: Likewise.
48401 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48403         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
48404         definition...
48405         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
48406         (csloww2): ... from here.
48408         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
48409         instead of structures.
48410         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
48411         (POLYNOMIAL): Likewise.
48412         (TAYLOR_SLOW): Likewise.
48413         (__sin): Likewise.
48414         (__cos): Likewise.
48415         (slow1): Likewise.
48416         (slow2): Likewise.
48417         (sloww): Likewise.
48418         (sloww1); Likewise.
48419         (sloww2): Likewise.
48420         (bsloww1): Likewise.
48421         (bsloww2): Likewise.
48422         (cslow2): Likewise.
48423         (csloww): Likewise.
48424         (csloww1): Likewise.
48425         (csloww2): Likewise.
48427 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
48429         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
48430         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
48431         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
48432         * malloc/hooks.c (realloc_check): Likewise.
48434         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
48435         * malloc/arena.c: Remove PER_THREAD conditional.
48436         [!PER_THREAD]: Remove code.
48437         (ptmalloc_unlock_all2): Likewise.
48438         (ptmalloc_init): Likewise.
48439         (_int_new_arena): Likewise.
48440         (arena_get2): Likewise.
48441         * malloc/hooks.c (__malloc_get_state): Likewise.
48442         (__malloc_set_state): Likewise.
48443         * malloc/malloc.c: Likewise.
48444         (struct malloc_state): Likewise.
48445         (struct malloc_par): Likewise.
48446         (__libc_realloc): Likewise.
48447         (__libc_mallopt): Likewise.
48449 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48451         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
48453 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
48455         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
48456         macro to a function.  Check for zero perturb_byte.
48457         (_int_malloc, _int_free): Remove zero perturb_byte checks.
48459         * malloc/malloc.c: (force_reg): Remove.
48460         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
48461         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
48462         force_reg by atomic_forced_read.
48463         * malloc/arena.c (ptmalloc_init): Likewise.
48464         * malloc/hooks.c (top_check): Likewise.
48466 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48470 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
48472         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48474 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
48476         * math/auto-libm-test-in: Add tests of lgamma.
48477         * math/auto-libm-test-out: Regenerated.
48478         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
48479         (M_LOG_2_SQRT_PIl): Likewise.
48480         (lgamma_test_data): Use AUTO_TESTS_f_f1.
48481         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48482         mpfr_f_f1.
48483         (func_calc_desc): Add mpfr_f_f1 union field.
48484         (ARGS1): New macro.
48485         (ARGS2): Likewise.
48486         (ARGS3): Likewise.
48487         (ARGS4): Likewise.
48488         (RET1): Likewise.
48489         (RET2): Likewise.
48490         (CALC): Likewise.
48491         (FUNC): Likewise.
48492         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
48493         (test_functions): Add lgamma.
48494         (calc_generic_results): Handle mpfr_f_f1.
48495         * sysdeps/i386/fpu/libm-test-ulps: Update.
48496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48498 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48500         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
48501         __mpn_add_n for PowerPC64/POWER7.
48502         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
48503         __mpn_sub_n for PowerPC64/POWER7.
48505         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
48506         __mpn_addmul_1 for PowerPC64.
48507         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
48508         __mpn_submul_1 for PowerPC64.
48509         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
48510         for PowerPC64.
48511         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
48512         for PowerPC64.
48514 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
48516         [BZ #15089]
48517         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
48519 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48521         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
48523         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
48524         add multiarch folders.
48525         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
48526         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
48527         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
48528         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
48529         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
48530         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
48531         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
48532         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
48533         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
48534         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
48535         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
48536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
48537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
48538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
48539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
48540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
48541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
48543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
48544         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
48545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
48546         New file.
48547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
48548         New file.
48549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
48550         multiarch __ieee754_hypot for PowerPC32.
48551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
48552         New file.
48553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
48554         New file.
48555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
48556         multiarch __ieee754_hypotf for PowerPC32.
48558         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
48559         long_double_symbol only if __logbl is defined.
48560         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
48561         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
48562         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
48563         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
48564         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
48565         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
48566         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
48567         path for implementation.
48568         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
48569         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
48570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
48571         logb, and logbl multiarch implementations for PowerPC32.
48572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
48573         file.
48574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
48575         file.
48576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
48577         multiarch logb for PowerPC32.
48578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
48579         file.
48580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
48581         file.
48582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
48583         multiarch logbf for PowerPC32.
48584         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
48585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
48586         file.
48587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
48588         multiarch logbl implementation for PowerPC32.
48590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
48591         and modff multiarch implementations.
48592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
48593         New file.
48594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
48595         New file.
48596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
48597         multiarch modf for PowerPC32.
48598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
48599         New file.
48600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
48601         New file.
48602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
48603         multiarch modff for PowerPC32.
48605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
48606         and lrintf multiarch implementations.
48607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
48608         New file.
48609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
48610         New file.
48611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
48612         multiarch lrint for PowerPC32.
48613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
48614         file: multiarch lrintf for PowerPC32.
48616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
48617         and lroundf multiarch implementations.
48618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
48619         New file.
48620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
48621         New file.
48622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
48623         New file.
48624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
48625         multiarch lround for PowerPC32.
48626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
48627         file: multiarch lroundf for PowerPC32.
48629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
48630         copysign and copysignf multiarch implementations.
48631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
48632         New file.
48633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
48634         New file.
48635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
48636         file: multiarch copysign for PowerPC32.
48637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
48638         file: multiarch copysignf for PowerPC32.
48640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
48641         and truncf multiarch implementations.
48642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
48643         New file.
48644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
48645         file.
48646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
48647         multiarch trunc for PowerPC32.
48648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
48649         New file.
48650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
48651         New file.
48652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
48653         multiarch truncf for PowerPC32.
48655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
48656         and roundf multiarch implementations.
48657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
48658         New file.
48659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
48660         file.
48661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
48662         multiarch round for PowerPC32.
48663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
48664         New file.
48665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
48666         New file.
48667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
48668         multiarch roundf for PowerPC32.
48670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
48671         and floorf multiarch implementations.
48672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
48673         New file.
48674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
48675         file.
48676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
48677         multiarch floor for PowerPC32.
48678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
48679         New file.
48680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
48681         New file.
48682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
48683         multiarch floorf for PowerPC32.
48685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
48686         and ceilf multiarch implementations.
48687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
48688         New file.
48689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
48690         file.
48691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
48692         multiarch ceil for PowerPC32.
48693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
48694         New file.
48695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
48696         file.
48697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
48698         multiarch ceilf for PowerPC32.
48700         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
48701         is defined.
48702         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
48703         FINITEF is defined.
48704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
48705         and finitef multiarch implementations.
48706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
48707         New file.
48708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
48709         file.
48710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
48711         multiarch finite for PowerPC32.
48712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
48713         New file.
48714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
48715         file: multiarch finitef for PowerPC32.
48717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
48718         and isinff multiarch implementations.
48719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
48720         file.
48721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
48722         file.
48723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
48724         multiarch isinf for PowerPC32.
48725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
48726         New file.
48727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
48728         multiarch isinff for PowerPC32.
48730         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
48731         alias when __isnan is defined.
48732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
48733         and isnanf multiarch implementations.
48734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
48735         file.
48736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
48737         file.
48738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
48739         file.
48740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
48741         file.
48742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
48743         multiarch isnan for PowerPC32.
48744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
48745         New file.
48746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
48747         New file.
48748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
48749         multiarch isnanf for PowerPC32.
48751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
48752         and sqrtf multiarch implementations.
48753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
48754         file.
48755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
48756         file.
48757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
48758         multiarch sqrt for PowerPC32.
48759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
48760         file.
48761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
48762         file.
48763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
48764         multiarch sqrtf for PowerPC32.
48766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
48767         and llroundf multiarch implementations.
48768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
48769         New file.
48770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
48771         New file.
48772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
48773         New file.
48774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
48775         file: multiarch llround for PowerPC32.
48776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
48777         file: multiarch llroundf for PowerPC32.
48779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
48780         multiarch PowerPC32 fpu implementations.
48781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
48782         New file.
48783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
48784         New file.
48785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
48786         multiarch llrint for PowerPC32.
48787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
48788         New file.
48789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
48790         New file.
48791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
48792         file.
48794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
48796         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
48797         file.
48798         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
48799         file.
48800         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
48801         file.
48802         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
48803         multiarch wordcopy for PPC32.
48804         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
48805         wordcopy objects.
48806         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48807         (__libc_ifunc_impl_list): Likewise.
48808         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
48809         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
48810         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
48811         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
48812         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
48813         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
48815         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
48816         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
48817         file.
48818         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
48819         file.
48820         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
48821         file.
48822         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
48823         multiarch wcscpy for PPC32.
48824         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
48825         multiarch objects.
48826         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48827         (__libc_ifunc_impl_list): Likewise.
48828         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
48829         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
48830         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
48831         sysdeps/powerpc/power6/wcscpy.c.
48833         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
48834         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
48835         file.
48836         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
48837         file.
48838         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
48839         file.
48840         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
48841         multiarch wcsrchr for PPC32.
48842         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
48843         multiarch objects.
48844         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48845         (__libc_ifunc_impl_list): Likewise.
48846         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
48847         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
48848         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
48849         sysdeps/powerpc/power6/wcsrchr.c.
48851         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
48852         file.
48853         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
48854         file.
48855         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
48856         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
48857         multiarch wcschr for PPc32.
48858         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
48859         multiarch objects.
48860         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48861         (__libc_ifunc_impl_list): Likewise.
48862         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
48863         * sysdeps/powerpc/power6/wcschr.c: ... to here.
48864         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
48865         sysdeps/powerpc/power6/wcschr.c.
48867         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
48868         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
48869         file.
48870         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
48871         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
48872         file: multiarch strchr for PPC32.
48873         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
48874         multiarch objects.
48875         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48876         (__libc_ifunc_impl_list): Likewise.
48878         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
48879         name.
48880         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
48881         file.
48882         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
48883         file.
48884         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
48885         multiarch strchrnul for PPC32.
48886         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
48887         multiarch objects.
48888         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48889         (__libc_ifunc_impl_list): Likewise.
48891         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
48892         file.
48893         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
48894         multiarch strncasecmp for PPC32.
48895         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
48896         file.
48897         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
48898         multiarch strncasecmp_l for PPC32.
48899         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
48900         strncasecmp multiarch objects.
48901         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48902         (__libc_ifunc_impl_list): Likewise.
48904         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
48905         file.
48906         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
48907         multiarch strncasecmp for PPC32.
48908         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
48909         New file.
48910         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
48911         multiarch strcasecmp_l for PPC32.
48912         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
48913         multiarch objects.
48914         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48915         (__libc_ifunc_impl_list): Likewise.
48917         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
48918         file.
48919         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
48920         file.
48921         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
48922         multiarch strncmp for PPC32.
48923         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
48924         multiarch objects.
48925         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48926         (__libc_ifunc_impl_list): Likewise.
48928         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
48929         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
48930         file.
48931         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
48932         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
48933         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
48934         multiarch objects.
48935         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48936         (__libc_ifunc_impl_list): Likewise.
48938         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
48939         file.
48940         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
48941         file.
48942         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
48943         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
48944         multiarch objects.
48945         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48946         (__libc_ifunc_impl_list): Likewise.
48948         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
48949         file.
48950         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
48951         file.
48952         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
48953         multiarch rawmemchr for PPC32.
48954         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
48955         multiarch objects.
48956         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48957         (__libc_ifunc_impl_list): Likewise.
48959         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
48960         file.
48961         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
48962         file.
48963         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
48964         file: memrchr multiarch for PPC32.
48965         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
48966         multiarch objects.
48967         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48968         (__libc_ifunc_impl_list): Likewise.
48970         * string/memchr.c (__memchr): Using macro to redefine symbol name.
48971         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
48972         file.
48973         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
48974         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
48975         multiarch memchr for PPC32.
48976         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
48977         multiarch objects.
48978         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48979         (__libc_ifunc_impl_list): Likewise.
48981         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
48982         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
48983         file.
48984         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
48985         file.
48986         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
48987         file: multiarch mempcpy for PPC32.
48988         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
48989         multiarch objects.
48990         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48991         (__libc_ifunc_impl_list): Likewise.
48993         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
48994         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
48995         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
48996         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
48997         multiarch bzero for PPC32.
48998         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
48999         file.
49000         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
49001         file.
49002         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
49003         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
49004         file: multiarch memset for PPC32.
49005         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
49006         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
49007         memset multiarch objects.
49008         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49009         (__libc_ifunc_impl_list): Likewise.
49011         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
49012         file.
49013         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
49014         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
49015         memcmp for PPC32.
49016         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
49017         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
49018         multiarch objects.
49019         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49020         (__libc_ifunc_impl_list): Likewise.
49022         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
49023         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
49024         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
49025         file.
49026         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
49027         file.
49028         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
49029         file.
49030         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
49031         multiarch memcpy for PPC32.
49032         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
49033         multiarch objects.
49034         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49035         (__libc_ifunc_impl_list): Likewise.
49037         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
49038         support multiarch for POWER/PPC32.
49039         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
49040         Likewise.
49041         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
49042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
49043         Implies file to make multiarch folder appers before the fpu and
49044         default folder for power4 configuration.
49046 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
49048         * scripts/bench.pl: Append volatile keyword to type.
49050 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49052         * sysdeps/sh/sotruss-lib.c: New file.
49053         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
49055 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49059 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
49061         [BZ #6810]
49062         * math/w_tgamma.c: Include <errno.h>.
49063         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
49064         * math/w_tgammaf.c: Include <errno.h>.
49065         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
49066         * math/w_tgammal.c: Include <errno.h>.
49067         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
49068         * math/auto-libm-test-in: Do not allow missing errno on tgamma
49069         underflow.  Add more tgamma tests.
49070         * math/auto-libm-test-out: Regenerated.
49071         * sysdeps/i386/fpu/libm-test-ulps: Update.
49072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49074         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
49075         sin, sinh, tan, tanh, tgamma, y0 and y1.
49076         * math/auto-libm-test-out: Regenerated.
49077         * math/libm-test.inc (TEST_COND_x86_64): New macro.
49078         (TEST_COND_x86): Likewise.
49079         (M_E2l): Remove macro.
49080         (M_E3l): Likewise.
49081         (M_2_SQRT_PIl): Likewise.
49082         (M_SQRT_PIl): Likewise.
49083         (M_1_DIV_El): Likewise.
49084         (log_test_data): Use AUTO_TESTS_f_f.
49085         (log10_test_data): Likewise.
49086         (log1p_test_data): Likewise.
49087         (log2_test_data): Likewise.
49088         (sin_test_data): Likewise.
49089         (sin_tonearest_test_data): Likewise.
49090         (sin_towardzero_test_data): Likewise.
49091         (sin_downward_test_data): Likewise.
49092         (sin_upward_test_data): Likewise.
49093         (sinh_test_data): Likewise.
49094         (sinh_tonearest_test_data): Likewise.
49095         (sinh_towardzero_test_data): Likewise.
49096         (sinh_downward_test_data): Likewise.
49097         (sinh_upward_test_data): Likewise.
49098         (tan_test_data): Likewise.
49099         (tan_tonearest_test_data): Likewise.
49100         (tan_towardzero_test_data): Likewise.
49101         (tan_downward_test_data): Likewise.
49102         (tan_upward_test_data): Likewise.
49103         (tanh_test_data): Likewise.
49104         (tgamma_test_data): Likewise.
49105         (y0_test_data): Likewise.
49106         (y1_test_data): Likewise.
49107         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
49108         (special_real_inputs): Add pi/4.
49109         * sysdeps/i386/fpu/libm-test-ulps: Update.
49110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49112 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49114         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
49115         "longjmp_target" static probes.
49116         (__longjmp): Rename to __longjmp_symbol.
49117         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49118         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
49119         on which longjmp to generate.
49120         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49121         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
49122         probe.
49123         (__sigsetjmp): Rename to __sigsetjmp_symbol.
49124         (__sigjmp_save): Rename to __sigjmp_save_symbol.
49125         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
49126         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
49127         and __sigjmp_save_symbol based on which sigsetjmp to generated.
49128         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
49130         __longjmp_symbol based on which __longjmp to generate.
49131         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
49132         probe.
49133         (setjmp): Rename to setjmp_symbol.
49134         (__sigsetjmp): Rename to __sigsetjmp_symbol.
49135         (_setjmp): Rename to _setjmp_symbol.
49136         (__sigsetjmp): Rename to __sigsetjmp_symbol.
49137         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
49138         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
49139         which setjmp to generate.
49140         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
49141         "longjmp_target" static probes.
49143 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49145         * benchtests/README: Add note about output arguments.
49146         * benchtests/bench-sincos.c: Remove file.
49147         * benchtests/sincos-inputs: New file.
49148         * scripts/bench.pl: Identify output arguments and define
49149         static variables for them.
49151         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
49153         [BZ #15941]
49154         * Makefile (INSTALL): Add install-plain.texi as the primary
49155         dependency.
49156         * manual/install-plain.texi: New file.
49157         * manual/install.texi: Include node directive only for
49158         non-plaintext output.
49160 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
49162         * stdlib/longlong.h: Update from GCC.
49164         [BZ #6807]
49165         [BZ #15901]
49166         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
49167         * math/w_j0f.c (y0f): Likewise.
49168         * math/w_j0l.c (__y0l): Likewise.
49169         * math/w_j1.c (y1): Likewise.
49170         * math/w_j1f.c (y1f): Likewise.
49171         * math/w_j1l.c (__y1l): Likewise.
49172         * math/w_jn.c (yn): Likewise.
49173         * math/w_jnf.c (ynf): Likewise.
49174         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
49175         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
49176         value for Bessel function domain errors outside _SVID_ mode.
49177         Adjust sign of return value for yn (negative integer, 0).
49178         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
49179         by zero in return for negative x and set sign appropriately for
49180         negative n.
49181         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
49182         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49183         * math/libm-test.inc (y0_test_data): Add more tests and adjust
49184         expectations in error cases.
49185         (y1_test_data): Likewise.
49186         (yn_test_data): Likewise.
49187         * sysdeps/i386/fpu/libm-test-ulps: Update.
49188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49190 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49192         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
49193         "64" to "64-v1".  Add "64-v2".
49194         (abi-64-options): Rename to ...
49195         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
49196         (abi-64-condition): Rename to ...
49197         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
49198         (abi-64-ld-soname): Rename to ...
49199         (abi-64-v1-ld-soname): ... this.
49200         (abi-64-v2-options): Define.
49201         (abi-64-v2-condition): Likewise.
49202         (abi-64-v2-ld-soname): Likewise.
49203         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
49204         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
49205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
49206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
49207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
49209 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49210             Alan Modra  <amodra@gmail.com>
49212         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
49213         New versions for use with the ELFv2 ABI.
49214         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
49215         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
49216         declaration.
49217         (struct La_ppc64v2_retval): Likewise.
49218         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
49219         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
49220         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
49221         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
49222         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
49223         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49224         Do not save or restore CR.
49225         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
49226         (_dl_profile_resolve): Do no save or restore CR.  Support extended
49227         return values for ELFv2 ABI.  Fix location of FPR return registers.
49228         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
49229         updated values for _CALL_ELF == 2.
49230         (La_regs, La_retval, int_retval): Likewise.
49232 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49234         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
49235         (FRAME_MIN_SIZE_PARM): Likewise.
49236         (FRAME_BACKCHAIN): Likewise.
49237         (FRAME_CR_SAVE): Likewise.
49238         (FRAME_LR_SAVE): Likewise.
49239         (FRAME_TOC_SAVE): Likewise.
49240         (FRAME_PARM_SAVE): Likewise.
49241         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
49242         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
49243         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49244         (call_mcount_parm_offset): New macro.
49245         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
49246         (PROF): Use symbolic stack frame offsets.
49247         (TAIL_CALL_SYSCALL_ERROR): Likewise.
49248         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
49249         Redefine in terms of FRAME_MIN_SIZE.
49250         (_dl_runtime_resolve): Use symbolic stack frame offsets.
49251         (_dl_profile_resolve): Likewise.  Update comment.
49252         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
49253         symbols stack frame offsets.
49254         (__sigsetjmp): Likewise.
49255         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
49256         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
49257         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
49258         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
49260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
49261         (FRAME_BACKCHAIN): Remove.
49262         (FRAME_CR_SAVE): Likewise.
49263         (FRAME_LR_SAVE): Likewise.
49264         (FRAME_COMPILER_DW): Likewise.
49265         (FRAME_LINKER_DW): Likewise.
49266         (FRAME_TOC_SAVE): Likewise.
49267         (FRAME_PARM_SAVE): Likewise.
49268         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
49269         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
49270         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
49272         (CHECK_SP): Use symbolic stack frame offsets.
49273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
49274         zone" instead of caller's parameter save area for temp storage.
49275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49276         Likewise.  Also, use symbolic stack frame offsets.
49277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
49278         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
49279         our own stack frame instead of the caller's.
49280         (__socket): Use symbolic stack frame offsets.
49282 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49283             Alan Modra  <amodra@gmail.com>
49285         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
49286         Define.
49287         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
49288         (PPC64_LOCAL_ENTRY_OFFSET): Define.
49289         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
49290         New function.
49291         (elf_machine_fixup_plt): Call it.
49292         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
49293         reloc arguments.
49294         (elf_machine_rela): Update call to elf_machine_plt_conflict.
49295         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
49296         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
49297         r2 before calling target.
49299 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49300             Alan Modra  <amodra@gmail.com>
49302         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
49303         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
49304         versions of macros to support ELFv2 ABI.
49305         (LOCALENTRY): New macro.
49306         (ENTRY, EALIGN): Use it.
49307         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
49308         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
49309         fall through into ENTRY entry point.
49310         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
49311         Only define if _CALL_ELF != 2.
49313         (elf_machine_matches_host): Verify ABI version matches.
49314         (RTLD_START): Use LOCALENTRY.
49315         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
49316         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
49317         (PLT_ENTRY_WORDS): New macro.
49318         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
49319         (elf_machine_runtime_setup): Support ELFv2 ABI.
49320         (elf_machine_fixup_plt): Likewise.
49321         (elf_machine_plt_conflict): Likewise.
49322         (resolve_ifunc): Likewise.
49323         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
49324         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
49325         Likewise.
49326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
49327         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
49328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49329         (makecontext): Support ELFv2 ABI.
49330         * elf/elf.h (EF_PPC64_ABI): Define.
49332 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49334         * sysdeps/powerpc/powerpc64/sysdep.h
49335         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
49336         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
49337         (ENTRY) [ASSEMBLER]: ... but instead here ...
49338         (EALIGN) [ASSEMBLER]: ... and here.
49339         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
49340         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
49341         (ENTRY_2) [!ASSEMBLER]: Use it.
49342         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
49343         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
49344         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
49345         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
49346         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
49347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
49348         Use PPC64_LOAD_FUNCPTR.
49350         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
49352 2013-12-04  Alan Modra  <amodra@gmail.com>
49354         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
49355         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
49356         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
49357         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
49359         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
49360         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
49361         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
49362         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
49363         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
49364         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
49366 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49369         (__makecontext): Fix incorrect CFI when backtracing out of
49370         context created via makecontext.
49371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
49372         (__setcontext): Fix incorrect CFI during switch to new context.
49373         (__novec_setcontext): Likewise.
49375 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
49377         [BZ #4772]
49378         * time/strptime_l.c (__strptime_internal): Allow modifiers
49379         in strptime.
49380         * time/tst-strptime.c (day_tests): Add testcase.
49382 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49384         * scripts/bench.pl: Skip over blank lines.
49386 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
49388         [BZ #926]
49389         * manual/time.texi (Calendar Time): Clarify what timezone functions
49390         use.
49392 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49394         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49396 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
49398         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
49399         implementation.
49400         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
49401         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
49402         * debug/memset_chk.c (__memset_chk): Likewise.
49403         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
49404         * debug/strncpy_chk.c: Likewise.
49406 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
49408         [BZ #15268]
49409         [BZ #15425]
49410         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
49411         (__ieee754_exp): For possibly underflowing results, check size of
49412         result and force underflow exception if required.
49413         * math/auto-libm-test-in: Add more tests of exp.
49414         * math/auto-libm-test-out: Regenerated.
49415         * sysdeps/i386/fpu/libm-test-ulps: Update.
49416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49418         [BZ #16283]
49419         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
49420         * math/w_exp2f.c (__exp2f): Likewise.
49421         * math/w_exp2l.c (__exp2l): Likewise.
49422         * math/auto-libm-test-in: Do not allow missing errno on exp2
49423         underflow.
49424         * math/auto-libm-test-out: Regenerated.
49426 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
49428         [BZ #16274]
49429         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
49430         handle filename validation.
49431         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
49432         (do_open): Delete.
49434 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
49436         [BZ #6786]
49437         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
49438         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
49439         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
49440         <float.h>.
49441         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
49442         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
49443         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49444         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
49445         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49446         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
49447         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49448         * math/auto-libm-test-in: Don't allow missing errno from erfc.
49449         Add more erfc tests.
49450         * math/auto-libm-test-out: Regenerated.
49451         * sysdeps/i386/fpu/libm-test-ulps: Update.
49452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49454         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
49455         exp2, expm1, j0 and j1.
49456         * math/auto-libm-test-out: Regenerated.
49457         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
49458         (erfc_test_data): Likewise.
49459         (exp_test_data): Likewise.
49460         (exp_tonearest_test_data): Likewise.
49461         (exp_towardzero_test_data): Likewise.
49462         (exp_downward_test_data): Likewise.
49463         (exp_upward_test_data): Likewise.
49464         (exp10_test_data): Likewise.
49465         (exp2_test_data): Likewise.
49466         (expm1_test_data): Likewise.
49467         (j0_test_data): Likewise.
49468         (j1_test_data): Likewise.
49469         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
49470         (input_flag_type): Add flag_xfail_rounding.
49471         (input_flags): Add xfail-rounding.
49472         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
49473         (output_for_one_input_case): Handle flag_xfail_rounding.
49474         * sysdeps/i386/fpu/libm-test-ulps: Update.
49475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49477 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
49479         [BZ #16289]
49480         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
49481         division by 0.
49483 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49485         [BZ #16195]
49486         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
49487         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
49488         (STAP_PROBE0): New macro.
49489         (STAP_PROBE1): Likewise.
49490         (STAP_PROBE2): Likewise.
49491         (STAP_PROBE3): Likewise.
49492         (STAP_PROBE4): Likewise.
49494 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
49496         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
49498 2013-12-02  Steve Ellcey  <sellcey@mips.com>
49500         * benchtests/Makefile (bench): Add sqrt.
49501         (LDLIBS-bench-sqrt): New.
49502         * benchtests/sqrt-input: New.
49504 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
49506         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
49507         (GAIH_EAI): Likewise.
49508         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
49509         (gaih_inet): Likewise.
49510         (getaddrinfo): Don't use GAIH_EAI.
49512         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
49513         (struct gaih): Remove definition.
49515 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49517         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
49518         Use HERRNOP directly.
49520 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49522         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49524 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
49526         * math/gen-auto-libm-tests.c (test_functions): Add more
49527         single-argument functions.
49528         (special_fill_pi_2): New function.
49529         (special_fill_minus_pi_2): Likewise.
49530         (special_fill_pi_6): Likewise.
49531         (special_fill_minus_pi_6): Likewise.
49532         (special_fill_pi_3): Likewise.
49533         (special_fill_2pi_3): Likewise.
49534         (special_fill_e): Likewise.
49535         (special_fill_1_e): Likewise.
49536         (special_fill_e_minus_1): Likewise.
49537         (special_real_inputs): Add more special inputs.
49538         (output_for_one_input_case): Do not require ERANGE on underflow to
49539         zero if round-to-nearest result does not underflow to zero, unless
49540         exact results required.
49541         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
49542         atan, atanh, cbrt, cos and cosh.
49543         * math/auto-libm-test-out: Regenerated.
49544         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
49545         (acos_tonearest_test_data): Likewise.
49546         (acos_towardzero_test_data): Likewise.
49547         (acos_downward_test_data): Likewise.
49548         (acos_upward_test_data): Likewise.
49549         (acosh_test_data): Likewise.
49550         (asin_test_data): Likewise.
49551         (asin_tonearest_test_data): Likewise.
49552         (asin_towardzero_test_data): Likewise.
49553         (asin_upward_test_data): Likewise.
49554         (asinh_test_data): Likewise.
49555         (atan_test_data): Likewise.
49556         (atanh_test_data): Likewise.
49557         (cbrt_test_data): Likewise.
49558         (cos_test_data): Likewise.
49559         (cos_tonearest_test_data): Likewise.
49560         (cos_towardzero_test_data): Likewise.
49561         (cos_downward_test_data): Likewise.
49562         (cos_upward_test_data): Likewise.
49563         (cosh_test_data): Likewise.
49564         (cosh_tonearest_test_data): Likewise.
49565         (cosh_towardzero_test_data): Likewise.
49566         (cosh_downward_test_data): Likewise.
49567         (cosh_upward_test_data): Likewise.
49568         * sysdeps/i386/fpu/libm-test-ulps: Update.
49569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49571 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
49573         [BZ #6787]
49574         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
49575         * math/w_exp10f.c (__exp10f): Likewise.
49576         * math/w_exp10l.c (__exp10l): Likewise.
49577         * math/libm-test.inc (exp10_test_data): Add more tests and expect
49578         errno settings in existing tests.
49580         [BZ #14032]
49581         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
49582         precision control set to double precision.
49583         * sysdeps/i386/fpu/w_sqrt.c: New file.
49584         * math/auto-libm-test-in: Add more tests.
49585         * math/auto-libm-test-out: Update.
49587         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
49588         (sqrt_test_tonearest): New function.
49589         (sqrt_towardzero_test_data): New variable.
49590         (sqrt_test_towardzero): New function.
49591         (sqrt_downward_test_data): New variable.
49592         (sqrt_test_downward): New function.
49593         (sqrt_upward_test_data): New variable.
49594         (sqrt_test_upward): New function.
49595         (main): Call the new functions.
49597         * math/gen-auto-libm-tests.c: New file.
49598         * math/auto-libm-test-in: Likewise.
49599         * math/auto-libm-test-out: New generated file.
49600         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
49601         variables.
49602         (%beautify): Add generated representations of zero.
49603         (top level): Set $auto_input and call parse_auto_input.
49604         (beautify): Remove trailing "f" from hex float constants.
49605         (parse_args): Handle XFAIL_TEST.
49606         (convert_condition): New function.
49607         (or_value): Likewise.
49608         (or_cond_value): Likewise.
49609         (generate_testfile): Handle AUTO_TESTS_* lines.
49610         (parse_auto_input): New function.
49611         * math/libm-test.inc (XFAIL_TEST): New macro.
49612         (ERRNO_UNCHANGED): Update value.
49613         (ERRNO_EDOM): Likewise.
49614         (ERRNO_ERANGE): Likewise.
49615         (IGNORE_RESULT): Likewise.
49616         (TEST_COND_flt_32): New macro.
49617         (TEST_COND_dbl_64): Likewise.
49618         (TEST_COND_ldbl_96_intel): Likewise.
49619         (TEST_COND_ldbl_96_m68k): Likewise.
49620         (TEST_COND_ldbl_128): Likewise.
49621         (TEST_COND_ldbl_128ibm): Likewise.
49622         (TEST_COND_long32): Likewise.
49623         (TEST_COND_long64): Likewise.
49624         (TEST_COND_before_rounding): Likewise.
49625         (TEST_COND_after_rounding): Likewise.
49626         (enable_test): Handle XFAIL_TEST flag.
49627         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
49628         with finite results.
49629         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
49630         auto-libm-test-out.
49632 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49633             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49635         [BZ #16214]
49636         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
49637         __tls_get_addr_internal instead of __tls_get_offset in order to
49638         avoid GOT pointer dependency.  Make rtld export
49639         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
49640         __tls_get_addr since we are a __tls_get_offset platform.
49641         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
49642         GOT pointer being set up before.
49643         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
49645 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
49647         * manual/math.texi (Errors in Math Functions): Document accuracy
49648         goals.
49650         [BZ #15004]
49651         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
49652         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
49653         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49654         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49655         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49656         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49657         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49658         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
49659         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
49660         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49661         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49662         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49663         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49664         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49665         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49666         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
49668         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
49669         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
49670         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
49671         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
49672         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
49673         Likewise.
49674         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
49675         Likewise.
49676         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
49677         Likewise.
49678         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
49679         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
49680         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
49681         atomic-feupdateenv and flt-rounds.
49682         * sysdeps/powerpc/nofpu/Versions (libc): Add
49683         __atomic_feholdexcept, __atomic_feclearexcept,
49684         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
49685         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
49686         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
49687         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
49688         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
49689         here.
49690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
49691         Update.
49693         * manual/arith.texi (FP Exceptions): Document that exceptions may
49694         not be raised when matherr is used.
49695         (Math Error Reporting): Document overflow in directed rounding
49696         modes.  Document that errno may not be set when finite values are
49697         returned on overflow.  Document intent to set errno on underflow
49698         only for underflow to zero.
49700         [BZ #16271]
49701         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
49702         round-to-nearest then adjust result for other rounding modes.
49703         * include/fenv.h (fegetround): Use libm_hidden_proto.
49704         * math/fegetround.c (fegetround): Use libm_hidden_def.
49705         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
49706         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
49707         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
49708         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
49709         Likewise.
49710         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
49711         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
49712         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
49713         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
49715 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49717         [BZ #16077]
49718         * nss/Versions (libnss_files): Add
49719         _nss_files_gethostbyname3_r.
49720         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
49721         New function.
49722         (HOST_DB_LOOKUP): Remove macro.
49723         (_nss_files_gethostbyname_r): Implement function without the
49724         HOST_DB_LOOKUP macro.
49725         (_nss_files_gethostbyname2_r): Likewise.
49727 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
49729         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
49731 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
49733         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
49734         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
49735         warning.
49737 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49739         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
49740         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
49741         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
49742         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
49743         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
49744         __fe_nomask_env_priv and attribute_hidden.
49745         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
49746         (libc_feupdateenv_test_ppc): Likewise.
49747         (libc_feresetround_ppc): Likewise.
49748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
49749         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
49750         compat_symbol macro.
49751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
49752         (__fe_nomask_env): Likewise.
49753         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
49755 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
49757         * string/Makefile: Remove ifunc tests.
49758         * string/test-string.h: Define TEST_IFUNC.
49759         * string/test-bcopy-ifunc.c: Remove.
49760         * string/test-bzero-ifunc.c: Likewise.
49761         * string/test-memccpy-ifunc.c: Likewise.
49762         * string/test-memchr-ifunc.c: Likewise.
49763         * string/test-memcmp-ifunc.c: Likewise.
49764         * string/test-memcpy-ifunc.c: Likewise.
49765         * string/test-memmem-ifunc.c: Likewise.
49766         * string/test-memmove-ifunc.c: Likewise.
49767         * string/test-mempcpy-ifunc.c: Likewise.
49768         * string/test-memrchr-ifunc.c: Likewise.
49769         * string/test-memset-ifunc.c: Likewise.
49770         * string/test-rawmemchr-ifunc.c: Likewise.
49771         * string/test-stpcpy-ifunc.c: Likewise.
49772         * string/test-stpncpy-ifunc.c: Likewise.
49773         * string/test-strcasecmp-ifunc.c: Likewise.
49774         * string/test-strcasestr-ifunc.c: Likewise.
49775         * string/test-strcat-ifunc.c: Likewise.
49776         * string/test-strchr-ifunc.c: Likewise.
49777         * string/test-strchrnul-ifunc.c: Likewise.
49778         * string/test-strcmp-ifunc.c: Likewise.
49779         * string/test-strcpy-ifunc.c: Likewise.
49780         * string/test-strcspn-ifunc.c: Likewise.
49781         * string/test-strlen-ifunc.c: Likewise.
49782         * string/test-strncasecmp-ifunc.c: Likewise.
49783         * string/test-strncat-ifunc.c: Likewise.
49784         * string/test-strncmp-ifunc.c: Likewise.
49785         * string/test-strncpy-ifunc.c: Likewise.
49786         * string/test-strnlen-ifunc.c: Likewise.
49787         * string/test-strpbrk-ifunc.c: Likewise.
49788         * string/test-strrchr-ifunc.c: Likewise.
49789         * string/test-strspn-ifunc.c: Likewise.
49790         * string/test-strstr-ifunc.c: Likewise.
49792 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
49794         * benchtests/Makefile: Remove ifunc tests.
49795         * benchtests/bench-string.h: Define TEST_IFUNC.
49796         * benchtests/bench-bcopy-ifunc.c: Remove.
49797         * benchtests/bench-bzero-ifunc.c: Likewise.
49798         * benchtests/bench-memccpy-ifunc.c: Likewise.
49799         * benchtests/bench-memchr-ifunc.c: Likewise.
49800         * benchtests/bench-memcmp-ifunc.c: Likewise.
49801         * benchtests/bench-memcpy-ifunc.c: Likewise.
49802         * benchtests/bench-memmem-ifunc.c: Likewise.
49803         * benchtests/bench-memmove-ifunc.c: Likewise.
49804         * benchtests/bench-mempcpy-ifunc.c: Likewise.
49805         * benchtests/bench-memrchr-ifunc.c: Likewise.
49806         * benchtests/bench-memset-ifunc.c: Likewise.
49807         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
49808         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
49809         * benchtests/bench-stpcpy-ifunc.c: Likewise.
49810         * benchtests/bench-stpncpy-ifunc.c: Likewise.
49811         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
49812         * benchtests/bench-strcasestr-ifunc.c: Likewise.
49813         * benchtests/bench-strcat-ifunc.c: Likewise.
49814         * benchtests/bench-strchr-ifunc.c: Likewise.
49815         * benchtests/bench-strchrnul-ifunc.c: Likewise.
49816         * benchtests/bench-strcmp-ifunc.c: Likewise.
49817         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
49818         * benchtests/bench-strcpy-ifunc.c: Likewise.
49819         * benchtests/bench-strcspn-ifunc.c: Likewise.
49820         * benchtests/bench-strlen-ifunc.c: Likewise.
49821         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
49822         * benchtests/bench-strncat-ifunc.c: Likewise.
49823         * benchtests/bench-strncmp-ifunc.c: Likewise.
49824         * benchtests/bench-strncpy-ifunc.c: Likewise.
49825         * benchtests/bench-strnlen-ifunc.c: Likewise.
49826         * benchtests/bench-strpbrk-ifunc.c: Likewise.
49827         * benchtests/bench-strrchr-ifunc.c: Likewise.
49828         * benchtests/bench-strsep-ifunc.c: Likewise.
49829         * benchtests/bench-strspn-ifunc.c: Likewise.
49830         * benchtests/bench-strstr-ifunc.c: Likewise.
49832 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
49834         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
49836 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
49838         * resolv/netdb.h: Use __glibc_reserved instead __unused.
49839         * rt/aio.h: Likewise.
49840         * sysdeps/gnu/bits/utmp.h: Likewise.
49841         * sysdeps/gnu/bits/utmpx.h: Likewise.
49842         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
49843         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
49844         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
49845         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
49846         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
49847         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
49848         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
49849         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
49850         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
49851         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
49852         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
49853         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
49854         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
49855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
49856         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
49857         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
49858         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
49859         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
49860         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
49861         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
49862         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
49863         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
49864         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
49865         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49866         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
49867         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49868         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
49869         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
49870         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
49871         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
49872         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
49873         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
49874         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
49875         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
49876         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
49877         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
49878         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
49879         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
49880         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
49881         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
49882         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
49883         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
49885 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
49887         [BZ #16245]
49888         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
49889         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
49891 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
49893         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
49894         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
49895         Likewise.
49897 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49899         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
49900         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
49901         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
49902         (__fesetround): Remove define.
49903         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
49904         rounding and exceptions handling.
49905         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
49906         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
49907         (__fe_nomask_env): Likewise.
49908         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
49909         __fegetround instead of fegetround.
49910         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
49911         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
49913 2013-11-21  Roland McGrath  <roland@hack.frob.com>
49915         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
49916         it's there.
49918         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
49920 2013-11-21  Meador Inge  <meadori@codesourcery.com>
49922         [BZ #11157]
49923         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
49924         (encrypt_r): Likewise.
49925         * malloc/obstack.h (obstack_free): Likewise.
49926         * posix/unistd.h (encrypt): Likewise.
49928 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
49930         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
49931         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
49932         DL_CALL_DT_FINI() that call the functions directly.
49933         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
49934         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
49935         * elf/dl-fini.c: Likewise.
49937 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
49939         * malloc/hooks.c (memalign_check): Add alignment rounding.
49940         * malloc/malloc.c (_mid_memalign): New function.
49941         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
49942         Implement by calling _mid_memalign.
49943         * manual/probes.texi (Memory Allocation Probes): Remove
49944         memory_valloc_retry and memory_pvalloc_retry.
49946 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49948         * locale/programs/locarchive.c (open_archive): Add const
49949         qualifier to ARCHIVEFNAME and copy default fname to
49950         DEFAULT_FNAME.
49952         [BZ #15601]
49953         * libio/tst-widetext.input: Rename Oriya to Odia.
49954         * locale/iso-639.def: Likewise.
49956         * manual/probes.texi (Mathematical Function Probes): Add
49957         documentation for sin, cos, asin and acos probes.
49958         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
49959         (__sin32): Add slowasin probe.
49960         (__cos32): Add slowacos probe.
49961         (__mpsin): Add slowsin probe.
49962         (__mpcos): Add slowcos probe.
49964 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
49966         [BZ #15483]
49967         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
49968         thread-local __sim_exceptions_thread and global
49969         __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         (__simulate_exceptions): Use thread-local floating-point state and
49976         set global state from it as needed.
49977         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
49978         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
49979         __sim_round_mode_thread.
49980         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
49981         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
49982         and global __sim_exceptions_global.
49983         (__sim_disabled_exceptions): Change to thread-local
49984         __sim_disabled_exceptions_thread and global
49985         __sim_disabled_exceptions_global.
49986         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
49987         and global __sim_round_mode_global.
49988         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
49989         (SIM_SET_GLOBAL): Likewise.
49990         * sysdeps/powerpc/soft-fp/sfp-machine.h
49991         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
49992         __sim_round_mode_thread.
49993         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
49994         __sim_disabled_exceptions_thread.
49995         (__sim_exceptions): Change to __sim_exceptions_thread.
49996         (__sim_disabled_exceptions): Change to
49997         __sim_disabled_exceptions_thread.
49998         (__sim_round_mode): Change to __sim_round_mode_thread.
49999         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
50000         thread-local floating-point state and set global state from it as
50001         needed.
50002         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
50003         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
50004         (__sim_disabled_exceptions): Remove extern declaration.
50005         (feenableexcept): Use thread-local floating-point state and set
50006         global state from it as needed.
50007         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
50008         extern declaration.
50009         (__sim_disabled_exceptions): Likewise.
50010         (__sim_round_mode): Likewise.
50011         (__fegetenv): Use thread-local floating-point state.
50012         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
50013         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
50014         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
50015         floating-point state and set global state from it as needed.
50016         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
50017         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
50018         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
50019         Likewise.
50020         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
50021         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
50022         Likewise.
50023         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
50024         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
50025         Use __sim_round_mode_thread.
50026         * math/test-fenv-tls.c: New file.
50027         * math/Makefile (tests): Add test-fenv-tls.
50028         ($(objpfx)test-fenv-tls): Depend on
50029         $(common-objpfx)nptl/libpthread.so.
50031 2013-11-19  Andreas Schwab  <schwab@suse.de>
50033         * locale/programs/locale.c (show_info): Decode wordarray elements.
50034         * locale/categories.def (LC_MONETARY): Add element for
50035         _NL_MONETARY_CRNCYSTR.
50036         * locale/C-monetary.c (conversion_rate): New variable.
50037         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
50038         element.
50040 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
50042         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
50043         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
50045 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
50047         * elf/Makefile (tst-auxv): New test.
50048         * elf/tst-auxv.c: New
50049         * elf/rtld.c (dl_main): Adjust AT_EXECFN
50051 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
50053         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
50054         (hidden_proto): Caller changed.
50055         (hidden_tls_proto): New macro.
50056         (libc_hidden_tls_proto): Likewise.
50057         (rtld_hidden_tls_proto): Likewise.
50058         (libm_hidden_tls_proto): Likewise.
50059         (libresolv_hidden_tls_proto): Likewise.
50060         (librt_hidden_tls_proto): Likewise.
50061         (libdl_hidden_tls_proto): Likewise.
50062         (libnss_files_hidden_tls_proto): Likewise.
50063         (libnsl_hidden_tls_proto): Likewise.
50064         (libnss_nisplus_hidden_tls_proto): Likewise.
50065         (libutil_hidden_tls_proto): Likewise.
50067 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
50069         [BZ #10253]
50070         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
50071         (decompose_rpath): Defer expansion to fillin_rpath.
50072         (_dl_init_paths): Pass linkmap to fillin_rpath.
50074 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
50076         * benchtests/Makefile: Add strsep.
50077         * benchtests/bench-strsep.c: New file: strsep benchtest.
50078         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
50080 2013-11-18  Andreas Schwab  <schwab@suse.de>
50082         * locale/programs/locale.c (show_info) [case byte]: Check for
50083         '\377' instead of '\177'.
50084         * locale/C-monetary.c (not_available): Always use "\377".
50085         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
50086         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
50087         detect unavailable sign_posn locale elements.
50088         * locale/localeconv.c (__localeconv): For grouping and
50089         mon_grouping handle "\177" and "\377" like no grouping.
50090         (INT_ELEM): New macro.  Use it to set all numeric members.
50091         * locale/programs/ld-monetary.c (monetary_read)
50092         <tok_mon_grouping>: Normalize single -1 to the empty string.
50093         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
50094         Likewise.
50096 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
50098         [BZ #16055]
50099         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
50100         when we match (nil).
50101         * stdio-common/tst-sscanf.c (struct test): Add testcase.
50103 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
50105         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
50106         (NO_TEST_INLINE): Update value.
50107         (ERRNO_UNCHANGED): Likewise.
50108         (ERRNO_EDOM): Likewise.
50109         (ERRNO_ERANGE): Likewise.
50110         (IGNORE_RESULT): Likewise.
50111         (check_float_internal): Check signs of NaN results if
50112         TEST_NAN_SIGN used.
50113         (check_complex): Pass TEST_NAN_SIGN flag through to second
50114         check_float_internal call.
50115         (copysign_test_data): Add tests with quiet NaNs as second
50116         argument.  Use TEST_NAN_SIGN.
50117         (fabs_test_data): Add test of negative quiet NaN argument.  Use
50118         TEST_NAN_SIGN.
50119         (signbit_test_data): Add tests of quiet NaN argument.
50120         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
50122         * math/gen-libm-test.pl (show_exceptions): Take extra argument
50123         $ignore_result.
50124         (parse_args): Handle function results specified as IGNORE.
50125         * math/libm-test.inc (IGNORE_RESULT): New macro.
50126         (check_float_internal): Do not check numerical result if flag
50127         IGNORE_RESULT set.
50128         (check_complex): Pass through IGNORE_RESULT to second
50129         check_float_internal call.
50130         (check_int): Do not check numerical result if flag IGNORE_RESULT
50131         set.
50132         (check_long): Likewise.
50133         (check_bool): Likewise.
50134         (check_longlong): Likewise.
50135         (lrint_test_data): Add tests of infinite and NaN arguments.
50136         (lrint_tonearest_test_data): Likewise.
50137         (lrint_towardzero_test_data): Likewise.
50138         (lrint_downward_test_data): Likewise.
50139         (lrint_upward_test_data): Likewise.
50140         (llrint_test_data): Likewise.
50141         (llrint_tonearest_test_data): Likewise.
50142         (llrint_towardzero_test_data): Likewise.
50143         (llrint_downward_test_data): Likewise.
50144         (llrint_upward_test_data): Likewise.
50145         (lround_test_data): Likewise.
50146         (llround_test_data): Likewise.
50148         * math/libm-test.inc (NO_TEST_INLINE): New macro.
50149         (ERRNO_UNCHANGED): Update value.
50150         (ERRNO_EDOM): Likewise.
50151         (ERRNO_ERANGE): Likewise.
50152         (NO_TEST_INLINE_FLOAT): New macro.
50153         (NO_TEST_INLINE_DOUBLE): Likewise.
50154         (enable_test): New function.
50155         (RUN_TEST_f_f): Check enable_test before running test.
50156         (RUN_TEST_2_f): Likewise.
50157         (RUN_TEST_fff_f): Likewise.
50158         (RUN_TEST_c_f): Likewise.
50159         (RUN_TEST_f_f1): Likewise.
50160         (RUN_TEST_fF_f1): Likewise.
50161         (RUN_TEST_fI_f1): Likewise.
50162         (RUN_TEST_ffI_f1): Likewise.
50163         (RUN_TEST_c_c): Likewise.
50164         (RUN_TEST_cc_c): Likewise.
50165         (RUN_TEST_f_i): Likewise.
50166         (RUN_TEST_f_i_tg): Likewise.
50167         (RUN_TEST_ff_i_tg): Likewise.
50168         (RUN_TEST_f_b): Likewise.
50169         (RUN_TEST_f_b_tg): Likewise.
50170         (RUN_TEST_f_l): Likewise.
50171         (RUN_TEST_f_L): Likewise.
50172         (RUN_TEST_fFF_11): Likewise.
50173         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
50174         conditionals.
50175         (cosh_test_data): Likewise.
50176         (exp_test_data): Likewise.
50177         (expm1_test_data): Likewise.
50178         (hypot_test_data): Likewise.
50179         (pow_test_data): Likewise.
50180         (sinh_test_data): Likewise.
50181         (tanh_test_data): Likewise.
50182         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
50183         flags argument.
50185         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
50186         tests with quiet NaN input and output.
50187         (acosh_test_data): Likewise.
50188         (asin_test_data): Likewise.
50189         (asinh_test_data): Likewise.
50190         (atan_test_data): Likewise.
50191         (atanh_test_data): Likewise.
50192         (atan2_test_data): Likewise.
50193         (cbrt_test_data): Likewise.
50194         (cos_test_data): Likewise.
50195         (cosh_test_data): Likewise.
50196         (erf_test_data): Likewise.
50197         (erfc_test_data): Likewise.
50198         (exp_test_data): Likewise.
50199         (exp10_test_data): Likewise.
50200         (exp2_test_data): Likewise.
50201         (expm1_test_data): Likewise.
50202         (hypot_test_data): Likewise.
50203         (j0_test_data): Likewise.
50204         (j1_test_data): Likewise.
50205         (jn_test_data): Likewise.
50206         (lgamma_test_data): Likewise.
50207         (log_test_data): Likewise.
50208         (log10_test_data): Likewise.
50209         (log1p_test_data): Likewise.
50210         (log2_test_data): Likewise.
50211         (pow_test_data): Likewise.
50212         (scalb_test_data): Likewise.
50213         (sin_test_data): Likewise.
50214         (sincos_test_data): Likewise.
50215         (sinh_test_data): Likewise.
50216         (tan_test_data): Likewise.
50217         (tanh_test_data): Likewise.
50218         (tgamma_test_data): Likewise.
50219         (y0_test_data): Likewise.
50220         (y1_test_data): Likewise.
50221         (yn_test_data): Likewise.
50223         [BZ #16167]
50224         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
50225         argument being NaN and avoid computations with second argument in
50226         that case.
50227         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50228         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
50229         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50231 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
50233         * locale/iso-639.def: Add Chitwani Tharu (the).
50235 2013-11-14  Andreas Schwab  <schwab@suse.de>
50237         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
50238         word instead of empty string.
50240 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50243         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
50244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50245         (__fe_nomask_env): Likewise.
50247 2013-11-13  Steve Ellcey  <sellcey@mips.com>
50249         * benchtests/bench-timing.h: Include time.h.
50251 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
50253         [BZ #15997]
50254         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
50255         to 3.4.0 for x32.
50256         * sysdeps/unix/sysv/linux/configure: Regenerated.
50258 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
50260         [BZ #16151]
50261         * stdlib/strtod_l.c (round_and_return): Do not consider
50262         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
50263         exponent one less than half the least subnormal exponent.
50264         * stdlib/test-strtod-round-data: Add more tests.
50265         * stdlib/tst-strtod-round.c (tests): Regenerated.
50267 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50269         [BZ #14143]
50270         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
50271         (__fe_mask_env): Likewise.
50272         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
50273         libm_hidden_proto and add function prototype.
50274         (__fe_mask_env): Add function prototype.
50275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50276         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
50277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
50278         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
50279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50280         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
50282 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50284         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50285         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
50287 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50289         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
50290         of htab_find_slot().
50292 2013-11-11  David S. Miller  <davem@davemloft.net>
50294         [BZ #16150]
50295         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
50296         symbol in the non-vis3 case in static builds.
50297         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
50298         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
50299         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
50300         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
50302 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
50304         [BZ #387]
50305         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
50306         it is empty.
50308 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50310         * benchtests/Makefile: Add bench-strtod.
50311         * benchtests/bench-strtod.c: New file: strtod benchtest
50313 2013-11-11  Andreas Schwab  <schwab@suse.de>
50315         [BZ #16153]
50316         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
50317         terminating NUL in key length.
50319 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50321         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
50322         Add artificial ODP entry for vDSO symbol for PPC64.
50323         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
50324         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
50326 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
50328         [BZ #15374]
50329         * nss/getent.c (services_keys): Recognize services starting with digit.
50331 2013-11-06  David S. Miller  <davem@davemloft.net>
50333         [BZ #15985]
50334         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
50335         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
50337 2013-11-06  Will Newton  <will.newton@linaro.org>
50339         * manual/memory.texi (Malloc Examples): Remove register
50340         keyword from examples.
50342 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
50344         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
50346 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
50348         [BZ #6981]
50349         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
50350         depending on [__GCC_IEC_559 > 0].
50351         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
50352         depending on [__GCC_IEC_559_COMPLEX > 0].
50354 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
50356         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
50357         to iso-639.def.
50359 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
50361         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
50363 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
50365         [BZ #16112]
50366         * malloc/malloc (malloc_info): Do not handle first bin as
50367         special case.
50369 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
50371         * locale/iso-639.def: Add Central Nahuatl (nhn).
50373 2013-11-01  Bruno Haible  <bruno@clisp.org>
50375         [BZ #7003]
50376         * manual/math.texi (BSD Random): Specify range upper bound as
50377         in POSIX.
50379 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
50381         * locale/iso-639.def: Add Meadow Mari (mhr).
50383 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
50385         [BZ #14752], [BZ #15763]
50386         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
50387         Validate name.
50388         * rt/tst_shm.c: Add test for escaping directory.
50390 2013-10-31  Andreas Schwab  <schwab@suse.de>
50392         [BZ #15917]
50393         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
50394         followed by 'x' as part of digit sequence.
50395         * stdio-common/tst-sscanf.c (double_tests2): New tests.
50397 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
50399         [BZ #16037]
50400         * configure.ac: allow GNU Make 4.0 and greater.
50401         * configure: Regenerated.
50403 2013-10-30  Will Newton  <will.newton@linaro.org>
50405         [BZ #16038]
50406         * malloc/hooks.c (memalign_check): Limit alignment to the
50407         maximum representable power of two.
50408         * malloc/malloc.c (__libc_memalign): Likewise.
50409         * malloc/tst-memalign.c (do_test): Add test for very
50410         large alignment values.
50411         * malloc/tst-posix_memalign.c (do_test): Likewise.
50413 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
50415         [BZ #11087]
50416         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
50417         (munmap_chunk): Likewise.
50418         (mremap_chunk): Likewise.
50420 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
50422         [BZ #15799]
50423         * stdlib/div.c (div): Remove obsolete code.
50424         * stdlib/ldiv.c (ldiv): Likewise.
50425         * stdlib/lldiv.c (lldiv): Likewise.
50427 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50429         [BZ #16071]
50430         * nss/nss_files/files-XXX.c (get_contents_ret): New
50431         enumerator.
50432         (get_contents): New function.
50433         (internal_getent): Use it.  Expand size of LINEBUFLEN.
50435 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
50437         * configure.in: Moved to ...
50438         * configure.ac: ... here. Change reference to configure.in
50439         to configure.ac.
50440         * sysdeps/arm/preconfigure.ac: ... here.
50441         configure.in to configure.ac.
50442         * sysdeps/gnu/configure.in: Moved to ...
50443         * sysdeps/gnu/configure.ac: ... here.
50444         * sysdeps/i386/configure.in: Moved to ...
50445         * sysdeps/i386/configure.ac: ... here.
50446         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
50447         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
50448         * sysdeps/mach/configure.in: Moved to ...
50449         * sysdeps/mach/configure.ac: ... here.
50450         * sysdeps/mach/hurd/configure.in: Moved to ...
50451         * sysdeps/mach/hurd/configure.ac: ... here.
50452         * sysdeps/powerpc/configure.in: Moved to ...
50453         * sysdeps/powerpc/configure.ac: ... here.
50454         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
50455         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
50456         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
50457         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
50458         * sysdeps/s390/s390-32/configure.in: Moved to ...
50459         * sysdeps/s390/s390-32/configure.ac: ... here.
50460         * sysdeps/s390/s390-64/configure.in: Moved to ...
50461         * sysdeps/s390/s390-64/configure.ac: ... here.
50462         * sysdeps/sh/configure.in: Moved to ...
50463         * sysdeps/sh/configure.ac: ... here.
50464         * sysdeps/sparc/configure.in: Moved to ...
50465         * sysdeps/sparc/configure.ac: ... here.
50466         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
50467         * sysdeps/unix/sysv/linux/configure.ac: ... here.
50468         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
50469         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
50470         * sysdeps/x86_64/configure.in: Moved to ...
50471         * sysdeps/x86_64/configure.ac: ... here.
50472         * sysdeps/x86_64/preconfigure.in: Moved to ...
50473         * sysdeps/x86_64/preconfigure.ac: ... here.
50474         * aclocal.m4: Change reference to configure.in to configure.ac.
50475         * config.h.in: Likewise.
50476         * manual/install.texi: Likewise.
50477         * manual/maint.texi: Likewise.
50478         * Makefile: Likewise.
50479         * malloc/Makefile: Likewise.
50480         * nscd/Makefile: Likewise.
50481         * Makeconfig: Change reference to configure.in and
50482         preconfigure.in to configure.ac and preconfigure.ac
50483         respectively.
50484         * INSTALL: Regenerated.
50485         * configure: Likewise.
50486         * sysdeps/gnu/configure: Likewise.
50487         * sysdeps/i386/configure: Likewise.
50488         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
50489         * sysdeps/mach/configure: Likewise.
50490         * sysdeps/mach/hurd/configure: Likewise.
50491         * sysdeps/powerpc/configure: Likewise.
50492         * sysdeps/powerpc/powerpc32/configure: Likewise.
50493         * sysdeps/powerpc/powerpc64/configure: Likewise.
50494         * sysdeps/s390/s390-32/configure: Likewise.
50495         * sysdeps/s390/s390-64/configure: Likewise.
50496         * sysdeps/sh/configure: Likewise.
50497         * sysdeps/sparc/configure: Likewise.
50498         * sysdeps/unix/sysv/linux/configure: Likewise.
50499         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
50500         * sysdeps/x86_64/configure: Likewise.
50501         * sysdeps/x86_64/preconfigure: Likewise.
50503 2013-10-29  Andreas Schwab  <schwab@suse.de>
50505         * stdio-common/Makefile (tst-swscanf-ENV): Define.
50507 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50509         * benchtests/pow-inputs: Add new inputs.
50511         * benchtests/exp-inputs: Add new inputs.
50513         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
50514         conditional check for return value.
50515         (__cos32): Likewise.
50517 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50519         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
50520         to provide a boost for large inputs with word alignment.
50521         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
50522         implementation based on optimized PPC64 strcpy.
50523         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
50524         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
50525         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
50526         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
50528 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
50530         [BZ #2801]
50531         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
50533 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
50535         [BZ #14876]
50536         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
50537         * time/tst-strptime.c (day_tests): Add testcase.
50539 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
50541         [BZ #14029]
50542         * manual/pattern.texi: Acknowledge that fnmatch can fail.
50544 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
50546         [BZ #16074]
50547         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
50548         MAP_FAILED on error.
50550 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50552         [BZ #16072]
50553         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
50554         heap for large requests.
50556 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
50558         [BZ #9954]
50559         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
50560         result if the result has no associated interface.
50561         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
50562         interface for all 127.X.Y.Z addresses.
50564 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
50566         * locale/iso-639.def: Add Ligurian (lij)
50568 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
50570         [BZ #15825]
50571         * sunrpc/rpc_main.c: Document rpcgen -5.
50573 2013-10-19  Michael Stahl  <mstahl@redhat.com>
50575         * elf/rtld.c (do_preload): Print the reason why preloading failed.
50577 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
50579         [BZ #10278]
50580         * posix/glob.c: Match only directories when trailing slash is present.
50581         * posix/tst-gnuglob.c (my_opendir): Do not open files.
50582         (main): Add testcase.
50584 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
50586         [BZ #15670]
50587         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
50589 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
50591         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
50592         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
50593         AUTH_DES and cindex for FIPS 140-2.
50594         (DES Encryption): Add cindex FIPS 46-3.
50596         * locale/locarchive.h (struct locarhandle): Add fname.
50597         * locale/programs/localedef.c (main): Pass ARGV[remaining]
50598         if an optional argument was specified to --list-archive,
50599         otherwise NULL.
50600         * locale/programs/locarchive.c (show_archive_content): Take new
50601         argument fname and pass it via ah.fname to open_archive.
50602         * locale/programs/localedef.h: Update decl.
50603         (open_archive): If AH->fname is non-null, open that file
50604         rather than the default file name, and don't ignore ENOENT.
50605         (create_archive): Set AH.fname to NULL.
50606         (delete_locales_from_archive): Likewise.
50607         (add_locales_to_archive): Likewise.
50608         * locale/programs/locfile.c (write_all_categories): Likewise.
50610 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
50611             Aldy Hernandez  <aldyh@redhat.com>
50613         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
50614         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
50615         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
50616         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
50617         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
50618         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
50619         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
50620         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
50621         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
50622         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
50623         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
50624         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
50625         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
50626         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
50627         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
50628         Likewise.
50629         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
50630         Likewise.
50631         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
50632         Likewise.
50633         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
50634         Likewise.
50635         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
50636         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
50637         Likewise.
50638         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
50639         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
50640         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
50641         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
50642         Likewise.
50643         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
50644         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
50645         * sysdeps/powerpc/preconfigure: Likewise.
50646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
50647         Likewise.
50648         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
50649         Replace contents of file by #include of <fenv_libc.h>.
50650         * sysdeps/powerpc/soft-fp/sfp-machine.h
50651         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
50652         and <sys/prctl.h>.
50653         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
50654         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
50655         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
50656         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
50657         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
50658         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
50659         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
50660         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
50661         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
50662         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
50663         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
50664         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
50665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
50666         Allow copysignl PLT reference to be missing.
50668 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
50669             Joseph Myers  <joseph@codesourcery.com
50671         [BZ #15948]
50672         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
50673         single character.
50674         (add_to_tablewc): Assert sequence of wide characters is nonempty.
50676 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50678         * elf/tst-tls-dlinfo.c: Don't include tls.h.
50679         * elf/tst-tls1.c: Likewise.
50680         * elf/tst-tls10.h: Likewise.
50681         * elf/tst-tls14.c: Likewise.
50682         * elf/tst-tls2.c: Likewise.
50683         * elf/tst-tls3.c: Likewise.
50684         * elf/tst-tls4.c: Likewise.
50685         * elf/tst-tls5.c: Likewise.
50686         * elf/tst-tls6.c: Likewise.
50687         * elf/tst-tls7.c: Likewise.
50688         * elf/tst-tls8.c: Likewise.
50689         * elf/tst-tls9.c: Likewise.
50690         * elf/tst-tlsmod1.c: Likewise.
50691         * elf/tst-tlsmod13.c: Likewise.
50692         * elf/tst-tlsmod13a.c: Likewise.
50693         * elf/tst-tlsmod14a.c: Likewise.
50694         * elf/tst-tlsmod16a.c: Likewise.
50695         * elf/tst-tlsmod16b.c: Likewise.
50696         * elf/tst-tlsmod2.c: Likewise.
50697         * elf/tst-tlsmod3.c: Likewise.
50698         * elf/tst-tlsmod4.c: Likewise.
50699         * elf/tst-tlsmod5.c: Likewise.
50700         * elf/tst-tlsmod6.c: Likewise.
50702 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
50704         [BZ #12486]
50705         * malloc/malloc.c: remove checks for statistics.
50707 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
50709         [BZ #15277]
50710         * inet/inet_net.c (inet_network): Detect additional invalid strings.
50711         * inet/tst-network.c: Add testcase.
50713 2013-10-17  Andreas Schwab  <schwab@suse.de>
50715         [BZ #15218]
50716         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
50717         to determine canonical name.
50719 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
50721         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
50722         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
50723         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50724         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50725         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50726         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50727         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50728         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50729         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50730         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50731         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50732         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50733         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50734         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50735         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50736         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50737         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50738         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50739         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
50740         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50741         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50742         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50743         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50744         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
50745         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
50746         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50747         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50748         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
50749         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50750         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
50751         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50752         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50753         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
50754         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50755         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50756         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50757         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50758         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50759         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50760         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50761         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50762         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
50763         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
50764         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50765         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
50766         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50767         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50768         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
50769         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
50770         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50771         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
50772         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50773         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50774         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
50775         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50776         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
50777         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50778         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50780 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
50782         [BZ #16041]
50783         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
50784         make result into a quiet NaN.
50786 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
50788         * soft-fp/adddf3.c: Fix horizontal whitespace.
50789         * soft-fp/addsf3.c: Likewise.
50790         * soft-fp/addtf3.c: Likewise.
50791         * soft-fp/divdf3.c: Likewise.
50792         * soft-fp/divsf3.c: Likewise.
50793         * soft-fp/divtf3.c: Likewise.
50794         * soft-fp/double.h: Likewise.
50795         * soft-fp/eqdf2.c: Likewise.
50796         * soft-fp/eqsf2.c: Likewise.
50797         * soft-fp/eqtf2.c: Likewise.
50798         * soft-fp/extenddftf2.c: Likewise.
50799         * soft-fp/extended.h: Likewise.
50800         * soft-fp/extendsfdf2.c: Likewise.
50801         * soft-fp/extendsftf2.c: Likewise.
50802         * soft-fp/extendxftf2.c: Likewise.
50803         * soft-fp/fixdfdi.c: Likewise.
50804         * soft-fp/fixdfsi.c: Likewise.
50805         * soft-fp/fixdfti.c: Likewise.
50806         * soft-fp/fixsfdi.c: Likewise.
50807         * soft-fp/fixsfsi.c: Likewise.
50808         * soft-fp/fixsfti.c: Likewise.
50809         * soft-fp/fixtfdi.c: Likewise.
50810         * soft-fp/fixtfsi.c: Likewise.
50811         * soft-fp/fixtfti.c: Likewise.
50812         * soft-fp/fixunsdfdi.c: Likewise.
50813         * soft-fp/fixunsdfsi.c: Likewise.
50814         * soft-fp/fixunsdfti.c: Likewise.
50815         * soft-fp/fixunssfdi.c: Likewise.
50816         * soft-fp/fixunssfsi.c: Likewise.
50817         * soft-fp/fixunssfti.c: Likewise.
50818         * soft-fp/fixunstfdi.c: Likewise.
50819         * soft-fp/fixunstfsi.c: Likewise.
50820         * soft-fp/fixunstfti.c: Likewise.
50821         * soft-fp/floatdidf.c: Likewise.
50822         * soft-fp/floatdisf.c: Likewise.
50823         * soft-fp/floatditf.c: Likewise.
50824         * soft-fp/floatsidf.c: Likewise.
50825         * soft-fp/floatsisf.c: Likewise.
50826         * soft-fp/floatsitf.c: Likewise.
50827         * soft-fp/floattidf.c: Likewise.
50828         * soft-fp/floattisf.c: Likewise.
50829         * soft-fp/floattitf.c: Likewise.
50830         * soft-fp/floatundidf.c: Likewise.
50831         * soft-fp/floatundisf.c: Likewise.
50832         * soft-fp/floatunditf.c: Likewise.
50833         * soft-fp/floatunsidf.c: Likewise.
50834         * soft-fp/floatunsisf.c: Likewise.
50835         * soft-fp/floatunsitf.c: Likewise.
50836         * soft-fp/floatuntidf.c: Likewise.
50837         * soft-fp/floatuntisf.c: Likewise.
50838         * soft-fp/floatuntitf.c: Likewise.
50839         * soft-fp/fmadf4.c: Likewise.
50840         * soft-fp/fmasf4.c: Likewise.
50841         * soft-fp/fmatf4.c: Likewise.
50842         * soft-fp/gedf2.c: Likewise.
50843         * soft-fp/gesf2.c: Likewise.
50844         * soft-fp/getf2.c: Likewise.
50845         * soft-fp/ledf2.c: Likewise.
50846         * soft-fp/lesf2.c: Likewise.
50847         * soft-fp/letf2.c: Likewise.
50848         * soft-fp/muldf3.c: Likewise.
50849         * soft-fp/mulsf3.c: Likewise.
50850         * soft-fp/multf3.c: Likewise.
50851         * soft-fp/negdf2.c: Likewise.
50852         * soft-fp/negsf2.c: Likewise.
50853         * soft-fp/negtf2.c: Likewise.
50854         * soft-fp/op-1.h: Likewise.
50855         * soft-fp/op-2.h: Likewise.
50856         * soft-fp/op-4.h: Likewise.
50857         * soft-fp/op-8.h: Likewise.
50858         * soft-fp/op-common.h: Likewise.
50859         * soft-fp/quad.h: Likewise.
50860         * soft-fp/single.h: Likewise.
50861         * soft-fp/soft-fp.h: Likewise.
50862         * soft-fp/sqrtdf2.c: Likewise.
50863         * soft-fp/sqrtsf2.c: Likewise.
50864         * soft-fp/sqrttf2.c: Likewise.
50865         * soft-fp/subdf3.c: Likewise.
50866         * soft-fp/subsf3.c: Likewise.
50867         * soft-fp/subtf3.c: Likewise.
50868         * soft-fp/truncdfsf2.c: Likewise.
50869         * soft-fp/trunctfdf2.c: Likewise.
50870         * soft-fp/trunctfsf2.c: Likewise.
50871         * soft-fp/trunctfxf2.c: Likewise.
50872         * soft-fp/unorddf2.c: Likewise.
50873         * soft-fp/unordsf2.c: Likewise.
50874         * soft-fp/unordtf2.c: Likewise.
50876 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
50878         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
50879         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
50881 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
50883         * elf/dl-libc.c: Clear initfini list after freeing.
50885 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
50887         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
50888         * soft-fp/addsf3.c: Likewise.
50889         * soft-fp/addtf3.c: Likewise.
50890         * soft-fp/divdf3.c: Likewise.
50891         * soft-fp/divsf3.c: Likewise.
50892         * soft-fp/divtf3.c: Likewise.
50893         * soft-fp/double.h: Likewise.
50894         * soft-fp/eqdf2.c: Likewise.
50895         * soft-fp/eqsf2.c: Likewise.
50896         * soft-fp/eqtf2.c: Likewise.
50897         * soft-fp/extenddftf2.c: Likewise.
50898         * soft-fp/extended.h: Likewise.
50899         * soft-fp/extendsfdf2.c: Likewise.
50900         * soft-fp/extendsftf2.c: Likewise.
50901         * soft-fp/extendxftf2.c: Likewise.
50902         * soft-fp/fixdfdi.c: Likewise.
50903         * soft-fp/fixdfsi.c: Likewise.
50904         * soft-fp/fixdfti.c: Likewise.
50905         * soft-fp/fixsfdi.c: Likewise.
50906         * soft-fp/fixsfsi.c: Likewise.
50907         * soft-fp/fixsfti.c: Likewise.
50908         * soft-fp/fixtfdi.c: Likewise.
50909         * soft-fp/fixtfsi.c: Likewise.
50910         * soft-fp/fixtfti.c: Likewise.
50911         * soft-fp/fixunsdfdi.c: Likewise.
50912         * soft-fp/fixunsdfsi.c: Likewise.
50913         * soft-fp/fixunsdfti.c: Likewise.
50914         * soft-fp/fixunssfdi.c: Likewise.
50915         * soft-fp/fixunssfsi.c: Likewise.
50916         * soft-fp/fixunssfti.c: Likewise.
50917         * soft-fp/fixunstfdi.c: Likewise.
50918         * soft-fp/fixunstfsi.c: Likewise.
50919         * soft-fp/fixunstfti.c: Likewise.
50920         * soft-fp/floatdidf.c: Likewise.
50921         * soft-fp/floatdisf.c: Likewise.
50922         * soft-fp/floatditf.c: Likewise.
50923         * soft-fp/floatsidf.c: Likewise.
50924         * soft-fp/floatsisf.c: Likewise.
50925         * soft-fp/floatsitf.c: Likewise.
50926         * soft-fp/floattidf.c: Likewise.
50927         * soft-fp/floattisf.c: Likewise.
50928         * soft-fp/floattitf.c: Likewise.
50929         * soft-fp/floatundidf.c: Likewise.
50930         * soft-fp/floatundisf.c: Likewise.
50931         * soft-fp/floatunsidf.c: Likewise.
50932         * soft-fp/floatunsisf.c: Likewise.
50933         * soft-fp/floatuntidf.c: Likewise.
50934         * soft-fp/floatuntisf.c: Likewise.
50935         * soft-fp/floatuntitf.c: Likewise.
50936         * soft-fp/fmadf4.c: Likewise.
50937         * soft-fp/fmasf4.c: Likewise.
50938         * soft-fp/fmatf4.c: Likewise.
50939         * soft-fp/gedf2.c: Likewise.
50940         * soft-fp/gesf2.c: Likewise.
50941         * soft-fp/getf2.c: Likewise.
50942         * soft-fp/ledf2.c: Likewise.
50943         * soft-fp/lesf2.c: Likewise.
50944         * soft-fp/letf2.c: Likewise.
50945         * soft-fp/muldf3.c: Likewise.
50946         * soft-fp/mulsf3.c: Likewise.
50947         * soft-fp/multf3.c: Likewise.
50948         * soft-fp/negdf2.c: Likewise.
50949         * soft-fp/negsf2.c: Likewise.
50950         * soft-fp/negtf2.c: Likewise.
50951         * soft-fp/op-1.h: Likewise.
50952         * soft-fp/op-2.h: Likewise.
50953         * soft-fp/op-4.h: Likewise.
50954         * soft-fp/op-8.h: Likewise.
50955         * soft-fp/op-common.h: Likewise.
50956         * soft-fp/quad.h: Likewise.
50957         * soft-fp/single.h: Likewise.
50958         * soft-fp/soft-fp.h: Likewise.
50959         * soft-fp/sqrtdf2.c: Likewise.
50960         * soft-fp/sqrtsf2.c: Likewise.
50961         * soft-fp/sqrttf2.c: Likewise.
50962         * soft-fp/subdf3.c: Likewise.
50963         * soft-fp/subsf3.c: Likewise.
50964         * soft-fp/subtf3.c: Likewise.
50965         * soft-fp/truncdfsf2.c: Likewise.
50966         * soft-fp/trunctfdf2.c: Likewise.
50967         * soft-fp/trunctfsf2.c: Likewise.
50968         * soft-fp/trunctfxf2.c: Likewise.
50969         * soft-fp/unorddf2.c: Likewise.
50970         * soft-fp/unordsf2.c: Likewise.
50971         * soft-fp/unordtf2.c: Likewise.
50973 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
50975         [BZ #15672]
50976         * misc/error.c (error_tail): Fix possible buffer overflow.
50978 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
50980         [BZ #13028]
50981         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
50982         address.
50984 2013-10-14  P. J. McDermott  <pj@pehjota.net>
50986         [BZ #832]
50987         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
50988         testing pipefail option.
50990 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
50992         * soft-fp/double.h: Indent preprocessor directives inside #if.
50993         * soft-fp/extended.h: Likewise.
50994         * soft-fp/op-2.h: Likewise.
50995         * soft-fp/op-4.h: Likewise.
50996         * soft-fp/op-common.h: Likewise.
50997         * soft-fp/quad.h: Likewise.
50998         * soft-fp/single.h: Likewise.
50999         * soft-fp/soft-fp.h: Likewise.
51001 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
51003         * iconv/iconv_prog.c: Fix typos.
51004         * stdio-common/psiginfo-data.h: Likewise.
51006 2013-10-12   Reuben Thomas <rrt@sc3d.org>
51008         [BZ #15764]
51009         * locale/setlocale.c: Fix typo.
51011 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
51013         [BZ #16036]
51014         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
51015         signaling NaN arguments.
51016         * soft-fp/unordsf2.c (__unordsf2): Likewise.
51017         * soft-fp/unordtf2.c (__unordtf2): Likewise.
51019         [BZ #14910]
51020         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
51021         unordered operands.
51022         * soft-fp/gesf2.c (__gesf2): Likewise.
51023         * soft-fp/getf2.c (__getf2): Likewise.
51024         * soft-fp/ledf2.c (__ledf2): Likewise.
51025         * soft-fp/lesf2.c (__lesf2): Likewise.
51026         * soft-fp/letf2.c (__letf2): Likewise.
51028         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
51029         * soft-fp/eqsf2.c (__eqsf2): Likewise.
51030         * soft-fp/eqtf2.c (__eqtf2): Likewise.
51031         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
51032         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
51033         * soft-fp/fixdfti.c (__fixdfti): Likewise.
51034         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
51035         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
51036         * soft-fp/fixsfti.c (__fixsfti): Likewise.
51037         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
51038         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
51039         * soft-fp/fixtfti.c (__fixtfti): Likewise.
51040         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
51041         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
51042         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
51043         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
51044         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
51045         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
51046         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
51047         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
51048         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
51049         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
51050         * soft-fp/floatdisf.c (__floatdisf): Likewise.
51051         * soft-fp/floatsisf.c (__floatsisf): Likewise.
51052         * soft-fp/floattidf.c (__floattidf): Likewise.
51053         * soft-fp/floattisf.c (__floattisf): Likewise.
51054         * soft-fp/floattitf.c (__floattitf): Likewise.
51055         * soft-fp/floatundidf.c (__floatundidf): Likewise.
51056         * soft-fp/floatundisf.c (__floatundisf): Likewise.
51057         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
51058         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
51059         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
51060         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
51061         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
51062         * soft-fp/gesf2.c (__gesf2): Likewise.
51063         * soft-fp/getf2.c (__getf2): Likewise.
51064         * soft-fp/ledf2.c (__ledf2): Likewise.
51065         * soft-fp/lesf2.c (__lesf2): Likewise.
51066         * soft-fp/letf2.c (__letf2): Likewise.
51068         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
51069         Undefine and redefine.
51070         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
51071         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
51072         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
51073         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
51074         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51075         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
51076         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51077         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
51078         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51079         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
51080         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51081         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
51082         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51083         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
51084         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51086         [BZ #16032]
51087         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
51088         without decrementing exponent if mantissa >= that for the
51089         denominator, not >.
51090         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
51091         denominator, not >.  Decrement exponent in < case instead of
51092         incrementing in >= case.
51093         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
51094         without decrementing exponent if mantissa >= that for the
51095         denominator, not >.
51097         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
51098         computing saturated result for unsigned overflow.
51100 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51101             Jeff Law  <law@redhat.com>
51103         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
51104         (atan2Mp): Add systemtap probe marker.
51105         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
51106         (__ieee754_log): Add systemtap probe marker.
51107         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
51108         (atanMp): Add systemtap probe marker.
51109         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
51110         (tanMp): Add systemtap probe marker.
51111         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
51112         (__slowexp): Add systemtap probe marker.
51113         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
51114         (__slowpow): Add systemtap probe marker.
51115         * manual/probes.texi: Document probes.
51117 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
51119         [BZ #15362]
51120         * libio/fileops.c (_IO_new_file_write): Return count of bytes
51121         written.
51122         (_IO_new_file_xsputn): Don't return EOF if nothing has been
51123         written.
51124         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
51125         written to buffer but not flushed.
51126         * libio/iofwrite_u.c:  Likewise.
51127         * libio/iopadn.c:  Return bytes returned even if EOF was
51128         encountered.
51129         * libio/iowpadn.c:  Likewise.
51130         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
51131         if _IO_padn does not write the whole buffer.
51132         [!COMPILE_WPRINTF] (PAD): Likewise.
51134 2013-10-10  David S. Miller  <davem@davemloft.net>
51136         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
51137         directory block.
51139 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
51141         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
51142         instead of FSF address.
51143         * soft-fp/fixdfti.c: Likewise.
51144         * soft-fp/fixsfti.c: Likewise.
51145         * soft-fp/fixtfti.c: Likewise.
51146         * soft-fp/fixunsdfti.c: Likewise.
51147         * soft-fp/fixunssfti.c: Likewise.
51148         * soft-fp/fixunstfti.c: Likewise.
51149         * soft-fp/floattidf.c: Likewise.
51150         * soft-fp/floattisf.c: Likewise.
51151         * soft-fp/floattitf.c: Likewise.
51152         * soft-fp/floatuntidf.c: Likewise.
51153         * soft-fp/floatuntisf.c: Likewise.
51154         * soft-fp/floatuntitf.c: Likewise.
51155         * soft-fp/trunctfxf2.c: Likewise.
51157         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
51158         * soft-fp/fixdfti.c: Likewise.
51159         * soft-fp/fixsfti.c: Likewise.
51160         * soft-fp/fixtfti.c: Likewise.
51161         * soft-fp/fixunsdfti.c: Likewise.
51162         * soft-fp/fixunssfti.c: Likewise.
51163         * soft-fp/fixunstfti.c: Likewise.
51164         * soft-fp/floattidf.c: Likewise.
51165         * soft-fp/floattisf.c: Likewise.
51166         * soft-fp/floattitf.c: Likewise.
51167         * soft-fp/floatuntidf.c: Likewise.
51168         * soft-fp/floatuntisf.c: Likewise.
51169         * soft-fp/floatuntitf.c: Likewise.
51170         * soft-fp/trunctfxf2.c: Likewise.
51172 2013-10-10  David S. Miller  <davem@davemloft.net>
51174         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51176 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
51178         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
51179         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
51180         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
51181         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
51182         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
51183         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
51184         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
51186         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
51187         for NaNs before doing comparisons on argument.
51188         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
51189         Likewise.
51191 2013-10-10  Will Newton  <will.newton@linaro.org>
51193         * malloc/hooks.c (memalign_check): Ensure the value of bytes
51194         passed to _int_memalign does not overflow.
51196 2013-10-10  Torvald Riegel  <triegel@redhat.com>
51198         * scripts/bench.pl: Add include-sources directive.
51199         * benchtests/README: Update documentation.
51201 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
51203         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
51204         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
51205         instead of FP_INIT_ROUNDMODE.
51206         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
51207         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
51209         [BZ #16034]
51210         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
51211         copy class of input value.
51212         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
51213         not handle exceptions.
51214         * soft-fp/negsf2.c (__negsf2): Likewise.
51215         * soft-fp/negtf2.c (__negtf2): Likewise.
51216         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
51218 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
51220         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
51221         semicolon.  From Linux kernel.
51223 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
51225         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
51227 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
51229         [BZ #156]
51230         * manual/socket.texi: Added statement about buffer
51231         for gethostbyname2_r.
51233 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
51235         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
51236         Use .p2align directive instead, throughout.
51237         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
51238         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
51239         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
51240         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51241         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51242         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
51243         * sysdeps/x86_64/strchr.S: Likewise.
51244         * sysdeps/x86_64/strrchr.S: Likewise.
51246 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
51248         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
51250         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
51252         * sysdeps/generic/math_private.h (__mpsin1): Remove
51253         declaration.
51254         (__mpcos1): Likewise.
51255         (__mpsin): New argument __range_reduce.
51256         (__mpcos): Likewise.
51257         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51258         (slow): Use __mpsin and __mpcos.
51259         (slow1): Likewise.
51260         (slow2): Likewise.
51261         (sloww): Likewise.
51262         (sloww1): Likewise.
51263         (sloww2): Likewise.
51264         (bsloww): Likewise.
51265         (bsloww1): Likewise.
51266         (bsloww2): Likewise.
51267         (cslow2): Likewise.
51268         (csloww): Likewise.
51269         (csloww1): Likewise.
51270         (csloww2): Likewise.
51271         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
51272         range_reduce.  Merge in __mpsin1.
51273         (__mpcos): Likewise.
51274         (__mpsin1): Remove.
51275         (__mpcos1): Likewise.
51277 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
51279         * locale/loadlocale.c (_nl_intern_locale_data): Use
51280         LOCFILE_ALIGNED_P.
51281         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
51282         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
51283         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
51284         obstack data is appropriately aligned.
51285         (obstack_int32_grow_fast): Likewise.
51286         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
51287         * locale/programs/locfile.c (add_locale_uint32): Likewise.
51288         (add_locale_uint32_array): Likewise.
51290 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
51292         * benchtests/Makefile: Remove ARGLIST and RET variables.
51293         ($(objpfx)bench-%.c): Pass only function name to the script.
51294         * benchtests/README: Update documentation.
51295         * benchtests/acos-inputs: Add new directives.
51296         * benchtests/acosh-inputs: Likewise.
51297         * benchtests/asin-inputs: Likewise.
51298         * benchtests/asinh-inputs: Likewise.
51299         * benchtests/atan-inputs: Likewise.
51300         * benchtests/atanh-inputs: Likewise.
51301         * benchtests/cos-inputs: Likewise.
51302         * benchtests/cosh-inputs: Likewise.
51303         * benchtests/exp-inputs: Likewise.
51304         * benchtests/log-inputs: Likewise.
51305         * benchtests/pow-inputs: Likewise.
51306         * benchtests/rint-inputs: Likewise.
51307         * benchtests/sin-inputs: Likewise.
51308         * benchtests/sinh-inputs: Likewise.
51309         * benchtests/tan-inputs: Likewise.
51310         * benchtests/tanh-inputs: Likewise.
51311         * scripts/bench.pl: Add support for new directives.
51313 2013-10-07  Alan Modra  <amodra@gmail.com>
51315         * README: Fix careless merge.
51317 2013-10-05  Alan Modra  <amodra@gmail.com>
51319         * NEWS: Mention powerpc64le support and bugs fixed.
51320         * README: Both big-endian and little-endian powerpc64 supported.
51322 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51324         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
51325         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
51326         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
51327         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
51329 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
51331         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
51332         match prototype.
51334 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
51336         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
51337         Move -mhard-float appending from
51338         ports/sysdeps/powerpc/powerpc32/Makefile.
51339         [$(with-fp) = yes] (ASFLAGS): Likewise.
51340         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
51341         * sysdeps/powerpc/nofpu: Move directory from
51342         ports/sysdeps/powerpc/nofpu.
51343         * sysdeps/powerpc/soft-fp: Move directory from
51344         ports/sysdeps/powerpc/soft-fp.
51345         * sysdeps/powerpc/powerpc32/405: Move directory from
51346         ports/sysdeps/powerpc/powerpc32/405.
51347         * sysdeps/powerpc/powerpc32/440: Move directory from
51348         ports/sysdeps/powerpc/powerpc32/440.
51349         * sysdeps/powerpc/powerpc32/464: Move directory from
51350         ports/sysdeps/powerpc/powerpc32/464.
51351         * sysdeps/powerpc/powerpc32/476: Move directory from
51352         ports/sysdeps/powerpc/powerpc32/476.
51353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
51354         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
51355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
51356         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
51357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
51358         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
51359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
51360         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
51361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
51362         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
51363         * README: Update for powerpc-*-linux-gnu software floating point
51364         support in libc.
51366         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
51367         case to powerpc/powerpc32*.
51368         * sysdeps/unix/sysv/linux/configure: Regenerated.
51370         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
51371         (_FPU_MASK_OM): Define as 0x04.
51372         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
51373         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
51374         0x00c10080.
51375         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
51376         0x0000003c.
51377         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
51379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
51380         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
51381         getcontext_e500.
51382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
51383         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
51384         setcontext_e500.
51385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
51386         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
51387         and setcontext_e500.
51389 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
51391         * locale/iso-3166.def: Update iso-1366.def and related occurrences
51393 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51395         * manual/threads.texi (Default Thread Attributes): Fix typo.
51397 2013-10-04  Will Newton  <will.newton@linaro.org>
51399         * malloc/Makefile: Add tst-memalign.
51400         * malloc/tst-memalign.c: New file.
51402         * malloc/tst-posix_memalign.c: Add comments.
51403         (do_test): Add comments and call free on all potentially
51404         allocated pointers. Add space after cast.
51406         * malloc/tst-pvalloc.c: Add comments.
51407         (do_test): Add comments and call free on all potentially
51408         allocated pointers. Remove duplicate check for NULL pointer.
51409         Add space after cast.
51411         * malloc/tst-valloc.c: Add comments.
51412         (do_test): Add comments and call free on all potentially
51413         allocated pointers. Remove duplicate check for NULL pointer.
51414         Add space after cast.
51416 2013-10-04  Alan Modra  <amodra@gmail.com>
51418         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51419         Use stdint types in rather than __attribute__((mode())).
51420         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51422 2013-10-04  Alan Modra  <amodra@gmail.com>
51424         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51425         Correct handling of unaligned relocs for little-endian.
51426         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51428 2013-10-04  Alan Modra  <amodra@gmail.com>
51430         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
51431         * configure: Regenerate.
51432         * nptl/shlib-versions: Powerpc*le starts at 2.18.
51433         * shlib-versions: Likewise.
51435 2013-10-04  Alan Modra  <amodra@gmail.com>
51437         * string/tester.c (test_memrchr): Increment reported test cycle.
51439 2013-10-04  Alan Modra  <amodra@gmail.com>
51441         * string/test-memcpy.c (do_one_test): When reporting errors, print
51442         string address and don't overrun end of string.
51444 2013-10-04  Alan Modra  <amodra@gmail.com>
51446         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
51447         insrdi.  Make better use of reg selection to speed exit slightly.
51448         Schedule entry path a little better.  Remove useless "are we done"
51449         checks on entry to main loop.  Handle wrapping around zero address.
51450         Correct main loop count.  Handle single left-over word from main
51451         loop inline rather than by using loop_small.  Remove extra word
51452         case in loop_small caused by wrong loop count.  Add little-endian
51453         support.
51454         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
51455         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
51456         cache hint.
51457         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
51458         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
51459         support.  Avoid rlwimi.
51460         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
51462 2013-10-04  Alan Modra  <amodra@gmail.com>
51464         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
51465         insrdi.  Formatting.
51466         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
51467         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
51468         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
51469         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
51470         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
51471         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
51473 2013-10-04  Alan Modra  <amodra@gmail.com>
51475         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
51476         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51477         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
51478         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
51479         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
51480         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51481         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51482         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51483         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
51484         use of regs.  Use power7 mtocrf.  Tidy function tails.
51486 2013-10-04  Alan Modra  <amodra@gmail.com>
51488         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
51489         Formatting.  Consistently use rXXX register defines or rN defines.
51490         Use early exit labels that avoid restoring unused non-volatile regs.
51491         Make cr field use more consistent with rWORDn compares.  Rename
51492         regs used as shift registers for unaligned loop, using rN defines
51493         for short lifetime/multiple use regs.
51494         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51495         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
51496         addi 1,1,64 to pop stack frame.  Simplify return value code.
51497         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51499 2013-10-04  Alan Modra  <amodra@gmail.com>
51501         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
51502         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
51503         rather than rlwimi.
51504         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
51505         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
51506         little-endian support.  Correct typos.
51507         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
51508         rather than rlwimi.
51509         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
51510         in loop and entry code to keep "and." results.
51511         (strchr): Add little-endian support.  Comment.  Move cntlzd
51512         earlier in tail.
51513         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
51515 2013-10-04  Alan Modra  <amodra@gmail.com>
51517         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
51518         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
51519         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
51520         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
51522 2013-10-04  Alan Modra  <amodra@gmail.com>
51524         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
51525         (rTMP): Define as r11.
51526         (strcmp): Add little-endian support.  Optimise tail.
51527         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
51528         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51529         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
51530         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51531         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
51532         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51533         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51535 2013-10-04  Alan Modra  <amodra@gmail.com>
51537         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
51538         little-endian support.  Remove unnecessary "are we done" tests.
51539         Handle "s" wrapping around zero and extremely large "size".
51540         Correct main loop count.  Handle single left-over word from main
51541         loop inline rather than by using small_loop.  Correct comments.
51542         Delete "zero" tail, use "end_max" instead.
51543         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
51545 2013-10-04  Alan Modra  <amodra@gmail.com>
51547         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
51548         support.  Don't branch over align.
51549         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
51550         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
51551         support.  Rearrange tmp reg use to suit.  Comment.
51552         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
51554 2013-10-04  Alan Modra  <amodra@gmail.com>
51556         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
51558 2013-10-04  Alan Modra  <amodra@gmail.com>
51560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
51561         conditional form of branch and link when obtaining pc.
51562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
51564 2013-10-04  Alan Modra  <amodra@gmail.com>
51566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
51567         HIWORD/LOWORD.
51568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
51569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
51571 2013-10-04  Alan Modra  <amodra@gmail.com>
51573         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
51574         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
51575         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
51576         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
51577         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
51578         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
51579         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
51580         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51581         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
51582         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
51584 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
51585             Alistair Popple <alistair@ozlabs.au.ibm.com>
51586             Alan Modra <amodra@gmail.com>
51588         [BZ #15723]
51589         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
51590         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
51591         _dl_hwcap access for little-endian.
51592         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
51593         destroy vmx regs when saving unaligned.
51594         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
51595         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
51596         destroy vmx regs when saving unaligned.
51598 2013-10-04  Alan Modra  <amodra@gmail.com>
51600         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
51601         Don't use a union to pack hi/low value.
51603 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
51605         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
51606         for little-endian.
51607         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
51608         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
51609         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
51610         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
51611         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
51613 2013-10-04  Alan Modra  <amodra@gmail.com>
51615         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
51616         constants to usual value for .cst8 section, and remove redundant
51617         high address load.
51618         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
51619         constant for 0x1p52.  Load little-endian words of double from
51620         correct stack offsets.
51622 2013-10-04  Alan Modra  <amodra@gmail.com>
51624         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
51625         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
51626         words of double from correct stack offsets.
51627         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
51628         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
51629         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
51630         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
51631         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
51632         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
51633         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
51634         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
51635         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
51636         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
51637         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
51638         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
51639         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51640         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51641         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51642         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
51643         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
51645 2013-10-04  Alan Modra  <amodra@gmail.com>
51647         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
51648         64-bit int/double union.
51649         (_FPU_SETCW): Likewise.
51650         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
51651         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
51653 2013-10-04  Alan Modra  <amodra@gmail.com>
51655         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
51656         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
51658 2013-10-04  Alan Modra  <amodra@gmail.com>
51660         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
51661         use vector int constants.
51662         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
51664 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
51666         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
51667         array with long long.
51668         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
51669         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
51670         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
51671         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
51672         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
51673         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
51674         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
51675         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
51676         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
51677         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
51678         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
51679         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
51680         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
51682 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
51684         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
51685         (__signbit): Likewise.  Correct for little-endian.
51686         (__signbitl): Call __signbit.
51687         (lrint): Correct for little-endian.
51688         (lrintf): Call lrint.
51690 2013-10-04  Alan Modra  <amodra@gmail.com>
51692         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
51693         union 32-bit int array member with 64-bit int array.
51694         (t515, tm256): Double rather than long double.
51695         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
51697 2013-10-04  Alan Modra  <amodra@gmail.com>
51699         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
51700         Delete.
51701         (IEEE854_LONG_DOUBLE_BIAS): Delete.
51702         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
51703         version of math_ldbl.h.
51705 2013-10-04  Alan Modra  <amodra@gmail.com>
51707         [BZ #15734], [BZ #15735]
51708         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
51709         all uses of ieee875 long double macros and unions.  Simplify test
51710         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
51711         ldbl_extract_mantissa value for ix,iy exponents.  Properly
51712         normalize after ldbl_extract_mantissa, and don't add hidden bit
51713         already handled.  Don't treat low word of ieee854 mantissa like
51714         low word of IBM long double and mask off bit when testing for
51715         zero.
51716         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
51717         all uses of ieee875 long double macros and unions.  Simplify tests
51718         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
51719         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
51720         two1022, instead use their values.  Recognise that tests for large
51721         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
51722         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
51723         Rewrite all uses of ieee875 long double macros and unions.  Simplify
51724         test for 0.0L and nan.  Correct negation.
51725         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
51726         ieee875 long double macros and unions.  Correct output for large
51727         magnitude x.  Correct absolute value calculation.
51728         (__erfcl): Likewise.
51729         * math/libm-test.inc: Add tests for errors discovered in IBM long
51730         double versions of fmodl, remainderl, erfl and erfcl.
51732 2013-10-04  Alan Modra  <amodra@gmail.com>
51734         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
51735         all uses of ieee854 long double macros and unions.  Simplify tests
51736         for long doubles that are fully specified by the high double.
51737         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
51738         Likewise.
51739         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
51740         Remove dead code too.
51741         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
51742         (__ieee754_ynl): Likewise.
51743         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
51744         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
51745         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
51746         Remove dead code too.
51747         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
51748         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
51749         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
51750         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
51751         Simplify.
51752         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
51753         Simplify.
51754         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
51755         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
51756         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
51757         Comment on variable precision.
51758         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
51759         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51760         Likewise.
51761         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
51762         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
51763         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
51764         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
51765         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
51767 2013-10-04  Alan Modra  <amodra@gmail.com>
51769         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
51770         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
51771         all uses of ieee854 long double macros and unions.
51772         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
51773         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
51774         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
51775         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
51776         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
51777         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
51778         Likewise.
51779         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
51780         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51781         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
51782         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51783         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
51784         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
51785         Simplify sign and nan test too.
51786         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
51787         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
51788         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
51789         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
51790         Likewise.
51791         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
51792         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
51793         Likewise.
51794         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51795         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
51796         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
51797         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
51798         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
51799         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
51801 2013-10-04  Alan Modra  <amodra@gmail.com>
51803         * stdio-common/printf_size.c (__printf_size): Don't use
51804         union ieee854_long_double in fpnum union.
51805         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
51806         signbit macro to retrieve sign from long double.
51807         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
51808         retrieve sign from long double.
51809         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
51810         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
51811         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
51812         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51813         * math/test-misc.c (main): Don't use union ieee854_long_double.
51815 2013-10-04  Alan Modra  <amodra@gmail.com>
51817         [BZ #15680]
51818         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
51819         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
51820         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
51821         calculation.  Remove unnecessary test for denormal exponent.
51822         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
51823         Correct handling of denormals.  Avoid undefined shift behaviour.
51824         Correct normalisation of low mantissa when low double is denormal.
51825         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
51826         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
51827         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
51828         Correct normalisation of low mantissa.  Test for overflow of high
51829         mantissa and normalise.
51830         (ldbl_nearbyint): Use more readable constant for two52.
51831         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
51832         (__mpn_construct_long_double): Fix test for overflow of high
51833         mantissa and correct normalisation.  Avoid undefined shift.
51835 2013-10-04  Alan Modra  <amodra@gmail.com>
51837         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
51838         (union ibm_extended_long_double): Define as an array of ieee754_double.
51839         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
51840         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
51841         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
51842         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
51843         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51844         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
51845         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51846         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
51847         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
51848         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
51849         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
51851 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
51853         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
51854         page size instead of calling getpagesize.
51856         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
51857         (LOCFILE_ALIGN_MASK): Likewise.
51858         (LOCFILE_ALIGN_UP): Likewise.
51859         (LOCFILE_ALIGNED_P): Likewise.
51860         * locale/programs/ld-collate.c (collate_output): Use the new
51861         macros instead of __alignof__ (int32_t).
51862         * locale/weight.h (findidx): Likewise.
51864 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
51866         [BZ #431]
51867         * manual/string.texi: Fix strncat and wcsncat.
51869 2013-10-03  Brooks Moses  <bmoses@google.com>
51871         [BZ #15915]
51872         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
51873         * Makerules: ...here, and adjust associated comments.
51875 2013-10-02  Will Newton  <will.newton@linaro.org>
51877         * malloc/Makefile: Add tst-pvalloc.
51878         * malloc/tst-pvalloc.c: New file.
51880 2013-10-02  Will Newton  <will.newton@linaro.org>
51882         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
51883         improve test coverage.
51885 2013-10-02  Will Newton  <will.newton@linaro.org>
51887         * malloc/Makefile: Add tst-posix_memalign.
51888         * malloc/tst-posix_memalign.c: New file.
51890 2013-10-01  Eric Blake  <eblake@redhat.com>
51892         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
51893         Use __THROWNL rather than __THROW on static functions.
51895 2013-09-30  Petr Machata  <pmachata@redhat.com>
51897         * elf/elf.h (R_AARCH64_ABS16): New macro.
51898         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
51899         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
51900         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
51901         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
51902         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
51903         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
51904         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
51905         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
51906         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
51907         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
51908         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
51909         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
51910         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
51911         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
51912         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
51913         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
51914         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
51915         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
51916         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
51917         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
51918         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
51919         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
51920         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
51921         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
51922         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
51923         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
51924         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
51925         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
51926         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
51927         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
51928         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
51929         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
51930         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
51931         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
51932         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
51933         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
51934         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
51935         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
51936         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
51937         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
51938         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
51939         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
51940         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
51941         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
51942         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
51943         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
51944         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
51945         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
51946         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
51947         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
51948         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
51949         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
51950         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
51951         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
51952         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
51953         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
51954         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
51955         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
51956         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
51957         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
51958         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
51959         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
51960         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
51961         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
51962         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
51963         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
51964         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
51965         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
51966         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
51967         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
51968         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
51969         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
51970         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
51971         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
51972         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
51973         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
51974         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
51975         (R_AARCH64_TLSDESC_LDR): Likewise.
51976         (R_AARCH64_TLSDESC_ADD): Likewise.
51977         (R_AARCH64_TLSDESC_CALL): Likewise.
51979 2013-09-30  Andreas Schwab  <schwab@suse.de>
51981         [BZ #15048]
51982         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
51983         the nss database lookup.
51984         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51985         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51987 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
51989         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
51991 2013-09-28  P. J. McDermott  <pj@pehjota.net>
51993         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
51994         ${Bash-specific parameter/pattern/string} parameter expansion.
51995         * sysdeps/unix/make-syscalls.sh: Likewise.
51997 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51999         * sysdeps/sh/stackguard-macros.h: New file.
52001 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
52003         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
52004         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
52005         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
52006         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
52007         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52008         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
52010 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52012         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
52013         Fix thread ID register.
52015 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
52017         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
52018         [POSIX || UNIX98]: Require rather than permitting all symbols from
52019         <time.h>.
52020         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
52021         element of struct sched_param.
52022         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
52023         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
52024         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
52025         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
52026         constant.
52028 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
52030         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
52031         argument calculation.
52033 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
52035         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
52036         Expect macro.
52037         [POSIX] (pthread_attr_t): Do not require type.
52038         [POSIX] (pthread_cond_t): Likewise.
52039         [POSIX] (pthread_condattr_t): Likewise.
52040         [POSIX] (pthread_key_t): Likewise.
52041         [POSIX] (pthread_mutex_t): Likewise.
52042         [POSIX] (pthread_mutexattr_t): Likewise.
52043         [POSIX] (pthread_once_t): Likewise.
52044         [POSIX] (pthread_t): Likewise.
52045         [POSIX-based standards] (pthread_atfork): Expect function.
52047 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
52048             Richard Sandiford  <richard@codesourcery.com>
52050         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
52051         (swap_endianness_p): New extern variable.
52052         (set_big_endian): New inline function.
52053         (maybe_swap_uint32): Likewise.
52054         (maybe_swap_uint32_array): Likewise.
52055         (maybe_swap_uint32_obstack): Likewise.
52056         * locale/programs/locfile.c: Include <stdbool.h>.
52057         (swap_endianness_p): New variable.
52058         (add_locale_uint32): Call maybe_swap_uint32.
52059         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
52060         (write_locale_data): Call maybe_swap_uint32_array.
52061         * locale/programs/ld-collate.c (obstack_int32_grow): Call
52062         maybe_swap_uint32.
52063         (obstack_int32_grow_fast): Likewise.
52064         (output_weightwc): Call maybe_swap_uint32_obstack.
52065         (collate_output): Likewise.
52066         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
52067         (OPT_LITTLE_ENDIAN): Likewise.
52068         (options): Add --little-endian and --big-endian options.
52069         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
52070         * locale/programs/locarchive.c: Include "locfile.h".
52071         (GET): New macro.
52072         (SET): Likewise.
52073         (INC): Likewise.
52074         (create_archive): Use the new macros to access fields of
52075         structures directly mapped from or written to locale archives.
52076         (oldlocrecentcmp): Likewise.
52077         (enlarge_archive): Likewise.
52078         (insert_name): Likewise.
52079         (add_alias): Likewise.
52080         (add_locale): Likewise.
52081         (delete_locales_from_archive): Likewise.
52082         (show_archive_content): Likewise.
52083         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
52084         locale data.
52086 2013-09-24  Roland McGrath  <roland@hack.frob.com>
52088         * manual/freemanuals.texi: Updated from (newly) canonical copy at
52089         http://www.gnu.org/doc/freemanuals.texi.
52090         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
52092 2013-09-24  Will Newton  <will.newton@linaro.org>
52094         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
52095         macro.
52097 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
52099         * locale/hashval.h (compute_hashval): Interpret bytes of key as
52100         unsigned char.
52102 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
52104         * manual/threads.texi (POSIX Threads): Fix a typo.
52106 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52108         [BZ #14547]
52109         * string/tst-strcoll-overflow.c: New test case.
52110         * string/Makefile (xtests): Add tst-strcoll-overflow.
52111         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
52112         cache if string sizes may cause integer overflow.
52114         [BZ #14547]
52115         * string/strcoll_l.c (coll_seq): New members rule, idx,
52116         save_idx and back_us.
52117         (get_next_seq_nocache): New function.
52118         (do_compare_nocache): New function.
52119         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
52120         when malloc fails.
52122 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
52124         [BZ #15754]
52125         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
52126         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
52127         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
52129         [BZ #15754]
52130         * elf/Makefile (tests): Add tst-ptrguard1.
52131         (tests-static): Add tst-ptrguard1-static.
52132         (tst-ptrguard1-ARGS): Define.
52133         (tst-ptrguard1-static-ARGS): Define.
52134         * elf/tst-ptrguard1.c: New file.
52135         * elf/tst-ptrguard1-static.c: New file.
52136         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
52137         * sysdeps/i386/stackguard-macros.h: Likewise.
52138         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52139         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52140         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52141         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52142         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52143         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52145 2013-09-23  Hector Marco  <hecmargi@upv.es>
52146             Ismael Ripoll  <iripoll@disca.upv.es>
52147             Carlos O'Donell  <carlos@redhat.com>
52149         [BZ #15754]
52150         * sysdeps/generic/stackguard-macros.h: Define
52151         __pointer_chk_guard_local and POINTER_CHK_GUARD.
52152         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
52153         Define __pointer_chk_guard_local.
52154         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
52155         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
52157 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
52159         [BZ #15859]
52160         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
52162 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
52164         * include/string.h (__ffs): Declare as hidden.
52165         * string/ffs.c (__ffs): Define as hidden.
52166         * sysdeps/i386/ffs.c (__ffs): Likewise.
52167         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
52168         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
52169         * sysdeps/s390/ffs.c (__ffs): Likewise.
52170         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
52172 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
52174         * NEWS: Mention malloc probes.
52176         * malloc/arena.c (new_heap): New memory_heap_new probe.
52177         (grow_heap): New memory_heap_more probe.
52178         (shrink_heap): New memory_heap_less probe.
52179         (heap_trim): New memory_heap_free probe.
52180         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
52181         (systrim): New memory_sbrk_less probe.
52182         * manual/probes.texi: Document them.
52184         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
52185         * manual/probes.texi: Document it.
52187         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
52188         (__libc_realloc): Add memory_realloc_retry probe.
52189         (__libc_memalign): Add memory_memalign_retry probe.
52190         (__libc_valloc): Add memory_valloc_retry probe.
52191         (__libc_pvalloc): Add memory_pvalloc_retry probe.
52192         (__libc_calloc): Add memory_calloc_retry probe.
52193         * manual/probes.texi: Document them.
52195         * malloc/arena.c (get_free_list): Add probe
52196         memory_arena_reuse_free_list.
52197         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
52198         and memory_arena_reuse.
52199         (arena_get2) [!PER_THREAD]: Likewise.
52200         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
52201         memory_arena_reuse_realloc.
52202         * manual/probes.texi: Document them.
52204         * malloc/malloc.c (__libc_free): Add
52205         memory_mallopt_free_dyn_thresholds probe.
52206         (__libc_mallopt): Add multiple memory_mallopt probes.
52207         * manual/probes.texi: Document them.
52209         * malloc/malloc.c: Include stap-probe.h.
52210         (__libc_mallopt): Add memory_mallopt probe.
52211         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
52212         * manual/probes.texi: New.
52213         * manual/Makefile (chapters): Add probes.
52214         * manual/threads.texi: Set next node.
52216 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
52218         [BZ #15963, #13985]
52219         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
52220         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
52221         Add `Chinese' to `nan' entry name.
52223 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52225         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
52226         (POLYNOMIAL): Likewise.
52227         (TAYLOR_SINCOS): Likewise.
52228         (TAYLOR_SLOW): Likewise.
52229         (__sin): Use TAYLOR_SINCOS.
52230         (__cos): Likewise.
52231         (slow): Use TAYLOR_SLOW.
52232         (sloww): Likewise.
52233         (bsloww): Likewise.
52234         (csloww): Likewise.
52236 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52238         * stdlib/strtod_l.c: Fix buffer overrun.
52240 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52242         * benchtests/Makefile (bench): Add sincos.
52243         * benchtests/bench-sincos.c: New file.
52245         * math/libm-test.inc (cos_test_data): New test inputs.
52246         (sin_test_data): Likewise.
52248         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
52249         macro.
52250         (__sin): Use it.
52251         (__cos): Likewise.
52252         (slow1): Likewise.
52253         (slow2): Likewise.
52254         (sloww1): Likewise.
52255         (sloww2): Likewise.
52256         (bsloww1): Likewise.
52257         (bsloww2): Likewise.
52258         (cslow2): Likewise.
52259         (csloww1): Likewise.
52260         (csloww2): Likewise.
52262         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
52263         function.
52264         (__sin): Use it.
52265         (__cos): Likewise.
52267         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
52268         gotos.
52269         (__cos): Likewise.
52271 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
52273         * config.h.in (HAVE_MIPS_NAN2008): New macro.
52274         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
52275         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
52276         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
52277         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
52278         * elf/cache.c (print_entry): Handle the new cache flags.
52280 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
52281             Aldy Hernandez  <aldyh@redhat.com>
52283         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
52284         Change condition to [_SOFT_FLOAT].
52285         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
52286         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
52287         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
52288         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
52289         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
52290         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
52291         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
52292         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
52293         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
52294         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
52295         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
52296         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
52297         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
52298         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
52299         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
52300         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
52301         declaration.
52303 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
52305         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
52306         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
52307         (__longjmp): Use LOAD_GP to load saved GPRs.
52308         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
52309         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
52310         (__sigsetjmp): Use SAVE_GP to save GPRs.
52312         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
52313         Do not append -msoft-float.
52314         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
52316 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52318         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
52320 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
52322         [BZ #15966]
52323         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
52324         (_FPU_GETCW): Use initial "__" on variable and field names but not
52325         on macro parameter name.
52326         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
52327         parentheses around reference to macro parameter.
52329 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
52331         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
52332         prototype.
52333         (ctype_startup): Use uint32_t in cast and sizeof for
52334         ctype->charnames.
52336 2013-09-11  Jia Liu  <proljc@gmail.com>
52338         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
52339         __daddr_t_defined.
52340         [__FreeBSD__]: Likewise.
52342 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
52344         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
52345         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
52346         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
52347         (strchr): Remove __strchr_sse42 ifunc selection.
52348         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
52349         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
52351 2013-09-11  Will Newton  <will.newton@linaro.org>
52353         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
52354         parameter to RES. Remove hardcoded 1000 value.
52355         * benchtests/bench-skeleton.c (main): Pass RES parameter
52356         to TIMING_INIT and multiply result by 1000.
52358 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52360         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52362 2013-09-11  Andreas Schwab  <schwab@suse.de>
52364         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
52365         if not defined.
52366         (O_TMPFILE) [__USE_GNU]: Define.
52367         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
52368         Define.
52370 2013-09-11  Will Newton  <will.newton@linaro.org>
52372         [BZ #15857]
52373         * malloc/malloc.c (__libc_memalign): Check the value of bytes
52374         does not overflow.
52376 2013-09-11  Will Newton  <will.newton@linaro.org>
52378         [BZ #15856]
52379         * malloc/malloc.c (__libc_valloc): Check the value of bytes
52380         does not overflow.
52382 2013-09-11  Will Newton  <will.newton@linaro.org>
52384         [BZ #15855]
52385         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
52386         does not overflow.
52388 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
52390         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
52391         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52392         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52393         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52394         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52396 2013-09-10  Allan McRae  <allan@archlinux.org>
52398         [BZ #15748]
52399         * manual/arith.texi (Parsing of Floats): Clarify
52400         cross-reference.
52402         [BZ #15849]
52403         * manual/install.texi (Running make install): Mention
52404         --enable-pt-chown.
52405         * INSTALL: Regenerated.
52407 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
52409         * csu/init-first.c (_init): Remove the !SHARED condition around
52410         FPU control word initialization.
52411         * elf/dl-support.c (_dl_fpu_control): New variable.
52412         (_dl_aux_init) <AT_FPUCW>: Initialize it.
52413         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
52414         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
52415         * math/test-fpucw-static.c: New file.
52416         * math/test-fpucw-ieee.c: New file.
52417         * math/test-fpucw-ieee-static.c: New file.
52418         * math/Makefile (tests): Add `test-fpucw-ieee' and
52419         `$(tests-static)'.
52420         (tests-static): New variable.
52421         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
52422         dependency to...
52423         [($(build-shared),yes)]
52424         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
52425         ... this.
52426         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
52427         New dependency.
52429 2013-09-09  Allan McRae  <allan@archlinux.org>
52431         [BZ #15939]
52432         * manual/string.texi (Collation Functions): Fix typo in
52433         strcoll example.
52434         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
52436         [BZ #15893]
52437         * stdlib/isomac.c (get_null_defines): Fix memory leak.
52439         [BZ #15892]
52440         * libio/memstream.c (open_memstream): Fix memory leak.
52441         * libio/wmemstream.c (open_wmemstream): Likewise.
52443         [BZ #15895]
52444         * nscd/netgroupcache.c: Fix nesting of ifdefs.
52446 2013-09-09  Will Newton  <will.newton@linaro.org>
52448         * malloc/Makefile: Add tst-realloc to tests.
52449         * malloc/tst-realloc.c: New file.
52451 2013-09-09  Allan McRae  <allan@archlinux.org>
52453         [BZ #15844]
52454         * COPYING: Update from GNU website to fix FSF address.
52455         * COPYING.LIB: Likewise.
52457 2013-09-06  David S. Miller  <davem@davemloft.net>
52459         * po/zh_TW.po: Update Chinese (traditional) translation from
52460         translation project.
52462 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
52463             Joseph Myers  <joseph@codesourcery.com>
52465         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
52466         "localeinfo.h".
52467         (obstack_chunk_alloc): New macro.
52468         (obstack_chunk_free): Likewise.
52469         (record_offset): New function.
52470         (init_locale_data): Likewise.
52471         (align_locale_data): Likewise.
52472         (add_locale_empty): Likewise.
52473         (add_locale_raw_data): Likewise.
52474         (add_locale_raw_obstack): Likewise.
52475         (add_locale_string): Likewise.
52476         (add_locale_wstring): Likewise.
52477         (add_locale_uint32): Likewise.
52478         (add_locale_uint32_array): Likewise.
52479         (add_locale_char): Likewise.
52480         (start_locale_structure): Likewise.
52481         (end_locale_structure): Likewise.
52482         (start_locale_prelude): Likewise.
52483         (end_locale_prelude): Likewise.
52484         (write_locale_data): Take locale_file structure rather than an
52485         iovec.
52486         * locale/programs/locfile.h: Include "obstack.h".
52487         (struct locale_file): Change to store locale file contents instead
52488         of header.
52489         (init_locale_data): New prototype.
52490         (align_locale_data): Likewise.
52491         (add_locale_empty): Likewise.
52492         (add_locale_raw_data): Likewise.
52493         (add_locale_raw_obstack): Likewise.
52494         (add_locale_string): Likewise.
52495         (add_locale_wstring): Likewise.
52496         (add_locale_uint32): Likewise.
52497         (add_locale_uint32_array): Likewise.
52498         (add_locale_char): Likewise.
52499         (start_locale_structure): Likewise.
52500         (end_locale_structure): Likewise.
52501         (start_locale_prelude): Likewise.
52502         (end_locale_prelude): Likewise.
52503         (write_locale_data): Update prototype.
52504         * locale/programs/3level.h (struct TABLE): Remove result field.
52505         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
52506         Use new locale_file interface.
52507         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
52508         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
52509         * locale/programs/ld-address.c (address_output): Use new
52510         locale_file interface.
52511         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
52512         NO_ADD_LOCALE.
52513         (collate_finish): Don't call collseq_table_finalize.
52514         (collate_output): Use new locale_file interface.
52515         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
52516         in file.
52517         (NO_FINALIZE): Change to NO_ADD_LOCALE.
52518         (TABLE): Move defines earlier in file.
52519         (ELEMENT): Likewise.
52520         (DEFAULT): Likewise.
52521         (wctrans_table_add): Move macro and inline function earlier in
52522         file.
52523         (struct wctype_table): Move type earlier in file.
52524         (add_locale_wctype_table): New static prototype.
52525         (struct locale_ctype_t): Use logical types instead of struct iovec
52526         pointers for members.
52527         (ctype_output): Use new locale_file interface.
52528         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
52529         new locale_file interface.
52530         (allocate_arrays): Update for use of new locale_file interface.
52531         * locale/programs/ld-identification.c (identification_output): Use
52532         new locale_file interface.
52533         * locale/programs/ld-measurement.c (measurement_output): Likewise.
52534         * locale/programs/ld-messages.c (messages_output): Likewise.
52535         * locale/programs/ld-monetary.c (monetary_output): Likewise.
52536         * locale/programs/ld-name.c (name_output): Likewise.
52537         * locale/programs/ld-numeric.c (numeric_output): Likewise.
52538         * locale/programs/ld-paper.c (paper_output): Likewise.
52539         * locale/programs/ld-telephone.c (telephone_output): Likewise.
52540         * locale/programs/ld-time.c (time_output): Likewise.
52542 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52544         * benchtests/Makefile: Add memrchr benchmark.
52545         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
52546         benchmark as memrchr.
52547         * benchtests/bench-memrchr-ifunc.c: New file.
52548         * benchtests/bench-memrchr.c: New file.
52550 2013-09-06   Will Newton  <will.newton@linaro.org>
52552         * benchtests/Makefile (string-bench): Add memcpy.
52554 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
52555             Cong Wang  <amwang@redhat.com>
52557         [BZ #15850]
52558         * sysdeps/unix/sysv/linux/bits/in.h
52559         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
52560         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
52561         before __USE_KERNEL_IPV6_DEFS uses.
52562         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
52563         IPPROTO_BEETPH.
52564         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
52565         sockaddr_in6, or ipv6_mreq.
52567 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52569         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
52570         memory access for final bytes in some large inputs.
52571         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
52573 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52575         * string/test-memrchr.c: New file.
52576         * string/test-memrchr-ifunc.c: New file.
52577         * string/Makefile: Add new memrchr testcase.
52579 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
52581         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
52582         fanotify_init returns EPERM.
52584 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
52586         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
52587         errors.
52588         (top level): Treat second token from macro or constant entries for
52589         allowed headers as allowed.
52590         * include/complex.h: Condition internal declarations on
52591         [!_ISOMAC].
52592         * include/fenv.h: Condition include of <stdbool.h> and internal
52593         declarations on [!_ISOMAC].
52595 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
52597         [BZ #15923]
52598         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
52600 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
52602         * configure.in (--enable-versioning): Remove configure option.
52603         (libc_cv_asm_symver_directive): Remove configure test.
52604         (libc_cv_ld_version_script_option): Likewise.
52605         (VERSIONING): Remove variable and AC_SUBST.
52606         (DO_VERSIONING): Remove AC_DEFINE.
52607         * configure: Regenerated.
52608         * config.h.in (DO_VERSIONING): Remove macro.
52609         * Makerules [$(versioning) = yes]: Change conditionals to
52610         [$(build-shared) = yes].
52611         * config.make.in (versioning): Remove variable.
52612         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
52613         [$(build-shared) = yes].
52614         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
52615         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
52616         * elf/Makefile [$(versioning) = yes]: Change conditionals to
52617         [$(build-shared) = yes].
52618         * extra-lib.mk [$(versioning) = yes]: Likewise.
52619         * hurd/Makefile [$(versioning) = yes]: Likewise.
52620         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
52621         [SHARED].
52622         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
52623         [SHARED].
52624         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
52625         [SHARED && !NO_HIDDEN].
52626         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
52627         [SHARED].
52628         [SHARED && DO_VERSIONING]: Likewise..
52629         * libio/Makefile [$(versioning) = yes]: Change conditionals to
52630         [$(build-shared) = yes].
52631         * manual/install.texi (--disable-versioning): Remove
52632         documentation.
52633         * INSTALL: Regenerated.
52634         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
52635         to [SHARED].
52636         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
52637         [$(build-shared) = yes].
52638         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
52639         * sysdeps/i386/i686/multiarch/strstr-c.c
52640         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
52641         [SHARED && !NO_HIDDEN].
52642         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
52643         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
52644         * sysdeps/powerpc/powerpc32/dl-machine.c
52645         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
52646         * sysdeps/powerpc/powerpc32/sysdep.h
52647         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
52648         to [SHARED && PIC && !NO_HIDDEN].
52649         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
52650         conditional to [SHARED].
52652 2013-09-04   Will Newton  <will.newton@linaro.org>
52654         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
52655         * benchtests/bench-string.h: Include bench-timing.h instead
52656         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
52657         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
52658         call to HP_TIMING_DIFF_INIT.
52659         * benchtests/bench-memccpy.c: Use bench-timing.h macros
52660         instead of hp-timing.h macros.
52661         * benchtests/bench-memchr.c: Likewise.
52662         * benchtests/bench-memcmp.c: Likewise.
52663         * benchtests/bench-memcpy.c: Likewise.
52664         * benchtests/bench-memmem.c: Likewise.
52665         * benchtests/bench-memmove.c: Likewise.
52666         * benchtests/bench-memset.c: Likewise.
52667         * benchtests/bench-rawmemchr.c: Likewise.
52668         * benchtests/bench-strcasecmp.c: Likewise.
52669         * benchtests/bench-strcasestr.c: Likewise.
52670         * benchtests/bench-strcat.c: Likewise.
52671         * benchtests/bench-strchr.c: Likewise.
52672         * benchtests/bench-strcmp.c: Likewise.
52673         * benchtests/bench-strcpy.c: Likewise.
52674         * benchtests/bench-strcpy_chk.c: Likewise.
52675         * benchtests/bench-strlen.c: Likewise.
52676         * benchtests/bench-strncasecmp.c: Likewise.
52677         * benchtests/bench-strncat.c: Likewise.
52678         * benchtests/bench-strncmp.c: Likewise.
52679         * benchtests/bench-strncpy.c: Likewise.
52680         * benchtests/bench-strnlen.c: Likewise.
52681         * benchtests/bench-strpbrk.c: Likewise.
52682         * benchtests/bench-strrchr.c: Likewise.
52683         * benchtests/bench-strspn.c: Likewise.
52684         * benchtests/bench-strstr.c: Likewise.
52686 2013-09-04  Will Newton  <will.newton@linaro.org>
52688         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
52690 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
52692         [BZ #15427]
52693         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
52694         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
52695         * math/libm-test.inc (lgamma_test_data): Add more tests.
52696         * sysdeps/i386/fpu/libm-test-ulps: Update.
52697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52699 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
52701         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
52702         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
52703         Add ifunc.
52704         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52705         Add strcmp-sse2-unaligned
52706         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
52708 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
52710         * Versions.def (libc): Add GLIBC_2.19.
52712 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
52714         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
52715         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
52717 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
52719         [BZ #14155]
52720         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
52721         intermediate calculations in recurrence.
52722         (__ieee754_ynf): Likewise.
52723         * math/libm-test.inc (jn_test_data): Do not allow spurious
52724         underflow exception.  Add more tests.
52725         (yn_test_data): Add more tests.
52726         * sysdeps/i386/fpu/libm-test-ulps: Update.
52727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52729 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
52731         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
52733 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
52735         * csu/init-first.c: Fix then/than typos.
52736         * locale/programs/ld-collate.c: Likewise.
52737         * locale/programs/linereader.h: Likewise.
52738         * manual/charset.texi: Likewise.
52739         * manual/filesys.texi: Likewise.
52740         * manual/stdio.texi: Likewise.
52741         * manual/string.texi: Likewise.
52742         * stdlib/fmtmsg.c: Likewise.
52743         * sysdeps/i386/stpncpy.S: Likewise.
52744         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52745         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
52746         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52747         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
52749 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
52751         * elf/dl-open.c: Fix typos.
52752         * iconvdata/gbbig5.c: Likewise.
52753         * iconvdata/iso-2022-jp.c: Likewise.
52754         * iconv/gconv_int.h: Likewise.
52755         * iconv/loop.c: Likewise.
52756         * nis/rpcsvc/nis.h: Likewise.
52757         * resolv/ns_name.c: Likewise.
52758         * stdio-common/vfscanf.c: Likewise.
52759         * streams/stropts.h: Likewise.
52760         * sunrpc/rpc_thread.c: Likewise.
52761         * sysdeps/i386/strpbrk.S: Likewise.
52762         * sysdeps/ieee754/k_standard.c: Likewise.
52763         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52764         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52765         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
52766         * sysdeps/mach/hurd/profil.c: Likewise.
52767         * sysdeps/s390/dl-procinfo.h: Likewise.
52768         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
52769         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
52770         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
52771         * sysdeps/x86_64/dl-trampoline.S: Likewise.
52772         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52774 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
52776         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
52777         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
52779 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
52781         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
52782         aix specific files.
52783         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
52784         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
52785         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
52786         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
52787         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
52788         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
52789         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
52790         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
52792 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
52793             Roland McGrath  <roland@hack.frob.com>
52795         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
52796         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
52798 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52800         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
52801         __executable_start symbol instead of _start.
52803 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
52805         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
52806         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
52807         Move macros to...
52808         * sysdeps/gnu/ldsodefs.h: ... this new file.
52810         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
52811         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
52812         instead of ELFOSABI_LINUX.
52814         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
52815         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
52816         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
52817         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
52818         Likewise.
52819         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
52820         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
52821         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
52822         Likewise.
52823         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
52824         (ibm_extended_long_double): Add ieee_nan member.
52825         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
52826         (do_test): New function.
52828         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
52829         TEST_TRUNC.
52830         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
52831         functions, renamed from truncdfsf_test, trunctfsf_test,
52832         trunctfdf_test.
52833         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
52834         functions.
52835         (do_test): Run all these.
52837 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
52839         * argp/argp-help.c: Fix typos.
52840         * argp/argp-parse.c: Likewise.
52841         * debug/backtracesyms.c: Likewise.
52842         * elf/elf.h: Likewise.
52843         * malloc/malloc.c: Likewise.
52844         * nis/nis_print.c: Likewise.
52845         * resolv/res_comp.c: Likewise.
52846         * stdlib/stdlib.h: Likewise.
52847         * sunrpc/clnt_tcp.c: Likewise.
52848         * sunrpc/clnt_udp.c: Likewise.
52849         * sunrpc/clnt_unix.c: Likewise.
52850         * sysdeps/unix/bsd/ptsname.c: Likewise.
52851         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
52852         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
52853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
52854         Likewise.
52855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
52856         Likewise.
52857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
52858         Likewise.
52859         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52861 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52863         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
52864         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52866 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
52868         [BZ #15897]
52869         * dlfcn/Makefile (tests): Add bug-dl-leaf.
52870         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
52871         ($(objpfx)bug-dl-leaf): New rule.
52872         ($(objpfx)bug-dl-leaf.so): Likewise.
52873         ($(objpfx)bug-dl-leaf.out): Likewise.
52874         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
52875         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
52876         * dlfcn/bug-dl-leaf.c: New test.
52877         * dlfcn/bug-dl-leaf-lib.c: Likewise.
52878         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
52879         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
52880         (dlclose): Likewise.
52881         (dlmopen): Likewise.
52883 2013-08-27  Roland McGrath  <roland@hack.frob.com>
52885         * include/netdb.h [!_ISOMAC]:
52886         Don't include <tls.h>.
52887         (h_errno, __libc_h_errno): Move declaration and macros out of
52888         [_LIBC_REENTRANT].
52890         * include/resolv.h [_RESOLV_H_]:
52891         Don't include <tls.h>.
52892         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
52893         * resolv/res_libc.c: Don't include <tls.h>.
52894         (_res): Use __attribute__ ((nocommon)) in place of
52895         __attribute__ ((section (".bss"))).
52897         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
52898         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
52900         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
52902         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
52903         only under [SIOCGIFCONF && SIOCGIFNETMASK].
52905         * resolv/res_mkquery.c: Include <sys/time.h>.
52907         * inet/ifreq.c: Moved to ...
52908         * sysdeps/unix/ifreq.c: ... here.
52909         * inet/ifreq.c: New file, true stub version.
52911         * socket/sa_len.c: New file.
52912         * socket/Makefile (aux): Add it.
52913         * sysdeps/unix/sysv/linux/Makefile
52914         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
52915         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
52916         and #include <socket/sa_len.c>.
52917         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
52918         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
52920         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
52921         * bits/socket.h: ... here.
52923         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
52924         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
52925         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
52927 2013-08-27  Andreas Schwab  <schwab@suse.de>
52929         [BZ #15736]
52930         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
52931         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
52932         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
52933         * string/test-strcasecmp.c (test_main): Run tests in several
52934         locales.
52935         * string/test-strncasecmp.c (test_main): Likewise.
52937         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
52938         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
52939         to __strcasecmp_nonascii and __strncasecmp_nonascii.
52940         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
52941         (__strncasecmp_ssse3) [PIC]: Likewise.
52943 2013-08-26  Roland McGrath  <roland@hack.frob.com>
52945         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
52947         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
52948         instead of explicitly declaring xdecrypt.
52949         * nis/nss_nis/nis-publickey.c: Likewise.
52951 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52953         [BZ #15890]
52954         * nscd/aicache.c: Include res_hconf.h.
52955         (addhstaiX): Initialize res_hconf.
52957 2013-08-26  Andreas Schwab  <schwab@suse.de>
52959         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
52960         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
52962 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52964         * nscd/aicache.c (addhstaiX): Fix indentation.
52966 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
52968         * configure.ac: Quote $build_pt_chown test.
52969         * configure: Regenerated.
52971 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
52973         [BZ #15532]
52974         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
52975         * math/s_cexpf.c (__cexpf): Likewise.
52976         * math/s_cexpl.c (__cexpl): Likewise.
52977         * math/libm-test.inc (cexp_test_data): Correct expected return
52978         value for NaN + i0.  Add another test.
52980 2013-08-22  David S. Miller  <davem@davemloft.net>
52982         * po/ca.po: Update Catalan translation from translation project.
52983         * po/uk.po: Add Ukrainian translations from translation project.
52985 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
52987         [BZ #15797]
52988         * math/s_fdim.c (__fdim): Check for infinite arguments if result
52989         is infinite, not alongside NaN test.
52990         * math/s_fdimf.c (__fdimf): Likewise.
52991         * math/s_fdiml.c (__fdiml): Likewise.
52992         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
52993         errno is unchanged.
52995 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
52997         * argp/argp-help.c: Fix typos.
52998         * crypt/speeds.c: Likewise.
52999         * csu/check_fds.c: Likewise.
53000         * elf/dl-load.c: Likewise.
53001         * elf/dl-open.c: Likewise.
53002         * elf/reldep3.c: Likewise.
53003         * elf/reldep.c: Likewise.
53004         * elf/sprof.c: Likewise.
53005         * iconv/iconv_charmap.c: Likewise.
53006         * iconv/skeleton.c: Likewise.
53007         * iconv/strtab.c: Likewise.
53008         * io/lockf64.c: Likewise.
53009         * libio/libioP.h: Likewise.
53010         * resolv/gai_notify.c: Likewise.
53011         * resolv/ns_name.c: Likewise.
53012         * resolv/ns_samedomain.c: Likewise.
53013         * resolv/res_send.c: Likewise.
53014         * stdlib/random.c: Likewise.
53015         * sunrpc/rpc/xdr.h: Likewise.
53016         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
53017         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53018         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53019         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53020         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53021         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53022         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53023         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53024         * sysdeps/mach/hurd/check_fds.c: Likewise.
53025         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53026         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
53027         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53028         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53029         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
53030         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53031         * sysdeps/pthread/aio_notify.c: Likewise.
53032         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
53033         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
53034         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
53035         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53036         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
53038 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53040         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
53041         version if bit_Slow_SSE4_2 is set.
53042         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53043         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53045 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53047         [BZ #15867]
53048         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
53049         trampoline stack frame information.
53050         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
53051         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
53052         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
53053         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
53054         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
53055         * sysdeps/unix/sysv/linux/powerpc/init-first.c
53056         (_libc_vdso_platform_setup): Initialize the signal trampolines.
53057         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
53058         sa_flags value.
53059         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
53060         interrupting a syscall and set with option SA_SIGINFO.
53062 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
53064         [BZ #15531]
53065         * math/s_cproj.c (__cproj): Only return an infinity if one part of
53066         argument is infinite.
53067         * math/s_cprojf.c (__cprojf): Likewise.
53068         * math/s_cprojl.c (__cprojl): Likewise.
53069         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
53070         * math/libm-test.inc (cproj_test_data): Add more tests.
53072         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
53074         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
53075         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
53076         size.  Use __ffs to determine corresponding shift.
53078 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
53079             Roland McGrath  <roland@hack.frob.com>
53081         * Makefile (INSTALL): Remove trailing blank lines from output of
53082         makeinfo.
53084 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53086         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
53087         Align 32 bit compat elf_greg to 8 bytes.
53089 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
53091         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
53093 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53095         * string/strcoll_l.c (coll_seq): New structure.
53096         (get_next_seq_cached): New function.
53097         (get_next_seq): New function.
53098         (do_compare): New function.
53099         (STRCOLL): Use GNU style definition.  Simplify implementation
53100         by using get_next_seq, get_next_seq_cached and do_compare.
53102 2013-08-16  Florian Weimer  <fweimer@redhat.com>
53104         [BZ #14699]
53105         CVE-2013-4237
53106         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
53107         member.
53108         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
53109         member.
53110         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
53111         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
53112         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
53113         conditional.
53114         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
53115         GETDENTS_64BIT_ALIGNED.
53116         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53117         * manual/filesys.texi (Reading/Closing Directory): Document
53118         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
53119         strongly.
53120         * manual/conf.texi (Limits for Files): Add portability note to
53121         NAME_MAX, PATH_MAX.
53122         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
53124 2013-08-13  Andreas Schwab  <schwab@suse.de>
53126         [BZ #15749]
53127         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
53128         of fabs.
53129         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
53130         LDBL_MAX_EXP >= 16384]: Add tests for it.
53132 2013-08-12  David S. Miller  <davem@davemloft.net>
53134         * version.h (RELEASE): Set to "development".
53135         (VERSION): Set to "2.18.90".
53136         * NEWS: Add 2.19 section.
53138 2013-08-03  David S. Miller  <davem@davemloft.net>
53140         * po/ko.po: Update Korean translation from translation project.
53142 2013-08-01  David S. Miller  <davem@davemloft.net>
53144         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
53145         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
53146         Bilka.
53148 2013-07-30  David S. Miller  <davem@davemloft.net>
53150         * po/fr.po: Update French translation from translation project.
53152 2013-07-28  David S. Miller  <davem@davemloft.net>
53154         * po/cs.po: Update Czech translation from translation project.
53156         * po/sv.po: Update Swedish translation from translation project.
53158 2013-07-27  David S. Miller  <davem@davemloft.net>
53160         * po/eo.po: Update Esperanto translation from translation project.
53162         * po/vi.po: Update Vietnamese translation from translation project.
53164         * po/de.po: Update German translation from translation project.
53166 2013-07-26  David S. Miller  <davem@davemloft.net>
53168         * po/bg.po: Update Bulgarian translation from translation project.
53170         * po/nl.po: Update Dutch translation from translation project.
53171         * po/pl.po: Update Polish translation from translation project.
53172         * po/ru.po: Update Russian translation from translation project.
53174 2013-07-24  David S. Miller  <davem@davemloft.net>
53176         * po/libc.pot: Update.
53178 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53180         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
53181         variable page size.
53182         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
53183         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
53184         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
53186 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53188         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
53190 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53191             Andreas Schwab  <schwab@suse.de>
53192             Roland McGrath  <roland@hack.frob.com>
53193             Joseph Myers  <joseph@codesourcery.com>
53194             Carlos O'Donell  <carlos@redhat.com>
53196         [BZ #15755]
53197         * config.h.in: Define HAVE_PT_CHOWN.
53198         * config.make.in (build-pt-chown): New variable.
53199         * configure.in (--enable-pt_chown): New configure option.
53200         * configure: Regenerate.
53201         * login/Makefile: Include Makeconfig.  Build pt_chown only if
53202         build-pt-chown is enabled.
53203         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
53204         pt_chown to fix pty ownership.
53205         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
53206         CLOSE_ALL_FDS.
53207         * manual/install.texi (Configuring and compiling): Mention
53208         --enable-pt_chown. Add @findex for grantpt.
53209         * INSTALL: Regenerate.
53211 2013-07-20  David S. Miller  <davem@davemloft.net>
53213         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
53214         difference between 32-bit and 64-bit.
53216 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
53218         [BZ #15711]
53219         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
53220         Avoid system header dependency with -ffreestanding.
53221         ($(objpfx)bits/syscall%d): Likewise.
53223 2013-07-13  David S. Miller  <davem@davemloft.net>
53225         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
53226         underflows from atanl/atan2l due to bug 15319.
53227         (casinh_test_data): Likewise.
53229 2013-07-07  David S. Miller  <davem@davemloft.net>
53231         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
53233 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
53235         * sysdeps/i386/fpu/libm-test-ulps: Update.
53236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53238 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53240         * configure.in (--enable-lock-elision): Fix message text.
53241         * INSTALL: Regenerate.
53242         * configure: Regenerate.
53244 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53248 2013-07-03  Andreas Jaeger  <aj@suse.de>
53250         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
53251         define.
53252         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
53253         (ptrace_peeksiginfo_args): Add.
53254         (__ptrace_peeksiginfo_flags): Add.
53255         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53256         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53257         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53259 2013-07-03  Allan McRae  <allan@archlinux.org>
53261         * sysdeps/i386/fpu/libm-test-ulps: Update.
53263 2013-07-02  David S. Miller  <davem@davemloft.net>
53265         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53267 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
53269         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53271 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
53273         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
53274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53276 2013-07-02  Andi Kleen <ak@linux.intel.com>
53278         * config.h.in (ENABLE_LOCK_ELISION): Add.
53279         * configure.in (--enable-lock-elision): Add option.
53280         * manual/install.texi: Document --enable lock elision.
53281         * configure: Regenerate
53282         * INSTALL: Regenerate.
53284 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
53286         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
53287         SSE4.2 strcasecmp for libc.a.
53288         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
53290 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
53292         [BZ #13304]
53293         * soft-fp/op-common.h (_FP_FMA): New macro.
53294         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
53295         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
53296         (_FP_MUL_MEAT_1_imm): ... here.
53297         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
53298         (_FP_MUL_MEAT_1_wide): ... here.
53299         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
53300         (_FP_MUL_MEAT_1_hard): ... here.
53301         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
53302         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
53303         (_FP_MUL_MEAT_2_wide): ... here.
53304         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
53305         (_FP_MUL_MEAT_2_wide_3mul): ... here.
53306         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
53307         (_FP_MUL_MEAT_2_gmp): ... here.
53308         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
53309         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
53310         (_FP_MUL_MEAT_4_wide): ... here.
53311         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
53312         (_FP_MUL_MEAT_4_gmp): ... here.
53313         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
53314         (_FP_WFRACBITS_DW_S): Likewise.
53315         (_FP_WFRACXBITS_DW_S): Likewise.
53316         (_FP_HIGHBIT_DW_S): Likewise.
53317         (FP_FMA_S): Likewise.
53318         (_FP_FRAC_HIGH_DW_S): Likewise.
53319         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
53320         (_FP_WFRACBITS_DW_D): Likewise.
53321         (_FP_WFRACXBITS_DW_D): Likewise.
53322         (_FP_HIGHBIT_DW_D): Likewise.
53323         (FP_FMA_D): Likewise.
53324         (_FP_FRAC_HIGH_DW_D): Likewise.
53325         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
53326         (_FP_WFRACBITS_DW_E): Likewise.
53327         (_FP_WFRACXBITS_DW_E): Likewise.
53328         (_FP_HIGHBIT_DW_E): Likewise.
53329         (FP_FMA_E): Likewise.
53330         (_FP_FRAC_HIGH_DW_E): Likewise.
53331         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
53332         (_FP_WFRACBITS_DW_Q): Likewise.
53333         (_FP_WFRACXBITS_DW_Q): Likewise.
53334         (_FP_HIGHBIT_DW_Q): Likewise.
53335         (FP_FMA_Q): Likewise.
53336         (_FP_FRAC_HIGH_DW_Q): Likewise.
53337         * soft-fp/fmasf4.c: New file.
53338         * soft-fp/fmadf4.c: Likewise.
53339         * soft-fp/fmatf4.c: Likewise.
53341 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53343         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53344         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
53345         Silvermont.
53346         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
53347         macro.
53348         (index_Slow_SSE4_2): Likewise.
53349         (index_Prefer_PMINUB_for_stringop): Likewise.
53350         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
53351         bit_Slow_SSE4_2 is set.
53352         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
53353         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53355 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53357         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
53358         rtld_global._dl_hwcap2.
53359         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
53360         POWER8.
53361         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
53362         POWER8 feature descriptions defined in _dl_hwcap2.
53363         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
53364         string handling for POWER8 feature bits.
53365         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
53366         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
53367         _dl_powerpc_cap_flags.
53368         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
53369         * sysdeps/powerpc/rtld-global-offsets.sym
53370         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
53371         _dl_hwcap2 in the rtld_global_ro structure.
53373 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53375         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
53376         hardware capabilities in support of AT_HWCAP2.
53377         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
53378         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
53379         GLRO(dl_hwcap2).
53380         (_dl_show_auxv): Add support for calling _dl_procinfo to display
53381         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
53382         explicitly the unknown a_type display mechanism is used.
53383         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
53384         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
53385         struct member.
53386         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
53387         to macro prototype for AT_HWCAP2 support.
53388         * sysdeps/i386/dl-procinfo.h: Likewise.
53389         * sysdeps/s390/dl-procinfo.h: Likewise.
53390         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
53391         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
53392         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
53393         return -1 for unknown a_type display fallback.
53394         * sysdeps/sparc/dl-procinfo.h: Likewise.
53395         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
53396         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
53398 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
53400         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
53401         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
53403 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
53405         [BZ #12492]
53406         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
53407         mprotect making __stack_prot writable.
53409 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
53410             Joseph Myers  <joseph@codesourcery.com>
53412         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
53413         as being properly aligned.
53415 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
53417         * dlfcn/modstatic5.c: New file.
53418         * dlfcn/tststatic5.c: New file.
53419         * dlfcn/Makefile (tests): Add tststatic5.
53420         (tests-static): Likewise.
53421         (modules-names): Add modstatic5.
53422         (tststatic5-ENV): New variable.
53423         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
53425         [BZ #15022]
53426         * elf/dl-support.c (_dl_main_map): New variable.
53427         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
53428         (_dl_nns, _dl_load_adds): Set to 1.
53429         (_dl_initial_searchlist): Refer to _dl_main_map.
53430         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
53431         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
53432         call to _dl_get_origin.
53433         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
53434         around call_map.
53435         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
53436         * dlfcn/modstatic3.c: New file.
53437         * dlfcn/tststatic3.c: New file.
53438         * dlfcn/tststatic4.c: New file.
53439         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
53440         (tests-static): Likewise.
53441         (modules-names): Add modstatic3.
53442         (tststatic3-ENV, tststatic4-ENV): New variables.
53443         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
53444         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
53446 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
53448         * configure.in (CC): Require GCC version 4.4 or later.
53449         * configure: Regenerated.
53450         * manual/install.texi (Tools for Compilation): Update GCC version
53451         requirement.
53452         * INSTALL: Regenerated.
53454 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53456         [BZ #15674]
53457         * string/test-memcmp.c (check2): New.
53458         (main): Call check2.
53460         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
53462 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
53464         [BZ #15022]
53465         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
53466         over to...
53467         (dl_open_worker) [!SHARED]: ... here.
53469 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53471         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
53473 2013-06-25  Richard Henderson  <rth@redhat.com>
53475         * locale/programs/locarchive.c: Include <libc-internal.h>
53477 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
53479         * manual/texinfo.tex: Update to version 2013-06-21.17, with
53480         trailing whitespace removed.
53482 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
53484         [BZ #10283]
53485         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
53486         * locale/programs/locarchive.c: Include libc-mmap.h.
53487         (prepare_address_space): Take two new outputs (the mmap base and len).
53488         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
53489         values.
53490         (create_archive): Declare new mmap base and len values for
53491         prepare_address_space, and store the result in ah.
53492         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
53493         (enlarge_archive): If ah->mmap_base is not NULL, use that and
53494         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
53495         Declare new mmap base and len values for
53496         prepare_address_space, and store the result in new_ah.
53497         (open_archive): Declare new mmap base and len values for
53498         prepare_address_space, and store the result in ah.
53499         (close_archive): If ah->mmap_base is not NULL, use that and
53500         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
53501         * sysdeps/generic/libc-mmap.h: New file.
53503 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
53505         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
53506         (ALIGN_UP): Likewise.
53507         (PTR_ALIGN_DOWN): Likewise.
53508         (PTR_ALIGN_UP): Likewise.
53510 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53512         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
53513         entry mapped to PPC_PLATFORM_POWER8.
53514         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
53515         POWER8.
53516         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
53517         (_dl_string_platform): Add case for exporting platform position for
53518         POWER8.
53519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
53520         search path to sysdeps/powerpc/powerpc32/power8 directory.
53521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
53522         search path to sysdeps/powerpc/powerpc64/power8 directory.
53523         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
53524         power7 directories.
53525         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
53526         power7 directories.
53528 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
53530         * INSTALL: Regenerate.
53532         * nscd/connections.c (nscd_init): Fix comment.
53534 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
53536         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
53538         [BZ #15667]
53539         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
53540         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
53542 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
53544         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
53545         DL_DST_REQ_STATIC.
53546         (DL_DST_REQ_STATIC): Remove macro.
53548 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
53550         [BZ #7006]
53551         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
53552         with a shift of 0 bits.
53554 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
53556         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
53557         $(tststatic-ENV).
53559 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53561         [BZ #15655]
53562         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
53564 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53566         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
53567         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
53568         accepts -fno-tree-loop-distribute-patterns.
53569         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
53570         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
53571         recursive call.
53572         * string/memset.c (memset): Likewise.
53573         * string/test-memmove.c (simple_memmove): Disable loop transformation
53574         to library calls.
53575         * string/test-memset.c (simple_memset): Likewise.
53576         * benchtests/bench-memmove.c (simple_memmove): Likewise.
53577         * benchtests/bench-memset.c (simple_memset): Likewise.
53578         * configure: Regenerated.
53580 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
53582         * math/test-misc.c (main): Ignore fesetround failure when failures
53583         of subsequent rounding tests would be ignored.
53585         [BZ #15654]
53586         * math/fedisblxcpt.c (fedisableexcept): Return 0.
53587         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
53588         * math/fegetenv.c (__fegetenv): Return 0.
53589         * math/fegetexcept.c (fegetexcept): Return 0.
53590         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
53591         FE_TONEAREST.
53592         * math/feholdexcpt.c (feholdexcept): Return 0.
53593         * math/fesetenv.c (__fesetenv): Return 0.
53594         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
53595         argument FE_TONEAREST.
53596         * math/feupdateenv.c (__feupdateenv): Return 0.
53597         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
53599 2013-06-18  Roland McGrath  <roland@hack.frob.com>
53601         * elf/rtld-Rules (rtld-compile-command.S): New variable.
53602         (rtld-compile-command.s, rtld-compile-command.c): New variables.
53603         ($(objpfx)rtld-%.os rules): Use them.
53605 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53607         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
53608         fields.
53610 2013-06-17  Roland McGrath  <roland@hack.frob.com>
53612         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
53613         length of target pattern, then descending length of dependency pattern.
53614         * configure.in (AWK): Require gawk 3.1.2 or newer.
53615         * manual/install.texi (Tools for Compilation): Say that we do.
53616         * configure: Regenerated.
53618         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
53619         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
53620         * scripts/sysd-rules.awk: ... this new script.
53621         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
53622         than a glob-style pattern.
53624 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
53626         * math/test-misc.c (main): Do not treat incorrectly rounded
53627         conversions as failure unless ROUNDING_TESTS passes.
53629 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
53631         [BZ #15631]
53632         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
53633         restore exception state around main square root computation, then
53634         check for inexactness explicitly.
53636         * math/libm-test.inc (fma_test_data): Add another test.
53638 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53640         * manual/threads.texi (Non-POSIX Extensions): New document
53641         node.  Document pthread_getattr_default_np and
53642         pthread_setattr_default_np.
53644         * Versions.def (libpthread): Add GLIBC_2.18.
53645         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
53646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
53647         Likewise.
53648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53649         Likewise.
53650         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53651         Likewise.
53652         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53653         Likewise.
53654         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
53655         Likewise.
53656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
53657         Likewise.
53658         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
53659         Likewise.
53660         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
53661         Likewise.
53662         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
53663         Likewise.
53665 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53667         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53668         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
53670 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53671             H.J. Lu  <hjl.tools@gmail.com>
53673         [BZ #15627]
53674         * sysdeps/x86_64/rtld-memset.c: Remove file.
53675         * sysdeps/x86_64/rtld-memset.S: New file.
53677 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
53679         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
53680         (test_in_one_mode): Take arguments for whether the rounding mode
53681         is supported for each floating-point type.
53682         (do_test): Pass new arguments to test_in_one_mode using
53683         ROUNDING_TESTS.
53685 2013-06-13  Roland McGrath  <roland@hack.frob.com>
53687         * posix/tst-waitid.c (do_test): Distinguish different instances of
53688         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
53689         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
53690         before entering the kernel for waitpid.
53692 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
53694         * NEWS: Fix note on clock function precision.  Text by Roland
53695         McGrath.
53697 2013-06-13  Roland McGrath  <roland@hack.frob.com>
53699         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
53700         it into place only when and if the sanity check passes.
53702 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
53704         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
53705         output for whether conversion result is exact.  Take argument
53706         indicating whether type is IBM long double.
53707         (round_for_all): Change need_exact field to ibm_ld.
53708         * stdlib/tst-strtod-round.c (struct exactness): New type.
53709         (struct test): Change bool ld_ok field to struct exactness exact.
53710         (TEST): Update all definitions for change to field.
53711         (tests): Regenerate array contents.
53712         (test_in_one_mode): Take pointer to new field instead of old ld_ok
53713         field value.  Check for IBM long double here.
53714         (do_test): Update calls to test_in_one_mode.
53716 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
53718         [BZ #12515]
53719         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
53720         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
53722 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53724         [BZ #15605]
53725         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
53726         generated by the compiler on loop optimizations.
53727         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
53728         general definitions.
53730 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
53732         * math/bug-nextafter.c: Include <math-tests.h>.
53733         (main): Only test for exceptions if EXCEPTION_TESTS is true for
53734         the relevant type.
53735         * math/bug-nexttoward.c: Include <math-tests.h>.
53736         (main): Only test for exceptions if EXCEPTION_TESTS is true for
53737         the relevant type.
53738         * math/test-misc.c: Include <math-tests.h>.
53739         (main): Only test for exceptions if EXCEPTION_TESTS is true for
53740         the relevant type.
53742 2013-06-12  Andreas Jaeger  <aj@suse.de>
53744         * po/ia.po: Update Interlingua translation from translation
53745         project.
53747 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53749         * include/fenv.h: Include stdbool.h.
53750         (struct rm_ctx): New structure.
53751         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
53752         Define macro.
53753         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
53754         (SET_RESTORE_ROUNDF): Likewise.
53755         (SET_RESTORE_ROUNDL): Likewise.
53756         (SET_RESTORE_ROUND_NOEX): Likewise.
53757         (SET_RESTORE_ROUND_NOEXF): Likewise.
53758         (SET_RESTORE_ROUND_NOEXL): Likewise.
53759         (SET_RESTORE_ROUND_53BIT): Likewise.
53760         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
53761         (libc_feresetround_noexf_ctx): Likewise.
53762         (libc_feresetround_noexl_ctx): Likewise.
53763         (libc_feholdsetround_53bit_ctx): Likewise.
53764         (libc_feresetround_53bit_ctx): Likewise.
53765         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
53766         (libc_feholdexcept_setround_sse_ctx): New function.
53767         (libc_fesetenv_sse_ctx): Likewise.
53768         (libc_feupdateenv_sse_ctx): Likewise.
53769         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
53770         (libc_feholdexcept_setround_387_ctx): Likewise.
53771         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
53772         (libc_feholdsetround_387_prec_ctx): Likewise.
53773         (libc_feholdsetround_387_ctx): Likewise.
53774         (libc_feholdsetround_387_53bit_ctx): Likewise.
53775         (libc_feholdsetround_sse_ctx): Likewise.
53776         (libc_feresetround_sse_ctx): Likewise.
53777         (libc_feresetround_387_ctx): Likewise.
53778         (libc_feupdateenv_387_ctx): Likewise.
53779         (libc_feholdexcept_setroundf_ctx): Define macro.
53780         (libc_fesetenvf_ctx): Likewise.
53781         (libc_feupdateenvf_ctx): Likewise.
53782         (libc_feholdsetroundf_ctx): Likewise.
53783         (libc_feresetroundf_ctx): Likewise.
53784         (libc_feholdexcept_setround_ctx): Likewise.
53785         (libc_fesetenv_ctx): Likewise.
53786         (libc_feupdateenv_ctx): Likewise.
53787         (libc_feholdsetround_ctx): Likewise.
53788         (libc_feresetround_ctx): Likewise.
53789         (libc_feholdexcept_setroundl_ctx): Likewise.
53790         (libc_feupdateenvl_ctx): Likewise.
53791         (libc_feholdsetroundl_ctx): Likewise.
53792         (libc_feresetroundl_ctx): Likewise.
53793         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
53794         (libc_feresetround_53bit_ctx): Likewise.
53796 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53798         * locale/iso-639.def: Convert to UTF-8.
53800 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
53802         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
53803         (EXCEPTION_TESTS_double): Likewise.
53804         (EXCEPTION_TESTS_long_double): Likewise.
53805         (EXCEPTION_TESTS): Likewise.
53806         * math/libm-test.inc (test_exceptions): Only test exceptions if
53807         EXCEPTION_TESTS (FLOAT).
53809 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53811         * benchtests/Makefile (string-bench): Add strcpy_chk and
53812         stpcpy_chk.
53813         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
53814         * benchtests/bench-stpcpy_chk.c: New file.
53815         * benchtests/bench-strcpy_chk-ifunc.c: New file.
53816         * benchtests/bench-strcpy_chk.c: New file.
53817         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
53818         code.
53819         (do_test): Likewise.
53821 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53823         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
53824         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
53825         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
53826         with tabs where appropriate.
53827         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
53828         dl-procinfo.h.
53829         [PPC_PLATFORM_PPC440]: Likewise.
53830         [PPC_PLATFORM_PPC464]: Likewise.
53831         [PPC_PLATFORM_PPC476]: Likewise.
53832         (_dl_string_platform): Add support for detecting ppc405, ppc440,
53833         ppc464, and ppc476 platform strings merging from ports/
53834         dl-procinfo.h.
53836 2013-06-11  Andreas Schwab  <schwab@suse.de>
53838         [BZ #14991]
53839         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
53840         (from_ucs4_idx): Regenerate.
53841         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
53842         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
53843         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
53844         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
53845         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
53846         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
53847         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
53848         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
53849         from FROM_LOOP and TO_LOOP specific macros.
53850         (BODY): Handle combining characters.
53851         * iconvdata/BIG5HKSCS.irreversible: Update.
53852         * iconvdata/BIG5HKSCS.precomposed: New file.
53853         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
53854         characters.
53855         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
53857 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53859         * include/sys/time.h: Fix indentation and add copyright header.
53861         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
53862         (do_test): Likewise.
53863         * string/test-memchr.c (do_one_test): Likewise.
53864         (do_test): Likewise.
53865         * string/test-memcmp.c (do_one_test): Likewise.
53866         (do_test): Likewise.
53867         * string/test-memcpy.c (do_one_test): Likewise.
53868         (do_test): Likewise.
53869         * string/test-memmem.c (do_one_test): Likewise.
53870         (do_test): Likewise.
53871         (do_random_tests): Likewise.
53872         * string/test-memmove.c (do_one_test): Likewise.
53873         (do_test): Likewise.
53874         * string/test-memset.c (do_one_test): Likewise.
53875         (do_test): Likewise.
53876         * string/test-rawmemchr.c (do_one_test): Likewise.
53877         (do_test): Likewise.
53878         * string/test-strcasecmp.c (do_one_test): Likewise.
53879         (do_test): Likewise.
53880         * string/test-strcasestr.c (do_one_test): Likewise.
53881         (do_test): Likewise.
53882         * string/test-strcat.c (do_one_test): Likewise.
53883         (do_test): Likewise.
53884         * string/test-strchr.c (do_one_test): Likewise.
53885         (do_test): Likewise.
53886         * string/test-strcmp.c (do_one_test): Likewise.
53887         (do_test): Likewise.
53888         * string/test-strcpy.c (do_one_test): Likewise.
53889         (do_test): Likewise.
53890         * string/test-string.h: Likewise.
53891         (test_init): Likewise.
53892         * string/test-strlen.c (do_one_test): Likewise.
53893         (do_test): Likewise.
53894         * string/test-strncasecmp.c (do_one_test): Likewise.
53895         (do_test): Likewise.
53896         * string/test-strncat.c (do_one_test): Likewise.
53897         (do_test): Likewise.
53898         * string/test-strncmp.c (do_one_test): Likewise.
53899         (do_test_limit): Likewise.
53900         (do_test): Likewise.
53901         * string/test-strncpy.c (do_one_test): Likewise.
53902         (do_test): Likewise.
53903         * string/test-strnlen.c (do_one_test): Likewise.
53904         (do_test): Likewise.
53905         * string/test-strpbrk.c (do_one_test): Likewise.
53906         (do_test): Likewise.
53907         * string/test-strrchr.c (do_one_test): Likewise.
53908         (do_test): Likewise.
53909         * string/test-strspn.c (do_one_test): Likewise.
53910         (do_test): Likewise.
53911         * string/test-strstr.c (do_one_test): Likewise.
53912         (do_test): Likewise.
53914         * benchtests/Makefile (string-bench): Add string benchmarks.
53915         * benchtests/bench-bcopy-ifunc.c: New file.
53916         * benchtests/bench-bcopy.c: New file.
53917         * benchtests/bench-bzero-ifunc.c: New file.
53918         * benchtests/bench-bzero.c: New file.
53919         * benchtests/bench-memccpy-ifunc.c: New file.
53920         * benchtests/bench-memccpy.c: New file.
53921         * benchtests/bench-memchr-ifunc.c: New file.
53922         * benchtests/bench-memchr.c: New file.
53923         * benchtests/bench-memcmp-ifunc.c: New file.
53924         * benchtests/bench-memcmp.c: New file.
53925         * benchtests/bench-memmem-ifunc.c: New file.
53926         * benchtests/bench-memmem.c: New file.
53927         * benchtests/bench-memmove-ifunc.c: New file.
53928         * benchtests/bench-memmove.c: New file.
53929         * benchtests/bench-mempcpy-ifunc.c: New file.
53930         * benchtests/bench-mempcpy.c: New file.
53931         * benchtests/bench-memset-ifunc.c: New file.
53932         * benchtests/bench-memset.c: New file.
53933         * benchtests/bench-rawmemchr-ifunc.c: New file.
53934         * benchtests/bench-rawmemchr.c: New file.
53935         * benchtests/bench-stpcpy-ifunc.c: New file.
53936         * benchtests/bench-stpcpy.c: New file.
53937         * benchtests/bench-stpncpy-ifunc.c: New file.
53938         * benchtests/bench-stpncpy.c: New file.
53939         * benchtests/bench-strcasecmp-ifunc.c: New file.
53940         * benchtests/bench-strcasecmp.c: New file.
53941         * benchtests/bench-strcasestr-ifunc.c: New file.
53942         * benchtests/bench-strcasestr.c: New file.
53943         * benchtests/bench-strcat-ifunc.c: New file.
53944         * benchtests/bench-strcat.c: New file.
53945         * benchtests/bench-strchr-ifunc.c: New file.
53946         * benchtests/bench-strchr.c: New file.
53947         * benchtests/bench-strchrnul-ifunc.c: New file.
53948         * benchtests/bench-strchrnul.c: New file.
53949         * benchtests/bench-strcmp-ifunc.c: New file.
53950         * benchtests/bench-strcmp.c: New file.
53951         * benchtests/bench-strcpy-ifunc.c: New file.
53952         * benchtests/bench-strcpy.c: New file.
53953         * benchtests/bench-strcspn-ifunc.c: New file.
53954         * benchtests/bench-strcspn.c: New file.
53955         * benchtests/bench-strlen-ifunc.c: New file.
53956         * benchtests/bench-strlen.c: New file.
53957         * benchtests/bench-strncasecmp-ifunc.c: New file.
53958         * benchtests/bench-strncasecmp.c: New file.
53959         * benchtests/bench-strncat-ifunc.c: New file.
53960         * benchtests/bench-strncat.c: New file.
53961         * benchtests/bench-strncmp-ifunc.c: New file.
53962         * benchtests/bench-strncmp.c: New file.
53963         * benchtests/bench-strncpy-ifunc.c: New file.
53964         * benchtests/bench-strncpy.c: New file.
53965         * benchtests/bench-strnlen-ifunc.c: New file.
53966         * benchtests/bench-strnlen.c: New file.
53967         * benchtests/bench-strpbrk-ifunc.c: New file.
53968         * benchtests/bench-strpbrk.c: New file.
53969         * benchtests/bench-strrchr-ifunc.c: New file.
53970         * benchtests/bench-strrchr.c: New file.
53971         * benchtests/bench-strspn-ifunc.c: New file.
53972         * benchtests/bench-strspn.c: New file.
53973         * benchtests/bench-strstr-ifunc.c: New file.
53974         * benchtests/bench-strstr.c: New file.
53976         * benchtests/Makefile: Disable parallel execution of targets.
53977         (string-bench): Add memcpy.
53978         (benchset): New variable to store a list of benchmark sets.
53979         (bench-func): Renamed from bench.
53980         (bench-set): New target.
53981         (bench): Depend on bench-func and bench-set.
53982         * benchtests/README: Add section on benchmark sets.
53983         * benchtests/bench-memcpy-ifunc.c: New file.
53984         * benchtests/bench-memcpy.c: New file.
53985         * benchtests/bench-string.h: New file.
53987 2013-06-11  Andreas Schwab  <schwab@suse.de>
53989         [BZ #15577]
53990         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
53991         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
53992         values in the triple.
53993         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
53994         terminator in the group key.
53996 2013-06-11  Andreas Jaeger  <aj@suse.de>
53998         * po/zh_TW.po: Update Chinese (traditional) translation from
53999         translation project.
54001 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54003         * include/time.h (__clock_gettime): Add libc_hidden_proto.
54004         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
54005         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
54006         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54007         (clock_getcpuclockid): Likewise.
54008         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
54009         Add weak_alias and libc_hidden_def.
54010         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
54011         * rt/clock_gettime.c (clock_gettime): Rename to
54012         __clock_gettime.  Add weak_alias and libc_hidden_def.
54013         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
54014         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
54015         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
54016         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
54017         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
54018         Likewise.
54019         * rt/clock_settime.c (clock_settime): Rename to
54020         __clock_settime.  Add weak_alias and libc_hidden_def.
54021         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
54023 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
54025         * mach/err_boot.sub: Remove trailing whitespace.
54026         * mach/err_ipc.sub: Likewise.
54027         * mach/err_mach.sub: Likewise.
54029         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
54030         (ROUNDING_TESTS_double): Likewise.
54031         (ROUNDING_TESTS_long_double): Likewise.
54032         (ROUNDING_TESTS): Likewise.
54033         * math/libm-test.inc: Include <math-tests.h>.
54034         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
54035         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
54036         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
54037         (IF_ROUND_INIT_FE_UPWARD): Likewise.
54039 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54041         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
54042         of assigning.
54044 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
54046         * sysdeps/gnu/errlist.awk: Do not generate space at end of
54047         otherwise empty TRANS lines.
54048         * sysdeps/gnu/errlist.c: Regenerated.
54050         * catgets/gencat.c (error_print): Use (void) in function
54051         definition.
54052         * crypt/crypt_util.c (__init_des): Likewise.
54053         * crypt/speeds.c (Stop): Likewise.
54054         (main): Likewise.
54055         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
54056         * inet/ruserpass.c (token): Likewise.
54057         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
54058         * intl/localealias.c (extend_alias_table): Likewise.
54059         * intl/plural-exp.c (init_germanic_plural): Likewise.
54060         * libio/fcloseall.c (__fcloseall): Likewise.
54061         * libio/genops.c (_IO_flush_all): Likewise.
54062         (_IO_flush_all_linebuffered): Likewise.
54063         (_IO_cleanup): Likewise.
54064         (_IO_iter_begin): Likewise.
54065         (_IO_iter_end): Likewise.
54066         (_IO_list_lock): Likewise.
54067         (_IO_list_unlock): Likewise.
54068         (_IO_list_resetlock): Likewise.
54069         * libio/getchar.c (getchar): Likewise.
54070         * libio/getchar_u.c (getchar_unlocked): Likewise.
54071         * libio/getwchar.c (getwchar): Likewise.
54072         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
54073         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
54074         * login/getpt.c (__getpt): Likewise.
54075         * login/tst-utmp.c (main): Likewise.
54076         * malloc/hooks.c (__malloc_check_init): Likewise.
54077         * malloc/malloc.c (__malloc_stats): Likewise.
54078         * malloc/mtrace.c (tr_break): Likewise.
54079         (mtrace): Likewise.
54080         (muntrace): Likewise.
54081         * misc/fstab.c (endfsent): Likewise.
54082         * misc/getclktck.c (__getclktck): Likewise.
54083         * misc/getdtsz.c (__getdtablesize): Likewise.
54084         * misc/gethostid.c (gethostid): Likewise.
54085         * misc/getpagesize.c (__getpagesize): Likewise.
54086         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
54087         (__get_nprocs): Likewise.
54088         (__get_phys_pages): Likewise.
54089         (__get_avphys_pages): Likewise.
54090         * misc/getttyent.c (getttyent): Likewise.
54091         (setttyent): Likewise.
54092         (endttyent): Likewise.
54093         * misc/getusershell.c (getusershell): Likewise.
54094         (endusershell): Likewise.
54095         (setusershell): Likewise.
54096         (initshells): Likewise.
54097         * misc/hsearch.c (__hdestroy): Likewise.
54098         * misc/sync.c (sync): Likewise.
54099         * misc/syslog.c (closelog_internal): Likewise.
54100         (closelog): Likewise.
54101         * misc/ttyslot.c (ttyslot): Likewise.
54102         * misc/vhangup.c (vhangup): Likewise.
54103         * posix/fork.c (__fork): Likewise.
54104         * posix/getegid.c (__getegid): Likewise.
54105         * posix/geteuid.c (__geteuid): Likewise.
54106         * posix/getgid.c (__getgid): Likewise.
54107         * posix/getpid.c (__getpid): Likewise.
54108         * posix/getppid.c (__getppid): Likewise.
54109         * posix/getuid.c (__getuid): Likewise.
54110         * posix/pause.c (pause): Likewise.
54111         * posix/setpgrp.c (setpgrp): Likewise.
54112         * posix/setsid.c (__setsid): Likewise.
54113         * posix/test-vfork.c (noop): Likewise.
54114         * resolv/gethnamaddr.c (_endhtent): Likewise.
54115         (_gethtent): Likewise.
54116         (ht_endhostent): Likewise.
54117         (gethostent): Likewise.
54118         (dns_service): Likewise.
54119         * stdlib/drand48.c (drand48): Likewise.
54120         * stdlib/lrand48.c (lrand48): Likewise.
54121         * stdlib/mrand48.c (mrand48): Likewise.
54122         * stdlib/rand.c (rand): Likewise.
54123         * stdlib/random.c (__random): Likewise.
54124         * stdlib/setenv.c (clearenv): Likewise.
54125         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
54126         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
54127         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
54128         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
54129         (__get_nprocs): Likewise.
54130         (__get_phys_pages): Likewise.
54131         (__get_avphys_pages): Likewise.
54132         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
54133         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
54134         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
54135         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
54136         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
54137         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
54138         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
54139         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
54140         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
54141         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
54142         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
54143         * sysdeps/mach/hurd/sync.c (sync): Likewise.
54144         * sysdeps/posix/clock.c (clock): Likewise.
54145         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
54146         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
54147         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
54148         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
54149         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
54150         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
54151         (__get_nprocs_conf): Likewise.
54152         (__get_phys_pages): Likewise.
54153         (__get_avphys_pages): Likewise.
54154         * time/clock.c (clock): Likewise.
54155         * time/tzset.c (__tzname_max): Likewise.
54157 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
54159         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
54160         (__bswap_32): Do not use "register".
54161         * crypt/crypt.c (_ufc_doit_r): Likewise.
54162         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
54163         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
54164         * gmon/gmon.c (__monstartup): Likewise.
54165         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
54166         * hurd/hurdmalloc.c (more_memory): Likewise.
54167         (malloc): Likewise.
54168         (free): Likewise.
54169         (realloc): Likewise.
54170         (malloc_fork_prepare): Likewise.
54171         (malloc_fork_parent): Likewise.
54172         (malloc_fork_child): Likewise.
54173         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
54174         (_svcauth_des): Likewise.
54175         * inet/inet_lnaof.c (inet_lnaof): Likewise.
54176         * inet/inet_net.c (inet_network): Likewise.
54177         * inet/inet_netof.c (inet_netof): Likewise.
54178         * inet/rcmd.c (__validuser2_sa): Likewise.
54179         * io/fts.c (fts_open): Likewise.
54180         (fts_load): Likewise.
54181         (fts_close): Likewise.
54182         (fts_read): Likewise.
54183         (fts_children): Likewise.
54184         (fts_build): Likewise.
54185         (fts_stat): Likewise.
54186         (fts_sort): Likewise.
54187         (fts_alloc): Likewise.
54188         (fts_lfree): Likewise.
54189         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
54190         (_IO_file_xsgetn): Likewise.
54191         (_IO_file_xsgetn_mmap): Likewise.
54192         * libio/iofopncook.c (_IO_cookie_read): Likewise.
54193         (_IO_cookie_write): Likewise.
54194         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
54195         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
54196         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
54197         * malloc/obstack.c (_obstack_begin): Likewise.
54198         (_obstack_begin_1): Likewise.
54199         (_obstack_newchunk): Likewise.
54200         (_obstack_allocated_p): Likewise.
54201         (obstack_free): Likewise.
54202         (_obstack_memory_used): Likewise.
54203         * misc/getttyent.c (getttynam): Likewise.
54204         (getttyent): Likewise.
54205         (skip): Likewise.
54206         (value): Likewise.
54207         * misc/getusershell.c (initshells): Likewise.
54208         * misc/syslog.c (__vsyslog_chk): Likewise.
54209         * misc/ttyslot.c (ttyslot): Likewise.
54210         * nis/nis_hash.c (__nis_hash): Likewise.
54211         * posix/fnmatch_loop.c (FCT): Likewise.
54212         * posix/getconf.c (print_all): Likewise.
54213         (main): Likewise.
54214         * posix/getopt.c (exchange): Likewise.
54215         * posix/glob.c (globfree): Likewise.
54216         (prefix_array): Likewise.
54217         (__glob_pattern_type): Likewise.
54218         * resolv/arpa/nameser.h (NS_GET16): Likewise.
54219         (NS_GET32): Likewise.
54220         (NS_PUT16): Likewise.
54221         (NS_PUT32): Likewise.
54222         * resolv/gethnamaddr.c (getanswer): Likewise.
54223         (gethostbyname2): Likewise.
54224         (gethostbyaddr): Likewise.
54225         (_gethtent): Likewise.
54226         (_gethtbyname2): Likewise.
54227         (_gethtbyaddr): Likewise.
54228         * resolv/ns_print.c (dst_s_get_int16): Likewise.
54229         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
54230         * resolv/res_init.c (__res_vinit): Likewise.
54231         (net_mask): Likewise.
54232         * resolv/res_mkquery.c (outchar): Likewise.
54233         (PRINT): Likewise.
54234         * stdio-common/printf_fp.c (outchar): Likewise.
54235         (PRINT): Likewise.
54236         * stdio-common/printf_fphex.c (outchar): Likewise.
54237         (PRINT): Likewise.
54238         * stdio-common/printf_size.c (outchar): Likewise.
54239         (PRINT): Likewise.
54240         * stdio-common/test_rdwr.c (main): Likewise.
54241         * stdio-common/tfformat.c (matches): Likewise.
54242         * stdio-common/vfprintf.c (outchar): Likewise.
54243         (printf_unknown): Likewise.
54244         (buffered_vfprintf): Likewise.
54245         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
54246         * stdio-common/xbug.c (AppendToBuffer): Likewise.
54247         (ReadFile): Likewise.
54248         * stdlib/qsort.c (SWAP): Likewise.
54249         (_quicksort): Likewise.
54250         * stdlib/setenv.c (__add_to_environ): Likewise.
54251         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
54252         * stdlib/strtol_l.c (__strtol_l): Likewise.
54253         * stdlib/tst-strtod.c (main): Likewise.
54254         * stdlib/tst-strtol.c (main): Likewise.
54255         * stdlib/tst-strtoll.c (main): Likewise.
54256         * string/bits/string2.h (__strcmp_cc): Likewise.
54257         (__strcmp_cg): Likewise.
54258         (__strcspn_c1): Likewise.
54259         (__strcspn_c2): Likewise.
54260         (__strcspn_c3): Likewise.
54261         (__strspn_c1): Likewise.
54262         (__strspn_c2): Likewise.
54263         (__strspn_c3): Likewise.
54264         (__strsep_1c): Likewise.
54265         (__strsep_2c): Likewise.
54266         (__strsep_3c): Likewise.
54267         * string/memccpy.c (__memccpy): Likewise.
54268         * string/stpcpy.c (__stpcpy): Likewise.
54269         * string/strcmp.c (strcmp): Likewise.
54270         * string/strrchr.c (strrchr): Likewise.
54271         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
54272         Likewise.
54273         * sysdeps/mach/hurd/getcwd.c
54274         (_hurd_canonicalize_directory_name_internal): Likewise.
54275         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
54276         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
54277         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
54278         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
54279         Likewise, in both definitions.
54280         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
54281         definitions.
54282         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
54283         64] (__bswap_64): Likewise.
54284         * time/test_time.c (main): Likewise.
54285         * time/tzfile.c (__tzfile_read): Likewise.
54286         (__tzfile_compute): Likewise.
54287         * time/tzset.c (__tzset_parse_tz): Likewise.
54288         (tzset_internal): Likewise.
54289         (compute_change): Likewise.
54290         * wcsmbs/wcscat.c (__wcscat): Likewise.
54291         * wcsmbs/wcschr.c (wcschr): Likewise.
54292         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
54293         * wcsmbs/wcscspn.c (wcscspn): Likewise.
54294         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
54295         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
54296         * wcsmbs/wcsspn.c (wcsspn): Likewise.
54297         * wcsmbs/wcsstr.c (wcsstr): Likewise.
54298         * wcsmbs/wmemchr.c (wmemchr): Likewise.
54299         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54300         * wcsmbs/wmemset.c (wmemset): Likewise.
54302 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
54304         * scripts/config.guess: Update to version 2013-05-16.
54305         * scripts/config.sub: Update to version 2013-04-24.
54306         * scripts/install-sh: Update to version 2011-11-20.07.
54307         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
54308         * scripts/move-if-change: Update to version 2012-01-06 07:23.
54310 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
54312         * debug/fgetws_u_chk.c: Fix leading whitespaces.
54313         * elf/sln.c: Likewise.
54314         * hurd/hurd/ioctl.h: Likewise.
54315         * hurd/hurdmalloc.c: Likewise.
54316         * hurd/xattr.c: Likewise.
54317         * include/shlib-compat.h: Likewise.
54318         * inet/ruserpass.c: Likewise.
54319         * libio/iofgets_u.c: Likewise.
54320         * libio/iofgetws_u.c: Likewise.
54321         * locale/programs/ld-identification.c: Likewise.
54322         * locale/programs/ld-time.c: Likewise.
54323         * mach/msg-destroy.c: Likewise.
54324         * nss/nss_files/files-netgrp.c: Likewise.
54325         * resolv/res_data.c: Likewise.
54326         * soft-fp/op-1.h: Likewise.
54327         * soft-fp/op-2.h: Likewise.
54328         * soft-fp/op-4.h: Likewise.
54329         * soft-fp/op-common.h: Likewise.
54330         * stdio-common/printf_fphex.c: Likewise.
54331         * stdlib/strtod_l.c: Likewise.
54332         * sunrpc/rpc/clnt.h: Likewise.
54333         * sysdeps/generic/framestate.c: Likewise.
54334         * sysdeps/i386/bsd-_setjmp.S: Likewise.
54335         * sysdeps/i386/bsd-setjmp.S: Likewise.
54336         * sysdeps/i386/__longjmp.S: Likewise.
54337         * sysdeps/i386/setjmp.S: Likewise.
54338         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54339         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54340         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54341         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54342         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54343         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54344         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54345         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54346         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54347         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
54348         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54349         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54350         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54351         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54352         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54353         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54354         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54355         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
54356         * sysdeps/ieee754/support.c: Likewise.
54357         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54358         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
54359         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
54360         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
54361         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
54362         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
54363         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
54364         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
54365         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
54366         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
54367         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
54368         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
54369         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
54370         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
54371         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
54372         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
54373         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
54374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
54376 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
54378         * posix/transbug.c: Remove executable mode.
54380 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
54382         * crypt/speeds.c: Remove trailing whitespace.
54383         * dlfcn/default.c: Likewise.
54384         * elf/ifuncdep2.c: Likewise.
54385         * elf/ifuncmain1.c: Likewise.
54386         * elf/ifuncmain1vis.c: Likewise.
54387         * elf/testobj.h: Likewise.
54388         * elf/tst-stackguard1.c: Likewise.
54389         * gmon/sys/gmon.h: Likewise.
54390         * hurd/hurdmsg.c: Likewise.
54391         * hurd/new-fd.c: Likewise.
54392         * hurd/ports-get.c: Likewise.
54393         * iconvdata/ibm1008_420.c: Likewise.
54394         * inet/tst-getni1.c: Likewise.
54395         * inet/tst-getni2.c: Likewise.
54396         * libio/ioungetc.c: Likewise.
54397         * libio/wfiledoalloc.c: Likewise.
54398         * manual/libm-err-tab.pl: Likewise.
54399         * math/w_dremf.c: Likewise.
54400         * misc/ftruncate.c: Likewise.
54401         * posix/bug-glob2.c: Likewise.
54402         * posix/tst-pcre.c: Likewise.
54403         * posix/wait4.c: Likewise.
54404         * resolv/README: Likewise.
54405         * resolv/res_debug.h: Likewise.
54406         * resolv/tst-inet_ntop.c: Likewise.
54407         * setjmp/bug269-setjmp.c: Likewise.
54408         * soft-fp/extended.h: Likewise.
54409         * soft-fp/op-1.h: Likewise.
54410         * soft-fp/op-2.h: Likewise.
54411         * soft-fp/op-4.h: Likewise.
54412         * soft-fp/op-8.h: Likewise.
54413         * soft-fp/testit.c: Likewise.
54414         * stdio-common/bug16.c: Likewise.
54415         * stdlib/random.c: Likewise.
54416         * sunrpc/rpcsvc/rquota.x: Likewise.
54417         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
54418         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54419         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54420         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54421         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54422         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54423         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54424         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54425         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54426         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54427         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54428         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54429         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54430         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54431         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54432         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54433         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54434         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54435         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54436         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54437         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54438         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54439         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
54440         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54441         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54442         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54443         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
54444         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54445         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54446         * sysdeps/ieee754/s_lib_version.c: Likewise.
54447         * sysdeps/mach/hurd/check_fds.c: Likewise.
54448         * sysdeps/mach/hurd/getsockname.c: Likewise.
54449         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
54450         * sysdeps/mach/hurd/recvfrom.c: Likewise.
54451         * sysdeps/powerpc/bits/link.h: Likewise.
54452         * sysdeps/powerpc/dl-procinfo.c: Likewise.
54453         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
54454         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
54455         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
54456         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
54457         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54458         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
54459         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
54460         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
54461         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
54462         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
54463         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
54464         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
54465         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
54466         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
54467         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
54468         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
54469         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
54470         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
54471         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54472         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54473         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
54474         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54475         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
54476         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
54477         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
54478         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
54479         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54480         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54481         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
54482         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
54483         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
54484         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54485         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54486         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
54487         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
54488         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
54489         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
54490         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
54491         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
54492         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
54493         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
54494         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
54495         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
54496         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
54497         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
54498         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
54499         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
54500         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
54501         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
54502         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54503         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54504         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54505         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54506         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
54507         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
54508         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
54509         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54510         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
54511         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
54512         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
54513         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
54514         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
54515         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54516         * sysdeps/powerpc/sysdep.h: Likewise.
54517         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54518         * sysdeps/s390/s390-64/sub_n.S: Likewise.
54519         * sysdeps/sh/dl-trampoline.S: Likewise.
54520         * sysdeps/sh/memset.S: Likewise.
54521         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
54522         * sysdeps/sh/strlen.S: Likewise.
54523         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
54524         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
54525         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
54526         * sysdeps/sparc/sparc32/rem.S: Likewise.
54527         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
54528         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
54529         * sysdeps/sparc/sparc32/strchr.S: Likewise.
54530         * sysdeps/sparc/sparc32/udiv.S: Likewise.
54531         * sysdeps/sparc/sparc32/urem.S: Likewise.
54532         * sysdeps/sparc/sparc64/add_n.S: Likewise.
54533         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
54534         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
54535         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
54536         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
54537         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
54538         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
54539         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
54540         * sysdeps/unix/bsd/times.c: Likewise.
54541         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
54542         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
54543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
54544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
54545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
54546         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
54547         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
54548         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
54549         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
54550         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
54551         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
54552         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
54553         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
54554         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
54555         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
54556         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
54557         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
54558         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
54559         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
54560         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
54561         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
54562         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
54563         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
54564         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
54565         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
54566         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
54567         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
54568         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54569         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
54570         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
54571         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
54572         * sysdeps/x86_64/strcspn.S: Likewise.
54574 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54576         * locale/C-translit.h: Revert #include <stdint.h> because this is a
54577         generated file.  Regenerate properly from gen-translit.pl.
54578         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
54579         locale/C-translit.h.
54581 2013-06-05  Andreas Schwab  <schwab@suse.de>
54583         [BZ #15100]
54584         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
54585         week as 6 instead of -1.
54586         * time/tst-strptime.c (day_tests): Add test case.
54588 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54590         * sysdeps/generic/math_private.h
54591         (libc_feholdexcept_setround_53bit): Replace with
54592         libc_feholdsetround_53bit.
54593         (libc_feupdateenv_53bit): Replace with
54594         libc_feresetround_53bit.
54595         (SET_RESTORE_ROUND_53BIT): Adjust.
54597 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54599         * string/test-strchrnul.c: Add copyright header.
54601         * posix/tst-getaddrinfo4.c: Increase test timeout.
54603 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
54605         [BZ #15536]
54606         * math/libm-test.inc (MAX_EXP): Remove
54607         (MIN_EXP): Define.
54608         (ulp): Use MIN_EXP - MANT_DIG.
54609         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
54611 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
54613         * po/be.po: Revert last change.
54614         * po/zh_CN.po: Likewise.
54615         * po/header.pot: Likewise.
54617 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
54619         * Makefile ($(common-objpfx)linkobj/libc.so): Define
54620         link-libc-deps to empty as target-specific variable.
54621         * Makerules (link-libc-args): New variable.
54622         (libc-for-link): Likewise.
54623         (link-libc-deps): Likewise.
54624         (lib%.so): Depend on $(link-libc-deps).  Link with
54625         $(link-libc-args).
54626         (build-module): Link with $(link-libc-args).
54627         (build-module-asneeded): Likewise.
54628         (build-module-helper-objlist): Filter out $(link-libc-deps) from
54629         list of objects.
54630         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
54631         target-specific variable.
54632         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
54633         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
54634         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
54635         libc.
54636         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
54637         libc and ld.so.
54638         ($(objpfx)libpcprofile.so): Likewise.
54639         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
54640         libc_nonshared.a.
54641         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
54642         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
54643         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
54644         $(link-libc-deps).
54645         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
54646         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
54647         * login/Makefile ($(objpfx)libutil.so): Likewise.
54648         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
54649         * math/Makefile ($(objpfx)libm.so): Likewise.
54650         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
54651         $(objpfx)libnsl.so): Define libc-for-link as target-specific
54652         variable instead of depending directly on libc.
54653         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
54654         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
54655         $(link-libc-deps).
54656         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
54657         libc.
54658         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
54659         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
54660         ($(objpfx)libanl.so): Likewise.
54661         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
54662         ld.so.
54663         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
54664         $(link-libc-deps).
54665         * sysdeps/i386/fpu/Makefile: Remove file.
54666         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
54667         ($(objpfx)libm.so): Remove dependency on ld.so.
54669 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
54671         [BZ # 15553]
54672         * nis/yp_xdr.c (XDRMAXNAME): Define.
54673         (XDRMAXRECORD): Define.
54674         (xdr_domainname): Use XDRMAXNAME.
54675         (xdr_mapname): Likewise.
54676         (xdr_peername): Likewise.
54677         (xdr_keydat): Use XDRMAXRECORD.
54678         (xdr_valdat): Likewise.
54680 2013-05-30  Jeff Law  <law@redhat.com>
54682         [BZ #14256]
54683         * manual/errno.texi (ESTALE): Update to account for more than
54684         just NFS file systems.
54685         * sysdeps/gnu/errlist.c: Regenerated.
54687 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54689         [BZ #15465]
54690         * elf/Makefile (tests): Add tst-null-argv.
54691         (modules-names):  Add tst-null-argv-lib.
54692         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
54693         (tst-null-argv-ENV): Set environment for tst-null-argv.
54694         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
54695         (RTLD_PROGNAME): New macro.
54696         * elf/tst-null-argv.c: New test case.
54697         * elf/tst-null-argv-lib.c: Library for test case.
54698         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
54699         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
54700         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
54701         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
54702         * elf/dl-init.c (call_init): Likewise.
54703         (_dl_init): Likewise.
54704         * elf/dl-load.c (print_search_path): Likewise.
54705         (_dl_map_object): Likewise.
54706         * elf/dl-lookup.c (do_lookup_x): Likewise.
54707         (add_dependency): Likewise.
54708         (_dl_lookup_symbol_x): Likewise.
54709         (_dl_debug_bindings): Likewise.
54710         * elf/dl-open.c (_dl_show_scope): Likewise.
54711         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
54712         * elf/dl-version.c (match_symbol): Likewise.
54713         (_dl_check_map_versions): Likewise.
54714         * elf/rtld.c (dl_main): Likewise.
54715         (print_unresolved): Use RTLD_PROGNAME.
54716         (print_missing_version): Likewise.
54717         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
54718         (elf_machine_rela): Likewise.
54719         * sysdeps/powerpc/powerpc32/dl-machine.c
54720         (__process_machine_rela): Likewise.
54721         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54722         Likewise.
54723         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
54724         Likewise.
54725         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
54726         Likewise.
54727         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
54728         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
54729         Likewise.
54730         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
54731         Likewise.
54732         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
54734 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
54736         * po/be.po: Add descriptive title.
54737         * po/zh_CN.po: Likewise.
54738         * po/header.pot: Likewise.
54740 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
54742         * locale/programs/locarchive.c (create_archive): Inlucde fname in
54743         error message.
54744         (enlarge_archive): Likewise.
54746 2013-05-28  Ben North  <ben@redfrontdoor.org>
54748         * manual/arith.texi (frexp): It is the magnitude of the return
54749         value which lies in [0.5, 1), not the return value itself.
54751 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54753         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54755 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
54757         * stdio-common/bug26.c (main): Correct fscanf template.
54759         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
54760         declare _dl_skip_args.
54762         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
54763         Don't declare.
54765         * manual/platform.texi: Add missing @end deftypefun.
54767 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
54769         [BZ #15529]
54770         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
54771         bit of mantissa of 2^16382.
54772         * math/libm-test.inc (hypot_test_data): Add more tests.
54774         * math/libm-test.inc: Add drem and pow10 to list of tested
54775         functions.
54776         (pow10_test): New function.
54777         (drem_test): Likewise.
54778         (drem_test_tonearest): Likewise.
54779         (drem_test_towardzero): Likewise.
54780         (drem_test_downward): Likewise.
54781         (drem_test_upward): Likewise.
54782         (main): Call the new functions.
54784         * math/libm-test.inc (finite_test_data): Remove.
54785         (finite_test): Run tests from isfinite_test_data.
54786         (gamma_test_data): Remove.
54787         (gamma_test): Run tests from lgamma_test_data.
54788         * sysdeps/i386/fpu/libm-test-ulps: Update.
54789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54791 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54793         * manual/platform.texi: Add PowerPC PPR function set documentation.
54794         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
54795         implementation.
54797 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
54799         * math/libm-test.inc (MAX_EXP): Define.
54800         (ULPDIFF): Define.
54801         (ulp): New function.
54802         (check_float_internal): Use ULPDIFF.
54803         (cpow_test): Disable failing test.
54804         (check_ulp): Test ulp() implementation.
54805         (main): Call check_ulp before starting tests.
54807 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
54809         * math/gen-libm-test.pl (generate_testfile): Do not handle
54810         START_DATA and END_DATA.
54811         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
54812         END_DATA.
54813         (acos_tonearest_test_data): Likewise.
54814         (acos_towardzero_test_data): Likewise.
54815         (acos_downward_test_data): Likewise.
54816         (acos_upward_test_data): Likewise.
54817         (acosh_test_data): Likewise.
54818         (asin_test_data): Likewise.
54819         (asin_tonearest_test_data): Likewise.
54820         (asin_towardzero_test_data): Likewise.
54821         (asin_downward_test_data): Likewise.
54822         (asin_upward_test_data): Likewise.
54823         (asinh_test_data): Likewise.
54824         (atan_test_data): Likewise.
54825         (atanh_test_data): Likewise.
54826         (atan2_test_data): Likewise.
54827         (cabs_test_data): Likewise.
54828         (cacos_test_data): Likewise.
54829         (cacosh_test_data): Likewise.
54830         (carg_test_data): Likewise.
54831         (casin_test_data): Likewise.
54832         (casinh_test_data): Likewise.
54833         (catan_test_data): Likewise.
54834         (catanh_test_data): Likewise.
54835         (cbrt_test_data): Likewise.
54836         (ccos_test_data): Likewise.
54837         (ccosh_test_data): Likewise.
54838         (ceil_test_data): Likewise.
54839         (cexp_test_data): Likewise.
54840         (cimag_test_data): Likewise.
54841         (clog_test_data): Likewise.
54842         (clog10_test_data): Likewise.
54843         (conj_test_data): Likewise.
54844         (copysign_test_data): Likewise.
54845         (cos_test_data): Likewise.
54846         (cos_tonearest_test_data): Likewise.
54847         (cos_towardzero_test_data): Likewise.
54848         (cos_downward_test_data): Likewise.
54849         (cos_upward_test_data): Likewise.
54850         (cosh_test_data): Likewise.
54851         (cosh_tonearest_test_data): Likewise.
54852         (cosh_towardzero_test_data): Likewise.
54853         (cosh_downward_test_data): Likewise.
54854         (cosh_upward_test_data): Likewise.
54855         (cpow_test_data): Likewise.
54856         (cproj_test_data): Likewise.
54857         (creal_test_data): Likewise.
54858         (csin_test_data): Likewise.
54859         (csinh_test_data): Likewise.
54860         (csqrt_test_data): Likewise.
54861         (ctan_test_data): Likewise.
54862         (ctan_tonearest_test_data): Likewise.
54863         (ctan_towardzero_test_data): Likewise.
54864         (ctan_downward_test_data): Likewise.
54865         (ctan_upward_test_data): Likewise.
54866         (ctanh_test_data): Likewise.
54867         (ctanh_tonearest_test_data): Likewise.
54868         (ctanh_towardzero_test_data): Likewise.
54869         (ctanh_downward_test_data): Likewise.
54870         (ctanh_upward_test_data): Likewise.
54871         (erf_test_data): Likewise.
54872         (erfc_test_data): Likewise.
54873         (exp_test_data): Likewise.
54874         (exp_tonearest_test_data): Likewise.
54875         (exp_towardzero_test_data): Likewise.
54876         (exp_downward_test_data): Likewise.
54877         (exp_upward_test_data): Likewise.
54878         (exp10_test_data): Likewise.
54879         (exp2_test_data): Likewise.
54880         (expm1_test_data): Likewise.
54881         (fabs_test_data): Likewise.
54882         (fdim_test_data): Likewise.
54883         (finite_test_data): Likewise.
54884         (floor_test_data): Likewise.
54885         (fma_test_data): Likewise.
54886         (fma_towardzero_test_data): Likewise.
54887         (fma_downward_test_data): Likewise.
54888         (fma_upward_test_data): Likewise.
54889         (fmax_test_data): Likewise.
54890         (fmin_test_data): Likewise.
54891         (fmod_test_data): Likewise.
54892         (fpclassify_test_data): Likewise.
54893         (frexp_test_data): Likewise.
54894         (gamma_test_data): Likewise.
54895         (hypot_test_data): Likewise.
54896         (ilogb_test_data): Likewise.
54897         (isfinite_test_data): Likewise.
54898         (isgreater_test_data): Likewise.
54899         (isgreaterequal_test_data): Likewise.
54900         (isinf_test_data): Likewise.
54901         (isless_test_data): Likewise.
54902         (islessequal_test_data): Likewise.
54903         (islessgreater_test_data): Likewise.
54904         (isnan_test_data): Likewise.
54905         (isnormal_test_data): Likewise.
54906         (issignaling_test_data): Likewise.
54907         (isunordered_test_data): Likewise.
54908         (j0_test_data): Likewise.
54909         (j1_test_data): Likewise.
54910         (jn_test_data): Likewise.
54911         (ldexp_test_data): Likewise.
54912         (lgamma_test_data): Likewise.
54913         (lrint_test_data): Likewise.
54914         (lrint_tonearest_test_data): Likewise.
54915         (lrint_towardzero_test_data): Likewise.
54916         (lrint_downward_test_data): Likewise.
54917         (lrint_upward_test_data): Likewise.
54918         (llrint_test_data): Likewise.
54919         (llrint_tonearest_test_data): Likewise.
54920         (llrint_towardzero_test_data): Likewise.
54921         (llrint_downward_test_data): Likewise.
54922         (llrint_upward_test_data): Likewise.
54923         (log_test_data): Likewise.
54924         (log10_test_data): Likewise.
54925         (log1p_test_data): Likewise.
54926         (log2_test_data): Likewise.
54927         (logb_test_data): Likewise.
54928         (logb_downward_test_data): Likewise.
54929         (lround_test_data): Likewise.
54930         (llround_test_data): Likewise.
54931         (modf_test_data): Likewise.
54932         (nearbyint_test_data): Likewise.
54933         (nextafter_test_data): Likewise.
54934         (nexttoward_test_data): Likewise.
54935         (pow_test_data): Likewise.
54936         (pow_tonearest_test_data): Likewise.
54937         (pow_towardzero_test_data): Likewise.
54938         (pow_downward_test_data): Likewise.
54939         (pow_upward_test_data): Likewise.
54940         (remainder_test_data): Likewise.
54941         (remainder_tonearest_test_data): Likewise.
54942         (remainder_towardzero_test_data): Likewise.
54943         (remainder_downward_test_data): Likewise.
54944         (remainder_upward_test_data): Likewise.
54945         (remquo_test_data): Likewise.
54946         (rint_test_data): Likewise.
54947         (rint_tonearest_test_data): Likewise.
54948         (rint_towardzero_test_data): Likewise.
54949         (rint_downward_test_data): Likewise.
54950         (rint_upward_test_data): Likewise.
54951         (round_test_data): Likewise.
54952         (scalb_test_data): Likewise.
54953         (scalbn_test_data): Likewise.
54954         (scalbln_test_data): Likewise.
54955         (signbit_test_data): Likewise.
54956         (sin_test_data): Likewise.
54957         (sin_tonearest_test_data): Likewise.
54958         (sin_towardzero_test_data): Likewise.
54959         (sin_downward_test_data): Likewise.
54960         (sin_upward_test_data): Likewise.
54961         (sincos_test_data): Likewise.
54962         (sinh_test_data): Likewise.
54963         (sinh_tonearest_test_data): Likewise.
54964         (sinh_towardzero_test_data): Likewise.
54965         (sinh_downward_test_data): Likewise.
54966         (sinh_upward_test_data): Likewise.
54967         (sqrt_test_data): Likewise.
54968         (tan_test_data): Likewise.
54969         (tan_tonearest_test_data): Likewise.
54970         (tan_towardzero_test_data): Likewise.
54971         (tan_downward_test_data): Likewise.
54972         (tan_upward_test_data): Likewise.
54973         (tanh_test_data): Likewise.
54974         (tgamma_test_data): Likewise.
54975         (trunc_test_data): Likewise.
54976         (y0_test_data): Likewise.
54977         (y1_test_data): Likewise.
54978         (yn_test_data): Likewise.
54979         (significand_test_data): Likewise.
54981         * math/gen-libm-test.pl (@functions): Remove variable.
54982         (generate_testfile): Don't handle START and END lines.
54983         * math/libm-test.inc (START): New macro.
54984         (END): Likewise.
54985         (END_COMPLEX): Likewise.
54986         (acos_test): Use END macro without arguments.
54987         (acos_test_tonearest): Likewise.
54988         (acos_test_towardzero): Likewise.
54989         (acos_test_downward): Likewise.
54990         (acos_test_upward): Likewise.
54991         (acosh_test): Likewise.
54992         (asin_test): Likewise.
54993         (asin_test_tonearest): Likewise.
54994         (asin_test_towardzero): Likewise.
54995         (asin_test_downward): Likewise.
54996         (asin_test_upward): Likewise.
54997         (asinh_test): Likewise.
54998         (atan_test): Likewise.
54999         (atanh_test): Likewise.
55000         (atan2_test): Likewise.
55001         (cabs_test): Likewise.
55002         (cacos_test): Use END_COMPLEX macro without arguments.
55003         (cacosh_test): Likewise.
55004         (carg_test): Use END macro without arguments.
55005         (casin_test): Use END_COMPLEX macro without arguments.
55006         (casinh_test): Likewise.
55007         (catan_test): Likewise.
55008         (catanh_test): Likewise.
55009         (cbrt_test): Use END macro without arguments.
55010         (ccos_test): Use END_COMPLEX macro without arguments.
55011         (ccosh_test): Likewise.
55012         (ceil_test): Use END macro without arguments.
55013         (cexp_test): Use END_COMPLEX macro without arguments.
55014         (cimag_test): Use END macro without arguments.
55015         (clog_test): Use END_COMPLEX macro without arguments.
55016         (clog10_test): Likewise.
55017         (conj_test): Likewise.
55018         (copysign_test): Use END macro without arguments.
55019         (cos_test): Likewise.
55020         (cos_test_tonearest): Likewise.
55021         (cos_test_towardzero): Likewise.
55022         (cos_test_downward): Likewise.
55023         (cos_test_upward): Likewise.
55024         (cosh_test): Likewise.
55025         (cosh_test_tonearest): Likewise.
55026         (cosh_test_towardzero): Likewise.
55027         (cosh_test_downward): Likewise.
55028         (cosh_test_upward): Likewise.
55029         (cpow_test): Use END_COMPLEX macro without arguments.
55030         (cproj_test): Likewise.
55031         (creal_test): Use END macro without arguments.
55032         (csin_test): Use END_COMPLEX macro without arguments.
55033         (csinh_test): Likewise.
55034         (csqrt_test): Likewise.
55035         (ctan_test): Likewise.
55036         (ctan_test_tonearest): Likewise.
55037         (ctan_test_towardzero): Likewise.
55038         (ctan_test_downward): Likewise.
55039         (ctan_test_upward): Likewise.
55040         (ctanh_test): Likewise.
55041         (ctanh_test_tonearest): Likewise.
55042         (ctanh_test_towardzero): Likewise.
55043         (ctanh_test_downward): Likewise.
55044         (ctanh_test_upward): Likewise.
55045         (erf_test): Use END macro without arguments.
55046         (erfc_test): Likewise.
55047         (exp_test): Likewise.
55048         (exp_test_tonearest): Likewise.
55049         (exp_test_towardzero): Likewise.
55050         (exp_test_downward): Likewise.
55051         (exp_test_upward): Likewise.
55052         (exp10_test): Likewise.
55053         (exp2_test): Likewise.
55054         (expm1_test): Likewise.
55055         (fabs_test): Likewise.
55056         (fdim_test): Likewise.
55057         (finite_test): Likewise.
55058         (floor_test): Likewise.
55059         (fma_test): Likewise.
55060         (fma_test_towardzero): Likewise.
55061         (fma_test_downward): Likewise.
55062         (fma_test_upward): Likewise.
55063         (fmax_test): Likewise.
55064         (fmin_test): Likewise.
55065         (fmod_test): Likewise.
55066         (fpclassify_test): Likewise.
55067         (frexp_test): Likewise.
55068         (gamma_test): Likewise.
55069         (hypot_test): Likewise.
55070         (ilogb_test): Likewise.
55071         (isfinite_test): Likewise.
55072         (isgreater_test): Likewise.
55073         (isgreaterequal_test): Likewise.
55074         (isinf_test): Likewise.
55075         (isless_test): Likewise.
55076         (islessequal_test): Likewise.
55077         (islessgreater_test): Likewise.
55078         (isnan_test): Likewise.
55079         (isnormal_test): Likewise.
55080         (issignaling_test): Likewise.
55081         (isunordered_test): Likewise.
55082         (j0_test): Likewise.
55083         (j1_test): Likewise.
55084         (jn_test): Likewise.
55085         (ldexp_test): Likewise.
55086         (lgamma_test): Likewise.
55087         (lrint_test): Likewise.
55088         (lrint_test_tonearest): Likewise.
55089         (lrint_test_towardzero): Likewise.
55090         (lrint_test_downward): Likewise.
55091         (lrint_test_upward): Likewise.
55092         (llrint_test): Likewise.
55093         (llrint_test_tonearest): Likewise.
55094         (llrint_test_towardzero): Likewise.
55095         (llrint_test_downward): Likewise.
55096         (llrint_test_upward): Likewise.
55097         (log_test): Likewise.
55098         (log10_test): Likewise.
55099         (log1p_test): Likewise.
55100         (log2_test): Likewise.
55101         (logb_test): Likewise.
55102         (logb_test_downward): Likewise.
55103         (lround_test): Likewise.
55104         (llround_test): Likewise.
55105         (modf_test): Likewise.
55106         (nearbyint_test): Likewise.
55107         (nextafter_test): Likewise.
55108         (nexttoward_test): Likewise.
55109         (pow_test): Likewise.
55110         (pow_test_tonearest): Likewise.
55111         (pow_test_towardzero): Likewise.
55112         (pow_test_downward): Likewise.
55113         (pow_test_upward): Likewise.
55114         (remainder_test): Likewise.
55115         (remainder_test_tonearest): Likewise.
55116         (remainder_test_towardzero): Likewise.
55117         (remainder_test_downward): Likewise.
55118         (remainder_test_upward): Likewise.
55119         (remquo_test): Likewise.
55120         (rint_test): Likewise.
55121         (rint_test_tonearest): Likewise.
55122         (rint_test_towardzero): Likewise.
55123         (rint_test_downward): Likewise.
55124         (rint_test_upward): Likewise.
55125         (round_test): Likewise.
55126         (scalb_test): Likewise.
55127         (scalbn_test): Likewise.
55128         (scalbln_test): Likewise.
55129         (signbit_test): Likewise.
55130         (sin_test): Likewise.
55131         (sin_test_tonearest): Likewise.
55132         (sin_test_towardzero): Likewise.
55133         (sin_test_downward): Likewise.
55134         (sin_test_upward): Likewise.
55135         (sincos_test): Likewise.
55136         (sinh_test): Likewise.
55137         (sinh_test_tonearest): Likewise.
55138         (sinh_test_towardzero): Likewise.
55139         (sinh_test_downward): Likewise.
55140         (sinh_test_upward): Likewise.
55141         (sqrt_test): Likewise.
55142         (tan_test): Likewise.
55143         (tan_test_tonearest): Likewise.
55144         (tan_test_towardzero): Likewise.
55145         (tan_test_downward): Likewise.
55146         (tan_test_upward): Likewise.
55147         (tanh_test): Likewise.
55148         (tgamma_test): Likewise.
55149         (trunc_test): Likewise.
55150         (y0_test): Likewise.
55151         (y1_test): Likewise.
55152         (yn_test): Likewise.
55153         (significand_test): Likewise.
55155 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
55157         [BZ #15381]
55158         * libio/genops.c (_IO_no_init): Initialize wide struct info.
55160 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
55162         [BZ #14894]
55163         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
55164         __ppc_mdoio and __ppc_mdoom.
55165         * manual/platform.texi: Document new functions __ppc_yield,
55166         __ppc_mdoio and __ppc_mdoom.
55168 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
55170         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
55171         (main): Mention "tls" pseudo-hwcap is legacy.
55172         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
55174 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
55176         * math/gen-libm-test.pl (parse_args): Output only string of
55177         arguments as text for test name, not full call or descriptions of
55178         tests for extra outputs.
55179         (generate_testfile): Do not pass function name to parse_args.
55180         Generate this_func variable from START.
55181         * math/libm-test.inc (struct test_f_f_data): Rename test_name
55182         field to arg_str.
55183         (struct test_ff_f_data): Likewise.
55184         (test_ff_f_data_nexttoward): Likewise.
55185         (struct test_fi_f_data): Likewise.
55186         (struct test_fl_f_data): Likewise.
55187         (struct test_if_f_data): Likewise.
55188         (struct test_fff_f_data): Likewise.
55189         (struct test_c_f_data): Likewise.
55190         (struct test_f_f1_data): Likewise.  Remove field extra_name.
55191         (struct test_fF_f1_data): Likewise.
55192         (struct test_ffI_f1_data): Likewise.
55193         (struct test_c_c_data): Rename test_name field to arg_str.
55194         (struct test_cc_c_data): Likewise.
55195         (struct test_f_i_data): Likewise.
55196         (struct test_ff_i_data): Likewise.
55197         (struct test_f_l_data): Likewise.
55198         (struct test_f_L_data): Likewise.
55199         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
55200         and extra2_name.
55201         (COMMON_TEST_SETUP): New macro.
55202         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
55203         (COMMON_TEST_CLEANUP): Likewise.
55204         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
55205         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
55206         macros.
55207         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
55208         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
55209         macros.
55210         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
55211         (RUN_TEST_fff_f): Take argument string.  Call new setup and
55212         cleanup macros.
55213         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
55214         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
55215         macros.
55216         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
55217         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
55218         macros.
55219         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
55220         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
55221         cleanup macros.
55222         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
55223         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
55224         cleanup macros.
55225         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
55226         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
55227         cleanup macros.
55228         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
55229         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
55230         macros.
55231         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
55232         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
55233         macros.
55234         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
55235         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
55236         macros.
55237         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
55238         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
55239         cleanup macros.
55240         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
55241         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
55242         cleanup macros.
55243         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
55244         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
55245         macros.
55246         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
55247         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
55248         cleanup macros.
55249         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
55250         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
55251         macros.
55252         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
55253         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
55254         macros.
55255         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
55256         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
55257         cleanup macros.
55258         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
55260 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
55262         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
55263         to _sifields.sigfault.
55264         (si_addr_lsb): Define new macro.
55265         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
55266         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55267         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
55269 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
55271         [BZ #15441]
55272         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
55273         returns -1.
55274         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
55275         null return -1.
55276         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
55277         loading the domain.
55279 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
55281         * math/gen-libm-test.pl (parse_args): Do not include expected
55282         result in test name.
55283         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
55284         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55285         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55286         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55287         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55290 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
55292         * benchtests/Makefile: Sort function entries.
55294         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
55295         tanh, asinh, acosh, atanh.
55296         * benchtests/acos-inputs: New file.
55297         * benchtests/acosh-inputs: New file.
55298         * benchtests/asin-inputs: New file.
55299         * benchtests/asinh-inputs: New file.
55300         * benchtests/atanh-inputs: New file.
55301         * benchtests/cosh-inputs: New file.
55302         * benchtests/log-inputs: New file.
55303         * benchtests/sinh-inputs: New file.
55304         * benchtests/tanh-inputs: New file.
55306 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
55308         [BZ #15339]
55309         * posix/tst-getaddrinfo4.c: New test.
55310         * posix/Makefile (tests): Add it.
55312 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55314         [BZ #15339]
55315         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
55316         when no services were used.
55317         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
55318         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
55320 2013-05-21  Andreas Schwab  <schwab@suse.de>
55322         [BZ #15014]
55323         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
55324         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
55325         successful.
55326         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
55327         redundant variable declarations and reallocation of buffer when
55328         parsing as IPv6 address.  Always set NSS status when called from
55329         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
55330         buffer too small.  Correct computation of needed size.
55331         * nss/Makefile (tests): Add test-digits-dots.
55332         * nss/test-digits-dots.c: New test.
55334 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55336         * benchtests/Makefile: Remove instructions for adding
55337         benchmark tests.
55338         * benchtests/README: New file to explain how to execute and
55339         enhance the benchmark tests.
55341 2013-05-21  Andreas Schwab  <schwab@suse.de>
55343         [BZ #15493]
55344         * setjmp/Makefile (tests): Add tst-sigsetjmp.
55345         * setjmp/tst-sigsetjmp.c: New test.
55347 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
55349         * sysdeps/x86_64/memset.S (memset): New implementation.
55350         (__bzero): Likewise.
55351         (__memset_tail): New function.
55353 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
55355         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
55356         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
55357         __memcpy_sse2_unaligned ifunc selection.
55358         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55359         Add memcpy-sse2-unaligned.S.
55360         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
55361         Add: __memcpy_sse2_unaligned.
55363 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
55365         [BZ #15490]
55366         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55367         math_force_eval before restoring floating-point envrionment.
55368         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
55369         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
55370         Likewise.
55371         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
55372         <math_private.h>.
55373         (__nearbyintl): Use math_force_eval before restoring
55374         floating-point environment.
55375         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
55377         * math/gen-libm-test.pl (special_functions): Remove.
55378         (parse_args): Don't handle TEST_extra.  Handle functions with no
55379         return value.
55380         * math/libm-test.inc (struct test_sincos_data): Replace with
55381         struct test_fFF_11_data.
55382         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
55383         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
55384         (sincos_test_data): Change element type to struct
55385         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
55386         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
55387         RUN_TEST_LOOP_sincos.
55388         * math/README.libm-test: Don't mention special handling of
55389         individual functions.
55390         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
55391         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55392         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55393         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55394         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55397         * math/gen-libm-test.pl (get_variable): Remove function.
55398         (parse_args): Don't show pointer parameters to call in test
55399         names.  Use "extra output N" in test names for extra outputs
55400         rather than naming variables.
55402 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
55404         [BZ #15488]
55405         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
55406         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
55407         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
55408         double tests.
55409         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
55410         disable.
55411         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
55412         check_long_double.
55414         * math/gen-libm-test.pl (@tests): Remove variable.
55415         ($count): Likewise.
55416         (new_test): Remove function.
55417         (show_exceptions): New function.
55418         (special_functions): Use show_exceptions instead of new_test.
55419         (parse_args): Likewise.
55420         (generate_testfile): Pass only function name in generated call to
55421         print_max_error or print_complex_max_error.
55422         (get_ulps): Do not handle complex tests specially.
55423         (output_test): Rename to ...
55424         (get_all_ulps_for_test): ... this.  Return a string rather than
55425         printing to a file.  Require ulps to be present.
55426         (output_ulps): Generate arrays rather than #defines.
55427         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
55428         (struct ulp_data): New type.
55429         (BUILD_COMPLEX_ULP): Remove macro.
55430         (compare_ulp_data): New function.
55431         (find_ulps): Likewise.
55432         (find_test_ulps): Likewise.
55433         (find_function_ulps): Likewise.
55434         (find_complex_function_ulps): Likewise.
55435         (print_max_error): Determine allowed ulps using
55436         find_function_ulps.
55437         (print_complex_max_error): Determine allowed ulps using
55438         find_complex_function_ulps.
55439         (check_float_internal): Determine max ulps using find_test_ulps.
55440         (check_float): Do not take max_ulp parameter.  Update call to
55441         check_float_internal.
55442         (check_complex): Likewise.
55443         (check_int): Do not take max_ulp parameter.
55444         (check_long): Likewise.
55445         (check_bool): Likewise.
55446         (check_longlong): Likewise.
55447         (struct test_f_f_data): Remove max_ulp field.
55448         (struct test_ff_f_data): Likewise.
55449         (struct test_ff_f_data_nexttoward): Likewise.
55450         (struct test_fi_f_data): Likewise.
55451         (struct test_fl_f_data): Likewise.
55452         (struct test_if_f_data): Likewise.
55453         (struct test_fff_f_data): Likewise.
55454         (struct test_c_f_data): Likewise.
55455         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
55456         (struct test_fF_f1_data): Likewise.
55457         (struct test_ffI_f1_data): Likewise.
55458         (struct test_c_c_data): Remove max_ulp field.
55459         (struct test_cc_c_data): Likewise.
55460         (struct test_f_i_data): Likewise.
55461         (struct test_ff_i_data): Likewise.
55462         (struct test_f_l_data): Likewise.
55463         (struct test_f_L_data): Likewise.
55464         (struct test_sincos_data): Likewise.
55465         (RUN_TEST_f_f): Do not handle ulps.
55466         (RUN_TEST_LOOP_f_f): Likewise.
55467         (RUN_TEST_2_f): Likewise.
55468         (RUN_TEST_LOOP_2_f): Likewise.
55469         (RUN_TEST_fff_f): Likewise.
55470         (RUN_TEST_LOOP_fff_f): Likewise.
55471         (RUN_TEST_c_f): Likewise.
55472         (RUN_TEST_LOOP_c_f): Likewise.
55473         (RUN_TEST_f_f1): Likewise.
55474         (RUN_TEST_LOOP_f_f1): Likewise.
55475         (RUN_TEST_fF_f1): Likewise.
55476         (RUN_TEST_LOOP_fF_f1): Likewise.
55477         (RUN_TEST_fI_f1): Likewise.
55478         (RUN_TEST_LOOP_fI_f1): Likewise.
55479         (RUN_TEST_ffI_f1): Likewise.
55480         (RUN_TEST_LOOP_ffI_f1): Likewise.
55481         (RUN_TEST_c_c): Likewise.
55482         (RUN_TEST_LOOP_c_c): Likewise.
55483         (RUN_TEST_cc_c): Likewise.
55484         (RUN_TEST_LOOP_cc_c): Likewise.
55485         (RUN_TEST_f_i): Likewise.
55486         (RUN_TEST_LOOP_f_i): Likewise.
55487         (RUN_TEST_f_i_tg): Likewise.
55488         (RUN_TEST_LOOP_f_i_tg): Likewise.
55489         (RUN_TEST_ff_i_tg): Likewise.
55490         (RUN_TEST_LOOP_ff_i_tg): Likewise.
55491         (RUN_TEST_f_b): Likewise.
55492         (RUN_TEST_LOOP_f_b): Likewise.
55493         (RUN_TEST_f_b_tg): Likewise.
55494         (RUN_TEST_LOOP_f_b_tg): Likewise.
55495         (RUN_TEST_f_l): Likewise.
55496         (RUN_TEST_LOOP_f_l): Likewise.
55497         (RUN_TEST_f_L): Likewise.
55498         (RUN_TEST_LOOP_f_L): Likewise.
55499         (RUN_TEST_sincos): Likewise.
55500         (RUN_TEST_LOOP_sincos): Likewise.
55502 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
55504         [BZ #15480]
55505         [BZ #15485]
55506         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
55507         main case of finite arguments, set rounding mode to FE_TONEAREST
55508         and discard exceptions.
55509         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
55510         exceptions.
55511         (remainder_tonearest_test_data): New variable.
55512         (remainder_test_tonearest): New function.
55513         (remainder_towardzero_test_data): New variable.
55514         (remainder_test_towardzero): New function.
55515         (remainder_downward_test_data): New variable.
55516         (remainder_test_downward): New function.
55517         (remainder_upward_test_data): New variable.
55518         (remainder_test_upward): New function.
55519         (main): Call the new test functions.
55521         * math/libm-test.inc (struct test_f_f1_data): Remove field
55522         extra_init.
55523         (struct test_fF_f1_data): Likewise.
55524         (struct test_ffI_f1_data): Likewise.
55525         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
55526         based on value of EXTRA_EXPECTED.
55527         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
55528         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
55529         EXTRA_VAR based on value of EXTRA_EXPECTED.
55530         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
55531         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
55532         EXTRA_VAR based on value of EXTRA_EXPECTED.
55533         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
55534         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
55535         EXTRA_VAR based on value of EXTRA_EXPECTED.
55536         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
55537         * math/gen-libm-test.pl (parse_args): Don't output initializers
55538         for extra output values.
55540         * math/libm-test.inc (check_int): Expect result to be exactly
55541         equal to expected value and do not handle ulps.
55542         (check_long): Likewise.
55543         (check_longlong): Likewise.
55545         * math/libm-test.inc (ceil_test_data): Test for "inexact"
55546         exceptions.
55547         (cimag_test_data): Likewise.
55548         (conj_test_data): Likewise.
55549         (copysign_test_data): Likewise.
55550         (cproj_test_data): Likewise.
55551         (creal_test_data): Likewise.
55552         (fabs_test_data): Likewise.
55553         (fdim_test_data): Likewise.
55554         (finite_test_data): Likewise.
55555         (floor_test_data): Likewise.
55556         (fmax_test_data): Likewise.
55557         (fmin_test_data): Likewise.
55558         (fmod_test_data): Likewise.
55559         (fpclassify_test_data): Likewise.
55560         (frexp_test_data): Likewise.
55561         (ilogb_test_data): Likewise.
55562         (isfinite_test_data): Likewise.
55563         (isgreater_test_data): Likewise.
55564         (isgreaterequal_test_data): Likewise.
55565         (isinf_test_data): Likewise.
55566         (isless_test_data): Likewise.
55567         (islessequal_test_data): Likewise.
55568         (islessgreater_test_data): Likewise.
55569         (isnan_test_data): Likewise.
55570         (isnormal_test_data): Likewise.
55571         (issignaling_test_data): Likewise.
55572         (isunordered_test_data): Likewise.
55573         (ldexp_test_data): Likewise.
55574         (lrint_test_data): Likewise.
55575         (lrint_test_data) [TEST_FLOAT]: Disable one test.
55576         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
55577         (lrint_tonearest_test_data): Test for "inexact" exceptions.
55578         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
55579         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
55580         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
55581         test input.
55582         (lrint_towardzero_test_data): Test for "inexact" exceptions.
55583         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
55584         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
55585         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
55586         that test input.
55587         (lrint_downward_test_data): Test for "inexact" exceptions.
55588         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
55589         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
55590         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
55591         test input.
55592         (lrint_upward_test_data): Test for "inexact" exceptions.
55593         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
55594         test input.
55595         (llrint_test_data): Test for "inexact" exceptions.
55596         (llrint_test_data) [TEST_FLOAT]: Disable one test.
55597         (llrint_tonearest_test_data): Test for "inexact" exceptions.
55598         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
55599         (llrint_towardzero_test_data): Test for "inexact" exceptions.
55600         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
55601         (llrint_downward_test_data): Test for "inexact" exceptions.
55602         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
55603         (llrint_upward_test_data): Test for "inexact" exceptions.
55604         (logb_test_data): Likewise.
55605         (logb_downward_test_data): Likewise.
55606         (nextafter_test_data): Likewise.
55607         (nexttoward_test_data): Likewise.
55608         (remainder_test_data): Likewise.
55609         (remquo_test_data): Likewise.
55610         (scalbn_test_data): Likewise.
55611         (scalbln_test_data): Likewise.
55612         (signbit_test_data): Likewise.
55613         (sqrt_test_data): Likewise.
55614         (significand_test_data): Likewise.
55616 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55618         [BZ #15424]
55619         * benchtests/bench-modf.c (struct args): Mark arg0 as
55620         volatile.
55621         * scripts/bench.pl: Mark members of struct args as volatile.
55623 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55625         [BZ # 15497]
55626         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
55627         negative infinity on POWER6 or lower.
55628         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
55630 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
55632         [BZ #15442]
55633         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
55634         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
55635         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
55636         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
55637         (_FP_SETQNAN): New macro.
55638         (_FP_SETQNAN_SEMIRAW): Likewise.
55639         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
55640         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
55641         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
55642         (FP_EXTEND): Use _FP_FRAC_SNANP.
55643         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
55644         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
55645         into account.
55646         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
55647         New macro.
55648         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
55649         Likewise.
55651 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
55653         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
55654         with DIVIDE_BY_ZERO_EXCEPTION.
55655         (gamma_test_data): Likewise.
55656         (lgamma_test_data): Likewise.
55657         (log_test_data): Likewise.
55658         (log10_test_data): Likewise.
55659         (log2_test_data): Likewise.
55660         (tgamma_test_data): Likewise.
55662         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
55663         (acos_test_tonearest): Likewise.
55664         (acos_test_towardzero): Likewise.
55665         (acos_test_downward): Likewise.
55666         (acos_test_upward): Likewise.
55667         (acosh_test): Likewise.
55668         (asin_test): Likewise.
55669         (asin_test_tonearest): Likewise.
55670         (asin_test_towardzero): Likewise.
55671         (asin_test_downward): Likewise.
55672         (asin_test_upward): Likewise.
55673         (asinh_test): Likewise.
55674         (atan_test): Likewise.
55675         (atanh_test): Likewise.
55676         (atan2_test): Likewise.
55677         (cabs_test): Likewise.
55678         (cacos_test): Likewise.
55679         (cacosh_test): Likewise.
55680         (casin_test): Likewise.
55681         (casinh_test): Likewise.
55682         (catan_test): Likewise.
55683         (catanh_test): Likewise.
55684         (cbrt_test): Likewise.
55685         (ccos_test): Likewise.
55686         (ccosh_test): Likewise.
55687         (cexp_test): Likewise.
55688         (clog_test): Likewise.
55689         (clog10_test): Likewise.
55690         (cos_test): Likewise.
55691         (cos_test_tonearest): Likewise.
55692         (cos_test_towardzero): Likewise.
55693         (cos_test_downward): Likewise.
55694         (cos_test_upward): Likewise.
55695         (cosh_test): Likewise.
55696         (cosh_test_tonearest): Likewise.
55697         (cosh_test_towardzero): Likewise.
55698         (cosh_test_downward): Likewise.
55699         (cosh_test_upward): Likewise.
55700         (cpow_test): Likewise.
55701         (csin_test): Likewise.
55702         (csinh_test): Likewise.
55703         (csqrt_test): Likewise.
55704         (ctan_test): Likewise.
55705         (ctan_test_tonearest): Likewise.
55706         (ctan_test_towardzero): Likewise.
55707         (ctan_test_downward): Likewise.
55708         (ctan_test_upward): Likewise.
55709         (ctanh_test): Likewise.
55710         (ctanh_test_tonearest): Likewise.
55711         (ctanh_test_towardzero): Likewise.
55712         (ctanh_test_downward): Likewise.
55713         (ctanh_test_upward): Likewise.
55714         (erf_test): Likewise.
55715         (erfc_test): Likewise.
55716         (exp_test): Likewise.
55717         (exp_test_tonearest): Likewise.
55718         (exp_test_towardzero): Likewise.
55719         (exp_test_downward): Likewise.
55720         (exp_test_upward): Likewise.
55721         (exp10_test): Likewise.
55722         (exp2_test): Likewise.
55723         (expm1_test): Likewise.
55724         (fmod_test): Likewise.
55725         (gamma_test): Likewise.
55726         (hypot_test): Likewise.
55727         (j0_test): Likewise.
55728         (j1_test): Likewise.
55729         (jn_test): Likewise.
55730         (lgamma_test): Likewise.
55731         (log_test): Likewise.
55732         (log10_test): Likewise.
55733         (log1p_test): Likewise.
55734         (log2_test): Likewise.
55735         (logb_test_downward): Likewise.
55736         (pow_test): Likewise.
55737         (pow_test_tonearest): Likewise.
55738         (pow_test_towardzero): Likewise.
55739         (pow_test_downward): Likewise.
55740         (pow_test_upward): Likewise.
55741         (remainder_test): Likewise.
55742         (remquo_test): Likewise.
55743         (sin_test): Likewise.
55744         (sin_test_tonearest): Likewise.
55745         (sin_test_towardzero): Likewise.
55746         (sin_test_downward): Likewise.
55747         (sin_test_upward): Likewise.
55748         (sincos_test): Likewise.
55749         (sinh_test): Likewise.
55750         (sinh_test_tonearest): Likewise.
55751         (sinh_test_towardzero): Likewise.
55752         (sinh_test_downward): Likewise.
55753         (sinh_test_upward): Likewise.
55754         (sqrt_test): Likewise.
55755         (tan_test): Likewise.
55756         (tan_test_tonearest): Likewise.
55757         (tan_test_towardzero): Likewise.
55758         (tan_test_downward): Likewise.
55759         (tan_test_upward): Likewise.
55760         (tanh_test): Likewise.
55761         (tgamma_test): Likewise.
55762         (y0_test): Likewise.
55763         (y1_test): Likewise.
55764         (yn_test): Likewise.
55766         * math/gen-libm-test.pl (adjust_arg): Remove function.
55767         (special_function): Remove argument $in_func.  Only handle
55768         generating output for tables of tests, not inside functions.
55769         (parse_args): Likewise.
55770         (generate_testfile): Remove variable $in_func.  Update call to
55771         parse_args.
55772         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
55773         (MINUS_ZERO_INIT): Rename macro to minus_zero.
55774         (PLUS_INFTY_INIT): Rename macro to plus_infty.
55775         (MINUS_INFTY_INIT): Rename macro to minus_infty.
55776         (QNAN_VALUE_INIT): Rename macro to qnan_value.
55777         (MAX_VALUE_INIT): Rename macro to max_value.
55778         (MIN_VALUE_INIT): Rename macro to min_value.
55779         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
55780         (plus_zero): Remove variable.
55781         (minus_zero): Likewise.
55782         (plus_infty): Likewise.
55783         (minus_infty): Likewise.
55784         (qnan_value): Likewise.
55785         (max_value): Likewise.
55786         (min_value): Likewise.
55787         (min_subnorm_value): Likewise.
55789 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55791         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
55792         uint64_t or uint32_t usage.
55793         * crypt/sha256-block.c: Likewise.
55794         * crypt/sha256-crypt.c: Likewise.
55795         * crypt/sha256.c: Likewise.
55796         * crypt/sha512-block.c: Likewise.
55797         * crypt/sha512-crypt.c: Likewise.
55798         * crypt/sha512.c: Likewise.
55799         * debug/backtrace-tst.c: Likewise.
55800         * debug/pcprofiledump.c: Likewise.
55801         * elf/cache.c: Likewise.
55802         * elf/dl-cache.c: Likewise.
55803         * elf/dl-misc.c: Likewise.
55804         * elf/dl-profile.c: Likewise.
55805         * elf/dl-support.c: Likewise.
55806         * elf/ldconfig.c: Likewise.
55807         * elf/sprof.c: Likewise.
55808         * iconv/dummy-repertoire.c: Likewise.
55809         * iconv/iconv_charmap.c: Likewise.
55810         * iconv/skeleton.c: Likewise.
55811         * iconvdata/8bit-generic.c: Likewise.
55812         * iconvdata/cp737.h: Likewise.
55813         * iconvdata/cp775.h: Likewise.
55814         * iconvdata/ibm1008.h: Likewise.
55815         * iconvdata/ibm1025.h: Likewise.
55816         * iconvdata/ibm1046.h: Likewise.
55817         * iconvdata/ibm1097.h: Likewise.
55818         * iconvdata/ibm1112.h: Likewise.
55819         * iconvdata/ibm1122.h: Likewise.
55820         * iconvdata/ibm1123.h: Likewise.
55821         * iconvdata/ibm1124.h: Likewise.
55822         * iconvdata/ibm1129.h: Likewise.
55823         * iconvdata/ibm1130.h: Likewise.
55824         * iconvdata/ibm1132.h: Likewise.
55825         * iconvdata/ibm1133.h: Likewise.
55826         * iconvdata/ibm1137.h: Likewise.
55827         * iconvdata/ibm1140.h: Likewise.
55828         * iconvdata/ibm1141.h: Likewise.
55829         * iconvdata/ibm1142.h: Likewise.
55830         * iconvdata/ibm1143.h: Likewise.
55831         * iconvdata/ibm1144.h: Likewise.
55832         * iconvdata/ibm1145.h: Likewise.
55833         * iconvdata/ibm1146.h: Likewise.
55834         * iconvdata/ibm1147.h: Likewise.
55835         * iconvdata/ibm1148.h: Likewise.
55836         * iconvdata/ibm1149.h: Likewise.
55837         * iconvdata/ibm1153.h: Likewise.
55838         * iconvdata/ibm1154.h: Likewise.
55839         * iconvdata/ibm1155.h: Likewise.
55840         * iconvdata/ibm1156.h: Likewise.
55841         * iconvdata/ibm1157.h: Likewise.
55842         * iconvdata/ibm1158.h: Likewise.
55843         * iconvdata/ibm1160.h: Likewise.
55844         * iconvdata/ibm1161.h: Likewise.
55845         * iconvdata/ibm1162.h: Likewise.
55846         * iconvdata/ibm1163.h: Likewise.
55847         * iconvdata/ibm1164.h: Likewise.
55848         * iconvdata/ibm1166.h: Likewise.
55849         * iconvdata/ibm1167.h: Likewise.
55850         * iconvdata/ibm12712.h: Likewise.
55851         * iconvdata/ibm1390.h: Likewise.
55852         * iconvdata/ibm1399.h: Likewise.
55853         * iconvdata/ibm16804.h: Likewise.
55854         * iconvdata/ibm4517.h: Likewise.
55855         * iconvdata/ibm4899.h: Likewise.
55856         * iconvdata/ibm4909.h: Likewise.
55857         * iconvdata/ibm4971.h: Likewise.
55858         * iconvdata/ibm5347.h: Likewise.
55859         * iconvdata/ibm803.h: Likewise.
55860         * iconvdata/ibm856.h: Likewise.
55861         * iconvdata/ibm901.h: Likewise.
55862         * iconvdata/ibm902.h: Likewise.
55863         * iconvdata/ibm9030.h: Likewise.
55864         * iconvdata/ibm9066.h: Likewise.
55865         * iconvdata/ibm921.h: Likewise.
55866         * iconvdata/ibm922.h: Likewise.
55867         * iconvdata/ibm9448.h: Likewise.
55868         * iconvdata/isiri-3342.h: Likewise.
55869         * iconvdata/jis0201.h: Likewise.
55870         * include/link.h: Likewise.
55871         * include/netdb.h: Likewise.
55872         * inet/check_native.c: Likewise.
55873         * inet/check_pf.c: Likewise.
55874         * inet/getipv4sourcefilter.c: Likewise.
55875         * inet/getnameinfo.c: Likewise.
55876         * inet/getsourcefilter.c: Likewise.
55877         * inet/htonl.c: Likewise.
55878         * inet/setipv4sourcefilter.c: Likewise.
55879         * inet/setsourcefilter.c: Likewise.
55880         * inet/test-inet6_opt.c: Likewise.
55881         * inet/tst-network.c: Likewise.
55882         * locale/C-collate.c: Likewise.
55883         * locale/C-ctype.c: Likewise.
55884         * locale/C-time.c: Likewise.
55885         * locale/C-translit.h: Likewise.
55886         * locale/loadarchive.c: Likewise.
55887         * locale/programs/3level.h: Likewise.
55888         * locale/programs/charmap.c: Likewise.
55889         * locale/programs/charmap.h: Likewise.
55890         * locale/programs/ld-address.c: Likewise.
55891         * locale/programs/ld-collate.c: Likewise.
55892         * locale/programs/ld-ctype.c: Likewise.
55893         * locale/programs/ld-identification.c: Likewise.
55894         * locale/programs/ld-measurement.c: Likewise.
55895         * locale/programs/ld-messages.c: Likewise.
55896         * locale/programs/ld-monetary.c: Likewise.
55897         * locale/programs/ld-name.c: Likewise.
55898         * locale/programs/ld-numeric.c: Likewise.
55899         * locale/programs/ld-paper.c: Likewise.
55900         * locale/programs/ld-telephone.c: Likewise.
55901         * locale/programs/ld-time.c: Likewise.
55902         * locale/programs/linereader.c: Likewise.
55903         * locale/programs/locale.c: Likewise.
55904         * locale/programs/locarchive.c: Likewise.
55905         * locale/programs/locfile.h: Likewise.
55906         * locale/programs/repertoire.c: Likewise.
55907         * locale/programs/simple-hash.c: Likewise.
55908         * locale/programs/simple-hash.h: Likewise.
55909         * malloc/memusage.c: Likewise.
55910         * malloc/memusagestat.c: Likewise.
55911         * nis/nis_defaults.c: Likewise.
55912         * nis/nis_hash.c: Likewise.
55913         * nis/nis_print.c: Likewise.
55914         * nis/nis_xdr.c: Likewise.
55915         * nscd/connections.c: Likewise.
55916         * nscd/hstcache.c: Likewise.
55917         * nscd/nscd_gethst_r.c: Likewise.
55918         * nscd/nscd_getserv_r.c: Likewise.
55919         * nscd/nscd_helper.c: Likewise.
55920         * nscd/servicescache.c: Likewise.
55921         * nss/makedb.c: Likewise.
55922         * nss/nss_db/db-XXX.c: Likewise.
55923         * nss/nss_db/db-initgroups.c: Likewise.
55924         * nss/nss_db/db-netgrp.c: Likewise.
55925         * nss/nss_files/files-network.c: Likewise.
55926         * nss/nss_files/files-parse.c: Likewise.
55927         * posix/bug-regex5.c: Likewise.
55928         * posix/fnmatch_loop.c: Likewise.
55929         * posix/regcomp.c: Likewise.
55930         * posix/regexec.c: Likewise.
55931         * posix/tst-rfc3484-2.c: Likewise.
55932         * posix/tst-rfc3484-3.c: Likewise.
55933         * posix/tst-rfc3484.c: Likewise.
55934         * resolv/nss_dns/dns-canon.c: Likewise.
55935         * resolv/nss_dns/dns-network.c: Likewise.
55936         * resolv/res_init.c: Likewise.
55937         * resolv/res_mkquery.c: Likewise.
55938         * resolv/tst-aton.c: Likewise.
55939         * stdlib/cxa_atexit.c: Likewise.
55940         * stdlib/cxa_finalize.c: Likewise.
55941         * stdlib/gen-fpioconst.c: Likewise.
55942         * stdlib/strtol_l.c: Likewise.
55943         * string/tst-endian.c: Likewise.
55944         * sunrpc/auth_des.c: Likewise.
55945         * sunrpc/clnt_udp.c: Likewise.
55946         * sunrpc/rtime.c: Likewise.
55947         * sunrpc/svcauth_des.c: Likewise.
55948         * sunrpc/xdr.c: Likewise.
55949         * sunrpc/xdr_intXX_t.c: Likewise.
55950         * sunrpc/xdr_rec.c: Likewise.
55951         * sysdeps/generic/ldconfig.h: Likewise.
55952         * sysdeps/generic/ldsodefs.h: Likewise.
55953         * sysdeps/generic/memusage.h: Likewise.
55954         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
55955         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
55956         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
55957         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
55958         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55959         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55960         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
55961         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
55962         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55963         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55964         * sysdeps/posix/getaddrinfo.c: Likewise.
55965         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55966         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55967         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55968         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55969         * sysdeps/powerpc/test-gettimebase.c: Likewise.
55970         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
55971         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
55972         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
55973         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
55974         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
55975         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55976         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55977         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
55978         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
55979         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
55980         * sysdeps/x86_64/dl-tls.h: Likewise.
55981         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
55982         * time/alt_digit.c: Likewise.
55983         * time/era.c: Likewise.
55984         * wcsmbs/tst-c16c32-1.c: Likewise.
55986 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
55988         * math/libm-test.inc (struct test_sincos_data): New type.
55989         (RUN_TEST_LOOP_sincos): New macro.
55990         (sincos_test_data): New variable.
55991         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
55993 2013-05-16  Richard Henderson  <rth@redhat.com>
55995         * math/atest-exp2.c (LIMB64): New macro.
55996         (CONSTSZ): New macro.
55997         (mp_exp1, mp_exp_m1, mp_log2): New variables.
55998         (hexdig): Move ...
55999         (print_mpn_fp): ... to function scope.
56000         (read_mpn_hex): Remove.
56001         (get_log2): Remove.
56002         (exp2_mpn): Use mp_log2.
56003         (main): Use mp_exp1.
56005 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
56007         * math/libm-test.inc: Remove comment about not testing "inexact"
56008         exceptions.
56009         (INEXACT_EXCEPTION): New macro.
56010         (NO_INEXACT_EXCEPTION): Likewise.
56011         (INVALID_EXCEPTION_OK): Update value.
56012         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56013         (OVERFLOW_EXCEPTION_OK): Likewise.
56014         (UNDERFLOW_EXCEPTION_OK): Likewise.
56015         (IGNORE_ZERO_INF_SIGN): Likewise.
56016         (ERRNO_UNCHANGED): Likewise.
56017         (ERRNO_EDOM): Likewise.
56018         (ERRNO_ERANGE): Likewise.
56019         (test_exceptions): Handle testing "inexact" exceptions.
56020         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
56021         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
56022         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
56023         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
56024         INEXACT_EXCEPTION.
56025         (rint_towardzero_test_data): Likewise.
56026         (rint_downward_test_data): Likewise.
56027         (rint_upward_test_data): Likewise.
56029         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
56030         with OVERFLOW_EXCEPTION.
56031         (exp10_test_data): Likewise.
56032         (exp2_test_data): Likewise.
56033         (expm1_test_data): Likewise.
56034         (lgamma_test_data): Likewise.
56035         (pow_test_data): Likewise.
56036         (tgamma_test_data): Likewise.
56037         (yn_test_data): Remove duplicate test of overflow.
56039         * math/libm-test.inc (struct test_cc_c_data): New type.
56040         (RUN_TEST_LOOP_cc_c): New macro.
56041         (cpow_test_data): New variable.
56042         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
56044         * math/libm-test.inc (struct test_f_L_data): New type.
56045         (RUN_TEST_LOOP_f_L): New macro.
56046         (llrint_test_data): New variable.
56047         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
56048         (llrint_tonearest_test_data): New variable.
56049         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
56050         (llrint_towardzero_test_data): New variable.
56051         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
56052         (llrint_downward_test_data): New variable.
56053         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
56054         (llrint_upward_test_data): New variable.
56055         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
56056         (llround_test_data): New variable.
56057         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
56059 2013-05-13  Peter Collingbourne  <pcc@google.com>
56061         * math/atest-exp2.c (get_log2): Remove const attribute.
56063 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
56065         * math/libm-test.inc (struct test_f_l_data): New type.
56066         (RUN_TEST_LOOP_f_l): New macro.
56067         (lrint_test_data): New variable.
56068         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
56069         (lrint_tonearest_test_data): New variable.
56070         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
56071         (lrint_towardzero_test_data): New variable.
56072         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
56073         (lrint_downward_test_data): New variable.
56074         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
56075         (lrint_upward_test_data): New variable.
56076         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
56077         (lround_test_data): New variable.
56078         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
56080 2013-05-15  Peter Collingbourne  <pcc@google.com>
56082         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
56083         (EXTRACT_WORDS64) Use where appropriate.
56084         (INSERT_WORDS64) Likewise.
56086         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
56087         constraints with x constraints.
56088         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
56090         * malloc/obstack.c (_obstack_compat): Add initializer.
56092 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
56094         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
56095         si_trapno and add si_addr_lsb to _sifields.sigfault.
56096         (si_trapno): Remove macro.
56097         (si_addr_lsb): Define new macro.
56098         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
56100 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
56102         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
56103         instead of TEST_f_l.
56104         (llrint_test_tonearest): Likewise.
56105         (llrint_test_towardzero): Likewise.
56106         (llrint_test_downward): Likewise.
56107         (llrint_test_upward): Likewise.
56108         (llround_test): Likewise.
56110         * math/libm-test.inc (struct test_f_i_data): Add comment.
56111         (RUN_TEST_LOOP_f_b): New macro.
56112         (RUN_TEST_LOOP_f_b_tg): Likewise.
56113         (finite_test_data): New variable.
56114         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
56115         (isfinite_test_data): New variable.
56116         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56117         (isinf_test_data): New variable.
56118         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56119         (isnan_test_data): New variable.
56120         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56121         (isnormal_test_data): New variable.
56122         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56123         (issignaling_test_data): New variable.
56124         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56125         (signbit_test_data): New variable.
56126         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56128         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
56129         with INVALID_EXCEPTION.
56130         (acosh_test_data): Likewise.
56131         (asin_test_data): Likewise.
56132         (atanh_test_data): Likewise.
56133         (fmod_test_data): Likewise.
56134         (log_test_data): Likewise.
56135         (log10_test_data): Likewise.
56136         (log2_test_data): Likewise.
56137         (pow_test_data): Likewise.
56138         (sqrt_test_data): Likewise.
56139         (y0_test_data): Likewise.
56140         (y1_test_data): Likewise.
56141         (yn_test_data): Likewise.
56143         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
56144         function contents.
56146         * math/libm-test.inc (struct test_ff_i_data): New type.
56147         (RUN_TEST_LOOP_ff_i_tg): New macro.
56148         (isgreater_test_data): New variable.
56149         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56150         (isgreaterequal_test_data): New variable.
56151         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56152         (isless_test_data): New variable.
56153         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56154         (islessequal_test_data): New variable.
56155         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56156         (islessgreater_test_data): New variable.
56157         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56158         (isunordered_test_data): New variable.
56159         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56161 2013-05-14  David S. Miller  <davem@davemloft.net>
56163         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56165 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
56167         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
56169         * math/libm-test.inc (struct test_fF_f1_data): Change type of
56170         extra_test to int.
56171         (struct test_f_i_data): Change type of max_ulp to int.
56173         * math/libm-test.inc (test_ffI_f1_data): New type.
56174         (RUN_TEST_LOOP_ffI_f1): New macro.
56175         (remquo_test_data): New variable.
56176         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
56178         * setjmp/tst-setjmp-fp.c: New file.
56179         * setjmp/Makefile (tests): Add tst-setjmp-fp.
56180         (link-libm): New variable.
56181         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
56183         * math/libm-test.inc (struct test_f_i_data): New type.
56184         (RUN_TEST_LOOP_f_i): New macro.
56185         (RUN_TEST_LOOP_f_i_tg): Likewise.
56186         (fpclassify_test_data): New variable.
56187         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
56188         (ilogb_test_data): New variable.
56189         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
56191         * math/libm-test.inc (scalbln_test): Correct function name in END
56192         call.
56194         * math/libm-test.inc (struct test_f_f1_data): Add comment.
56195         (RUN_TEST_LOOP_fI_f1): New macro.
56196         (frexp_test_data): New variable.
56197         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
56199         * math/libm-test.inc (struct test_fF_f1_data): New type.
56200         (RUN_TEST_LOOP_fF_f1): New macro.
56201         (modf_test_data): New variable.
56202         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
56204         * math/libm-test.inc (struct test_f_f1_data): New type.
56205         (RUN_TEST_LOOP_f_f1): New macro.
56206         (gamma_test_data): New variable.
56207         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56208         (lgamma_test_data): New variable.
56209         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56211 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
56213         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
56214         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
56215         (main): Comment "tls" pseudo-hwcap.
56217 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
56219         * math/libm-test.inc (struct test_fl_f_data): New type.
56220         (RUN_TEST_LOOP_fl_f): New variable.
56221         (scalbln_test_data): New variable.
56222         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
56224         * math/libm-test.inc (struct test_fi_f_data): New type.
56225         (RUN_TEST_LOOP_fi_f): New macro.
56226         (ldexp_test_data): New variable.
56227         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
56228         (scalbn_test_data): New variable.
56229         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
56231         * math/libm-test.inc (struct test_c_f_data): New type.
56232         (RUN_TEST_LOOP_c_f): New macro.
56233         (cabs_test_data): New variable.
56234         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
56235         (carg_test_data): New variable.
56236         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
56237         (cimag_test_data): New variable.
56238         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
56239         (creal_test_data): New variable.
56240         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
56242         * math/libm-test.inc (struct test_if_f_data): New type.
56243         (RUN_TEST_LOOP_if_f): New macro.
56244         (jn_test_data): New variable.
56245         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
56246         (yn_test_data): New variable.
56247         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
56249         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
56251 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56253         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
56254         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
56256 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56258         * benchtests/Makefile (CPPFLAGS-nonlib): Add
56259         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
56260         (bench-deps): Add bench-timing.h.
56261         * benchtests-bench-skeleton.c: Include bench-timing.h.
56262         (main): Use TIMING_* macros instead of clock_gettime.
56263         * benchtests/bench-timing.h: New file.
56265         [BZ #14582]
56266         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
56267         Renamed from _LIB_VERSION.
56268         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
56270 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
56272         * math/libm-test.inc (struct test_fff_f_data): New type.
56273         (RUN_TEST_LOOP_fff_f): New macro.
56274         (fma_test_data): New variable.
56275         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
56276         (fma_towardzero_test_data): New variable.
56277         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
56278         (fma_downward_test_data): New variable.
56279         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
56280         (fma_upward_test_data): New variable.
56281         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
56283         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
56284         (struct test_c_c_data): New type.
56285         (RUN_TEST_LOOP_c_c): New macro.
56286         (cacos_test_data): New variable.
56287         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
56288         (cacosh_test_data): New variable.
56289         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
56290         (casin_test_data): New variable.
56291         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
56292         (casinh_test_data): New variable.
56293         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
56294         (catan_test_data): New variable.
56295         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
56296         (catanh_test_data): New variable.
56297         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
56298         (ccos_test_data): New variable.
56299         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
56300         (ccosh_test_data): New variable.
56301         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
56302         (cexp_test_data): New variable.
56303         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
56304         (clog_test_data): New variable.
56305         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
56306         (clog10_test_data): New variable.
56307         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
56308         (conj_test_data): New variable.
56309         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
56310         (cproj_test_data): New variable.
56311         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
56312         (csin_test_data): New variable.
56313         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
56314         (csinh_test_data): New variable.
56315         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
56316         (csqrt_test_data): New variable.
56317         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
56318         (ctan_test_data): New variable.
56319         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
56320         (ctan_tonearest_test_data): New variable.
56321         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
56322         (ctan_towardzero_test_data): New variable.
56323         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
56324         (ctan_downward_test_data): New variable.
56325         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
56326         (ctan_upward_test_data): New variable.
56327         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
56328         (ctanh_test_data): New variable.
56329         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
56330         (ctanh_tonearest_test_data): New variable.
56331         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
56332         (ctanh_towardzero_test_data): New variable.
56333         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
56334         (ctanh_downward_test_data): New variable.
56335         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
56336         (ctanh_upward_test_data): New variable.
56337         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
56338         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
56339         of BUILD_COMPLEX.
56341         * math/libm-test.inc (struct test_ff_f_data): New type.
56342         (struct test_ff_f_data_nexttoward): Likewise.
56343         (RUN_TEST_LOOP_2_f): New macro.
56344         (RUN_TEST_LOOP_ff_f): Likewise.
56345         (atan2_test_data): New variable.
56346         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
56347         (copysign_test_data): New variable.
56348         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
56349         (fdim_test_data): New variable.
56350         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
56351         (fmax_test_data): New variable.
56352         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
56353         (fmin_test_data): New variable.
56354         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
56355         (fmod_test_data): New variable.
56356         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
56357         (hypot_test_data): New variable.
56358         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
56359         (nextafter_test_data): New variable.
56360         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
56361         (nexttoward_test_data): New variable.
56362         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
56363         (pow_test_data): New variable.
56364         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
56365         (pow_tonearest_test_data): New variable.
56366         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
56367         (pow_towardzero_test_data): New variable.
56368         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
56369         (pow_downward_test_data): New variable.
56370         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
56371         (pow_upward_test_data): New variable.
56372         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
56373         (remainder_test_data): New variable.
56374         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
56375         (scalb_test_data): New variable.
56376         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
56377         * sysdeps/i386/fpu/libm-test-ulps: Update.
56379 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
56381         * math/libm-test.inc (fma_test): Use max_value instead of local
56382         variable fltmax.
56383         (nextafter_test): Likewise.
56385         * math/libm-test.inc (acos_towardzero_test_data): New variable.
56386         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56387         (acos_downward_test_data): New variable.
56388         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56389         (acos_upward_test_data): New variable.
56390         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56391         (acosh_test_data): New variable.
56392         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
56393         (asin_test_data): New variable.
56394         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
56395         (asin_tonearest_test_data): New variable.
56396         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56397         (asin_towardzero_test_data): New variable.
56398         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56399         (asin_downward_test_data): New variable.
56400         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56401         (asin_upward_test_data): New variable.
56402         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56403         (asinh_test_data): New variable.
56404         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
56405         (atan_test_data): New variable.
56406         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
56407         (atanh_test_data): New variable.
56408         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
56409         (cbrt_test_data): New variable.
56410         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
56411         (ceil_test_data): New variable.
56412         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
56413         (cos_test_data): New variable.
56414         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
56415         (cos_tonearest_test_data): New variable.
56416         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56417         (cos_towardzero_test_data): New variable.
56418         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56419         (cos_downward_test_data): New variable.
56420         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56421         (cos_upward_test_data): New variable.
56422         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56423         (cosh_test_data): New variable.
56424         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
56425         (cosh_tonearest_test_data): New variable.
56426         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56427         (cosh_towardzero_test_data): New variable.
56428         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56429         (cosh_downward_test_data): New variable.
56430         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56431         (cosh_upward_test_data): New variable.
56432         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56433         (erf_test_data): New variable.
56434         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
56435         (erfc_test_data): New variable.
56436         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
56437         (exp_test_data): New variable.
56438         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
56439         (exp_tonearest_test_data): New variable.
56440         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56441         (exp_towardzero_test_data): New variable.
56442         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56443         (exp_downward_test_data): New variable.
56444         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56445         (exp_upward_test_data): New variable.
56446         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56447         (exp10_test_data): New variable.
56448         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
56449         (exp2_test_data): New variable.
56450         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
56451         (expm1_test_data): New variable.
56452         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
56453         (fabs_test_data): New variable.
56454         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
56455         (floor_test_data): New variable.
56456         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
56457         (j0_test_data): New variable.
56458         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
56459         (j1_test_data): New variable.
56460         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
56461         (log_test_data): New variable.
56462         (log_test): Run tests with RUN_TEST_LOOP_f_f.
56463         (log10_test_data): New variable.
56464         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
56465         (log1p_test_data): New variable.
56466         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
56467         (log2_test_data): New variable.
56468         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
56469         (logb_test_data): New variable.
56470         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
56471         (logb_downward_test_data): New variable.
56472         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56473         (nearbyint_test_data): New variable.
56474         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
56475         (rint_test_data): New variable.
56476         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
56477         (rint_tonearest_test_data): New variable.
56478         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56479         (rint_towardzero_test_data): New variable.
56480         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56481         (rint_downward_test_data): New variable.
56482         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56483         (rint_upward_test_data): New variable.
56484         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56485         (round_test_data): New variable.
56486         (round_test): Run tests with RUN_TEST_LOOP_f_f.
56487         (sin_test_data): New variable.
56488         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
56489         (sin_tonearest_test_data): New variable.
56490         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56491         (sin_towardzero_test_data): New variable.
56492         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56493         (sin_downward_test_data): New variable.
56494         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56495         (sin_upward_test_data): New variable.
56496         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56497         (sinh_test_data): New variable.
56498         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
56499         (sinh_tonearest_test_data): New variable.
56500         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56501         (sinh_towardzero_test_data): New variable.
56502         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56503         (sinh_downward_test_data): New variable.
56504         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56505         (sinh_upward_test_data): New variable.
56506         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56507         (sqrt_test_data): New variable.
56508         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
56509         (tan_test_data): New variable.
56510         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
56511         (tan_tonearest_test_data): New variable.
56512         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56513         (tan_towardzero_test_data): New variable.
56514         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56515         (tan_downward_test_data): New variable.
56516         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56517         (tan_upward_test_data): New variable.
56518         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56519         (tanh_test_data): New variable.
56520         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
56521         (tgamma_test_data): New variable.
56522         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
56523         (trunc_test_data): New variable.
56524         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
56525         (y0_test_data): New variable.
56526         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
56527         (y1_test_data): New variable.
56528         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
56529         (significand_test_data): New variable.
56530         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
56532 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
56534         [BZ #12387]
56535         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
56537 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56539         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
56541 2013-05-10  Andreas Jaeger  <aj@suse.de>
56543         [BZ #15448]
56544         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
56545         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
56547 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
56549         * math/gen-libm-test.pl (adjust_arg): New function.
56550         (special_functions): Handle generating output in both functions
56551         and arrays.
56552         (parse_args): Likewise.
56553         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
56554         $in_func argument to parse_args.
56555         * math/libm-test.inc (struct test_f_f_data): New type.
56556         (IF_ROUND_INIT_): New macro.
56557         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
56558         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
56559         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
56560         (IF_ROUND_INIT_FE_UPWARD): Likewise.
56561         (ROUND_RESTORE_): Likewise.
56562         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
56563         (ROUND_RESTORE_FE_TONEAREST): Likewise.
56564         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
56565         (ROUND_RESTORE_FE_UPWARD): Likewise.
56566         (RUN_TEST_LOOP_f_f): New macro.
56567         (acos_test_data): New variable.
56568         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
56569         (acos_tonearest_test_data): New variable.
56570         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56572 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56574         * benchtests/bench-skeleton.c (startup): Fix coding style.
56576 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
56578         [BZ #6809]
56579         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
56580         negative infinity argument.
56581         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
56582         negative infinity argument.
56583         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
56584         negative infinity argument.
56585         * math/libm-test.inc (tgamma_test): Expect errno to be set for
56586         domain errors.
56588 2013-05-10  Florian Weimer  <fweimer@redhat.com>
56590         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
56591         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
56592         * iconv/iconv_prog.c (main): Likewise.
56593         * locale/programs/charmap-dir.c (charmap_readdir)
56594         (fopen_uncompressed): Likewise.
56595         * locale/programs/locfile.c (siblings_uncached)
56596         (write_locale_data): Use lstat64 instead of lstat.
56597         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
56598         stat.
56600 2013-05-10  Andreas Jaeger  <aj@suse.de>
56602         [BZ #15395]
56603         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
56604         localization.
56605         Include <locale.h>.
56607 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
56609         * elf/dl-close.c (_dl_close_worker): Add comments.
56611 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
56613         [BZ #15359]
56614         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
56615         high part of pi/2.
56616         (__ieee754_rem_pio2l): Update comments.
56618         [BZ #15429]
56619         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
56620         high part of pi/2.
56621         (__ieee754_rem_pio2l): Update comments.
56623         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
56624         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
56626         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
56627         M_PI_4l.
56629         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
56630         (M_PI_34_LOG10El): Likewise.
56631         (M_PI2_LOG10El): Likewise.
56632         (M_PI4_LOG10El): Likewise.
56633         (M_PI_LOG10El): Likewise.
56635 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56639 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
56641         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
56642         (MINUS_ZERO_INIT): Likewise.
56643         (PLUS_INFTY_INIT): Likewise.
56644         (MINUS_INFTY_INIT): Likewise.
56645         (QNAN_VALUE_INIT): Likewise.
56646         (MAX_VALUE_INIT): Likewise.
56647         (MIN_VALUE_INIT): Likewise.
56648         (MIN_SUBNORM_VALUE_INIT): Likewise.
56649         (plus_zero): Initialize with PLUS_ZERO_INIT.
56650         (minus_zero): Initialize with MINUS_ZERO_INIT.
56651         (plus_infty): Initialize with PLUS_INFTY_INIT.
56652         (minus_infty): Initialize with MINUS_INFTY_INIT.
56653         (qnan_value): Initialize with QNAN_VALUE_INIT.
56654         (max_value): Initialize with MAX_VALUE_INIT.
56655         (min_value): Initialize with MIN_VALUE_INIT.
56656         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
56658         * math/libm-test.inc (RUN_TEST_if_f): New macro.
56659         (jn_test): Use TEST_if_f instead of TEST_ff_f.
56660         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
56661         (yn_test): Use TEST_if_f instead of TEST_ff_f.
56663         * math/libm-test.inc (RUN_TEST_f_f): New macro.
56664         (RUN_TEST_2_f): Likewise.
56665         (RUN_TEST_ff_f): Likewise.
56666         (RUN_TEST_fi_f): Likewise.
56667         (RUN_TEST_fl_f): Likewise.
56668         (RUN_TEST_fff_f): Likewise.
56669         (RUN_TEST_c_f): Likewise.
56670         (RUN_TEST_f_f1): Likewise.
56671         (RUN_TEST_fF_f1): Likewise.
56672         (RUN_TEST_fI_f1): Likewise.
56673         (RUN_TEST_ffI_f1): Likewise.
56674         (RUN_TEST_c_c): Likewise.
56675         (RUN_TEST_cc_c): Likewise.
56676         (RUN_TEST_f_i): Likewise.
56677         (RUN_TEST_f_i_tg): Likewise.
56678         (RUN_TEST_ff_i_tg): Likewise.
56679         (RUN_TEST_f_b): Likewise.
56680         (RUN_TEST_f_b_tg): Likewise.
56681         (RUN_TEST_f_l): Likewise.
56682         (RUN_TEST_f_L): Likewise.
56683         (RUN_TEST_sincos): Likewise.
56684         * math/gen-libm-test.pl (new_test): Take new argument to indicate
56685         whether to show exceptions.  Do not include ");\n" in return
56686         value.
56687         (special_functions): Output call to RUN_TEST_sincos instead of
56688         check_float calls.  Update calls to new_test.
56689         (parse_args): Output call to single RUN_TEST_* macro instead of
56690         check_* calls and other assignments.  Update calls to new_test.
56692         [BZ #2546]
56693         [BZ #2560]
56694         [BZ #5159]
56695         [BZ #15426]
56696         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
56697         input to result for tgamma overflow.
56698         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
56699         (gamma_coeff): New variable.
56700         (NCOEFF): New macro.
56701         (gamma_positive): New function.
56702         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
56703         underflow here.  Use gamma_positive instead of exp (lgamma) for
56704         other arguments.
56705         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
56706         (gamma_coeff): New variable.
56707         (NCOEFF): New macro.
56708         (gammaf_positive): New function.
56709         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
56710         underflow here.  Use gamma_positive instead of exp (lgamma) for
56711         other arguments.
56712         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
56713         (gamma_coeff): New variable.
56714         (NCOEFF): New macro.
56715         (gammal_positive): New function.
56716         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
56717         underflow here.  Use gamma_positive instead of exp (lgamma) for
56718         other arguments.
56719         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
56720         (gamma_coeff): New variable.
56721         (NCOEFF): New macro.
56722         (gammal_positive): New function.
56723         (__ieee754_gammal_r): Handle positive infinity, overflow and
56724         underflow here.  Handle NaN the same as positive infinity.  Remove
56725         check x < 0xffffffff for negative integers.  Use gamma_positive
56726         instead of exp (lgamma) for other arguments.
56727         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
56728         (gamma_coeff): New variable.
56729         (NCOEFF): New macro.
56730         (gammal_positive): New function.
56731         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
56732         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
56733         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
56734         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
56735         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
56736         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
56737         * sysdeps/generic/math_private.h (__gamma_productf): New
56738         prototype.
56739         (__gamma_product): Likewise.
56740         (__gamma_productl): Likewise.
56741         * math/Makefile (libm-calls): Add gamma_product.
56742         * math/libm-test.inc (tgamma_test): Add more tests.
56743         * sysdeps/i386/fpu/libm-test-ulps: Update.
56744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56746 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
56748         * benchtests/bench-skeleton.c (main): Preheat CPU.
56750 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
56752         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
56754 2013-05-07  Roland McGrath  <roland@hack.frob.com>
56756         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
56757         and _dl_skip_args_internal.
56759 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
56761         * manual/message.texi (Message Translation): Talk about users.
56762         Message to key mapping impacts design.
56764 2013-05-06  Roland McGrath  <roland@hack.frob.com>
56766         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
56768         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
56770         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
56771         * sysdeps/wordsize-64/glob64.c: ... here.
56773         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
56774         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
56775         New macros.
56777         * debug/getlogin_r_chk.c: Moved to ...
56778         * login/getlogin_r_chk.c: ... here.
56779         * debug/Makefile (routines): Move getlogin_r_chk to ...
56780         * login/Makefile (routines): ... here.
56781         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
56782         * login/Versions (libc: GLIBC_2.4): ... here.
56784         * io/poll.c (__poll): Renamed from poll.
56785         Add libc_hidden_def.
56786         (poll): Define as weak alias.
56788         * debug/ptsname_r_chk.c: Moved to ...
56789         * login/ptsname_r_chk.c: ... here.
56790         * debug/Makefile (routines): Move ptsname_r_chk to ...
56791         * login/Makefile (routines): ... here.
56792         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
56793         * login/Versions (libc: GLIBC_2.4): ... here.
56795         * posix/getlogin.c: Moved to ...
56796         * login/getlogin.c: ... here.
56797         * posix/getlogin_r.c: Moved to ...
56798         * login/getlogin_r.c: ... here.
56799         * posix/getlogin_r.c: Moved to ...
56800         * login/getlogin_r.c: ... here.
56801         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
56802         * login/Makefile (routines): ... here.
56803         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
56804         * login/Versions (libc: GLIBC_2.0): ... here.
56806         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
56807         (setrlimit): Define as weak alias.
56809         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
56810         Call __ names for open, ftruncate, and close.
56811         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
56812         (truncate): Define as weak alias.
56814 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
56816         * math/gen-libm-test.pl (parse_args): Initialize x before each
56817         test of frexp, modf and remquo.
56819         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
56820         test signgam value.
56822 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56824         [BZ #15418]
56825         [BZ #15419]
56826         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
56827         internal tests.
56828         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56830 2013-05-06  Roland McGrath  <roland@hack.frob.com>
56832         * elf/dl-writev.h: New file.
56833         * elf/dl-misc.c: Include it.
56834         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
56835         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
56837 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
56839         * math/libm-test.inc (noXFails): Remove variable.
56840         (noXPasses): Likewise.
56841         (BUILD_COMPLEX_INT): Remove macro.
56842         (print_screen): Remove xfail argument.
56843         (print_screen_max_error): Likewise.
56844         (update_stats): Likewise.
56845         (print_max_error): Likewise.  Update calls to other affected
56846         functions.
56847         (print_complex_max_error): Likewise.
56848         (test_single_exception): Update calls to print_screen.
56849         (test_single_errno): Likewise.
56850         (check_float_internal): Remove xfail argument.  Update calls to
56851         other affected functions.
56852         (check_float): Likewise.
56853         (check_complex): Likewise.
56854         (check_int): Likewise.
56855         (check_long): Likewise.
56856         (check_bool): Likewise.
56857         (check_longlong): Likewise.
56858         (main): Don't print noXFails and noXPasses.
56859         * math/gen-libm-test.pl (top level): Don't mention expected
56860         failure handling in comment.
56861         (new_test): Don't handle expected failures.
56862         (parse_args): Don't mention expected failure handling in comment.
56863         (generate_testfile): Don't handle expected failures.
56864         (parse_ulps): Likewise.
56865         (print_ulps_file): Likewise.
56866         (get_failure): Remove function.
56867         (output_test): Don't handle expected failures.
56868         * make/README.libm-test: Don't mention expected failure handling.
56870         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
56871         (minus_zero): Likewise.
56872         (plus_infty): Likewise.
56873         (minus_infty): Likewise.
56874         (qnan_value): Likewise.
56875         (max_value): Likewise.
56876         (min_value): Likewise.
56877         (min_subnorm_value): Likewise.
56878         (initialize): Do not initialize those variables dynamically.
56880 2013-05-03  Roland McGrath  <roland@hack.frob.com>
56882         * io/open.c (__open_2): Moved to ...
56883         * io/open_2.c: ... this new file.
56884         * io/open64.c (__open64_2): Moved to ...
56885         * io/open64_2.c: ... this new file.
56886         * io/openat.c (__openat_2): Moved to ...
56887         * io/openat_2.c: ... this new file.
56888         * io/openat64.c (__openat64_2): Moved to ...
56889         * io/openat64_2.c: ... this new file.
56890         * io/Makefile (routines): Add them.
56891         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
56892         * sysdeps/unix/sysv/linux/open_2.c: File removed.
56893         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
56894         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
56895         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
56896         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
56897         (__openat64): Add hidden_ver.
56898         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
56899         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
56901         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
56902         Separately conditionalize setting of GLRO(dl_sysinfo) so
56903         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
56904         as well, but the actual setting is only under [NEED_DL_SYSINFO].
56906 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56908         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
56909         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
56910         definition.
56911         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
56912         * sysdeps/unix/sysv/linux/powerpc/init-first.c
56913         (_libc_vdso_platform_setup): Add __vdso_time initialization.
56914         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
56915         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
56917 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
56919         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
56920         test signgam value.
56922         * math/libm-test.inc (hypot_test): Do not use
56923         IGNORE_ZERO_INF_SIGN.
56925 2013-05-03  Andreas Jaeger  <aj@suse.de>
56927         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
56928         Linux 3.9.
56929         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
56930         (PF_MAX): Adjust for VSOCK change.
56932 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56936 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
56938         [BZ #15264]
56939         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
56940         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
56941         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
56943 2013-05-02  David S. Miller  <davem@davemloft.net>
56945         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56947 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
56949         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
56951 2013-05-01  Roland McGrath  <roland@hack.frob.com>
56953         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
56955 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
56957         [BZ #14952]
56958         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
56959         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
56960         Use __attribute__ ((__gnu_inline__)).
56961         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
56962         Don't use __attribute__ ((__gnu_inline__)).
56964 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
56966         [BZ #15423]
56967         * math/s_catan.c (__catan): Handle small real or imaginary part of
56968         input specially to avoid spurious underflow.
56969         * math/s_catanf.c (__catanf): Likewise.
56970         * math/s_catanh.c (__catanh): Likewise.
56971         * math/s_catanhf.c (__catanhf): Likewise.
56972         * math/s_catanhl.c (__catanhl): Likewise.
56973         * math/s_catanl.c (__catanl): Likewise.
56974         * math/libm-test.inc (catan_test): Add more tests.
56975         (catanh_test): Likewise.
56976         * sysdeps/i386/fpu/libm-test-ulps: Update.
56977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56979 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56981         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56983 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
56985         [BZ #15416]
56986         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
56987         accurately for denominator in atan2.
56988         * math/s_catanf.c (__catanf): Likewise.
56989         * math/s_catanh.c (__catanh): Likewise.
56990         * math/s_catanhf.c (__catanhf): Likewise.
56991         * math/s_catanhl.c (__catanhl): Likewise.
56992         * math/s_catanl.c (__catanl): Likewise.
56993         * math/libm-test.inc (catan_test): Add more tests.
56994         (catanh_test): Likewise.
56995         * sysdeps/i386/fpu/libm-test-ulps: Update.
56996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56998 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57000         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
57002         * benchtests/Makefile (bench): Remove slow benchmarks.
57003         * benchtests/atan-inputs: Add slow benchmark inputs.
57004         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
57005         (BENCH_FUNC): Accept variant offset.
57006         (VARIANT): Define.
57007         * benchtests/bench-skeleton.c (main): Run benchmark for each
57008         variant.
57009         * benchtests/cos-inputs: Add slow benchmark inputs.
57010         * benchtests/exp-inputs: Likewise.
57011         * benchtests/pow-inputs: Likewise.
57012         * benchtests/sin-inputs: Likewise.
57013         * benchtests/slowatan-inputs: Remove.
57014         * benchtests/slowatan.c: Remove.
57015         * benchtests/slowcos-inputs: Remove.
57016         * benchtests/slowcos.c: Remove.
57017         * benchtests/slowexp-inputs: Remove.
57018         * benchtests/slowexp.c: Remove.
57019         * benchtests/slowpow-inputs: Remove.
57020         * benchtests/slowpow.c: Remove.
57021         * benchtests/slowsin-inputs: Remove.
57022         * benchtests/slowsin.c: Remove.
57023         * benchtests/slowtan-inputs: Remove.
57024         * benchtests/slowtan.c: Remove.
57025         * benchtests/tan-inputs: Add slow benchmark inputs.
57026         * scripts/bench.pl: Parse comments and directives.
57028         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
57029         in CPPFLAGS.
57030         ($(objpfx)bench-%.c): Remove *-ITER.
57031         * benchtests/bench-modf.c: Remove definition of ITER.
57032         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
57033         (main): Loop for DURATION seconds instead of fixed number of
57034         iterations.
57035         * scripts/bench.pl: Don't expect iterations in parameters.
57037 2013-04-29  Roland McGrath  <roland@hack.frob.com>
57039         * io/fchdir.c (__fchdir): Renamed from fchdir.
57040         (fchdir): Define as weak alias.
57042 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
57044         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
57045         (ERRNO_EDOM): Likewise.
57046         (ERRNO_ERANGE): Likewise.
57047         (noErrnoTests): New variable.
57048         (init_max_error): Set errno to 0.
57049         (test_single_errno): New function.
57050         (test_errno): Likewise.
57051         (check_float_internal): Call test_errno.  Set errno to 0.
57052         (check_complex): Refer to errno tests in comment.
57053         (check_int): Call test_errno.  Set errno to 0.
57054         (check_long): Likewise.
57055         (check_bool): Likewise.
57056         (check_longlong): Likewise.
57057         (cos_test): Use ERRNO_* flags for errno tests instead of
57058         check_int.
57059         (expm1_test): Likewise.
57060         (fmod_test): Likewise.
57061         (ilogb_test): Likewise.
57062         (lgamma_test): Likewise.
57063         (pow_test): Likewise.
57064         (remainder_test): Likewise.
57065         (sin_test): Likewise.
57066         (tan_test): Likewise.
57067         (yn_test): Likewise.
57068         (initialize): Set errno to 0.
57069         (main): Print number of errno tests.
57070         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
57072 2013-04-29  Andreas Jaeger  <aj@suse.de>
57074         [BZ #15084]
57075         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
57076         and RES_USEVC.
57078         [BZ #15085]
57079         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
57080         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
57081         unimplemented.
57083         [BZ #15380]
57084         * stdlib/random.c (__initstate): Return NULL if
57085         __initstate fails.
57087         [BZ #15086]
57088         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
57089         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
57090         RES_SNGLKUPREOP.
57092 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57096 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
57098         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
57099         of individual tests.
57100         (casin_test): Likewise.
57101         (casinh_test): Likewise.
57103 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
57105         [BZ #15409]
57106         * math/s_catan.c (__catan): Handle arguments with large real or
57107         imaginary part separately without squaring.
57108         * math/s_catanf.c (__catanf): Likewise.
57109         * math/s_catanh.c (__catanh): Likewise.
57110         * math/s_catanhf.c (__catanhf): Likewise.
57111         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57112         and redefine.
57113         (__catanhl): Handle arguments with large real or imaginary part
57114         separately without squaring.
57115         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57116         and redefine.
57117         (__catanl): Handle arguments with large real or imaginary part
57118         separately without squaring.
57119         * math/libm-test.inc (catan_test): Add more tests.
57120         (catanh_test): Likewise.
57121         * sysdeps/i386/fpu/libm-test-ulps: Update.
57122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57124 2013-04-27  Andreas Jaeger  <aj@suse.de>
57126         [BZ #15007]
57127         * stdlib/stdlib.h: Update guards for qecvt.
57128         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
57129         <stdlib.h>.
57131 2013-04-27  Allan McRae  <allan@archlinux.org>
57133         * sysdeps/i386/fpu/libm-test-ulps: Update.
57135 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
57137         [BZ #15406]
57138         * math/s_catan.c: Include <float.h>.
57139         (__catan): Ensure underflow exception occurs for underflowed
57140         result.
57141         * math/s_catanf.c: Include <float.h>.
57142         (__catanf): Ensure underflow exception occurs for underflowed
57143         result.
57144         * math/s_catanh.c: Include <float.h>.
57145         (__catanh): Ensure underflow exception occurs for underflowed
57146         result.
57147         * math/s_catanhf.c: Include <float.h>.
57148         (__catanhf): Ensure underflow exception occurs for underflowed
57149         result.
57150         * math/s_catanhl.c: Include <float.h>.
57151         (__catanhl): Ensure underflow exception occurs for underflowed
57152         result.
57153         * math/s_catanl.c: Include <float.h>.
57154         (__catanl): Ensure underflow exception occurs for underflowed
57155         result.
57156         * math/libm-test.inc (catan_test): Add more tests.
57157         (catanh_test): Likewise.
57159         [BZ #15405]
57160         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
57161         underflowed result.
57162         * math/s_ccoshf.c (__ccoshf): Likewise.
57163         * math/s_ccoshl.c (__ccoshl): Likewise.
57164         * math/s_csin.c (__csin): Likewise.
57165         * math/s_csinf.c (__csinf): Likewise.
57166         * math/s_csinh.c (__csinh): Likewise.
57167         * math/s_csinhf.c (__csinhf): Likewise.
57168         * math/s_csinhl.c (__csinhl): Likewise.
57169         * math/s_csinl.c (__csinl): Likewise.
57170         * math/libm-test.inc (ccos_test): Add more tests.
57171         (ccosh_test): Likewise.
57172         (csin_test): Likewise.
57173         (csinh_test): Likewise.
57175 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57177         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
57178         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
57179         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
57180         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
57181         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
57182         powerpc/power5+/fpu folders.
57183         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
57186 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
57188         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57190 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
57192         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
57193         additions to variable.
57194         [$(config-machine) = x86_64] (modules-names): Likewise.
57195         ($(objpfx)tst-audit3): Remove dependency.
57196         ($(objpfx)tst-audit3.out): Likewise.
57197         ($(objpfx)tst-audit4): Likewise.
57198         ($(objpfx)tst-audit4.out): Likewise.
57199         ($(objpfx)tst-audit5): Likewise.
57200         ($(objpfx)tst-audit5.out): Likewise.
57201         ($(objpfx)tst-audit6): Likewise.
57202         ($(objpfx)tst-audit6.out): Likewise.
57203         ($(objpfx)tst-audit7): Likewise.
57204         ($(objpfx)tst-audit7.out): Likewise.
57205         (tst-audit3-ENV): Remove variable.
57206         (tst-audit4-ENV): Likewise.
57207         (tst-audit5-ENV): Likewise.
57208         (tst-audit6-ENV): Likewise.
57209         (tst-audit7-ENV): Likewise.
57210         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
57211         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
57212         addition to variable.
57213         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
57214         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
57215         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
57216         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
57217         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
57218         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
57219         tst-audit3, tst-audit4 and tst-audit5.
57220         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
57221         tst-audit6 and tst-audit7.
57222         [$(subdir) = elf] (modules-names): Add audit modules for those
57223         tests.
57224         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
57225         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
57226         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
57227         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
57228         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
57229         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
57230         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
57231         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
57232         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
57233         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
57234         [$(subdir) = elf] (tst-audit3-ENV): New variable.
57235         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
57236         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
57237         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
57238         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
57239         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
57240         Likewise.
57241         [$(subdir) = elf && $(config-cflags-avx) = yes]
57242         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
57243         [$(subdir) = elf && $(config-cflags-avx) = yes]
57244         (CFLAGS-tst-auditmod4a.c): Likewise.
57245         [$(subdir) = elf && $(config-cflags-avx) = yes]
57246         (CFLAGS-tst-auditmod4b.c): Likewise.
57247         [$(subdir) = elf && $(config-cflags-avx) = yes]
57248         (CFLAGS-tst-auditmod6b.c): Likewise.
57249         [$(subdir) = elf && $(config-cflags-avx) = yes]
57250         (CFLAGS-tst-auditmod6c.c): Likewise.
57251         [$(subdir) = elf && $(config-cflags-avx) = yes]
57252         (CFLAGS-tst-auditmod7b.c): Likewise.
57253         * elf/tst-audit3.c: Move to ...
57254         * sysdeps/x86_64/tst-audit3.c: ... here.
57255         * elf/tst-audit4.c: Move to ...
57256         * sysdeps/x86_64/tst-audit4.c: ... here.
57257         * elf/tst-audit5.c: Move to ...
57258         * sysdeps/x86_64/tst-audit5.c: ... here.
57259         * elf/tst-audit6.c: Move to ...
57260         * sysdeps/x86_64/tst-audit6.c: ... here.
57261         * elf/tst-audit7.c: Move to ...
57262         * sysdeps/x86_64/tst-audit7.c: ... here.
57263         * elf/tst-auditmod3a.c: Move to ...
57264         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
57265         * elf/tst-auditmod3b.c: Move to ...
57266         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
57267         * elf/tst-auditmod4a.c: Move to ...
57268         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
57269         * elf/tst-auditmod4b.c: Move to ...
57270         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
57271         * elf/tst-auditmod5a.c: Move to ...
57272         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
57273         * elf/tst-auditmod5b.c: Move to ...
57274         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
57275         * elf/tst-auditmod6a.c: Move to ...
57276         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
57277         * elf/tst-auditmod6b.c: Move to ...
57278         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
57279         * elf/tst-auditmod6c.c: Move to ...
57280         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
57281         * elf/tst-auditmod7a.c: Move to ...
57282         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
57283         * elf/tst-auditmod7b.c: Move to ...
57284         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
57286 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
57288         [BZ #15366]
57289         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
57290         define unconditionally.
57291         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
57292         define unconditionally.
57293         (INT8_C, INT16_C, etc.): Likewise.
57295 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
57297         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
57298         __ehdr_start with hidden visibility.
57300         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
57302 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
57304         * math/libm-test.inc (cos_test): Use accurate hex constants.
57305         (sincost_test): Likewise.
57307 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
57309         * math/libm-test.inc (catan_test): Add more tests.
57310         (catanh_test): Likewise.
57312         * math/s_catanf.c (__catanf): Use suffixed floating-point
57313         constants.
57314         * math/s_catanhf.c (__catanhf): Likewise.
57315         * math/s_catanhl.c (__catanhl): Likewise.
57316         * math/s_catanl.c (__catanl): Likewise.
57318         [BZ #15394]
57319         * math/s_catan.c (__catan): Calculate imaginary part of result
57320         with log1p not log unless computing log of number close to 0.
57321         * math/s_catanf.c (__catanf): Likewise.
57322         * math/s_catanl.c (__catanl): Likewise.
57323         * math/s_catanh.c (__catanh): Calculate real part of result with
57324         log1p not log unless computing log of number close to 0.
57325         * math/s_catanhf.c (__catanhf): Likewise.
57326         * math/s_catanhl.c (__catanhl): Likewise.
57327         * math/libm-test.inc (catan_test): Add more tests.
57328         (catanh_test): Likewise.
57329         * sysdeps/i386/fpu/libm-test-ulps: Update.
57330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57332 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
57334         * benchtests/Makefile: Mention files in which fast and slow
57335         paths of math functions are implemented.
57337 2013-04-23  Roland McGrath  <roland@hack.frob.com>
57339         * sysdeps/posix/timespec_get.c: New file.
57341 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57343         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
57344         POWER.
57345         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
57346         for POWER.
57347         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
57348         powerpc/power5/fpu folders.
57349         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
57350         * benchtests/Makefile: Add modf testcase.
57351         * benchtests/bench-modf.c: New file: Benchmark test for mo
57353 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
57355         [BZ #14888]
57356         * time/Makefile (tests): Add tst-strptime-whitespace.
57357         * time/strptime_l.c (get_number): Use ISSPACE.
57358         (__strptime_internal): Likewise.
57359         * time/tst-strptime-whitespace.c: New test case.
57361 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
57363         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
57364         member.
57365         (_nss_files_init): Set it here.
57367 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
57369         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
57370         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
57371         unsigned.
57373 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
57375         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
57377 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
57379         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
57380         size just once.
57382 2013-04-21  David S. Miller  <davem@davemloft.net>
57384         * po/ru.po: Update Russion translation from translation project.
57386 2013-04-17  Adam Conrad  <adconrad@0c3.net>
57388         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
57389         and setfsgid.
57391 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
57393         * configure.in: Remove i386 configure warning. Remove i386 case.
57394         * configure: Regenerate.
57395         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
57396         Add example to error message.
57397         * sysdeps/i386/configure: Regenerate.
57399 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
57401         * benchtests/Makefile (bench): Add cos, tan, slowcos and
57402         slowtan.
57403         * benchtests/cos-inputs: New file.
57404         * benchtests/slowcos-inputs: New file.
57405         * benchtests/slowcos.c: New file.
57406         * benchtests/slowtan-inputs: New file.
57407         * benchtests/slowtan.c: New file.
57408         * benchtests/tan-inputs: New file.
57410 2013-04-16  Roland McGrath  <roland@hack.frob.com>
57412         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
57413         considered kosher.
57415 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57417         * benchtests/Makefile: Include cppflags-iterator.mk to add
57418         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
57420         * Makefile.in (bench-clean): New target.
57421         * benchtests/Makefile (bench-clean): Likewise.
57423 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
57425         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
57427 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
57429         * stdio-common/tstdiomisc.c: Fix coding-style violation.
57431 2013-04-15  Andreas Schwab  <schwab@suse.de>
57433         * nscd/grpcache.c (cache_addgr): Properly check for short write.
57434         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57435         * nscd/pwdcache.c (cache_addpw): Likewise.
57436         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
57437         more than recsize.
57439 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57441         * benchtests/Makefile (bench): Write all output to
57442         bench-out.tmp together.
57444 2013-04-15  Andreas Schwab  <schwab@suse.de>
57446         * nscd/nscd.c (main): Don't fork again after closing files.
57448 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57450         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
57452         * benchtests/Rules (bench-deps): Collect dependencies into a
57453         single variable.  Add Makefile to dependencies.
57454         ($(objpfx)bench-%.c): Depend on bench-deps.
57456 2013-04-12  Roland McGrath  <roland@hack.frob.com>
57457             Xavier Roche  <roche+kml2@exalead.com>
57459         [BZ #15361]
57460         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
57461         just that it's a file descriptor.
57462         * manual/llio.texi (Synchronizing AIO Operations): Update description
57463         for EBADF error from aio_fsync.
57465 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
57467         * Rules (bench): Move target definition...
57468         * benchtests/Makefile: ... here.
57470 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
57472         * math/libm-test.inc (cos_test): Fix PI/2 test.
57473         (sincos_test): Likewise.
57474         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
57475         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
57477 2013-04-11  Andreas Schwab  <schwab@suse.de>
57479         [BZ #13988]
57480         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
57481         accept exponent character only when digits were seen.
57482         * stdio-common/Makefile (tests): Add bug26.
57483         * stdio-common/bug26.c: New file.
57485         [BZ #14293]
57486         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
57487         non-freeable.
57489 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57491         * Makeconfig (rtld-prefix): Define built linker prefix.
57492         * Rules (run-bench): Use it.
57493         * math/Makefile (run-regen-ulps): Likewise.
57495         * Rules (bench): Remove eval.
57497 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57498             Roland McGrath  <roland@hack.frob.com>
57499             Ondrej Bilka  <neleai@seznam.cz>
57501         [BZ #15346]
57502         * time/getdate.c: Include ctype.h and alloca.h.
57503         (__getdate_r): Trim leading and trailing spaces of input.
57504         * time/tst-getdate.c (tests): Add tests with leading and
57505         trailing spaces.
57507 2013-04-08  Roland McGrath  <roland@hack.frob.com>
57509         [BZ #14280]
57510         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
57511         when computing value.
57513 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
57515         * math/README.libm-test (How can I generate "libm-test-ulps"?):
57516         Use testrun.sh to run libm tests.
57518         [BZ #15309]
57519         * elf/dl-open.c (dl_open_worker): memset all of seen array.
57521 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
57523         [BZ #15264]
57524         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
57526 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
57528         * Makefile.in (regen-ulps): New target.
57529         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
57530         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
57531         [ifneq (no,$(PERL)] (regen-ulps): New target.
57532         [ifeq (no,$(PERL)] (regen-ulps): New target.
57533         * math/libm-test.inc (ulps_file_name): Define.
57534         (output_dir): New variable.
57535         (options): Add "output-dir" option.
57536         (parse_opt): Handle 'o' case.
57537         (main): If output_dir is non-NULL use it as a prefix
57538         otherwise use "".
57539         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
57541 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
57543         [BZ #10060, #10062]
57544         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
57545         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
57546         fail configure if __sync_val_compare_and_swap is not inlined.
57547         * sysdeps/i386/configure: Regenerate.
57548         * configure.in: Build for i686 when configured for i386.
57549         * configure: Regenerate.
57550         * README: Remove i386 reference.
57552 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
57554         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
57555         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57557 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
57559         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
57560         (lmsnanval): New variables.
57561         (F): Add conversion tests.
57562         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
57563         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
57565         * stdio-common/tstdiomisc.c (F): Properly collect individual
57566         tests' results.
57568         [BZ #14686, #15336]
57569         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
57570         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
57571         Instead, use input NaN values or generate a qNaN by arithmetic
57572         operation.  Also fix bugs to comply with the standard.
57573         * math/libm-test.inc (remainder_test): Add more tests.
57575         [BZ #15335, #15342]
57576         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
57577         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
57578         input NaN values or generate a qNaN by arithmetic operation.
57580         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
57581         unreachable code.
57583         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
57584         definitions.
57586 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
57588         [BZ #14478]
57589         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
57590         underflowed result.
57591         * math/s_cexpf.c (__cexpf): Likewise.
57592         * math/s_cexpl.c (__cexpl): Likewise.
57593         * math/libm-test.inc (cexp_test): Add more tests.
57595 2013-04-03  Andreas Schwab  <schwab@suse.de>
57597         [BZ #15330]
57598         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
57599         order arrays from heap if bigger than alloca cutoff.
57601 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
57603         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
57604         (SNAN_TESTS_double): Refer to GCC PR56831.
57605         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
57606         GCC PR56828.
57608 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
57610         * Rules (bench): Move bench.out after the run is complete.
57612         * Rules (bench): Echo currently running benchmark.
57614         * benchtests/Makefile (bench): Add atan and slowatan.
57615         * benchtests/atan-inputs: New file.
57616         * benchtests/slowatan-inputs: New file.
57617         * benchtests/slowatan.c: New file.
57619         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
57620         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
57621         its value.
57623         [BZ #15305]
57624         * sysdeps/unix/sysv/linux/kernel-features.h
57625         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
57626         __ASSUME_XFS_RESTRICTED_CHOWN.
57627         * sysdeps/unix/sysv/linux/pathconf.c
57628         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
57629         Save and restore errno.
57631 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
57633         [BZ #15327]
57634         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
57635         arguments using __kernel_casinh.
57636         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
57637         arguments using __kernel_casinhf.
57638         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
57639         arguments using __kernel_casinhl.
57640         * math/libm-test.inc (cacosh_test): Add more tests.
57641         * sysdeps/i386/fpu/libm-test-ulps: Update.
57642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57644 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57646         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
57647         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
57649         * bench/Makefile (bench): Add sin and slowsin.
57650         * benchtests/sin-inputs: New file.
57651         * benchtests/slowsin-inputs: New file.
57652         * benchtests/slowsin.c: New file.
57654         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
57655         (bench): Add slowexp and slowpow.
57656         (exp-ITER): Increase iterations.
57657         (pow-ITER): Likewise.
57658         * benchtests/exp-inputs: Change input.
57659         * benchtests/pow-inputs: Likewise.
57660         * benchtests/slowexp-inputs: New file.
57661         * benchtests/slowexp.c: New file.
57662         * benchtests/slowpow-inputs: New file.
57663         * benchtests/slowpow.c: New file.
57665 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57667         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
57668         instructions.
57669         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57670         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
57671         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
57672         * benchtests/Makefile: Add rint benchtest.
57673         * benchtests/rint-inputs: Input for rint benchtest.
57675 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
57677         * Versions.def (libm): Add GLIBC_2.18.
57678         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
57679         hidden libm prototypes.
57680         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
57681         * math/Makefile (libm-calls): Add s_issignaling.
57682         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
57683         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
57684         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
57685         declaration.
57686         * math/math.h [__USE_GNU] (issignaling): New macro.
57687         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
57688         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
57689         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
57690         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
57691         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
57692         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
57693         * manual/arith.texi (issignaling): New section.
57694         * manual/libm-err-tab.pl (@all_functions): Update comment.
57695         * math/gen-libm-test.pl (parse_args): Apply special handling for
57696         issignaling.
57697         * math/libm-test.inc (print_float, issignaling_test): New
57698         functions.
57699         (check_float_internal): Add issignaling checks.
57700         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
57701         default definition.
57702         * sysdeps/powerpc/math-tests.h: New file.
57703         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
57704         tests.
57705         * math/test-snan.c (TEST_FUNC): Likewise.
57707 2013-03-30  David S. Miller  <davem@davemloft.net>
57709         * po/de.po: Update from translation team.
57711 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
57713         [BZ #10357]
57714         * math/k_casinh.c (__kernel_casinh): Handle arguments with
57715         imaginary part less than 1.0 and real part less than 0.5
57716         specially.
57717         * math/k_casinhf.c (__kernel_casinhf): Likewise.
57718         * math/k_casinhl.c (__kernel_casinhl): Likewise.
57719         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
57720         (cacos_test): Add more tests.
57721         (casin_test): Likewise.
57722         (casinh_test): Likewise.
57723         * sysdeps/i386/fpu/libm-test-ulps: Update.
57724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57726 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57728         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
57729         ONE with its value.
57731         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
57732         (__pow_mp): Replace ONE and MONE with their values.
57733         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57734         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
57735         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57736         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
57737         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57738         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57740         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
57742         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
57743         (__pow_mp): Replace ZERO and MZERO with their values.
57744         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
57745         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57746         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57747         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
57748         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57749         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
57750         (__sqr): Likewise.
57752         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
57754         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
57756 2013-03-28  Roland McGrath  <roland@hack.frob.com>
57758         * include/stdlib.h [!SHARED] (__call_tls_dtors):
57759         Declare with __attribute__ ((weak)).
57760         * stdlib/exit.c (__libc_atexit) [!SHARED]:
57761         Call __call_tls_dtors only if it's not NULL.
57763 2013-03-28  Roland McGrath  <roland@hack.frob.com>
57765         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
57766         didn't do it already, then set _dl_phdr and _dl_phnum based on the
57767         magic __ehdr_start linker symbol if it's defined.
57768         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
57769         them up here if it was already done.
57771         * elf/dl-support.c (_dl_phdr): Make pointer to const.
57772         (_dl_aux_init): Use const in cast when setting it.
57773         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
57774         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
57775         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
57777         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
57778         Declare them here.
57779         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
57780         * csu/libc-tls.c: Nor here.
57781         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
57783         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
57784         (__libc_message): Never call vsyslog.
57786 2013-03-28  Alan Modra  <amodra@gmail.com>
57788         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
57789         Define as empty.
57790         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
57791         Likewise.
57793 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57795         [BZ #15214]
57796         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
57797         underflow.
57798         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57800 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57802         [BZ #15304]
57803         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
57804         Don't add gid passed as argument.
57806         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
57808 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
57810         [BZ #15307]
57811         * math/k_casinh.c (__kernel_casinh): Handle arguments with
57812         imaginary part between 1.0 and 1.5 and real part less than 0.5
57813         specially.
57814         * math/k_casinhf.c (__kernel_casinhf): Likewise.
57815         * math/k_casinhl.c (__kernel_casinhl): Likewise.
57816         * math/libm-test.inc (cacos_test): Add more tests.
57817         (casin_test): Likewise.
57818         (casinh_test): Likewise.
57819         * sysdeps/i386/fpu/libm-test-ulps: Update.
57820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57822 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57824         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
57825         constants.
57826         (norm): Likewise.
57827         (denorm): Likewise.
57828         (__dbl_mp): Likewise.
57829         (add_magnitudes): Likewise.
57830         (sub_magnitudes): Likewise.
57831         (__add): Likewise.
57832         (__sub): Likewise.
57833         (__mul): Likewise.
57834         (__sqr): Likewise.
57835         (__inv): Likewise.
57836         (__dvd): Likewise.
57838         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
57839         commented code.
57840         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
57841         (__dubcos): Likewise.
57842         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
57843         (__ieee754_acos): Likewise.
57844         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
57845         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
57846         (__exp1): Likewise.
57847         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57848         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
57849         (log1): Likewise.
57850         (my_log2): Likewise.
57851         (checkint): Likewise.
57852         * sysdeps/ieee754/dbl-64/e_remainder.c
57853         (__ieee754_remainder): Likewise.
57854         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57855         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
57856         (bsloww): Likewise.
57857         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57859         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
57860         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
57861         MANTISSA_STORE_T to store computations on mantissa.  Use
57862         macros for rounding and division.
57863         (denorm): Likewise.
57864         (__dbl_mp): Likewise.
57865         (add_magnitudes): Likewise.
57866         (sub_magnitudes): Likewise.
57867         (__mul): Likewise.
57868         (__sqr): Likewise.
57869         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
57870         powers of two in terms of TWOPOW macro.
57871         (mp_no): Make type of mantissa as MANTISSA_T.
57872         [!RADIXI]: Define RADIXI.
57873         [!TWO52]: Define TWO52.
57874         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
57876 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57878         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
57879         llroundl symbol when building for PPC32.
57881 2013-03-24  Mark H Weaver  <mhw@netris.org>
57883         * manual/arith.texi (Normalization Functions): Fix prototypes for
57884         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
57886 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57888         [BZ #13889]
57889         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
57890         high value to check if expl overflow.
57891         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
57892         to check for underflow and overflow.
57893         * math/libm-test.inc: Add exp test.
57895 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
57897         [BZ #11120]
57898         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
57899         with NOT_IN_libc.
57901 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57903         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
57904         symbol.
57906 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
57908         * math/gen-libm-test.pl (parse_args, special_functions): Properly
57909         wrap blocks consisting of several statements.
57911         * sysdeps/generic/math-tests.h: New file.
57912         * sysdeps/i386/fpu/math-tests.h: Likewise.
57913         * math/test-snan.c: Include it.
57914         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
57916 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
57918         [BZ #15285]
57919         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
57920         (__ieee754_j0l): Do not improve calculations using cos of twice
57921         input for inputs above LDBL_MAX / 2.0L.
57922         (__ieee754_y0l): Likewise.
57923         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
57924         (__ieee754_j1l): Do not improve calculations using cos of twice
57925         input for inputs above LDBL_MAX / 2.0L.
57926         (__ieee754_y1l): Likewise.
57927         * math/libm-test.inc (j0_test): Add another test.
57928         (j1_test): Likewise.
57929         (y0_test): Likewise.
57930         (y1_test): Likewise.
57931         * sysdeps/i386/fpu/libm-test-ulps: Update.
57933 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57935         * Rules ($(objpfx)bench-%.c): Include code from a C source
57936         file.
57938 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
57940         [BZ #15287]
57941         * math/k_casinh.c (__kernel_casinh): Handle arguments with
57942         imaginary part 1.0 and real part less than 0.5 specially.
57943         * math/k_casinhf.c (__kernel_casinhf): Likewise.
57944         * math/k_casinhl.c (__kernel_casinhl): Likewise.
57945         * math/libm-test.inc (cacos_test): Add more tests.
57946         (casin_test): Likewise.
57947         (casinh_test): Likewise.
57948         * sysdeps/i386/fpu/libm-test-ulps: Update.
57949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57951 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57953         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
57954         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
57956 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
57958         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
57959         * config.make.in (config-cflags-sse4): Remove variable.
57960         (config-cflags-avx): Likewise.
57961         (config-cflags-sse2avx): Likewise.
57962         (config-cflags-novzeroupper): Likewise.
57963         (config-asflags-i686): Likewise.
57964         (have-mfma4): Likewise.
57965         (have-as-vis3): Likewise.
57966         (MIG): Likewise.
57967         * configure.in (MIG): Do not AC_SUBST.
57968         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
57969         (libc_cv_cc_sse4): Do not AC_SUBST.
57970         (libc_cv_cc_avx): Likewise.
57971         (libc_cv_cc_sse2avx): Likewise.
57972         (libc_cv_cc_novzeroupper): Likewise.
57973         (libc_cv_cc_fma4): Likewise.
57974         (libc_cv_as_i686): Likewise.
57975         (libc_cv_sparc_as_vis3): Likewise.
57976         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
57977         LIBC_CONFIG_VAR.
57978         (config-asflags-i686): Likewise.
57979         (config-cflags-avx): Likewise.
57980         (config-cflags-sse2avx): Likewise.
57981         (have-mfma4): Likewise.
57982         (config-cflags-novzeroupper): Likewise.
57983         * sysdeps/mach/configure.in (MIG): Likewise.
57984         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
57985         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
57986         LIBC_CONFIG_VAR.
57987         (config-cflags-avx): Likewise.
57988         (config-cflags-sse2avx): Likewise.
57989         (have-mfma4): Likewise.
57990         (config-cflags-novzeroupper): Likewise.
57991         * configure: Regenerated.
57992         * sysdeps/i386/configure: Likewise.
57993         * sysdeps/mach/configure: Likewise.
57994         * sysdeps/sparc/configure: Likewise.
57995         * sysdeps/x86_64/configure: Likewise.
57997 2013-03-20  Roland McGrath  <roland@hack.frob.com>
57999         [BZ #14812]
58000         * locale/programs/localedef.c (options): Put N_ translation marker
58001         on argument names, not just descriptions.
58003 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58005         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
58007 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
58009         [BZ #14176]
58010         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
58012 2013-03-19  Roland McGrath  <roland@hack.frob.com>
58014         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
58015         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
58016         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
58017         [!BEFORE_ABORT] (before_abort): New function.
58018         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
58019         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
58020         (writev_for_fatal): New function.
58021         (WRITEV_FOR_FATAL): New macro; call that.
58022         (backtrace_and_maps): New function.
58023         (BEFORE_ABORT): New macro; call that.
58024         (struct str_list): Type removed.
58025         (__libc_message, __libc_fatal): Functions removed.
58026         Include <sysdeps/posix/libc_fatal.c> instead.
58028 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
58030         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
58031         constants.
58032         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
58033         double constants.
58035 2013-03-19  Andreas Schwab  <schwab@suse.de>
58037         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
58038         * sysdeps/gnu/configure: Regenerate.
58040         * configure.in: Substitute libc_cv_rtlddir.
58041         * configure: Regenerate.
58042         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
58043         * Makeconfig (rtlddir, inst_rtlddir): New variables.
58044         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
58045         * elf/Makefile (install-others, CFLAGS-interp.c)
58046         (ldso_install, common-ldd-rewrite): Likewise.
58047         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
58048         $(inst_slibdir)/$(rtld-installed-name).
58049         * scripts/rellns-sh: Add -p option.
58050         * Makerules (make-shlib-link): Use rellns-sh to get relative name
58051         for source.
58053 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58055         * manual/nptl.texi: Renamed to ...
58056         * manual/threads.texi: ... this.
58057         * manual/Makefile (chapters): Update.
58059 2013-03-18  Roland McGrath  <roland@hack.frob.com>
58061         [BZ #14812]
58062         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
58063         on argument names, not just descriptions.
58064         * malloc/memusagestat.c (options): Likewise.
58065         * nss/getent.c (options): Likewise.
58067 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
58069         [BZ #14812]
58070         * iconv/iconv_prog.c (options): Put N_ translation marker
58071         on argument names, not just descriptions.
58072         * iconv/iconvconfig.c (options): Likewise.
58074 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
58076         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
58077         implementation which is faster on all x86_64 architectures.
58078         Tested on AMD, Intel Nehalem, SNB, IVB.
58079         * sysdeps/x86_64/strnlen.S: Likewise.
58081         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
58082         Remove all multiarch strlen and strnlen versions.
58083         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
58084         Remove strlen and strnlen related parts.
58086         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
58087         Inline strlen part.
58088         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
58090         * sysdeps/x86_64/multiarch/strlen.S: Remove.
58091         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
58092         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
58093         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
58094         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
58095         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
58097 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
58099         * manual/memory.texi (Malloc Tunable Parameters):
58100         Sort parameters alphabetically. Add comments for missing entries.
58102 2013-03-17  David S. Miller  <davem@davemloft.net>
58104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58106 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
58108         [BZ #15283]
58109         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
58110         for arguments at most half maximum finite value.
58111         * math/libm-test.inc (j0_test): Add more tests.
58112         (j1_test): Likewise.
58113         (y0_test): Likewise.
58114         (y1_test): Likewise.
58115         * sysdeps/i386/fpu/libm-test-ulps: Update.
58116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58118         [BZ #14155]
58119         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
58120         1 / x and functions P and Q for arguments above 0x1p256L.
58121         (__ieee754_y0l): Likewise.
58122         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
58123         (__ieee754_y1l): Likewise.
58124         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
58125         (j1_test): Likewise.
58126         (y0_test): Likewise.
58127         (y1_test): Likewise.
58129 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
58131         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
58132         variable.
58134 2013-03-15  Roland McGrath  <roland@hack.frob.com>
58136         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
58137         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
58138         zero since it's initialized to EXEC_PAGESIZE.
58140         * sysdeps/unix/sysv/linux/ldsodefs.h
58141         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
58142         * sysdeps/generic/ldsodefs.h: ... here.
58144 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
58146         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
58148         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
58149         math/test-snan.c.
58150         * math/test-snan.c: Renamed from
58151         sysdeps/powerpc/fpu/test-powerpc-snan.c.
58152         * math/Makefile (tests): Add test-snan.
58153         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
58154         test-powerpc-snan.
58156         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
58157         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
58158         functions.
58159         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
58160         __builtin_nan family of functions.
58161         * math/libm-test.inc (initialize): Initialize qnan_value with
58162         __builtin_nan family of functions.
58163         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
58164         Remove variables.
58165         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
58166         Remove functions.
58167         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
58168         storage class.  Initialize qNaN_var and sNaN_var with
58169         __builtin_nan and __builtin_nans families of functions,
58170         respectively.
58172         * math/libm-test.inc (acosh_test): Also test with qNaN input.
58173         (sqrt_test): Remove duplicate test with qNaN input.
58174         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
58175         (round_test, signbit_test, significand_test): Note missing +/-Inf
58176         as well as qNaN tests.
58178         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
58179         qNaN_var.  Fix a few strings, too.
58180         * math/libm-test.inc (nan_value): Rename to qnan_value.
58181         * math/gen-libm-test.pl (%beautify): Adjust to that.
58182         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
58183         * math/test-misc.c (main): Likewise.
58184         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
58185         to __qnan_bytes, and __qnan_union, respectively.
58186         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
58187         Likewise.
58188         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
58189         and lqnanval, respectively.
58190         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
58191         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
58192         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
58193         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
58195         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
58196         * math/test-misc.c (main) [__x86_64__]: Enable test for long
58197         doubles.
58199         * math/test-misc.c (main): Fix copy'n'pastos.
58200         * misc/tst-efgcvt.c (special): Likewise.
58202         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
58203         Remove declarations.
58205 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58207         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
58208         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
58209         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
58210         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
58212 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58214         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
58215         macro to return vdso values correctly in IFUNC implementations.
58216         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58217         Optimization by using IFUNC.
58219 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58220             Richard Henderson  <rth@redhat.com>
58221             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58223         * Makefile.in (bench): New target.
58224         * NEWS: Mention the benchmark framework.
58225         * Rules (bench): Likewise.
58226         (binaries-bench): Generate binaries for functions to
58227         benchmark.
58228         * benchtests/Makefile: New makefile for benchmark tests.
58229         * benchtests/bench-skeleton.c: New skeleton file for benchmark
58230         programs.
58231         * benchtests/exp-inputs: New input file for EXP function.
58232         * benchtests/pow-inputs: New input file for POW function.
58233         * scripts/bench.pl: New script to generate source files for
58234         benchmark programs.
58236 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58238         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
58239         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
58240         computations on mantissa.  Use macros for rounding and
58241         division.
58242         (denorm): Likewise.
58243         (__dbl_mp): Likewise.
58244         (add_magnitudes): Likewise.
58245         (sub_magnitudes): Likewise.
58246         (__mul): Likewise.
58247         (__sqr): Likewise.
58248         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
58249         powers of two in terms of TWOPOW macro.
58250         (mp_no): Make type of mantissa as MANTISSA_T.
58251         [!RADIXI]: Define RADIXI.
58252         [!TWO52]: Define TWO52.
58253         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
58255         * manual/nptl.texi (cindex): Modify threads to pthreads.
58257 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
58259         * sysdeps/x86_64/preconfigure: Regenerated.
58261 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
58263         [BZ #14155]
58264         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
58265         0x1p28 and above.
58266         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
58267         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
58268         0x1p28 and above.
58269         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
58270         * math/libm-test.inc (j0_test): Do not allow one spurious
58271         underflow exception.
58272         (y1_test): Likewise.
58274 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58276         * manual/Makefile (chapters): Add nptl.
58277         * manual/debug.texi (Debugging Support): Add link to Threads
58278         chapter.
58279         * manual/nptl.texi: New file.
58281         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
58283 2013-03-14  Petr Baudis  <pasky@ucw.cz>
58285         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
58286         for non-NULL pointer before the memory validity test. Pointed
58287         out by Holger Brunck <holger.brunck@keymile.com>.
58289 2013-03-13  Andreas Schwab  <schwab@suse.de>
58291         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
58292         instead of .os.
58294 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
58296         * timezone/zic.c: Update from tzcode 2013b.
58298 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
58300         * manual/install.texi (Configuring and compiling):
58301         Mention i686 and i586.
58302         * INSTALL: Regenerate.
58304 2013-03-12  Roland McGrath  <roland@hack.frob.com>
58306         * sysdeps/init_array/elf-init.c: New file.
58307         * csu/elf-init.c
58308         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
58309         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
58311         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
58312         __gmon_start__ as global, but as static with a .preinit_array pointer.
58313         * sysdeps/init_array/gmon-start.c: New file.  Use that.
58314         * sysdeps/init_array/crti.S: New file, empty except for comments.
58315         * sysdeps/init_array/crtn.S: Likewise.
58317 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
58319         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
58320         definining bcopy.
58321         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58322         Remove Prefer_SSE_for_memop.
58323         * sysdeps/x86_64/multiarch/init-arch.h: Remove
58324         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
58325         HAS_PREFER_SSE_FOR_MEMOP.
58326         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
58327         memset-x86-64.
58328         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
58329         Remove bzero, memset ifunc support.
58330         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
58331         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
58332         * sysdeps/x86_64/multiarch/memset.S: Likewise.
58333         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
58335 2013-03-11  Andreas Schwab  <schwab@suse.de>
58337         [BZ #15234]
58338         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
58339         by SHLIB_COMPAT.
58340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
58341         (GLIBC_2.16): Remove pthread_atfork.
58343 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
58345         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
58346         (ptestcases.h): Likewise.
58348 2013-03-08  Roland McGrath  <roland@hack.frob.com>
58350         * Makeconfig ($(common-objpfx)config.status): Depend on
58351         sysdeps/*/preconfigure{,.in} too.
58353 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
58355         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
58356         (__free_hook): Use void * instead of __malloc_ptr_t.
58357         (__malloc_hook): Likewise.
58358         (__realloc_hook): Likewise.
58359         (__memalign_hook): Likewise.
58360         (__after_morecore_hook): Likewise.
58361         * malloc/arena.c (save_malloc_hook): Likewise.
58362         (save_free_hook): Likewise.
58363         * malloc/hooks.c (malloc_hook_ini): Likewise.
58364         (realloc_hook_ini): Likewise.
58365         (memalign_hook_ini): Likewise.
58366         * malloc/malloc.c (malloc_hook_ini): Likewise.
58367         (realloc_hook_ini): Likewise.
58368         (memalign_hook_ini): Likewise.
58369         (__free_hook): Likewise.
58370         (__malloc_hook): Likewise.
58371         (__realloc_hook): Likewise.
58372         (__memalign_hook): Likewise.
58373         (__libc_malloc): Likewise.
58374         (__libc_free): Likewise.
58375         (__libc_realloc): Likewise.
58376         (__libc_memalign): Likewise.
58377         (__libc_valloc): Likewise.
58378         (__libc_pvalloc): Likewise.
58379         (__libc_calloc): Likewise.
58380         (__posix_memalign): Likewise.
58381         * malloc/morecore.c (__sbrk): Likewise.
58382         (__default_morecore): Likewise.
58384         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
58386         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
58387         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
58388         __malloc_ptrdiff_t.
58390         * malloc/malloc.h (__malloc_size_t): Remove macro.
58391         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
58392         __malloc_size_t.
58393         (old_memalign_hook): Likewise.
58394         (old_realloc_hook): Likewise.
58395         (struct hdr): Likewise.
58396         (flood): Likewise.
58397         (mallochook): Likewise.
58398         (memalignhook): Likewise.
58399         (reallochook): Likewise.
58400         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
58401         (tr_old_realloc_hook): Likewise.
58402         (tr_old_memalign_hook): Likewise.
58403         (tr_mallochook): Likewise.
58404         (tr_reallochook): Likewise.
58405         (tr_memalignhook): Likewise.
58407 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58409         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
58410         default_ldbl_pack and using as default implementation.
58411         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
58412         implementation.
58413         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
58414         redundant definition.
58415         (ldbl_insert_mantissa): Likewise.
58416         (ldbl_canonicalize): Likewise.
58417         (ldbl_nearbyint): Likewise.
58418         (ldbl_pack): Rename to ldbl_pack_ppc.
58419         (ldbl_unpack): Rename to ldbl_unpack_ppc.
58420         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
58421         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
58423 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
58425         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
58426         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
58427         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
58428         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
58429         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
58430         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
58431         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
58432         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
58434 2013-03-07  Andreas Jaeger  <aj@suse.de>
58436         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58437         bits/mman-linux.h.
58439 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
58441         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
58442         Include mpa.h and declare __MPEXP.
58443         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
58444         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
58445         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
58446         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
58447         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
58448         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
58449         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
58451         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
58452         (__slowpow): Use long double EXPL and LOGL functions to
58453         compute POW.
58454         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
58455         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
58456         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
58457         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
58458         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
58459         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
58461         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
58462         intermediate variable to calculate exponent.
58463         (__sqr): Likewise.
58464         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
58465         Likewise.
58466         (__sqr): Likewise.
58468         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
58469         [!NO__SQR]: Define __sqr.
58470         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
58471         and NO__SQR.  Remove all code except __mul and __sqr.  Include
58472         sysdeps/ieee754/dbl-64/mpa.c.
58473         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58475         [BZ #12723]
58476         * posix/Makefile (tests): Add tst-pathconf.
58477         * posix/tst-pathconf.c: New test case.
58478         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
58479         _PC_PIPE_BUF.
58480         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
58482 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
58484         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
58486 2013-03-06  Andreas Jaeger  <aj@suse.de>
58488         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
58489         definition via __MAP_ANONYMOUS.
58491         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
58492         it's not part of Linux headers.
58494         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
58495         (MAP_HUGE_MASK): Define.
58497         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58498         Define.
58499         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58500         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58501         Define.
58502         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58503         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58504         Define.
58505         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58506         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
58507         Define.
58508         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58510         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
58511         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
58512         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
58513         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
58514         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
58515         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
58517         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
58518         Handle f2fs.
58520         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58521         Handle f2fs and efivarfs.
58523         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
58524         f2fs.
58526         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
58527         (EFIVARFS_MAGIC): Add.
58528         (F2FS_LINK_MAX): Add.
58530 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
58532         * stdio-common/vfprintf.c: Replace __builtin_expect with
58533         __glibc_unlikely.
58535 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
58537         [BZ #13550]
58538         * sysdeps/generic/bp-sym.h: Remove file.
58539         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
58540         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
58541         <bp-sym.h> and <bp-asm.h>.
58542         (__longjmp): Don't use BP_SYM.
58543         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
58544         and <bp-asm.h>.
58545         (memcpy): Don't use BP_SYM.
58546         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
58547         <bp-sym.h> and <bp-asm.h>.
58548         (memcpy): Don't use BP_SYM.
58549         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
58550         <bp-asm.h>.
58551         (memcpy): Don't use BP_SYM.
58552         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
58553         <bp-asm.h>.
58554         (memset): Don't use BP_SYM.
58555         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58556         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58557         (__bzero): Don't use BP_SYM.
58558         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58559         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58560         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
58561         <bp-sym.h> and <bp-asm.h>.
58562         (memcmp): Don't use BP_SYM.  Remove comment about bounded
58563         pointers.
58564         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
58565         <bp-sym.h> and <bp-asm.h>.
58566         (memcpy): Don't use BP_SYM.
58567         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
58568         <bp-sym.h> and <bp-asm.h>.
58569         (memset): Don't use BP_SYM.
58570         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58571         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58572         (__bzero): Don't use BP_SYM.
58573         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58574         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58575         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
58576         <bp-sym.h> and <bp-asm.h>.
58577         (strncmp): Don't use BP_SYM.  Remove comment about bounded
58578         pointers.
58579         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
58580         <bp-sym.h> and <bp-asm.h>.
58581         (memcpy): Don't use BP_SYM.
58582         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
58583         <bp-sym.h> and <bp-asm.h>.
58584         (memset): Don't use BP_SYM.
58585         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58586         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58587         (__bzero): Don't use BP_SYM.
58588         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58589         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58590         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
58591         <bp-sym.h> and <bp-asm.h>.
58592         (__memchr): Don't use BP_SYM.
58593         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
58594         <bp-sym.h> and <bp-asm.h>.
58595         (memcmp): Don't use BP_SYM.  Remove comment about bounded
58596         pointers.
58597         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
58598         <bp-sym.h> and <bp-asm.h>.
58599         (memcpy): Don't use BP_SYM.
58600         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
58601         <bp-sym.h> and <bp-asm.h>.
58602         (__mempcpy): Don't use BP_SYM.
58603         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
58604         <bp-sym.h> and <bp-asm.h>.
58605         (__memrchr): Don't use BP_SYM.
58606         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
58607         <bp-sym.h> and <bp-asm.h>.
58608         (memset): Don't use BP_SYM.
58609         (__bzero): Likewise.
58610         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
58611         <bp-sym.h> and <bp-asm.h>.
58612         (__rawmemchr): Don't use BP_SYM.
58613         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
58614         <bp-sym.h> and <bp-asm.h>.
58615         (__STRCMP): Don't use BP_SYM.
58616         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
58617         <bp-sym.h> and <bp-asm.h>.
58618         (strchr): Don't use BP_SYM.
58619         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
58620         <bp-sym.h> and <bp-asm.h>.
58621         (__strchrnul): Don't use BP_SYM.
58622         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
58623         <bp-sym.h> and <bp-asm.h>.
58624         (strlen): Don't use BP_SYM.
58625         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
58626         <bp-sym.h> and <bp-asm.h>.
58627         (strncmp): Don't use BP_SYM.  Remove comment about bounded
58628         pointers.
58629         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
58630         <bp-sym.h> and <bp-asm.h>.
58631         (__strnlen): Don't use BP_SYM.
58632         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
58633         <bp-sym.h> and <bp-asm.h>.
58634         (__GI__setjmp): Don't use BP_SYM.
58635         (_setjmp): Likewise.
58636         (__sigsetjmp): Likewise.
58637         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
58638         (L(start_addresses)): Don't use BP_SYM.
58639         (_start): Likewise.
58640         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
58641         <bp-asm.h>.
58642         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
58643         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
58644         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58645         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58646         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
58647         <bp-asm.h>.
58648         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
58649         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
58650         about bounded pointers.
58651         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
58652         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58653         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
58654         <bp-asm.h>.
58655         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
58656         about bounded pointers.  Remove GKM FIXME comments.
58657         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
58658         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
58659         <bp-asm.h>.
58660         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
58661         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
58662         Remove GKM FIXME comments.
58663         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58664         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58665         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
58666         <bp-asm.h>.
58667         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
58668         about bounded pointers.  Remove GKM FIXME comment.
58669         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
58670         and <bp-asm.h>.
58671         (strncmp): Don't use BP_SYM.  Remove comment about bounded
58672         pointers.
58673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
58674         <bp-sym.h> and <bp-asm.h>.
58675         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
58676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
58677         <bp-sym.h> and <bp-asm.h>.
58678         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
58679         comment.
58681 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
58683         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
58684         call free(NULL).
58686 2013-03-05  David S. Miller  <davem@davemloft.net>
58688         * po/es.po: Update from translation team.
58690 2013-03-05  Andreas Jaeger  <aj@suse.de>
58692         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
58693         <bits/mman-linux.h>.
58694         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
58695         is fine.
58696         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
58697         <bits/mman-linux.h> to end of file.
58698         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
58699         is fine.
58700         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
58701         <bits/mman-linux.h> to end of file.
58702         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
58703         is fine.
58704         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
58705         <bits/mman-linux.h> to end of file.
58707         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
58708         (MCL_CURRENT, MCL_FUTURE): Define here.
58710 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58712         [BZ #15232]
58713         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
58714         attribute_hidden.
58715         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
58717 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58719         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
58720         fourth parameter needed for rt_sigprocmask syscall.
58721         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
58722         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
58723         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
58724         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
58725         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
58726         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
58728 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
58730         [BZ #13550]
58731         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
58732         comment about bounded pointers.
58733         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
58734         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
58736 2013-03-04  Andreas Jaeger  <aj@suse.de>
58738         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
58739         common definitions.
58741         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
58742         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
58743         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
58744         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58745         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
58746         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58748 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58750         [BZ #15055]
58751         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
58752         __ieee754_sqrl instead of __sqrl.
58754 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
58756         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
58757         * sysdeps/powerpc/fpu_control.h: ... here.
58758         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
58759         * sysdeps/powerpc/bits/fenvinline.h: ... here.
58760         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
58761         * sysdeps/powerpc/bits/mathinline.h: ... here.
58763 2013-03-01  Roland McGrath  <roland@hack.frob.com>
58765         * elf/dl-hwcaps.c (_dl_important_hwcaps):
58766         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
58767         to just [NEED_DL_SYSINFO_DSO].
58768         * elf/dl-support.c: Likewise.
58769         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
58770         * elf/rtld.c (dl_main): Likewise.
58771         * elf/setup-vdso.h (setup_vdso): Likewise.
58772         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
58773         * sysdeps/unix/sysv/linux/dl-sysdep.c
58774         (_dl_discover_osversion): Likewise.
58776 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
58778         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
58779         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
58781 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
58783         * NEWS: Mention libm performance improvements and non-x86 PI
58784         futex support.
58786         * csu/libc-start.c (__pthread_initialize_minimal): Change
58787         function arguments.
58788         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
58790 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
58792         [BZ #13550]
58793         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
58794         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
58795         <bp-sym.h> and <bp-asm.h>.
58796         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58797         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
58798         and <bp-asm.h>.
58799         (memcpy): Don't use BP_SYM.
58800         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
58801         <bp-asm.h>.
58802         (__mpn_add_n): Don't use BP_SYM.
58803         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
58804         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
58805         and <bp-asm.h>.
58806         (__mpn_addmul_1): Don't use BP_SYM.
58807         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58808         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
58809         <bp-sym.h>.
58810         (_setjmp): Don't use BP_SYM.
58811         (__novmx_setjmp): Likewise.
58812         (__GI__setjmp): Likewise.
58813         (__vmx_setjmp): Likewise.
58814         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
58815         <bp-sym.h>.
58816         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
58817         (__bzero): Don't use BP_SYM.
58818         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58819         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58820         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
58821         <bp-sym.h> and <bp-asm.h>.
58822         (memcpy): Don't use BP_SYM.
58823         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
58824         <bp-sym.h> and <bp-asm.h>.
58825         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58826         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
58827         <bp-sym.h> and <bp-asm.h>.
58828         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58829         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
58830         <bp-asm.h>.
58831         (__mpn_lshift): Don't use BP_SYM.
58832         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58833         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
58834         <bp-asm.h>.
58835         (memset): Don't use BP_SYM.
58836         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58837         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58838         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
58839         <bp-asm.h>.
58840         (__mpn_mul_1): Don't use BP_SYM.
58841         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58842         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
58843         <bp-sym.h> and <bp-asm.h>.
58844         (memcmp): Don't use BP_SYM.
58845         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
58846         <bp-sym.h> and <bp-asm.h>.
58847         (memcpy): Don't use BP_SYM.
58848         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
58849         <bp-sym.h> and <bp-asm.h>.
58850         (memset): Don't use BP_SYM.
58851         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
58852         <bp-sym.h> and <bp-asm.h>.
58853         (strncmp): Don't use BP_SYM.
58854         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
58855         <bp-sym.h> and <bp-asm.h>.
58856         (memcpy): Don't use BP_SYM.
58857         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
58858         <bp-sym.h> and <bp-asm.h>.
58859         (memset): Don't use BP_SYM.
58860         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
58861         <bp-sym.h> and <bp-asm.h>.
58862         (__memchr): Don't use BP_SYM.
58863         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
58864         <bp-sym.h> and <bp-asm.h>.
58865         (memcmp): Don't use BP_SYM.
58866         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
58867         <bp-sym.h> and <bp-asm.h>.
58868         (memcpy): Don't use BP_SYM.
58869         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
58870         <bp-sym.h> and <bp-asm.h>.
58871         (__mempcpy): Don't use BP_SYM.
58872         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
58873         <bp-sym.h> and <bp-asm.h>.
58874         (__memrchr): Don't use BP_SYM.
58875         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
58876         <bp-sym.h> and <bp-asm.h>.
58877         (memset): Don't use BP_SYM.
58878         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
58879         <bp-sym.h> and <bp-asm.h>.
58880         (__rawmemchr): Don't use BP_SYM.
58881         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
58882         <bp-sym.h> and <bp-asm.h>.
58883         (__STRCMP): Don't use BP_SYM.
58884         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
58885         <bp-sym.h> and <bp-asm.h>.
58886         (strchr): Don't use BP_SYM.
58887         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
58888         <bp-sym.h> and <bp-asm.h>.
58889         (__strchrnul): Don't use BP_SYM.
58890         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
58891         <bp-sym.h> and <bp-asm.h>.
58892         (strlen): Don't use BP_SYM.
58893         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
58894         <bp-sym.h> and <bp-asm.h>.
58895         (strncmp): Don't use BP_SYM.
58896         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
58897         <bp-sym.h> and <bp-asm.h>.
58898         (__strnlen): Don't use BP_SYM.
58899         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
58900         <bp-asm.h>.
58901         (__mpn_rshift): Don't use BP_SYM.
58902         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58903         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
58904         <bp-sym.h> and <bp-asm.h>.
58905         (__sigsetjmp): Don't use BP_SYM.
58906         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
58907         (L(start_addresses)): Don't use BP_SYM.
58908         (_start): Likewise.
58909         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
58910         <bp-asm.h>.
58911         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
58912         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58913         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58914         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
58915         <bp-asm.h>.
58916         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
58917         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
58918         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58919         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
58920         <bp-asm.h>.
58921         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
58922         comments.
58923         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
58924         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
58925         <bp-asm.h>.
58926         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
58927         FIXME comments.
58928         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58929         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58930         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
58931         <bp-asm.h>.
58932         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
58933         comment.
58934         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
58935         and <bp-asm.h>.
58936         (strncmp): Don't use BP_SYM,
58937         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
58938         <bp-asm.h>.
58939         (__mpn_sub_n): Don't use BP_SYM.
58940         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58941         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
58942         and <bp-asm.h>.
58943         (__mpn_submul_1): Don't use BP_SYM.
58944         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
58946         <bp-sym.h> and <bp-asm.h>.
58947         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
58948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
58949         <bp-sym.h> and <bp-asm.h>.
58950         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
58951         comment.
58953 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58955         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
58956         Use ZK to minimize writes to Z.
58957         (sub_magnitudes): Simplify code a bit.
58958         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
58959         Use ZK to minimize writes to Z.
58960         (sub_magnitudes): Simplify code a bit.
58962 2013-02-27  Roland McGrath  <roland@hack.frob.com>
58964         * csu/gmon-start.c: Add special exception to license text.
58966 2013-02-27  Richard Henderson  <rth@redhat.com>
58968         * scripts/config.guess: Update from config.git.
58969         * scripts/config.sub: Likewise.
58971 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58973         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
58975         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
58977         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
58979         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
58981         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
58983 2013-02-26  Roland McGrath  <roland@hack.frob.com>
58985         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
58986         [$(build-shared = yes].
58988 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58990         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
58991         (__mul): Reduce iterations for calculating mantissa.
58993         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
58994         MPTWO.
58995         (__mpranred): Likewise.
58997         [BZ #15160]
58998         * malloc/memusagestat.c (main): Draw graphs for heap and stack
58999         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
59001 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
59003         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
59004         Define __attribute__.
59006 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59008         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
59009         unused.
59010         * posix/regex_internal.h (__attribute): Remove.
59011         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
59012         (re_string_context_at): Likewise.
59013         (bitset_not): Use __attribute__ and mark function as possibly
59014         unused.
59015         (bitset_merge): Likewise.
59016         (bitset_mask): Likewise.
59017         (re_string_char_size_at): Likewise.
59018         (re_string_wchar_at): Likewise.
59019         (re_string_elem_size_at): Likewise.
59021 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59023         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
59024         code.
59025         (cc32): Likewise.
59027         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
59028         (__acr): Likewise.
59029         (__cpy): Likewise.
59030         (norm): Likewise.
59031         (denorm): Likewise.
59032         (__dbl_mp): Likewise.
59033         (add_magnitudes): Likewise.
59034         (sub_magnitudes): Likewise.
59035         (__mul): Likewise.
59036         (__inv): Likewise.
59038         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
59039         style.
59041         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
59042         style.
59044         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
59045         code.
59047         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
59048         up changes with default code.
59049         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
59050         Likewise.
59052 2013-02-24  Allan McRae  <allan@archlinux.org>
59054         * manual/socket.texi (The Internet Namespace): Order menu items
59055         to match that in the file.
59057         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
59058         node listing of the info page menu.
59060 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
59062         [BZ #13550]
59063         * sysdeps/i386/bp-asm.h: Remove file.
59064         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59065         (PARMS): Do not use macros from bp-asm.h.
59066         (S1): Likewise.
59067         (S2): Likewise.
59068         (SIZE): Likewise.
59069         (__mpn_add_n): Do not use BP_SYM
59070         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
59071         "bp-asm.h".
59072         (PARMS): Do not use macros from bp-asm.h.
59073         (S1): Likewise.
59074         (SIZE): Likewise.
59075         (__mpn_addmul_1): Do not use BP_SYM
59076         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
59077         "bp-asm.h".
59078         (PARMS): Do not use macros from bp-asm.h.
59079         (SIGMSK): Likewise.
59080         (_setjmp): Likewise.  Do not use BP_SYM.
59081         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
59082         "bp-asm.h".
59083         (PARMS): Do not use macros from bp-asm.h.
59084         (SIGMSK): Likewise.
59085         (setjmp): Likewise.  Do not use BP_SYM.
59086         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
59087         "bp-asm.h".
59088         (PARMS): Do not use macros from bp-asm.h.
59089         (__frexp): Do not use BP_SYM.
59090         (frexp): Likewise.
59091         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
59092         "bp-asm.h".
59093         (PARMS): Do not use macros from bp-asm.h.
59094         (__frexpf): Do not use BP_SYM.
59095         (frexpf): Likewise.
59096         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
59097         "bp-asm.h".
59098         (PARMS): Do not use macros from bp-asm.h.
59099         (__frexpl): Do not use BP_SYM.
59100         (frexpl): Likewise.
59101         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
59102         "bp-asm.h".
59103         (PARMS): Do not use macros from bp-asm.h.
59104         (__remquo): Do not use BP_SYM.
59105         (remquo): Likewise.
59106         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
59107         "bp-asm.h".
59108         (PARMS): Do not use macros from bp-asm.h.
59109         (__remquof): Do not use BP_SYM.
59110         (remquof): Likewise.
59111         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
59112         "bp-asm.h".
59113         (PARMS): Do not use macros from bp-asm.h.
59114         (__remquol): Do not use BP_SYM.
59115         (remquol): Likewise.
59116         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
59117         "bp-asm.h".
59118         (PARMS): Do not use macros from bp-asm.h.
59119         (DEST): Likewise.
59120         (SRC): Likewise.
59121         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
59122         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
59123         "bp-asm.h".
59124         (PARMS): Do not use macros from bp-asm.h.
59125         (strlen): Do not use BP_SYM.
59126         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
59127         "bp-asm.h".
59128         (PARMS): Do not use macros from bp-asm.h.
59129         (S1): Likewise.
59130         (S2): Likewise.
59131         (SIZE): Likewise.
59132         (__mpn_add_n): Do not use BP_SYM.
59133         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
59134         "bp-asm.h".
59135         (PARMS): Do not use macros from bp-asm.h.
59136         (S1): Likewise.
59137         (SIZE): Likewise.
59138         (__mpn_addmul_1): Do not use BP_SYM.
59139         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
59140         weak_alias.
59141         (bzero): Likewise.
59142         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
59143         "bp-asm.h".
59144         (PARMS): Do not use macros from bp-asm.h.
59145         (S): Likewise.
59146         (SIZE): Likewise.
59147         (__mpn_lshift): Do not use BP_SYM.
59148         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
59149         "bp-asm.h".
59150         (PARMS): Do not use macros from bp-asm.h.
59151         (DEST): Likewise.
59152         (SRC): Likewise.
59153         (LEN): Likewise.
59154         (memcpy): Likewise.  Do not use BP_SYM.
59155         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
59156         libc_hidden_def and weak_alias.
59157         (mempcpy): Do not use BP_SYM in weak_alias.
59158         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
59159         "bp-asm.h".
59160         (PARMS): Do not use macros from bp-asm.h.
59161         (DEST): Likewise.
59162         (LEN): Likewise.
59163         [!BZERO_P] (CHR): Likewise.
59164         (memset): Likewise.  Do not use BP_SYM.
59165         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
59166         "bp-asm.h".
59167         (PARMS): Do not use macros from bp-asm.h.
59168         (S1): Likewise.
59169         (SIZE): Likewise.
59170         (__mpn_mul_1): Do not use BP_SYM.
59171         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
59172         "bp-asm.h".
59173         (PARMS): Do not use macros from bp-asm.h.
59174         (S): Likewise.
59175         (SIZE): Likewise.
59176         (__mpn_rshift): Do not use BP_SYM.
59177         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
59178         "bp-asm.h".
59179         (PARMS): Do not use macros from bp-asm.h.
59180         (STR): Likewise.
59181         (CHR): Likewise.
59182         (strchr): Likewise.  Do not use BP_SYM.
59183         (index): Do not use BP_SYM in weak_alias.
59184         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
59185         "bp-asm.h".
59186         (PARMS): Do not use macros from bp-asm.h.
59187         (DEST): Likewise.
59188         (SRC): Likewise.
59189         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
59190         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
59191         "bp-asm.h".
59192         (PARMS): Do not use macros from bp-asm.h.
59193         (strlen): Do not use BP_SYM.
59194         * sysdeps/i386/i586/sub_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_sub_n): Do not use BP_SYM.
59201         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
59202         "bp-asm.h".
59203         (PARMS): Do not use macros from bp-asm.h.
59204         (S1): Likewise.
59205         (SIZE): Likewise.
59206         (__mpn_submul_1): Do not use BP_SYM.
59207         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
59208         "bp-asm.h".
59209         (PARMS): Do not use macros from bp-asm.h.
59210         (S1): Likewise.
59211         (S2): Likewise.
59212         (SIZE): Likewise.
59213         (__mpn_add_n): Do not use BP_SYM.
59214         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
59215         weak_alias.
59216         (bzero): Likewise.
59217         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
59218         "bp-asm.h".
59219         (PARMS): Do not use macros from bp-asm.h.
59220         (BLK2): Likewise.
59221         (LEN): Likewise.
59222         (memcmp): Do not use BP_SYM.
59223         (bcmp): Do not use BP_SYM in weak_alias.
59224         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
59225         "bp-asm.h".
59226         (PARMS): Do not use macros from bp-asm.h.
59227         (DEST): Likewise.
59228         (SRC): Likewise.
59229         (LEN): Likewise.
59230         (memcpy): Likewise.  Do not use BP_SYM.
59231         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
59232         "bp-asm.h".
59233         (PARMS): Do not use macros from bp-asm.h.
59234         (DEST): Likewise.
59235         (SRC): Likewise.
59236         (LEN): Likewise.
59237         (memmove): Likewise.  Do not use BP_SYM.
59238         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
59239         "bp-asm.h".
59240         (PARMS): Do not use macros from bp-asm.h.
59241         (DEST): Likewise.
59242         (SRC): Likewise.
59243         (LEN): Likewise.
59244         (__mempcpy): Likewise.  Do not use BP_SYM.
59245         (mempcpy): Do not use BP_SYM in weak_alias.
59246         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
59247         "bp-asm.h".
59248         (PARMS): Do not use macros from bp-asm.h.
59249         (DEST): Likewise.
59250         (LEN): Likewise.
59251         [!BZERO_P] (CHR): Likewise.
59252         (memset): Likewise.  Do not use BP_SYM.
59253         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
59254         "bp-asm.h".
59255         (PARMS): Do not use macros from bp-asm.h.
59256         (STR2): Likewise.
59257         (strcmp): Do not use BP_SYM.
59258         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
59259         "bp-asm.h".
59260         (PARMS): Do not use macros from bp-asm.h.
59261         (STR): Likewise.
59262         (DELIM): Likewise.
59263         [USE_AS_STRTOK_R] (SAVE): Likewise.
59264         (FUNCTION): Likewise.  Do not use BP_SYM.
59265         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
59266         aliases.
59267         (strtok_r): Likewise.
59268         (__GI___strtok_r): Likewise.
59269         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
59270         (PARMS): Do not use macros from bp-asm.h.
59271         (S): Likewise.
59272         (SIZE): Likewise.
59273         (__mpn_lshift): Do not use BP_SYM.
59274         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
59275         (PARMS): Do not use macros from bp-asm.h.
59276         (STR): Likewise.
59277         (CHR): Likewise.
59278         (__memchr): Do not use BP_SYM.
59279         (memchr): Do not use BP_SYM in weak_alias.
59280         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
59281         (PARMS): Do not use macros from bp-asm.h.
59282         (BLK2): Likewise.
59283         (LEN): Likewise.
59284         (memcmp): Do not use BP_SYM.
59285         (bcmp): Do not use BP_SYM in weak_alias.
59286         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
59287         (PARMS): Do not use macros from bp-asm.h.
59288         (S1): Likewise.
59289         (SIZE): Likewise.
59290         (__mpn_mul_1): Do not use BP_SYM.
59291         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
59292         "bp-asm.h".
59293         (PARMS): Do not use macros from bp-asm.h.
59294         (STR): Likewise.
59295         (CHR): Likewise.
59296         (__rawmemchr): Do not use BP_SYM.
59297         (rawmemchr): Do not use BP_SYM in weak_alias.
59298         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
59299         (PARMS): Do not use macros from bp-asm.h.
59300         (S): Likewise.
59301         (SIZE): Likewise.
59302         (__mpn_rshift): Do not use BP_SYM.
59303         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
59304         (PARMS): Do not use macros from bp-asm.h.
59305         (SIGMSK): Likewise.
59306         (__sigsetjmp): Likewise.  Do not use BP_SYM.
59307         * sysdeps/i386/start.S: Do not include "bp-sym.h".
59308         (_start): Do not use BP_SYM.
59309         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
59310         (PARMS): Do not use macros from bp-asm.h.
59311         (DEST): Likewise.
59312         (SRC): Likewise.
59313         (__stpcpy): Likewise.  Do not use BP_SYM.
59314         (stpcpy): Do not use BP_SYM in weak_alias.
59315         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
59316         "bp-asm.h".
59317         (PARMS): Do not use macros from bp-asm.h.
59318         (DEST): Likewise.
59319         (SRC): Likewise.
59320         (LEN): Likewise.
59321         (__stpncpy): Likewise.  Do not use BP_SYM.
59322         (stpncpy): Do not use BP_SYM in weak_alias.
59323         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
59324         (PARMS): Do not use macros from bp-asm.h.
59325         (STR): Likewise.
59326         (CHR): Likewise.
59327         (strchr): Likewise.  Do not use BP_SYM.
59328         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
59329         "bp-asm.h".
59330         (PARMS): Do not use macros from bp-asm.h.
59331         (STR): Likewise.
59332         (CHR): Likewise.
59333         (__strchrnul): Likewise.  Do not use BP_SYM.
59334         (strchrnul): Do not use BP_SYM in weak_alias.
59335         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
59336         "bp-asm.h".
59337         (PARMS): Do not use macros from bp-asm.h.
59338         (STOP): Likewise.
59339         (strcspn): Do not use BP_SYM.
59340         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
59341         "bp-asm.h".
59342         (PARMS): Do not use macros from bp-asm.h.
59343         (STR): Likewise.
59344         (STOP): Likewise.
59345         (strpbrk): Likewise.  Do not use BP_SYM.
59346         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
59347         "bp-asm.h".
59348         (PARMS): Do not use macros from bp-asm.h.
59349         (STR): Likewise.
59350         (CHR): Likewise.
59351         (strrchr): Likewise.  Do not use BP_SYM.
59352         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
59353         (PARMS): Do not use macros from bp-asm.h.
59354         (SKIP): Likewise.
59355         (strspn): Do not use BP_SYM.
59356         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
59357         (PARMS): Do not use macros from bp-asm.h.
59358         (STR): Likewise.
59359         (DELIM): Likewise.
59360         (SAVE): Likewise.
59361         (FUNCTION): Likewise.  Do not use BP_SYM.
59362         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
59363         aliases.
59364         (strtok_r): Likewise.
59365         (__GI___strtok_r): Likewise.
59366         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59367         (PARMS): Do not use macros from bp-asm.h.
59368         (S1): Likewise.
59369         (S2): Likewise.
59370         (SIZE): Likewise.
59371         (__mpn_sub_n): Do not use BP_SYM.
59372         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
59373         "bp-asm.h".
59374         (PARMS): Do not use macros from bp-asm.h.
59375         (S1): Likewise.
59376         (SIZE): Likewise.
59377         (__mpn_submul_1): Do not use BP_SYM.
59378         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
59379         <bp-sym.h>.
59380         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
59381         and <bp-asm.h>.
59382         (PARMS): Do not use macros from bp-asm.h.
59383         (FLAGS): Likewise.
59384         (PTID): Likewise.
59385         (TLS): Likewise.
59386         (CTID): Likewise.
59387         (__clone): Do not use BP_SYM.
59388         (clone): Do not use BP_SYM in weak_alias.
59389         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
59390         and <bp-asm.h>.
59391         (PARMS): Do not use macros from bp-asm.h.
59392         (LEN): Likewise.
59393         (__mmap64): Do not use BP_SYM.
59394         (mmap64): Do not use BP_SYM in weak_alias.
59395         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
59396         <bp-sym.h> and <bp-asm.h>.
59397         (PARMS): Do not use macros from bp-asm.h.
59398         (__posix_fadvise64_l64): Do not use BP_SYM.
59399         * sysdeps/unix/sysv/linux/i386/semtimedop.S
59400         (PARMS): Do not use macros from bp-asm.h.
59401         (NSOPS): Likewise.
59402         (semtimedop): Do not use BP_SYM.
59403         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
59404         and <bp-asm.h>.
59406 2013-02-21  Allan McRae  <allan@archlinux.org>
59408         * manual/message.texi (Charset conversion in gettext):
59409         Move @end statement to beginning of line.
59411 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59413         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
59414         static.
59415         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
59416         Likewise.
59418         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
59419         (denorm): Likewise.
59420         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
59421         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
59423 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59425         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
59426         tail-call to the resolved function if pltexit isn't needed.
59428 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59430         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
59431         or Y being zero as being unlikely.
59432         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
59433         Likewise.
59435 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
59437         * manual/nss.texi (System Databases and Name Service Switch):
59438         Remove frobnicate @pxref.
59440 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
59442         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
59443         __attribute__ ((unused)) to __attribute__ ((__unused__)).
59445 2013-02-20  Petr Machata  <pmachata@redhat.com>
59447         * elf/elf.h (R_ARM_TARGET1): New macro.
59448         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
59449         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
59450         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
59451         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
59452         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
59453         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
59454         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
59455         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
59456         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
59457         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
59458         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
59459         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
59460         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
59461         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
59462         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
59463         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
59464         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
59465         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
59466         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
59467         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
59468         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
59469         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
59470         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
59471         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
59472         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
59473         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
59474         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
59475         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
59476         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
59477         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
59478         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
59479         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
59480         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
59481         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
59482         (R_ARM_THM_GOT_BREL12): Likewise.
59483         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
59484         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
59485         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
59486         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
59487         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
59488         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
59489         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
59490         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
59491         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
59493 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
59495         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
59496         __attribute_used__ to __attribute__ ((unused)).
59498 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59500         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
59501         powerpc mpa.c.
59502         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
59503         comment formatting.
59504         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
59506 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
59508         [BZ #13550]
59509         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
59510         Remove macro.
59511         (ENTER): Remove both macro definitions.
59512         (LEAVE): Likewise.
59513         (CHECK_BOUNDS_LOW): Likewise.
59514         (CHECK_BOUNDS_HIGH): Likewise.
59515         (CHECK_BOUNDS_BOTH): Likewise.
59516         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
59517         (RETURN_BOUNDED_POINTER): Likewise.
59518         (RETURN_NULL_BOUNDED_POINTER): Likewise.
59519         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
59520         (POP_ERRNO_LOCATION_RETURN): Likewise.
59521         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
59522         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59523         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
59524         macros.
59525         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59526         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
59527         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
59528         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
59529         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
59530         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
59531         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
59532         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
59533         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
59534         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
59535         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
59536         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
59537         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59538         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
59539         removed macros.
59540         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59541         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
59542         macros.
59543         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59544         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
59545         * sysdeps/i386/i586/memset.S (memset): Likewise.
59546         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
59547         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59548         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
59549         macros.
59550         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59551         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
59552         Change uses of L(2) to L(out).
59553         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
59554         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
59555         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
59556         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59557         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
59558         removed macros.
59559         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59560         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
59561         macros.
59562         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59563         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
59564         (RETURN): Do not use macro LEAVE.
59565         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
59566         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
59567         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
59568         * sysdeps/i386/i686/memset.S (memset): Likewise.
59569         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
59570         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
59571         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59572         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
59573         Likewise.
59574         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59575         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
59576         L(1_2) and L(1_3) into L(1).
59577         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
59578         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
59579         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59580         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
59581         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59582         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
59583         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
59584         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59585         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
59586         macros.
59587         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
59588         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59589         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
59590         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
59591         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
59592         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59593         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
59594         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
59595         * sysdeps/i386/strcspn.S (strcspn): Likewise.
59596         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
59597         * sysdeps/i386/strrchr.S (strrchr): Likewise.
59598         * sysdeps/i386/strspn.S (strspn): Likewise.
59599         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
59600         conditional code.
59601         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59602         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
59603         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
59604         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
59605         L(1_3) into L(1_1).
59606         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
59607         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59608         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
59609         macros.
59610         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59612 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
59614         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
59615         macro.
59617 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
59619         * math/atest-exp.c (exp_mpn): Remove ROUND.
59620         * math/atest-exp2.c (exp_mpn): Likewise.
59621         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
59623         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
59624         * stdlib/tst-tls-atexit-lib.c: Likewise.
59625         * stdlib/tst-tls-atexit.c: Likewise.
59627 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
59629         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
59630         and __attribute_alloc_size__.
59632 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
59634         * include/programs/xmalloc.h: Change __attribute_alloc_size to
59635         __attribute_alloc_size__.
59636         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
59637         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
59639 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
59641         * include/programs/xmalloc.h: New file.
59642         * catgets/gencat.c: Include it.
59643         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
59644         * elf/pldd.c: Likewise.
59645         * iconv/iconv_charmap.c: Likewise.
59646         * iconv/iconvconfig.c: Likewise.
59647         * iconv/strtab.c: Likewise.
59648         * locale/programs/locale.c: Likewise.
59649         * locale/programs/localedef.h: Likewise.
59650         * locale/programs/simple-hash.c: Likewise.
59651         * nscd/nscd.h: Likewise.
59652         * nss/makedb.c: Likewise.
59653         * sysdeps/generic/ldconfig.h: Likewise.
59655 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59657         * Versions.def: Add GLIBC_2.18.
59658         * include/link.h (struct link_map): New member l_tls_dtor_count.
59659         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
59660         (__call_tls_dtors): Likewise.
59661         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
59662         __cxa_thread_atexit_impl.
59663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59664         Likewise.
59665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59666         Likewise.
59667         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
59668         Likewise.
59669         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
59670         Likewise.
59671         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59672         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
59673         Likewise.
59674         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
59675         Likewise.
59676         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59677         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
59678         Likewise.
59679         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
59680         (tests): Add test case tst-tls-atexit.
59681         (modules-names): Add shared library for tst-tls-atexit.
59682         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
59683         (GLIBC_PRIVATE): Add __call_tls_dtors.
59684         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
59685         for libstdc++.
59686         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
59687         * stdlib/tst-tls-atexit.c: New test case.
59688         * stdlib/tst-tls-atexit-lib.c: New test case.
59690         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
59692         * elf/Versions (ld): Add _dl_find_dso_for_object.
59693         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
59694         * elf/dl-open.c (_dl_find_dso_for_object): New function.
59695         (dl_open_worker): Use _dl_find_dso_for_object.
59696         * elf/dl-sym.c (do_sym): Likewise.
59697         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
59699 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59701         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
59702         Syntactic changes only.
59703         (_dl_runtime_profile): Do a tail-call to the resolved function.
59705 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
59707         [BZ #13550]
59708         * sysdeps/x86_64/bp-asm.h: Remove file.
59709         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
59710         <bp-sym.h> and <bp-asm.h>.
59711         (__clone): Do not use BP_SYM.
59712         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
59713         <bp-sym.h> and <bp-asm.h>.
59714         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59715         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
59716         "bp-asm.h".
59717         (_setjmp): Do not use BP_SYM.
59718         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
59719         "bp-asm.h".
59720         (setjmp): Do not use BP_SYM.
59721         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
59722         libc_hidden_def.
59723         (mempcpy): Do not use BP_SYM in weak_alias.
59724         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
59725         "bp-asm.h".
59726         (strchr): Do not use BP_SYM.
59727         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
59728         "bp-asm.h".
59729         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
59730         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
59731         (_start): Do not use BP_SYM.
59732         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
59733         "bp-asm.h".
59734         (strcat): Do not use BP_SYM.
59735         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
59736         "bp-asm.h".
59737         (STRCMP): Do not use BP_SYM.
59738         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
59739         "bp-asm.h".
59740         (STRCPY): Do not use BP_SYM.
59741         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
59742         "bp-asm.h".
59743         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
59744         "bp-asm.h".
59745         (FUNCTION): Do not use BP_SYM.
59746         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
59747         weak_alias.
59748         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
59750 2013-02-17  Andreas Jaeger  <aj@suse.de>
59752         * time/Versions: Sort entries.
59753         * string/Versions: Likewise.
59754         * resolv/Versions: Likewise.
59755         * posix/Versions: Likewise.
59756         * iconv/Versions: Likewise.
59757         * elf/Versions: Likewise.
59758         * wcsmbs/Versions: Likewise.
59760 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
59762         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
59763         loop termination condition.
59765         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
59766         variable to calculate EZ.
59767         (__sqr): Likewise.
59769         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
59770         the lower precision input.
59772 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
59774         [BZ #13550]
59775         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
59776         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
59777         (run-via-rtld-prefix): Do not handle %-bp tests.
59778         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
59779         (all-object-suffixes): Remove .ob.
59780         (bppfx): Remove variable.
59781         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
59782         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
59783         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
59784         [$(build-bounded) = yes] (libtype.ob): Likewise.
59785         * Makerules (elide-routines.ob): Remove variable.
59786         (do-tests-clean): Do not handle *-bp.out.
59787         (common-mostlyclean): Do not handle *-bp and *-bp.out.
59788         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
59789         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
59790         (tests): Do not include $(tests-bp.out).
59791         (xtests): Do not include $(xtests-bp.out).
59792         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
59793         [$(build-bounded) = yes] ($(addprefix
59794         $(objpfx),$(binaries-bounded))): Remove rule.
59795         ($(objpfx)%-bp.out): Remove rule.
59796         * config.make.in (build-bounded): Remove variable.
59797         * crypt/Makefile [$(build-bounded) = yes]
59798         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
59799         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
59800         append to variable.
59801         [$(build-bounded) = yes] (install-lib): Likewise.
59802         [$(build-bounded) = yes] (generated): Likewise.
59803         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
59804         Remove rule.
59805         * intl/Makefile [$(build-bounded) = yes]
59806         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
59807         * math/Makefile [$(build-bounded) = yes]
59808         ($(tests:%=$(objpfx)%-bp): Likewise.
59809         * misc/Makefile [$(build-bounded) = yes]
59810         ($(objpfx)tst-tsearch-bp): Likewise.
59811         * nptl/Makeconfig (bounded-thread-library): Remove variable.
59812         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
59813         Remove dependency.
59814         * string/Makefile (o-objects.ob): Remove variable.
59815         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
59816         (CFLAGS-.ob): Remove variable.
59817         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
59818         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
59819         both definitions of variable.
59820         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
59821         (ASFLAGS-.ob): Remove variable.
59823 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
59825         [BZ #13550]
59826         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
59827         Remove __BOUNDED_POINTERS__ from condition.
59828         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
59829         * string/bits/string2.h [!__NO_STRING_INLINES &&
59830         !__BOUNDED_POINTERS__]: Likewise.
59831         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
59832         Likewise.
59833         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
59834         Remove conditional code.
59835         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
59836         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
59837         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
59838         condition.
59840         [BZ #13550]
59841         * csu/libc-start.c: Do not include <bp-sym.h>.
59842         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
59843         * elf/dl-open.c: Do not include <bp-sym.h>.
59844         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
59845         * math/fegetenv.c: Do not include <bp-sym.h>.
59846         (fegetenv): Do not use BP_SYM in versioned symbols.
59847         * nptl/sysdeps/pthread/bits/libc-lockP.h
59848         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
59849         <bp-sym.h>.
59850         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59851         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
59852         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59853         (__pthread_mutex_destroy): Likewise.
59854         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59855         (__pthread_mutex_lock): Likewise.
59856         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59857         (__pthread_mutex_trylock): Likewise.
59858         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59859         (__pthread_mutex_unlock): Likewise.
59860         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59861         (__pthread_mutexattr_init): Likewise.
59862         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59863         (__pthread_mutexattr_destroy): Likewise.
59864         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59865         (__pthread_mutexattr_settype): Likewise.
59866         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59867         (__pthread_rwlock_init): Likewise.
59868         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59869         (__pthread_rwlock_destroy): Likewise.
59870         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59871         (__pthread_rwlock_rdlock): Likewise.
59872         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59873         (__pthread_rwlock_tryrdlock): Likewise.
59874         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59875         (__pthread_rwlock_wrlock): Likewise.
59876         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59877         (__pthread_rwlock_trywrlock): Likewise.
59878         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59879         (__pthread_rwlock_unlock): Likewise.
59880         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59881         (__pthread_key_create): Likewise.
59882         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59883         (__pthread_setspecific): Likewise.
59884         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59885         (__pthread_getspecific): Likewise.
59886         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
59887         Likewise.
59888         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59889         (_pthread_cleanup_push_defer): Likewise.
59890         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59891         (_pthread_cleanup_pop_restore): Likewise.
59892         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59893         (pthread_setcancelstate): Likewise.
59894         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
59895         <bp-sym.h>.
59896         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
59897         (memchr): Do not use BP_SYM in weak_alias.
59898         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
59899         (fegetenv): Do not use BP_SYM in versioned symbols.
59900         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
59901         (fesetenv): Do not use BP_SYM in versioned symbols.
59902         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
59903         (feupdateenv): Do not use BP_SYM in versioned symbols.
59904         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
59905         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
59906         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
59907         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
59908         (open64): Do not use BP_SYM in weak_alias.
59909         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
59910         (fegetenv): Do not use BP_SYM in versioned symbols.
59911         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
59912         (fesetenv): Do not use BP_SYM in versioned symbols.
59913         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
59914         (feupdateenv): Do not use BP_SYM in versioned symbols.
59915         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
59916         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
59917         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
59918         (feraiseexcept): Do not use BP_SYM in versioned symbols.
59919         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
59920         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
59921         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
59922         <bp-sym.h>.
59923         (__libc_start_main): Do not use BP_SYM.
59925 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
59927         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
59928         redundant return line.
59929         (norm): Likewise.
59930         (denorm): Likewise.
59931         (dbl_mp): Likewise.
59932         (sub_magnitudes): Likewise.
59933         (__add): Likewise.
59934         (__sub): Likewise.
59935         (__mul): Likewise.
59936         (__inv): Likewise.
59937         (__dvd): Likewise.
59938         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
59939         (norm): Likewise.
59940         (denorm): Likewise.
59941         (dbl_mp): Likewise.
59942         (sub_magnitudes): Likewise.
59943         (__add): Likewise.
59944         (__sub): Likewise.
59945         (__mul): Likewise.
59946         (__inv): Likewise.
59947         (__dvd): Likewise.
59949         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
59950         instead of __mul.
59951         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
59952         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
59953         (cc32): Likewise.
59955         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
59956         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
59957         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
59958         of __mul for squares.
59959         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
59960         function
59961         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
59962         Likewise.
59963         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
59964         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59966 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
59968         [BZ #13550]
59969         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
59970         code.
59971         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
59972         prototype or function definition.  Rename ubp_* variables and
59973         parameters.  Remove argv definitions conditional on
59974         [__BOUNDED_POINTERS__].
59975         * debug/backtrace.c (__backtrace): Do not use __unbounded.
59976         * elf/dl-runtime.c (_dl_fixup): Likewise.
59977         * include/set-hooks.h (RUN_HOOK): Likewise.
59978         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
59979         definition.
59980         * string/strcpy.c (strcpy): Do not use __unbounded.
59981         * sysdeps/generic/frame.h (struct layout): Likewise.
59982         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
59983         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
59984         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
59985         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
59986         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
59987         (__backtrace): Likewise.
59988         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
59989         use __ptrvalue.
59990         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
59991         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
59992         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
59993         Likewise.
59994         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
59995         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
59996         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
59997         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
59998         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
59999         Do not use __unbounded.
60000         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
60001         Rename __unboundedrlimits parameter to rlimits in prototype.
60002         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
60003         Do not use __unbounded.
60004         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
60005         not use __ptrvalue.
60006         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
60007         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
60008         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
60009         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
60010         __ptrvalue or __unbounded.
60011         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
60012         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
60013         use __unbounded.
60014         (__new_msgctl): Do not use __ptrvalue.
60015         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
60016         __unbounded.
60017         (__libc_msgrcv): Do not use __ptrvalue.
60018         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
60019         startup_info): Do not use __unbounded.
60020         (__libc_start_main): Likewise.  Rename ubp_* variables and
60021         parameters.  Remove argv definitions conditional on
60022         [__BOUNDED_POINTERS__].
60023         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
60024         __ptrvalue.
60025         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
60026         use __unbounded.
60027         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
60028         or __ptrvalue.
60029         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
60030         use __unbounded.
60031         (__new_shmctl): Do not use __ptrvalue.
60032         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
60033         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
60034         Likewise.
60035         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
60036         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
60037         (__libc_sigaction): Likewise.
60038         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
60039         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
60040         Likewise.
60041         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
60043 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
60045         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
60047         * string/mempcpy.c: Implement by calling memcpy.
60049 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60051         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
60053         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
60054         evaluation.
60056         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
60057         values in the mantissa.
60059         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
60060         minimize writes to Z.
60061         (sub_magnitudes): Simplify code a bit.
60063 2013-02-12  Roland McGrath  <roland@hack.frob.com>
60065         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
60066         from the message.  The linker prefixes all warnings with that already.
60068 2013-02-12  Andreas Schwab  <schwab@suse.de>
60070         [BZ #15078]
60071         * posix/regexec.c (extend_buffers): Add parameter min_len.
60072         (check_matching): Pass minimum needed length.
60073         (clean_state_log_if_needed): Likewise.
60074         (get_subexp): Likewise.
60075         * posix/Makefile (tests): Add bug-regex34.
60076         (bug-regex34-ENV): Define.
60077         * posix/bug-regex34.c: New file.
60079         [BZ #11561]
60080         * posix/regcomp.c (parse_bracket_exp): When looking up collating
60081         elements compare against the byte sequence of it, not its name.
60082         * posix/Makefile (tests): Add bug-regex35.
60083         (bug-regex35-ENV): Define.
60084         * posix/bug-regex35.c: New file.
60086 2013-02-11  Tom de Vries  <tom@codesourcery.com>
60088         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
60089         comment.
60090         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
60091         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
60092         (CHECK_EOL): Add undef.
60094 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
60096         * bits/stdlib-bsearch.h: New file.
60097         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
60098         * stdlib/stdlib.h: Likewise.
60100 2013-02-11  Roland McGrath  <roland@hack.frob.com>
60102         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
60103         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
60104         declaration.
60105         * manual/search.texi (Array Search Function): Add missing const in
60106         lfind prototype.
60107         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
60108         declaration to use rlim_t.
60109         (Basic Scheduling Functions): Remove erroneous const from
60110         sched_getparam prototype.  Remove erroneous * from
60111         sched_get_priority_max and sched_get_priority_min prototypes.
60112         (Resource Usage): Fix summary @comment on vtimes to refer to
60113         sys/vtimes.h rather than vtimes.h.
60114         Add missing *s in vtimes prototype.
60115         (Limits on Resources): Fix ulimit prototype to return long int.
60116         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
60117         prototypes to use long int rather than double.
60118         (BSD Random): Fix initstate and setstate to use char *, not void *.
60119         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
60120         prototype to make second argument 'struct aiocb64 *const[]'.
60121         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
60122         (Status of AIO Operations): Remove erroneous const in aio_return and
60123         aio_return64 prototypes.
60124         (Synchronizing I/O): Fix sync prototype to return void.
60125         * manual/startup.texi (Suboptions): Remove an erroneous const in
60126         getsubopt prototype.
60127         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
60128         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
60129         use size_t rather than int.
60130         (Scanning All Users): Likewise for getpwent_r.
60131         (Setting Groups): Add missing const to setgroups prototype.
60132         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
60133         * manual/socket.texi (Host Names): Fix gethostbyaddr and
60134         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
60135         'const void *' rather than 'const char *'.
60136         (Host Address Functions): Likewise for inet_ntop.
60137         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
60138         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
60139         ssize_t for return value.
60140         (Sending Data): Likewise for send, sendto, sendmsg.
60141         (Socket Option Functions): Add a missing const in setsockopt prototype.
60142         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
60143         use wchar_t for the argument.
60144         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
60145         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
60146         take no arguments.
60147         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
60148         double/float/long double for second argument.
60149         Fix return types of significand, significandf, significandl.
60150         * manual/filesys.texi (Setting Permissions): Use mode_t for second
60151         argument in fchmod prototype.
60152         (File Owner): Use uid_t and gid_t in fchown prototype.
60153         (File Times): Add const to utimes, futimes, and lutimes prototypes.
60154         (Making Special Files): Use mode_t and dev_t in mknod prototype.
60155         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
60156         use 'const struct dirent **' as argument types to CMP function pointer
60157         argument.
60158         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
60159         (File Times): Fix summary magic @comment for struct utimbuf and utime
60160         to refer to utime.h, not time.h.
60161         * manual/string.texi (Argz Functions): Add missing const in
60162         argz_extract and argz_next prototypes.
60163         (Finding Tokens in a String): Likewise for basename.
60164         (String/Array Comparison): Fix typo in wcscasecmp prototype.
60165         (Copying and Concatenation): Fix typo in wmemmove prototype.
60166         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
60167         (Signal Stack): Remove erroneous const in sigstack prototype.
60168         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
60169         prototype.
60170         (Simple Calendar Time): Likewise for stime.
60171         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
60172         prototype.
60173         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
60174         say sys/sysctl.h instead.
60175         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
60176         and vsyslog prototypes.
60178 2013-02-11  Tom de Vries  <tom@codesourcery.com>
60180         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
60181         Remove.
60183 2013-02-11  Roland McGrath  <roland@hack.frob.com>
60185         * misc/sys/mman.h: Fix typo in mremap comment.
60187 2013-02-08  Roland McGrath  <roland@hack.frob.com>
60189         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
60190         the '\0' terminator.
60192 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
60194         [BZ #13550]
60195         * debug/segfault.c: Don't include <bp-checks.h>.
60196         * sysdeps/generic/bp-checks.h: Remove file.
60197         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
60198         (__GETDENTS): Don't use CHECK_N.
60199         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
60200         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
60201         (__getgroups): Don't use CHECK_N.
60202         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
60203         (setgroups): Don't use CHECK_N.
60204         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
60205         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
60206         (__libc_msgrcv): Don't use CHECK_N.
60207         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
60208         (__libc_msgsnd): Don't use CHECK_N.
60209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
60210         <bp-checks.h>.
60211         (__libc_pread): Don't use CHECK_N.
60212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
60213         include <bp-checks.h>.
60214         (__libc_pread64): Don't use CHECK_N.
60215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
60216         include <bp-checks.h>.
60217         (__libc_pwrite): Don't use CHECK_N.
60218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
60219         include <bp-checks.h>.
60220         (__libc_pwrite64): Don't use CHECK_N.
60221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
60222         <bp-checks.h>.
60223         (__libc_pread): Don't use CHECK_N.
60224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
60225         include <bp-checks.h>.
60226         (__libc_pread64): Don't use CHECK_N.
60227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
60228         include <bp-checks.h>.
60229         (__libc_pwrite): Don't use CHECK_N.
60230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
60231         include <bp-checks.h>.
60232         (__libc_pwrite64): Don't use CHECK_N.
60233         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
60234         (do_pread): Don't use CHECK_N.
60235         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
60236         (do_pread64): Don't use CHECK_N.
60237         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
60238         (do_pwrite): Don't use CHECK_N.
60239         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
60240         (do_pwrite64): Don't use CHECK_N.
60241         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
60242         (__libc_readv): Don't use CHECK_N.
60243         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
60244         (semop): Don't use CHECK_N.
60245         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
60246         <bp-checks.h>.
60247         (semtimedop): Don't use CHECK_N.
60248         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
60249         (__libc_pread): Don't use CHECK_N.
60250         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
60251         <bp-checks.h>.
60252         (__libc_pread64): Don't use CHECK_N.
60253         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
60254         <bp-checks.h>.
60255         (__libc_pwrite): Don't use CHECK_N.
60256         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
60257         <bp-checks.h>.
60258         (__libc_pwrite64): Don't use CHECK_N.
60259         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
60260         <bp-checks.h>.
60261         (__libc_msgrcv): Don't use CHECK_N.
60262         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
60263         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
60264         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
60265         (__libc_writev): Don't use CHECK_N.
60267 2013-02-08  Roland McGrath  <roland@hack.frob.com>
60269         * string/strcpy.c: Removed unused variable.
60271         * Makeconfig (+sysdep-includes): Define with := rather than =.
60272         Use an existing include/ subdir of each sysdeps dir before it.
60274 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
60276         * nscd/connection.c (register_traced_file): Comment function.
60277         [HAVE_INOTIFY] (union __inev): Define.
60278         [HAVE_INOTIFY] (inotify_check_files): New function.
60279         [HAVE_INOTIFY] (clear_db_cache): Likewise.
60280         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
60281         clear_db_cache.
60282         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
60284 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
60286         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
60287         loaded if not already and that a failure is permanent.
60289 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
60291         [BZ #15006]
60292         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
60293         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
60295 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
60297         [BZ #13550]
60298         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
60299         (CHECK_1_NULL_OK): Likewise.
60300         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
60301         (__fxstat): Do not use CHECK_1.
60302         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
60303         <bp-checks.h>.
60304         (___fxstat64): Do not use CHECK_1.
60305         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
60306         <bp-checks.h>.
60307         (__fxstatat): Do not use CHECK_1.
60308         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
60309         <bp-checks.h>.
60310         (__fxstatat64): Do not use CHECK_1.
60311         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
60312         <bp-checks.h>.
60313         (__fxstat): Do not use CHECK_1.
60314         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
60315         <bp-checks.h>.
60316         (__fxstatat): Do not use CHECK_1.
60317         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
60318         <bp-checks.h>.
60319         (__getresgid): Do not use CHECK_1.
60320         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
60321         <bp-checks.h>.
60322         (__getresuid): Do not use CHECK_1.
60323         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
60324         <bp-checks.h>.
60325         (__lxstat): Do not use CHECK_1.
60326         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
60327         <bp-checks.h>.
60328         (__old_msgctl): Do not use CHECK_1.
60329         (__new_msgctl): Likewise.
60330         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
60331         <bp-checks.h>.
60332         (__new_setrlimit): Do not use CHECK_1.
60333         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
60334         <bp-checks.h>.
60335         (__old_shmctl): Do not use CHECK_1.
60336         (__new_shmctl): Likewise.
60337         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
60338         <bp-checks.h>.
60339         (__xstat): Do not use CHECK_1.
60340         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
60341         (__lxstat): Do not use CHECK_1.
60342         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
60343         <bp-checks.h>.
60344         (___lxstat64): Do not use CHECK_1.
60345         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
60346         (__old_msgctl): Do not use CHECK_1.
60347         (__new_msgctl): Likewise.
60348         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
60349         <bp-checks.h>.
60350         (__gettimeofday): Do not use CHECK_1.
60351         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
60352         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
60353         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
60354         <bp-checks.h>.
60355         (__gettimeofday): Do not use CHECK_1.
60356         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
60357         (__old_shmctl): Do not use CHECK_1_NULL_OK.
60358         (__new_shmctl): Do not use CHECK_1.
60359         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
60360         <bp-checks.h>.
60361         (do_sigtimedwait): Do not use CHECK_1.
60362         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
60363         <bp-checks.h>.
60364         (do_sigwaitinfo): Do not use CHECK_1.
60365         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
60366         <bp-checks.h>.
60367         (msgctl): Do not use CHECK_1.
60368         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
60369         <bp-checks.h>.
60370         (shmctl): Do not use CHECK_1.
60371         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
60372         (ustat): Do not use CHECK_1.
60373         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
60374         <bp-checks.h>.
60375         (__fxstat): Do not use CHECK_1.
60376         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
60377         <bp-checks.h>.
60378         (__fxstatat): Do not use CHECK_1.
60379         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
60380         <bp-checks.h>.
60381         (__lxstat): Do not use CHECK_1.
60382         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
60383         <bp-checks.h>.
60384         (__xstat): Do not use CHECK_1.
60385         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
60386         (__xstat): Do not use CHECK_1.
60387         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
60388         (___xstat64): Do not use CHECK_1.
60390         [BZ #13550]
60391         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
60392         definitions.
60393         (CHECK_BOUNDS_HIGH): Likewise.
60394         * string/strcpy.c: Do not include <bp-checks.h>.
60395         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
60397 2013-02-07  Roland McGrath  <roland@hack.frob.com>
60399         * nscd/nscd-client.h (__nscd_drop_map_ref):
60400         Add __attribute__ ((unused)).
60401         * nis/nss-nisplus.h (niserr2nss): Likewise.
60403         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
60404         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
60406         * csu/libc-tls.c (init_static_tls, init_slotinfo):
60407         Remove inline keyword.
60408         * include/rounding-mode.h (round_away): Likewise.
60409         * libio/wfileops.c (adjust_wide_data): Likewise.
60410         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
60411         (__m128i_strloadu_tolower): Likewise.
60412         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
60413         (__m128i_strloadu_tolower): Likewise.
60414         * time/mktime.c (ydhms_diff): Likewise.
60415         * locale/elem-hash.h (elem_hash): Likewise.
60416         * locale/setlocale.c (setdata): Likewise.
60417         * posix/regex_internal.h (re_string_char_size_at): Likewise.
60418         (re_string_wchar_at): Likewise.
60419         (bitset_not, bitset_merge, bitset_mask): Likewise.
60420         [!(__GNUC__ > 3)] (inline): Remove macro.
60421         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
60422         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
60423         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
60424         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
60425         * string/memcmp.c (memcmp_bytes): Likewise.
60426         * locale/programs/locarchive.c (compute_hashval): Likewise.
60427         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
60428         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
60429         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
60430         * nss/getent.c (print_rpc, print_protocols): Likewise.
60431         (print_passwd, print_group, print_aliases): Likewise.
60432         * nis/nss-nisplus.h (niserr2nss): Likewise.
60433         * nscd/connections.c (restart_p): Likewise.
60434         Change return type to bool.
60436 2013-02-05  Roland McGrath  <roland@hack.frob.com>
60438         * Makeconfig (all-Depend-files): Add existing
60439         $(sorted-subdirs:=/Depend) files.
60440         (all-subdirs): Remove nss.
60441         * sysdeps/unix/inet/Subdirs: Add it here instead.
60442         * hesiod/Depend: New file.
60444         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
60445         instead of calling alloca.
60447         * io/lseek.c (__lseek): Rename to __libc_lseek.
60448         Define __lseek as an alias.
60450         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
60452 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
60454         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
60455         else clause and remove check for non-standard endianness.
60457 2013-02-04  David S. Miller  <davem@davemloft.net>
60459         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60461 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
60463         [BZ #13550]
60464         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
60465         (__ubp_memchr): Remove prototype.
60466         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
60467         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
60468         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
60469         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
60470         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
60471         Remove alias.
60472         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
60473         (__ubp_memchr): Likewise.
60474         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
60475         (__ubp_memchr): Likewise.
60476         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
60477         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
60478         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
60479         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
60480         CHECK_STRING.
60481         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
60482         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
60483         (__getcwd): Do not use CHECK_STRING.
60484         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
60485         <bp-checks.h>.
60486         (__real_chown): Do not use CHECK_STRING.
60487         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
60488         <bp-checks.h>.
60489         (fchownat): Do not use CHECK_STRING.
60490         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
60491         CHECK_STRING.
60492         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
60493         <bp-checks.h>.
60494         (__lchown): Do not use CHECK_STRING.
60495         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
60496         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
60497         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
60498         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
60499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
60500         include <bp-checks.h>.
60501         (truncate64): Do not use CHECK_STRING.
60502         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
60503         <bp-checks.h>.
60504         (__real_chown): Do not use CHECK_STRING.
60505         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
60506         <bp-checks.h>.
60507         (__lchown): Do not use CHECK_STRING.
60508         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
60509         <bp-checks.h>.
60510         (__chown): Do not use CHECK_STRING.
60511         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
60512         <bp-checks.h>.
60513         (truncate64): Do not use CHECK_STRING.
60514         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
60515         Likewise.
60516         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
60517         (__xmknod): Do not use CHECK_STRING.
60518         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
60519         <bp-checks.h>.
60520         (__xmknodat): Do not use CHECK_STRING.
60521         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
60522         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
60524 2013-02-04  Andreas Schwab  <schwab@suse.de>
60526         [BZ #14142]
60527         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
60528         * include/netdb.h: Likewise for h_errno.
60529         * elf/tst-stackguard1.c: Include <tls.h>.
60531 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
60533         * elf/link.h (struct link_map): Extend the l_addr comment.
60534         * include/link.h (struct link_map): Likewise.
60536 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
60538         [BZ #13550]
60539         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
60540         (BOUNDED_1): Remove macro.
60541         * debug/backtrace.c: Don't include <bp-checks.h>.
60542         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
60543         (__backtrace): Likewise.
60544         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
60545         <bp-checks.h>.
60546         (__backtrace): Don't use BOUNDED_1.
60547         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
60548         <bp-checks.h>.
60549         (__backtrace): Don't use BOUNDED_1.
60550         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
60551         (__backtrace): Don't use BOUNDED_1.
60552         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
60553         (shmat): Don't use BOUNDED_N.
60555 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
60557         [BZ #13550]
60558         * sysdeps/generic/bp-start.h: Remove file.
60559         * csu/libc-start.c: Don't include <bp-start.h>.
60560         (LIBC_START_MAIN): Set up __environ directly instead of using
60561         INIT_ARGV_and_ENVIRON.
60562         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
60563         <bp-start.h>.
60565         [BZ #13550]
60566         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
60567         definitions.
60568         (CHECK_FCNTL): Likewise.
60569         (CHECK_N_PAGES): Likewise.
60571         [BZ #13550]
60572         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
60573         definitions.
60574         (CHECK_SIGSET_NULL_OK): Likewise.
60575         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
60576         <bp-checks.h>.
60577         (sigpending): Don't use CHECK_SIGSET.
60578         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
60579         <bp-checks.h>.
60580         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
60581         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
60582         <bp-checks.h>.
60583         (do_sigsuspend): Don't use CHECK_SIGSET.
60584         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
60585         use CHECK_SIGSET.
60586         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
60587         (do_sigwait): Don't use CHECK_SIGSET.
60588         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
60589         use CHECK_SIGSET.
60590         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
60591         include <bp-checks.h>.
60592         (sigpending): Don't use CHECK_SIGSET.
60593         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
60594         include <bp-checks.h>.
60595         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
60596         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
60597         <bp-checks.h>.
60598         (sigpending): Don't use CHECK_SIGSET.
60599         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
60600         <bp-checks.h>.
60601         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
60603         [BZ #13550]
60604         * sysdeps/generic/bp-semctl.h: Remove file.
60605         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
60606         <bp-checks.h> and <bp-semctl.h>.
60607         (__old_semctl): Don't use CHECK_SEMCTL.
60608         (__new_semctl): Likewise.
60609         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
60610         and <bp-semctl.h>.
60611         (__old_semctl): Don't use CHECK_SEMCTL.
60612         (__new_semctl): Likewise.
60613         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
60614         <bp-checks.h> and <bp-semctl.h>.
60615         (__old_semctl): Don't use CHECK_SEMCTL.
60616         (__new_semctl): Likewise.
60617         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
60618         <bp-checks.h> and <bp-semctl.h>.
60619         (semctl): Don't use CHECK_SEMCTL.
60621         [BZ #13550]
60622         * Makerules (elide-bp-thunks): Remove variable.
60623         (elide-routines.oS): Don't use $(elide-bp-thunks).
60624         (elide-routines.os): Likewise.
60625         (elide-routines.o): Likewise.
60626         (elide-routines.op): Likewise.
60627         (elide-routines.og): Likewise.
60628         (objects): Don't use $(bp-thunks).
60629         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
60630         include.
60631         (common-generated): Do not add s-proto-bp.d.
60632         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
60633         (int): Likewise.
60634         (typ): Likewise.
60635         Do not generate makefile rules for bounded-pointer thunks.
60636         * sysdeps/generic/bp-thunks.h: Remove file.
60637         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
60638         * sysdeps/unix/s-proto-bp.S: Likewise.
60640         [BZ #15062]
60641         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
60642         parts of result separately when argument is not close to line from
60643         -i to i and one part of argument is small.
60644         * math/k_casinhf.c (__kernel_casinhf): Likewise.
60645         * math/k_casinhl.c (__kernel_casinhl): Likewise.
60646         * math/libm-test.inc (cacos_test): Add more tests.
60647         (casin_test): Likewise.
60648         (casinh_test): Likewise.
60649         * sysdeps/i386/fpu/libm-test-ulps: Update.
60650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60652 2013-01-31  David S. Miller  <davem@davemloft.net>
60654         * po/de.po: Update from translation team.
60656 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
60658         * time/tzfile.c: Include stdint.h for SIZE_MAX.
60660 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
60662         * configure.in (_AC_PROG_CC_C89): New definition.
60663         * configure: Regenerate.
60665         * configure.in (AC_PROG_CPP): New definition.
60666         * configure: Regenerate.
60668 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
60670         * debug/tst-backtrace.h: New file.
60671         * debug/tst-backtrace2.c: Include tst-backtrace.h.
60672         (ret): Remove variable.
60673         (x): Likewise.
60674         (FAIL): Remove macro.
60675         (NO_INLINE): Likewise.
60676         (fn1): Use match function instead of strstr.
60677         * debug/tst-backtrace3.c: Include tst-backtrace.h.
60678         (ret): Remove variable.
60679         (x): Likewise.
60680         (FAIL): Remove macro.
60681         (NO_INLINE): Likewise.
60682         (fn): Use match function instead of strstr.
60683         * debug/tst-backtrace4.c: Include tst-backtrace.h.
60684         (ret): Remove variable.
60685         (x): Likewise.
60686         (FAIL): Remove macro.
60687         (NO_INLINE): Likewise.
60688         (handle_signal): Use match function instead of strstr.
60689         * debug/tst-backtrace5.c: Include tst-backtrace.h.
60690         (ret): Remove variable.
60691         (x): Likewise.
60692         (FAIL): Remove macro.
60693         (NO_INLINE): Likewise.
60694         (handle_signal): Use match function instead of strstr.
60696 2013-01-23  Roland McGrath  <roland@hack.frob.com>
60698         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
60700 2013-01-23  David S. Miller  <davem@davemloft.net>
60702         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
60703         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
60704         argument of CAS if possible.
60705         * sysdeps/sparc/sparc64/bits/atomic.h
60706         (__arch_compare_and_exchange_val_32_acq): Likewise.
60707         (__arch_compare_and_exchange_val_64_acq): Likewise.
60709 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
60711         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
60712         * sysdeps/posix/ulimit.c: ... this.
60713         Include <limits.h>.
60714         * sysdeps/unix/bsd/ulimit.c: Remove file.
60716 2013-01-23  Adam Conrad  <adconrad@0c3.net>
60718         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
60719         (LDFLAGS-tst-array5): Likewise.
60721 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
60723         [BZ #15036]
60724         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
60725         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
60726         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
60727         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
60729 2013-01-21  David S. Miller  <davem@davemloft.net>
60731         * sysdeps/sparc/backtrace.c: New file.
60732         * sysdeps/sparc/sparc32/backtrace.h: New file.
60733         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
60734         * sysdeps/sparc/sparc64/backtrace.h: New file.
60735         * sysdeps/sparc/sparc64/backtrace.c: Delete.
60736         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
60737         -funwind-tables.
60739 2013-01-21  Andreas Schwab  <schwab@suse.de>
60741         [BZ #15020]
60742         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
60743         closed its stdout.
60745 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
60747         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
60748         "mpa2.h".
60749         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60751 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
60752             Mark Mitchell  <mark@codesourcery.com>
60753             Tom de Vries  <tom@codesourcery.com>
60754             Paul Pluzhnikov  <ppluzhnikov@google.com>
60756         * debug/tst-backtrace2.c: New file.
60757         * debug/tst-backtrace3.c: Likewise.
60758         * debug/tst-backtrace4.c: Likewise.
60759         * debug/tst-backtrace5.c: Likewise.
60760         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
60761         (CFLAGS-tst-backtrace3.c): Likewise.
60762         (CFLAGS-tst-backtrace4.c): Likewise.
60763         (CFLAGS-tst-backtrace5.c): Likewise.
60764         (LDFLAGS-tst-backtrace2): Likewise.
60765         (LDFLAGS-tst-backtrace3): Likewise.
60766         (LDFLAGS-tst-backtrace4): Likewise.
60767         (LDFLAGS-tst-backtrace5): Likewise.
60768         (tests): Add new tests tst-backtrace2, tst-backtrace3,
60769         tst-backtrace4 and tst-backtrace5.
60771 2013-01-18  Anton Blanchard  <anton@samba.org>
60772             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60774         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
60775         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
60776         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
60777         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
60778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
60779         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
60780         "+r" and remove output regs list as redundant.  Add explicit inline
60781         asm to specify register of return val to work around compiler codegen
60782         bug.  Remove (int) cast on return value.  Add return type parameter to
60783         use in macro so that this macro does not truncate return value for
60784         64-bit values.
60785         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
60786         pass to INTERNAL_VSYSCALL_NCS.
60787         (INLINE_VSYSCALL): Add 'long int' as return type to
60788         INTERNAL_VSYSCALL_NCS macro invocation.
60789         (INTERNAL_VSYSCALL): Add 'long int' as return type to
60790         INTERNAL_VSYSCALL_NCS macro invocation.
60791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
60793 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60795         [BZ #14496]
60796         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
60797         Fix application of SIMD FP exception mask.
60799         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
60800         mp_no from a power of two.
60801         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
60802         __mpexp_twomm1.  Use __pow_mp.
60804         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
60805         multiplication.
60807 2013-01-17  David S. Miller  <davem@davemloft.net>
60809         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60811 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
60813         [BZ #15023]
60814         * include/complex.h: Condition contents on [!_COMPLEX_H].
60815         (__kernel_casinhf): New prototype.
60816         (__kernel_casinh): Likewise.
60817         (__kernel_casinhl): Likewise.
60818         * math/Makefile (libm_calls): Add k_casinh.
60819         * math/k_casinh.c: New file.
60820         * math/k_casinhf.c: Likewise.
60821         * math/k_casinhl.c: Likewise.
60822         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
60823         finite nonzero arguments.
60824         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
60825         finite nonzero arguments.
60826         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
60827         finite nonzero arguments.
60828         * math/s_casinh.c: Do not include <float.h>.
60829         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
60830         * math/s_casinhf.c: Do not include <float.h>.
60831         (__casinhf): Move code for finite nonzero arguments to
60832         k_casinhf.c.
60833         * math/s_casinhl.c: Do not include <float.h>.
60834         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
60835         redefine.
60836         (__casinhl): Move code for finite nonzero arguments to
60837         k_casinhl.c.
60838         * math/libm-test.inc (cacos_test): Add more tests.
60839         * sysdeps/i386/fpu/libm-test-ulps: Update.
60840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60842 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
60844         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
60845         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
60846         [!HAVE_MREMAP]: Remove [defined linux] case.
60847         * malloc/arena.c: Do not include <malloc-sysdep.h>.
60849 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
60851         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
60853 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
60855         * elf/elf.h (R_386_SIZE32): New relocation.
60856         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
60857         R_386_SIZE32.
60858         (elf_machine_rela): Likewise.
60859         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
60860         R_X86_64_SIZE64 and R_X86_64_SIZE32.
60862 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
60864         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
60865         (FP_FAST_FMA): Do not define.
60866         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
60867         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
60868         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
60869         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
60870         !_SOFT_FLOAT]: Likewise.
60871         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
60872         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
60873         value.
60874         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
60875         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
60876         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
60877         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
60878         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
60879         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
60880         file.
60882 2013-01-16  Andreas Schwab  <schwab@suse.de>
60884         [BZ #14327]
60885         * include/stdlib.h (__mktemp): Add declaration.
60886         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
60887         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
60889 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
60891         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
60892         definitions.
60893         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
60894         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
60895         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
60896         definitions here.
60897         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
60898         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
60899         definitions.
60900         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
60901         and ONE.
60902         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
60903         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
60904         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
60905         definitions.
60906         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
60907         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
60908         definitions.
60909         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
60911         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
60913 2013-01-15  David S. Miller  <davem@davemloft.net>
60915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60916         trunc{,f} to libm-sysdep_routes.
60917         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
60919         file.
60920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
60921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
60922         file.
60923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
60924         file.
60925         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
60926         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
60927         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
60928         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
60929         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
60930         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
60931         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
60932         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
60934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60935         nearbyint{,f} to libm-sysdep_routes.
60936         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
60938         New file.
60939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
60940         file.
60941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
60942         New file.
60943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
60944         file.
60945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
60946         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
60947         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
60948         file.
60949         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
60950         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
60951         file.
60952         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
60953         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
60954         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
60956         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
60957         libc_feholdexcept and libc_fesetenv.
60959 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
60961         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
60963 2013-01-14  David S. Miller  <davem@davemloft.net>
60965         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
60966         (SPARC_ASM_VIS2_IFUNC): Likewise.
60967         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
60968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
60969         use of 'siam' instruction.
60970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
60971         Likewise.
60972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
60973         Likewise.
60974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
60975         Likewise.
60976         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
60977         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
60978         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
60979         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
60980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
60981         file.
60982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
60983         file.
60984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
60985         file.
60986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
60987         file.
60988         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
60989         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
60990         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
60991         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
60992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
60993         new VIS2 routines.
60994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
60995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
60997         Likewise.
60998         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
60999         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
61000         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
61001         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
61002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
61003         routines to libm-sysdep_routines.
61004         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61007         fdim/fdimf to libm-sysdep_routines.
61008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
61009         file.
61010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
61011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
61012         file.
61013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
61014         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
61015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
61016         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
61017         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
61018         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
61019         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
61021 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
61023         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
61024         to optimize copies.
61026         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
61027         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61028         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61030         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
61031         local variable MPTWO.
61032         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
61033         Likewise.
61035 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
61037         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
61038         GLOB_NOESCAPE.
61040 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
61042         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
61044 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
61046         * manual/pattern.texi (glob_t): Document gl_flags.
61047         (glob64_t): Likewise.
61049 2013-01-11  David S. Miller  <davem@davemloft.net>
61051         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
61052         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
61053         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
61054         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
61055         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
61056         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
61057         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
61058         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
61059         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
61060         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
61061         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
61062         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
61063         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
61065         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61066         sparc V9 rather than using V8 code.
61067         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61068         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61070         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
61071         Move to...
61072         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
61073         Here.
61075 2013-01-11  Roland McGrath  <roland@hack.frob.com>
61077         [BZ #14941]
61078         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
61079         not in the main loop.
61080         * configure: Regenerated.
61082 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
61084         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
61085         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
61086         to just #else.
61087         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
61088         [!__GLIBC_HAVE_LONG_LONG] case.
61089         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
61090         condition to just #else.
61091         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
61092         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
61093         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
61094         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
61095         unconditional.
61096         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
61097         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61098         #elif condition to just #else.
61099         * sysdeps/unix/sysv/linux/sys/sysmacros.h
61100         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
61101         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61102         #elif condition to just #else.
61104 2013-01-11  Steve Ellcey  <sellcey@mips.com>
61106         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
61107         (EF_MIPS_ARCH_64): Fix value.
61108         (EF_MIPS_ARCH_32R2): New.
61109         (EF_MIPS_ARCH_64R2): New.
61111 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
61113         * Makeconfig (+link-pie-before-libc): New.
61114         (+link-pie-after-libc): Likewise.
61115         (+link-pie-tests): Likewise.
61116         (+link-pie): Rewritten.
61117         (link-before-libc): Remove $(config-LDFLAGS).
61118         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
61119         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
61120         (config-LDFLAGS): Renamed to ...
61121         (rtld-LDFLAGS): This.
61122         (rtld-tests-LDFLAGS): New macro.
61123         (link-libc-rpath-link): Likewise.
61124         (link-libc-tests-rpath-link): Likewise.
61125         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
61126         (link-libc): Prepand $(link-libc-rpath-link).
61127         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
61128         (test-program-prefix): New macro.
61129         (test-via-rtld-prefix): Likewise.
61130         (test-program-cmd): Likewise.
61131         (host-test-program-cmd): Likewise.
61132         * Makefile ($(common-objpfx)testrun.sh): Replace
61133         $(run-program-prefix) with $(test-program-prefix).
61134         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
61135         $(rtld-LDFLAGS).
61136         ($(common-objpfx)shlib.lds): Likewise.
61137         (build-module-helper): Likewise.
61138         ($(common-objpfx)format.lds): Likewise.
61139         * Rules (binaries-pie-tests): New.
61140         (binaries-pie-notests): Likewise.
61141         (binaries-pie): Rewritten.
61142         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
61143         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
61144         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
61145         (make-test-out): Replace $(host-built-program-cmd) with
61146         $(host-test-program-cmd).
61147         * config.make.in (build-hardcoded-path-in-tests): New variable.
61148         * configure.in (--enable-hardcoded-path-in-tests): New configure
61149         option.
61150         (hardcoded_path_in_tests): New AC_SUBST.
61151         * configure: Regenerated.
61152         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
61153         $(built-program-cmd) with $(test-program-cmd).
61154         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
61155         (test_program_cmd): This.
61156         * elf/Makefile ($(objpfx)order.out): Run test with
61157         $(test-program-prefix).
61158         ($(objpfx)order2.out): Likewise.
61159         ($(objpfx)tst-initorder.out): Likewise.
61160         ($(objpfx)tst-initorder2.out): Likewise.
61161         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
61162         $(test-program-cmd).
61163         ($(objpfx)tst-array1-static.out): Likewise.
61164         ($(objpfx)tst-array2.out): Likewise.
61165         ($(objpfx)tst-array3.out): Likewise.
61166         ($(objpfx)tst-array4.out): Likewise.
61167         ($(objpfx)tst-array5.out): Likewise.
61168         ($(objpfx)tst-array5-static.out): Likewise.
61169         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
61170         $(test-program-cmd).
61171         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
61172         $(run-program-prefix) with $(test-program-prefix).
61173         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
61174         (test_program_prefix): This.
61175         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
61176         $(run-program-prefix) with $(test-program-prefix).
61177         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
61178         (test_program_prefix): This.
61179         * iconvdata/tst-tables.sh: Likewise.
61180         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
61181         $(run-program-prefix) with $(test-program-prefix).
61182         ($(objpfx)tst-translit.out): Likewise.
61183         ($(objpfx)tst-gettext2.out): Likewise.
61184         ($(objpfx)tst-gettext4.out): Likewise.
61185         ($(objpfx)tst-gettext6.out): Likewise.
61186         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
61187         (test_program_prefix): This.
61188         * intl/tst-gettext2.sh: Likewise.
61189         * intl/tst-gettext4.sh  Likewise.
61190         * intl/tst-gettext6.sh: Likewise.
61191         * intl/tst-translit.sh: Likewise.
61192         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
61193         with $(test-program-cmd).
61194         * libio/Makefile ($(objpfx)test-freopen.out): Replace
61195         $(run-program-prefix) with $(test-program-prefix).
61196         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
61197         (test_program_prefix): This.
61198         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
61199         $(run-program-prefix) with $(test-program-prefix).
61200         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
61201         (test_program_prefix): This.
61202         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
61203         * posix/Makefile ($(objpfx)globtest.out): Replace
61204         $(run-via-rtld-prefix) and $(test-wrapper) with
61205         $(test-program-prefix) and $(test-via-rtld-prefix).
61206         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
61207         $(test-program-prefix).
61208         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
61209         $(host-test-program-cmd).
61210         (tst-spawn-ARGS): Likewise.
61211         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
61212         $(test-program-prefix).
61213         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
61214         (test_via_rtld_prefix): This.
61215         (test_wrapper): Renamed to ...
61216         (test_program_prefix): This.
61217         (run_program_prefix): Replaced by test_program_prefix.
61218         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
61219         (test_program_prefix): This.
61220         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
61221         with $(host-test-program-cmd).
61222         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
61223         $(run-program-prefix) with $(test-program-prefix).
61224         ($(objpfx)tst-printf.out): Likewise.
61225         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
61226         $(test-program-cmd).
61227         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
61228         (test_program_prefix): This.
61229         * stdio-common/tst-unbputc.sh: Likewise.
61230         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
61231         $(run-program-prefix) with $(test-program-prefix).
61232         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
61233         (test_program_prefix): This.
61234         * string/Makefile ($(objpfx)tst-svc.out):  Replace
61235         $(built-program-cmd) with $(test-program-cmd).
61237 2013-01-11  Andreas Jaeger  <aj@suse.de>
61239         [BZ #15003]
61240         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
61241         value. Sync with Linux 3.7.
61243 2013-01-10  David S. Miller  <davem@davemloft.net>
61245         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
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         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
61252         never set.
61253         * configure: Regenerated.
61255 2013-01-10  David S. Miller  <davem@davemloft.net>
61257         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61258         sparc V9 rather than using V8 code.
61259         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61260         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61262 2013-01-10  Roland McGrath  <roland@hack.frob.com>
61264         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
61265         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
61266         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
61267         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
61268         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
61269         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
61270         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
61271         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
61272         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
61273         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
61274         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
61275         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
61276         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
61277         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
61278         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
61279         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
61280         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
61281         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
61282         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
61283         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
61284         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
61285         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
61286         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
61287         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
61288         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
61289         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
61290         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
61292 2013-01-10  David S. Miller  <davem@davemloft.net>
61294         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61296 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
61298         * posix/Makefile (tests-static): New variable.
61299         (tests): Add $(tests-static).
61300         (tst-exec-static-ARGS): New variable.
61301         (tst-spawn-static-ARGS): Likewise.
61302         * posix/tst-exec-static.c: New file.
61303         * posix/tst-spawn-static.c: Likewise.
61304         * posix/tst-exec.c: Support run directly.
61305         * posix/tst-spawn.c: Likewise.
61307 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
61309         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
61310         long.
61311         * math/bits/mathcalls.h (llrint): Likewise.
61312         (llround): Likewise.
61313         * stdlib/stdlib.h (struct drand48_data): Likewise.
61314         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
61315         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
61316         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
61317         Likewise.
61318         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
61319         Likewise.
61320         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
61321         (elf_greg_t): Likewise.
61322         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
61323         (__jmp_buf): Likewise.
61324         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
61325         definitions.
61326         (llrint): Likewise, for all definitions.
61327         (llrintl): Likewise.
61329         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
61330         Remove [__GNUC__] condition.
61331         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
61332         condition to just [__USE_ISOC99].
61333         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
61335 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
61337         [BZ #14200]
61338         * sysdeps/unix/sysv/linux/x86/bits/environments.h
61339         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
61340         defined.
61341         (_POSIX_V6_ILP32_OFF32): Likewise.
61342         (_XBS5_ILP32_OFF32): Likewise.
61343         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
61344         (__ILP32_OFFBIG_LDFLAGS): Likewise.
61346 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61348         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
61350         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
61351         doubles __mpexp_twomm1.  Adjust usage.
61352         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
61353         Remove.
61355 2013-01-10  Andreas Schwab  <schwab@suse.de>
61357         [BZ #14964]
61358         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
61359         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
61361 2013-01-09  David S. Miller  <davem@davemloft.net>
61363         [BZ #15003]
61364         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
61365         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
61366         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
61367         (TCP_FASTOPEN): Define.
61368         (tcp_repair_opt): New structure.
61369         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
61370         enum values.
61371         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
61372         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
61373         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
61374         (tcp_cookie_transactions): New structure.
61376 2013-01-09  Anton Blanchard  <anton@samba.org>
61378         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
61379         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
61380         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
61381         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
61383 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
61385         * include/features.h (__USE_ANSI): Remove.
61387 2013-01-09  Roland McGrath  <roland@hack.frob.com>
61389         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
61391         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
61393 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
61395         * sysdeps/s390/fpu/libm-test-ulps: Update.
61397         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61399         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
61400         (__acr): Likewise.
61401         (__cpy): Likewise.
61402         (norm): Likewise.
61403         (denorm): Likewise.
61404         (__mp_dbl): Likewise.
61405         (__dbl_mp): Likewise.
61406         (add_magnitudes): Likewise.
61407         (sub_magnitudes): Likewise.
61408         (__add): Likewise.
61409         (__sub): Likewise.
61410         (__mul): Likewise.
61411         (__inv): Likewise.
61412         (__dvd): Likewise.
61413         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
61414         (__acr): Likewise.
61415         (__cpy): Likewise.
61416         (norm): Likewise.
61417         (denorm): Likewise.
61418         (__mp_dbl): Likewise.
61419         (__dbl_mp): Likewise.
61420         (add_magnitudes): Likewise.
61421         (sub_magnitudes): Likewise.
61422         (__add): Likewise.
61423         (__sub): Likewise.
61424         (__mul): Likewise.
61425         (__inv): Likewise.
61426         (__dvd): Likewise.
61427         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
61428         (__acr): Likewise.
61429         (__cpy): Likewise.
61430         (norm): Likewise.
61431         (denorm): Likewise.
61432         (__mp_dbl): Likewise.
61433         (__dbl_mp): Likewise.
61434         (add_magnitudes): Likewise.
61435         (sub_magnitudes): Likewise.
61436         (__add): Likewise.
61437         (__sub): Likewise.
61438         (__mul): Likewise.
61439         (__inv): Likewise.
61440         (__dvd): Likewise.
61442 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
61444         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
61445         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
61446         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
61447         2 && __USE_EXTERN_INLINES]: Likewise.
61449 2013-01-08  Andreas Jaeger  <aj@suse.de>
61451         [BZ# 14985]
61452         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
61453         Remove.
61454         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
61455         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
61457 2013-01-07  Anton Blanchard  <anton@samba.org>
61459         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
61460         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
61461         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
61462         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
61463         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
61464         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
61465         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
61466         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
61467         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61468         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61469         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
61470         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
61471         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
61472         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
61473         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
61474         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
61475         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
61476         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
61477         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
61478         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
61479         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
61480         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
61481         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61482         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
61483         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
61484         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
61485         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
61486         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
61487         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
61488         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
61489         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
61490         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61491         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61492         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
61493         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
61494         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61495         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61496         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
61497         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
61498         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
61499         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
61500         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61501         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
61503 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
61505         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
61506         (__MALLOC_PMT): Likewise.
61507         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
61508         [__GNUC__], only on [_LIBC].
61509         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
61510         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
61511         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
61512         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
61513         forward declaration.
61514         (realloc_hook_ini): Likewise.
61515         (memalign_hook_ini): Likewise.
61516         (__libc_memalign): Do not use __MALLOC_PMT in variable
61517         declaration.
61518         (__libc_valloc): Likewise.
61519         (__libc_pvalloc): Likewise.
61520         (__libc_calloc): Likewise.
61521         (__posix_memalign): Likewise.
61523         [BZ #14996]
61524         * math/s_casinh.c: Include <float.h>.
61525         (__casinh): Do not do computation with squaring and square root
61526         for large arguments.
61527         * math/s_casinhf.c: Include <float.h>.
61528         (__casinhf): Do not do computation with squaring and square root
61529         for large arguments.
61530         * math/s_casinhl.c: Include <float.h>.
61531         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
61532         (__casinhl): Do not do computation with squaring and square root
61533         for large arguments.
61534         * math/libm-test.inc (casin_test): Add more tests.
61535         (casinh_test): Likewise.
61536         * sysdeps/i386/fpu/libm-test-ulps: Update.
61537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61539 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
61541         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
61542         (__x86_64_raw_data_cache_size): Likewise.
61543         (__x86_64_data_cache_size_half): Likewise.
61544         (__x86_64_raw_data_cache_size_half): Likewise.
61545         (__x86_64_shared_cache_size): Likewise.
61546         (__x86_64_raw_shared_cache_size): Likewise.
61547         (__x86_64_shared_cache_size_half): Likewise.
61548         (__x86_64_raw_shared_cache_size_half): Likewise.
61549         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
61550         to ...
61551         (__x86_data_cache_size): This.
61552         (__x86_64_raw_data_cache_size): Renamed to ...
61553         (__x86_raw_data_cache_size): This.
61554         (__x86_64_data_cache_size_half): Renamed to ...
61555         (__x86_data_cache_size_half): This.
61556         (__x86_64_raw_data_cache_size_half): Renamed to ...
61557         (__x86_raw_data_cache_size_half): This.
61558         (__x86_64_shared_cache_size): Renamed to ...
61559         (__x86_shared_cache_size): This.
61560         (__x86_64_raw_shared_cache_size): Renamed to ...
61561         (__x86_raw_shared_cache_size): This.
61562         (__x86_64_shared_cache_size_half): Renamed to ...
61563         (__x86_shared_cache_size_half): This.
61564         (__x86_64_raw_shared_cache_size_half): Renamed to ...
61565         (__x86_raw_shared_cache_size_half): This.
61566         * sysdeps/x86_64/memcpy.S: Updated.
61567         * sysdeps/x86_64/memset.S: Likewise.
61568         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
61569         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61570         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61572 2013-01-04  David S. Miller  <davem@davemloft.net>
61574         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61576 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
61578         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
61579         1 to avoid redefinition warning.
61580         (__USE_GNU): Don't define.
61581         (init_signaling_nan): Protoize.
61583         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61585 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61587         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
61588         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
61589         (__cpymn): Likewise.
61590         (norm): Remove commented code.
61591         (denorm): Likewise.
61592         (__mp_dbl): Likewise.
61593         (__inv): Likewise.
61594         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
61595         (__cpymn): Likewise.
61596         (norm): Remove commented code.
61597         (denorm): Likewise.
61598         (__mp_dbl): Likewise.
61599         (__inv): Likewise.
61601         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
61602         mp_no value for 1.0 and 2.0.
61603         (norm): Use RADIXI instead of radixi.d.
61604         (denorm): Likewise.
61605         (__mul): Use 0.0 instead of zero.d.
61606         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
61607         mp_no value for 1.0 and 2.0.
61608         (norm): Use RADIXI instead of radixi.d.
61609         (denorm): Likewise.
61610         (__mul): Use 0.0 instead of zero.d.
61612 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
61614         [BZ #14994]
61615         * math/s_casinh.c (__casinh): Reduce finite argument to first
61616         quadrant then set signs of results at the end.
61617         * math/s_casinhf.c (__casinhf): Likewise.
61618         * math/s_casinhl.c (__casinhl): Likewise.
61619         * math/libm-test.inc (casin_test): Add more tests.
61620         (casinh_test): Likewise.
61621         * sysdeps/i386/fpu/libm-test-ulps: Update.
61622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61624 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61626         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
61628         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
61630         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
61631         declarations.
61632         (denorm): Likewise.
61633         (__mp_dbl): Likewise.
61634         (__inv): Likewise.
61636         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
61637         and adjust the header comment.
61639         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
61640         variable name from declaration.
61642 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
61644         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61645         Initialize COMMON_CPUID_INDEX_7 element.
61646         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
61647         (CPUID_RTM): Likewise.
61648         (HAS_RTM): Likewise.
61649         (COMMON_CPUID_INDEX_7): New enum.
61651 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
61653         [BZ #14981]
61654         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
61655         size is zero, record memory as freed.
61657 2013-01-03  Andreas Jaeger  <aj@suse.de>
61659         * po/ia.po: Add new Interlingua translation.
61661 2012-01-03  Allan McRae  <allan@archlinux.org>
61663         * locale/programs/localedef.c: Fix description of '--posix' flag.
61665 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
61667         * NEWS: Update dates in second copyright notice.
61668         * README: Update copyright dates in example.
61669         * manual/libc.texinfo: Update copyright dates.
61670         * scripts/test-installation.pl: Update copyright date in --version
61671         output.
61673         * hurd/ctty-input.c: Fix copyright notice formatting.
61674         * hurd/ctty-output.c: Likewise.
61675         * hurd/dtable.c: Likewise.
61676         * hurd/hurd-raise.c: Likewise.
61677         * hurd/hurdprio.c: Likewise.
61678         * hurd/msgportdemux.c: Likewise.
61679         * misc/sys/file.h: Likewise.
61680         * misc/sys/ioctl.h: Likewise.
61681         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
61682         * sysdeps/mach/hurd/chdir.c: Likewise.
61683         * sysdeps/mach/hurd/fchdir.c: Likewise.
61684         * sysdeps/mach/hurd/rename.c: Likewise.
61685         * sysdeps/mach/hurd/rmdir.c: Likewise.
61686         * sysdeps/mach/hurd/seekdir.c: Likewise.
61687         * sysdeps/mach/hurd/setsid.c: Likewise.
61688         * sysdeps/posix/wait3.c: Likewise.
61690         * All files with FSF copyright notices: Update copyright dates
61691         using scripts/update-copyrights.
61692         * intl/plural.c: Regenerated.
61693         * locale/programs/charmap-kw.h: Likewise.
61694         * locale/programs/locfile-kw.h: Likewise.
61696 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
61698         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
61699         four values.
61701         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
61702         calculation loop and add branch prediction.
61704         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
61705         check access beyond bounds of m1np.
61707         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
61708         MPTWO.
61709         (__inv): Remove local variable MPTWO to use the global
61710         constant.
61711         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
61712         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
61713         variable MPTWO.
61714         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
61715         MP3HALFS static const.
61717 2013-01-01  David S. Miller  <davem@davemloft.net>
61719         * po/ca.po: Update from translation team.
61721 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
61723         * scripts/update-copyrights: New file.
61724         * Makeconfig: Reformat copyright notice.
61725         * ctype/ctype.h: Likewise.
61726         * debug/swprintf_chk.c: Likewise.
61727         * elf/dl-cache.c: Likewise.
61728         * elf/dl-debug.c: Likewise.
61729         * elf/dl-object.c: Likewise.
61730         * grp/initgroups.c: Likewise.
61731         * hurd/Makefile: Likewise.
61732         * hurd/hurd/signal.h: Likewise.
61733         * hurd/hurdfault.c: Likewise.
61734         * hurd/hurdioctl.c: Likewise.
61735         * hurd/hurdlookup.c: Likewise.
61736         * hurd/intr-msg.c: Likewise.
61737         * iconv/gconv_open.c: Likewise.
61738         * libio/swprintf.c: Likewise.
61739         * locale/lc-ctype.c: Likewise.
61740         * locale/nl_langinfo.c: Likewise.
61741         * mach/Machrules: Likewise.
61742         * mach/Makefile: Likewise.
61743         * malloc/obstack.h: Likewise.
61744         * manual/Makefile: Likewise.
61745         * manual/tsort.awk: Likewise.
61746         * misc/bits/stab.def: Likewise.
61747         * nis/nis_print_group_entry.c: Likewise.
61748         * nis/nis_table.c: Likewise.
61749         * nis/nss_compat/compat-pwd.c: Likewise.
61750         * nis/nss_compat/compat-spwd.c: Likewise.
61751         * po/Makefile: Likewise.
61752         * posix/fnmatch.c: Likewise.
61753         * posix/regex.h: Likewise.
61754         * resolv/Makefile: Likewise.
61755         * resolv/nss_dns/dns-network.c: Likewise.
61756         * resolv/res_hconf.c: Likewise.
61757         * scripts/gen-sorted.awk: Likewise.
61758         * soft-fp/soft-fp.h: Likewise.
61759         * stdio-common/printf.h: Likewise.
61760         * stdlib/monetary.h: Likewise.
61761         * stdlib/random.c: Likewise.
61762         * stdlib/random_r.c: Likewise.
61763         * sysdeps/generic/Makefile: Likewise.
61764         * sysdeps/gnu/Makefile: Likewise.
61765         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
61766         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61767         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61768         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61769         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61770         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61771         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61772         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61773         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61774         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61775         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
61776         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
61777         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
61778         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
61779         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
61780         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
61781         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
61782         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61783         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61784         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61785         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
61786         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
61787         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
61788         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
61789         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
61790         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
61791         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
61792         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
61793         * sysdeps/mach/hurd/errnos.awk: Likewise.
61794         * sysdeps/mach/hurd/fork.c: Likewise.
61795         * sysdeps/mach/hurd/getcwd.c: Likewise.
61796         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
61797         * sysdeps/mach/hurd/mmap.c: Likewise.
61798         * sysdeps/mach/hurd/utimes.c: Likewise.
61799         * sysdeps/mach/hurd/xmknod.c: Likewise.
61800         * sysdeps/posix/profil.c: Likewise.
61801         * sysdeps/posix/readdir_r.c: Likewise.
61802         * sysdeps/powerpc/bits/mathdef.h: Likewise.
61803         * sysdeps/powerpc/bits/setjmp.h: Likewise.
61804         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
61805         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
61806         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61807         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
61808         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61809         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
61810         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61811         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
61812         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61813         * sysdeps/pthread/lio_listio.c: Likewise.
61814         * sysdeps/sparc/dl-procinfo.h: Likewise.
61815         * sysdeps/unix/i386/sysdep.S: Likewise.
61816         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
61817         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
61818         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
61819         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
61820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61821         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
61822         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
61823         * sysdeps/unix/sysv/linux/speed.c: Likewise.
61824         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
61825         * sysdeps/wordsize-32/divdi3.c: Likewise.
61826         * time/sys/time.h: Likewise.
61827         * wcsmbs/Makefile: Likewise.
61829 2013-01-01  David S. Miller  <davem@davemloft.net>
61831         * po/fr.po: Update from translation team.
61833         * catgets/gencat.c: Update copyright year.
61834         * csu/version.c: Likewise.
61835         * debug/catchsegv.sh: Likewise.
61836         * debug/pcprofiledump.c: Likewise.
61837         * debug/xtrace.sh: Likewise.
61838         * elf/ldconfig.c: Likewise.
61839         * elf/ldd.bash.in: Likewise.
61840         * elf/pldd.c: Likewise.
61841         * elf/sotruss.ksh: Likewise.
61842         * elf/sprof.c: Likewise.
61843         * iconv/iconv_prog.c: Likewise.
61844         * iconv/iconvconfig.c: Likewise.
61845         * locale/programs/locale.c: Likewise.
61846         * locale/programs/localedef.c: Likewise.
61847         * login/programs/pt_chown.c: Likewise.
61848         * malloc/memusage.sh: Likewise.
61849         * malloc/memusagestat.c: Likewise.
61850         * malloc/mtrace.pl: Likewise.
61851         * nscd/nscd.c: Likewise.
61852         * nss/getent.c: Likewise.
61853         * nss/makedb.c: Likewise.
61854         * posix/getconf.c: Likewise.
61856 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
61858         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
61859         numbers.
61861 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
61863         * math/bits/mathcalls.h (modf): Use __nonnull.
61865 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61867         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
61868         (split): Use macro CN instead of the bare value.
61869         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
61870         could be used.
61871         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
61872         instead of the bare value.
61873         (power1): Likewise.
61875 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61877         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
61878         __ATAN_TWOM.
61879         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
61881         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
61882         their values.
61883         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
61884         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61885         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
61886         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
61888 2012-12-28  Andreas Jaeger  <aj@suse.de>
61890         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
61891         values are from Linux 3.7.
61893         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
61894         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
61896 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61898         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
61899         TRUE case.
61901         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
61902         (norm): Likewise.
61903         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
61904         variables with preprocessor constants.
61905         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
61906         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
61907         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
61909 2012-12-27  Bruno Haible  <bruno@clisp.org>
61911         [BZ #14317]
61912         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
61913         only if needed.
61915 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
61917         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
61918         and use variable directly.
61919         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
61921         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
61922         MPONE.
61923         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
61924         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
61925         variable MPONE.
61926         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61927         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
61928         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
61929         include directive.  Remove local variable MPONE.
61930         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
61931         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
61932         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
61934 2012-12-25  David S. Miller  <davem@davemloft.net>
61936         * version.h (RELEASE): Set to "development".
61937         (VERSION): Set to "2.17.90".
61938         * NEWS: Add 2.18 section.
61940 2012-12-21  David S. Miller  <davem@davemloft.net>
61942         * po/hr.po: Update from translation team.
61944 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61946         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
61948 2012-12-19  Steve Ellcey  <sellcey@mips.com>
61950         * NEWS:  Mention new memcpy for MIPS.
61952 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61954         * manual/contrib.texi (Contributors): Spelling correction.
61956 2012-12-15  David S. Miller  <davem@davemloft.net>
61958         * po/ru.po: Update from translation team.
61960 2012-12-13  David S. Miller  <davem@davemloft.net>
61962         * NEWS: Mention IFUNC testsuite enhancements.
61964         * po/pl.po: Update from translation team.
61965         * po/bg.po: Likewise.
61967         * manual/contrib.texi (Contributors): Update entries for Hongjiu
61968         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
61970 2012-12-11  David S. Miller  <davem@davemloft.net>
61972         * po/sv.po: Update from translation team.
61974         * po/vi.po: Update from translation team.
61976         * po/cs.po: Update from translation team.
61978         * po/de.po: Update from translation team.
61979         * po/eo.po: Likewise.
61980         * po/nl.po: Likewise.
61982 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61984         [BZ #14246]
61985         * manual/argp.texi (Argp Helper Functions): Move node to follow
61986         Argp Parsing State.
61988         [BZ #14872]
61989         * manual/conf.texi (Limits on File System Capacity): Mention if
61990         terminating null is included in the max size.
61992 2012-12-10  Andreas Jaeger  <aj@suse.de>
61994         * po/cs.po: Update from translation team.
61996 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
61998         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
61999         void pointer and cast to uintptr_t.
62000         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
62001         path.
62002         * sysdeps/s390/s390-64/memcpy.S: Likewise.
62003         * sysdeps/s390/s390-64/memset.S: Likewise.
62005 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
62007         [BZ #14833]
62008         * menual/message.texi (Message Translation): Fix typos.
62009         (Helper programs for gettext): Likewise.
62011 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
62013         [BZ #14898]
62014         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
62015         Change to -1.
62017 2012-12-07  David S. Miller  <davem@davemloft.net>
62019         * po/libc.pot: Update.
62021 2012-12-07  Richard Henderson  <rth@redhat.com>
62023         [BZ #10114]
62024         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
62025         normal/normal case to before the switch.
62026         (_FP_DIV): Likewise.
62028 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
62029             Mike Frysinger  <vapier@gentoo.org>
62031         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
62032         check for __NR_fadvise64_64.
62034 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
62036         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
62037         0, not just to plain "0" as a statement.
62038         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
62039         with cw.
62041 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
62043         * NEWS: Use sourceware.org in Bugzilla URL.
62045 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
62047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
62048         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62050         * stdio-common/tst-put-error.c (do_test): Add newline to the
62051         padded test to ensure flush.
62053 2012-12-05  Jeff Law  <law@redhat.com>
62055         * sunrpc/etc.rpc (fedfs_admin): Add entry.
62057 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
62059         * README: Don't refer to ports add-on as distributed separately.
62060         Mention AArch64 in list of systems supported in the ports add-on.
62062         * LICENSES: Add more non-FSF copyright and license notices.
62064         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
62065         ((unused)).
62067         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
62069         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
62070         10000 as width of padded output.
62072 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
62074         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
62076         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
62077         variable LX with __attribute__ ((unused)).
62078         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
62079         Likewise.
62080         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
62081         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62082         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
62083         with __attribute__ ((unused)).
62085 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
62087         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
62089 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
62091         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
62092         (CFLAGS-nldbl-acos.c): New variable.
62093         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
62094         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
62095         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
62096         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
62097         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
62098         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
62099         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
62100         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
62101         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
62102         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
62103         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
62104         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
62105         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
62106         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
62107         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
62108         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
62109         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
62110         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
62111         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
62112         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
62113         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
62114         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
62115         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
62116         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
62117         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
62118         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
62119         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
62120         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
62121         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
62122         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
62123         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
62124         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
62125         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
62126         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
62127         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
62128         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
62129         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
62130         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
62131         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
62132         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
62133         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
62134         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
62135         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
62136         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
62137         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
62138         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
62139         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
62140         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
62141         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
62142         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
62143         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
62144         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
62145         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
62146         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
62147         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
62148         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
62149         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
62150         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
62151         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
62152         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
62153         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
62154         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
62155         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
62156         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
62157         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
62158         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
62159         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
62160         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
62161         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
62162         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
62163         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
62164         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
62165         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
62166         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
62167         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
62168         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
62169         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
62170         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
62171         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
62172         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
62173         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
62174         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
62175         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
62176         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
62177         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
62178         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
62179         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
62180         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
62181         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
62182         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
62183         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
62184         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
62185         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
62186         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
62187         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
62188         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
62189         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
62191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
62192         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62194         [BZ #14914]
62195         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
62196         whole low double instead of just low 47 bits when splitting values
62197         into two parts.
62199 2012-12-03  Allan McRae  <allan@archlinux.org>
62201         * manual/stdio.texi (Predefined Printf Handlers): Remove
62202         @hsep and @vsep usage.
62204 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
62206         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
62207         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
62209 2012-12-03  Jeff Law  <law@redhat.com>
62211         * time/sys/time.h (settimeofday): Do not mark TV argument
62212         as __nonnull.
62214 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
62216         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
62217         when currently writing and seek to current position when not.
62218         * libio/Makefile (tests): Remove bug-fclose1.
62219         * libio/bug-fclose1.c: Delete.
62221 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
62223         * manual/arith.texi (feenableexcept): Fix typo.
62224         (fedisableexcept): Likewise.
62226 2012-11-30  Roland McGrath  <roland@hack.frob.com>
62228         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
62229         second, differently-typed declaration, rather than a cast.
62231 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
62233         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
62234         * include/rpc/svc.h: ... here.
62236 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
62238         [BZ #13013]
62239         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
62240         depending n and resplen2 to catch cases where answer
62241         equals answerp2.
62243 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
62245         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
62246         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
62248 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
62250         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
62252 2012-11-29  Roland McGrath  <roland@hack.frob.com>
62254         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
62256 2012-11-28  Jeff Law  <law@redhat.com>
62258         [BZ #13761]
62259         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
62260         dataset_temporary.  Track alloca usage into alloca_used.
62261         If dataset is large allocate and release it via malloc/free.
62263 2012-06-04  Florian Weimer  <fweimer@redhat.com>
62265         [BZ #14197]
62266         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
62268 2012-11-28  David S. Miller  <davem@davemloft.net>
62270         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62272 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
62274         [BZ #14803]
62275         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
62276         of pi/2 rounded to nearest to 64 bits.
62277         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
62278         nearest to 64 bits.
62279         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
62280         bits.
62282 2012-11-28  Jeff Law <law@redhat.com>
62283             Martin Osvald <mosvald@redhat.com>
62285         [BZ #14889]
62286         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
62287         * sunrpc/svc.c: Include time.h.
62288         (__svc_accept_failed): New function.
62289         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
62290         any reason other than EINTR, call __svc_accept_failed.
62291         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
62292         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
62294 2012-11-28  Andreas Schwab  <schwab@suse.de>
62296         * scripts/abilist.awk: Also handle indirect functions in .opd
62297         section.
62299 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
62301         [BZ #13881]
62302         * sysdeps/x86/fpu/powl_helper.c: New file.
62303         * sysdeps/x86/fpu/Makefile: Likewise.
62304         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
62305         (p3): New object.
62306         (__ieee754_powl): Use __powl_helper for finite arguments except
62307         integer exponents below 8.
62308         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
62309         (p3): New object.
62310         (__ieee754_powl): Use __powl_helper for finite arguments except
62311         integer exponents below 8.
62312         * math/libm-test.inc (pow_test): Add more tests and enable some
62313         previously disabled tests.
62314         * sysdeps/i386/fpu/libm-test-ulps: Update.
62315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62317 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62318             Carlos O'Donell  <carlos_odonell@mentor.com>
62320         * nss/makedb.c (is_prime): Assert that input is odd and greater
62321         than 4.  Note that fact in a comment too.
62322         (next_prime): Add 4 to input.
62324 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
62326         [BZ #11741]
62327         * libio/Makefile (tests): Add test case tst-fwrite-error.
62328         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
62329         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
62330         * libio/tst-fwrite-error.c: New test case.
62332 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
62334         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
62335         before casting to void *.
62336         * include/libc-internal.h (__pointer_type): New macro.
62337         (__integer_if_pointer_type_sub): Likewise.
62338         (__integer_if_pointer_type): Likewise.
62339         (cast_to_integer): Likewise.
62340         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
62341         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
62342         before casting to atomic64_t.
62343         (atomic_exchange_acq): Likewise.
62344         (__arch_exchange_and_add_body): Likewise.
62345         (__arch_add_body): Likewise.
62346         (atomic_add_negative): Likewise.
62347         (atomic_add_zero): Likewise.
62349 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
62351         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
62352         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
62353         (add_fdes): Likewise.
62354         (linear_search_fdes): Likewise.
62355         (binary_search_unencoded_fdes): Likewise.
62357 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
62359         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
62361 2012-11-24  Adam Conrad  <adconrad@0c3.net>
62363         * configure.in: Autodetect C++ header directories.
62364         * configure: Regenerated.
62366 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
62368         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
62370 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
62372         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62374 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
62376         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
62377         LDBL_MANT_DIG == 106]: Disable some tests.
62378         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
62379         Likewise.
62380         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
62381         Likewise.
62383         [BZ #14871]
62384         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
62385         input for small inputs.  Return +/- pi/2 for large inputs.
62386         * math/libm-test.inc (atan_test): Add more tests.
62388         * sysdeps/generic/unwind-dw2-fde-glibc.c
62389         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
62390         __attribute__ ((unused)).
62392         [BZ #14645]
62393         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
62394         x * y if x and y are nonzero and z is zero.
62396         [BZ #14811]
62397         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
62398         nonzero exponents with absolute value below 0x1p-117 to +/-
62399         0x1p-117.
62401         [BZ #14869]
62402         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
62403         up arguments below 2**-450, not just those below 2**-500.
62404         * math/libm-test.inc (hypot_test): Add another test.
62406         [BZ #14868]
62407         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
62408         Return a+b for ratio over 2**120, not 2**60.
62409         * math/libm-test.inc (hypot_test): Add another test.
62411         * math/libm-test.inc (clog_test): Use
62412         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
62413         (clog10_test): Likewise.
62415         [BZ #6778]
62416         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
62418 2012-11-22  Andreas Schwab  <schwab@suse.de>
62420         * sysdeps/i386/fpu/libm-test-ulps: Update.
62422 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
62424         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
62425         printf output with newline.
62427 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
62429         [BZ #14865]
62430         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
62431         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
62432         -z nodlopen, -z initfirst and -z execstack support.
62433         * configure: Regenerated.
62435         * elf/elf.h (DF_1_NODIRECT): New macro.
62436         (DF_1_IGNMULDEF): Likewise.
62437         (DF_1_NOKSYMS): Likewise.
62438         (DF_1_NOHDR): Likewise.
62439         (DF_1_EDITED): Likewise.
62440         (DF_1_NORELOC): Likewise.
62441         (DF_1_SYMINTPOSE): Likewise.
62442         (DF_1_GLOBAUDIT): Likewise.
62443         (DF_1_SINGLETON): Likewise.
62444         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
62445         DT_1_SUPPORTED_MASK bits.
62446         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
62448 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
62450         * sysdeps/unix/make-syscalls.sh: Document prefixes.
62452 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
62454         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
62455         macro.
62457         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
62458         (sendmmsg): Move declarations...
62459         * socket/sys/socket.h: ... here.
62460         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
62461         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
62462         include it from...
62463         * socket/recvmmsg.c: ... this new file.
62464         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
62465         (sendmmsg): Rename to __sendmmsg, create weak alias and make
62466         definition of __sendmmsg hidden.
62467         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
62468         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
62469         Move ENOSYS stub into and include it from...
62470         * socket/sendmmsg.c: ... this new file.
62471         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
62472         (sysdep_routines): Move recvmmsg and sendmmsg...
62473         * socket/Makefile (routines): ... here.
62474         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
62475         (GLIBC_PRIVATE): Add __sendmmsg.
62476         * include/sys/socket.h (__sendmmsg): Add declarations.
62477         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
62478         sendmmsg.
62480 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
62482         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
62483         variable I1 with __attribute__ ((unused)).
62484         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
62486 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
62488         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
62489         DUMMY variables with __attribute__ ((unused)).
62491         * bits/byteswap.h: Include <bits/types.h>.
62492         (__bswap_64): Use __uint64_t instead of unsigned long long int.
62494 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
62496         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
62497         string_t.  Do not manually set errno.
62498         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
62499         length with __strnlen.  Make sure to both set errno and return it on
62500         failure.
62502 2012-11-19  David S. Miller  <davem@davemloft.net>
62504         With help from Joseph Myers.
62505         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
62506         very large arguments properly.
62507         * math/libm-test.inc (atan_test): New tests.
62508         (atan2_test): New tests.
62509         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62510         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62512 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
62514         [BZ #14856]
62515         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
62516         Define to 3.
62518         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
62519         [POSIX] (EADDRNOTAVAIL): Likewise.
62520         [POSIX] (EAFNOSUPPORT): Likewise.
62521         [POSIX] (EALREADY): Likewise.
62522         [POSIX] (ECONNABORTED): Likewise.
62523         [POSIX] (ECONNREFUSED): Likewise.
62524         [POSIX] (ECONNRESET): Likewise.
62525         [POSIX] (EDESTADDRREQ): Likewise.
62526         [POSIX] (EDQUOT): Likewise.
62527         [POSIX] (EHOSTUNREACH): Likewise.
62528         [POSIX] (EIDRM): Likewise.
62529         [POSIX] (EISCONN): Likewise.
62530         [POSIX] (ELOOP): Likewise.
62531         [POSIX] (EMULTIHOP): Likewise.
62532         [POSIX] (ENETDOWN): Likewise.
62533         [POSIX] (ENETUNREACH): Likewise.
62534         [POSIX] (ENOBUFS): Likewise.
62535         [POSIX] (ENODATA): Likewise.
62536         [POSIX] (ENOLINK): Likewise.
62537         [POSIX] (ENOMSG): Likewise.
62538         [POSIX] (ENOPROTOOPT): Likewise.
62539         [POSIX] (ENOSR): Likewise.
62540         [POSIX] (ENOSTR): Likewise.
62541         [POSIX] (ENOTCONN): Likewise.
62542         [POSIX] (ENOTSOCK): Likewise.
62543         [POSIX] (EOPNOTSUPP): Likewise.
62544         [POSIX] (EOVERFLOW): Likewise.
62545         [POSIX] (EPROTO): Likewise.
62546         [POSIX] (EPROTONOSUPPORT): Likewise.
62547         [POSIX] (EPROTOTYPE): Likewise.
62548         [POSIX] (ESTALE): Likewise.
62549         [POSIX] (ETIME): Likewise.
62550         [POSIX] (ETXTBSY): Likewise.
62551         [POSIX] (EWOULDBLOCK): Likewise.
62552         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
62553         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
62554         [POSIX] (SEEK_CUR): Likewise.
62555         [POSIX] (SEEK_END): Likewise.
62556         [POSIX || UNIX98] (mode_t): Do not require.
62557         [POSIX] (off_t): Likewise.
62558         [POSIX] (pid_t): Likewise.
62559         [POSIX] (sys/stat.h): Do not allow header.
62560         [POSIX] (unistd.h): Likewise.
62561         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
62562         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
62563         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
62564         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
62565         require.
62566         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
62567         sigevent): Specify elements.
62568         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
62569         entry.
62570         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
62571         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
62573         * conform/data/cpio.h-data [POSIX]: Disable whole file.
62574         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
62575         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
62576         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
62577         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
62578         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
62579         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
62580         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
62581         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
62582         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
62583         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
62584         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
62585         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
62586         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
62587         Likewise.
62588         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
62589         Likewise.
62590         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
62591         Likewise.
62592         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
62593         Likewise.
62594         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
62595         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
62596         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
62597         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
62598         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
62599         Specify lower bound on value.
62600         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
62601         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
62602         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
62603         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
62604         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
62605         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
62606         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
62607         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
62608         value.
62609         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
62610         as optional.
62611         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
62612         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
62613         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
62614         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
62615         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
62616         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
62617         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
62618         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
62619         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
62620         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
62621         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
62622         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
62623         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
62624         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
62625         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
62626         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
62627         entry.
62628         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
62629         optional.
62630         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
62631         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
62632         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
62633         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
62634         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
62635         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
62636         Likewise.
62637         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
62638         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
62639         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
62640         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
62641         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
62642         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
62643         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
62644         as optional.
62645         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
62646         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
62647         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
62648         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
62649         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
62650         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
62651         specify as optional.
62652         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
62653         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
62654         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
62655         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
62656         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
62657         [XPG3] (NL_LANGMAX): Likewise.
62658         [POSIX || XPG3] (NL_MSGMAX): Likewise.
62659         [POSIX || XPG3] (NL_NMAX): Likewise.
62660         [POSIX || XPG3] (NL_SETMAX): Likewise.
62661         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
62662         [XPG3] (NZERO): Likewise.
62663         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
62664         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
62665         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
62666         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
62667         (REG_ERANGE): Expect.
62668         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
62669         optional-constant.
62670         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
62671         Use (void) in prototype.
62672         [POSIX] (*_t): Allow.
62673         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
62674         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
62675         (WRDE_BADVAL): Expect.
62677         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
62678         expect.
62679         [XPG3 || XPG4] (O_RSYNC): Likewise.
62680         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
62681         Likewise.
62682         [XPG3 || XPG4] (pthread_sigmask): Likewise.
62683         [XPG3 || XPG4] (sigqueue): Likewise.
62684         [XPG3 || XPG4] (sigtimedwait): Likewise.
62685         [XPG3 || XPG4] (sigwaitinfo): Likewise.
62686         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
62687         [XPG3 || XPG4] (vsnprintf): Likewise.
62688         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
62689         Likewise.
62690         [XPG3 || XPG4] (blksize_t): Likewise.
62691         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
62692         Likewise.
62693         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
62694         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
62695         [XPG3 || XPG4] (struct itimerspec): Likewise.
62696         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
62697         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
62698         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
62699         [XPG3 || XPG4] (clockid_t): Likewise.
62700         [XPG3 || XPG4] (timer_t): Likewise.
62701         [XPG3 || XPG4] (clock_getres): Likewise.
62702         [XPG3 || XPG4] (clock_gettime): Likewise.
62703         [XPG3 || XPG4] (clock_settime): Likewise.
62704         [XPG3 || XPG4] (nanosleep): Likewise.
62705         [XPG3 || XPG4] (timer_create): Likewise.
62706         [XPG3 || XPG4] (timer_delete): Likewise.
62707         [XPG3 || XPG4] (timer_gettime): Likewise.
62708         [XPG3 || XPG4] (timer_getoverrun): Likewise.
62709         [XPG3 || XPG4] (timer_settime): Likewise.
62710         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
62711         [XPG3 || XPG4] (getlogin_r): Likewise.
62712         [XPG3 || XPG4] (pread): Likewise.
62713         [XPG3 || XPG4] (pthread_atfork): Likewise.
62714         [XPG3 || XPG4] (pwrite): Likewise.
62716         [BZ #14835]
62717         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
62718         <bits/siginfo.h>.
62720 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
62722         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
62723         finalizing MALLSTREAM.
62725         * sysdeps/mach/hurd/syncfs.c: New file.
62727 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
62729         [BZ #14719]
62730         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
62731         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
62732         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
62733         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
62734         (_nss_dns_gethostbyname4_r): Likewise.
62735         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
62736         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
62738 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
62740         [BZ #13763]
62741         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
62743 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
62745         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
62746         * elf/cache.c (print_entry): Print ",AArch64" for
62747         FLAG_AARCH64_LIB64
62749         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
62750         * elf/cache.c (print_entry): Print ",hard-float" for
62751         FLAG_ARM_LIBHF.
62753 2012-11-18  David S. Miller  <davem@davemloft.net>
62755         With help from Joseph Myers.
62756         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
62757         cutoff to 2**-13.
62758         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
62759         cutoff to 2**-25.
62760         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
62761         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
62762         small.
62763         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
62764         * math/libm-test.inc (y0_test): New tests.
62765         (y1_test): New tests.
62766         * sysdeps/i386/fpu/libm-test-ulps: Update.
62767         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62768         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62770 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
62772         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
62773         64-bit targets.
62774         * configure: Regenerated.
62776 2012-11-17  David S. Miller  <davem@davemloft.net>
62778         [BZ #14811]
62779         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
62780         nonzero exponents with absolute value below 0x1p-128 to +/-
62781         0x1p-128.
62783 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
62785         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
62787         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
62789         * posix/getconf-speclist.c: New file.
62790         * posix/posix-envs.def: Likewise.
62791         * posix/confstr.c (START_ENV_GROUP): New macro.
62792         (END_ENV_GROUP): Likewise.
62793         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
62794         (KNOWN_PRESENT_ENV_STRING): Likewise.
62795         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
62796         (UNKNOWN_ENVIRONMENT): Likewise.
62797         (confstr): Include posix-envs.def instead of handling
62798         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
62799         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
62800         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
62801         (END_ENV_GROUP): Likewise.
62802         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
62803         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
62804         (UNKNOWN_ENVIRONMENT): Likewise.
62805         (__sysconf): Include posix-envs.def instead of handling associated
62806         cases directly here.
62807         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
62808         preprocessing getconf-speclist.c rather than running getconf or
62809         generating empty file.
62811 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
62813         * scripts/check-local-headers.sh: Ignore 'mach' headers.
62815 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
62817         [BZ #14672]
62818         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
62820 2012-11-16  David S. Miller  <davem@davemloft.net>
62822         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
62823         smaller than LDBL_EPSILON/2.0L, just return xm1.
62825 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
62827         * elf/tst-array1.c (init): Set constructor priority to 1000.
62828         (fini): Set destructor priority to 1000.
62829         * elf/tst-array2dep.c: Likewise.
62831 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
62833         [BZ #11741]
62834         * libio/fileops.c (_IO_new_file_write): Correctly return error.
62835         (_IO_new_file_xsputn): Also return EOF if none of the input
62836         data was written when overflow failed.
62837         * libio/iopadn.c (_IO_padn): Likewise.
62838         * libio/iowpadn.c (_IO_wpadn): Likewise.
62839         * stdio-common/tst-put-error.c: Add copyright notice.
62840         (do_test): Add case for printing padded string.
62841         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
62842         _IO_padn returned error.
62843         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
62844         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
62845         return EOF.
62847 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
62849         * libio/libioP.h: Add comment note that the references to C++
62850         bits are now obsolete.
62852 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62854         * math/libm-test.inc (check_complex): Use asprintf.
62856 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
62858         * debug/pcprofiledump.c (print_version): Update copyright year.
62859         * malloc/memusagestat.c (print_version): Likewise.
62861 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
62863         [BZ #14831]
62864         * elf/Makefile (tests): Add tst-audit8.
62865         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
62866         ($(objpfx)tst-audit8.out): New target.
62867         (tst-audit8-ENV): New variable.
62868         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
62869         audit if l_reloc_result is NULL.
62870         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
62871         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
62872         * elf/tst-audit8.c: New file.
62874 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62876         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
62877         * misc/Makefile (CFLAGS-select.c): Define.
62878         * posix/Makefile (CFLAGS-pause.c): Define.
62880 2012-11-13  David S. Miller  <davem@davemloft.net>
62882         * crypt/Makefile: Move test targets after toplevel Rules
62883         inclusion.  Grab any necessary sysdep routines when linking.
62884         * crypt/md5.c (md5_process_block): Remove define, we will always
62885         name it __md5_process_block.
62886         (md5_finish_ctx): Update md5_process_block call.
62887         (md5_stream): Likewise.
62888         (md5_process_bytes): Likewise.
62889         (md5_process_block): Rename to __md5_process_block and move to ...
62890         * crypt/md5-block.c: ... here.
62891         * crypt/sha256.c (sha256_process_block): Move to ...
62892         * crypt/sha256-block.c: ... here.
62893         * crypt/sha512.c (sha512_process_block): Move to ...
62894         * crypt/sha512-block.c: ... here.
62895         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
62896         path.
62897         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
62898         * sysdeps/sparc/sparc64/multiarch/Makefile
62899         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
62900         crypt subdir.
62901         (localedef-aux): Add md5 crypto assembler when in locale subdir.
62902         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
62903         multiarch changes.
62904         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
62905         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
62906         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
62907         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
62908         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
62909         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
62910         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
62911         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
62912         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
62913         file.
62914         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
62915         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
62916         file.
62917         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
62919 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
62921         * timezone/tzselect.ksh: Update from tzcode git revision
62922         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
62923         * timezone/zdump.c: Likewise.
62924         * timezone/zic.c: Likewise.
62925         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
62926         in TZVERSION setting, not $(PKGVERSION).
62927         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
62928         REPORT_BUGS_TO settings.
62930         [BZ #14838]
62931         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
62932         macro.
62934 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62936         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
62937         detection to immediately after _FP_ROUND().
62938         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
62939         bits are 0.
62941 2012-11-11  David S. Miller  <davem@davemloft.net>
62943         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
62944         inttypes.h
62945         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
62946         __close rather than their public counterparts.
62948 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
62950         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
62951         file.
62952         [UNIX98] (sem_timedwait): Do not expect.
62953         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
62954         [XPG4 || UNIX98] (sockatmark): Do not expect.
62955         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
62956         (clock_getcpuclockid): Do not expect.
62957         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
62958         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
62959         Do not expect.
62960         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
62961         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
62962         [UNIX98] (vwscanf): Likewise.
62963         [UNIX98] (vswscanf): Likewise.
62965 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
62967         * timezone/version.h: Remove file.
62968         * timezone/README: Do not refer to version.h.
62969         * timezone/Makefile ($(objpfx)zic.o): New dependency on
62970         $(objpfx)version.h.
62971         ($(objpfx)zdump.o): Likewise.
62972         ($(objpfx)version.h): New target.
62974         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
62975         2012i.
62976         * timezone/README: Don't mention modification to tzselect.ksh.
62977         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
62978         work on unmodified tzselect.ksh.  Substitute version numbers in
62979         tzselect.ksh.
62981         * Makefile (format-me): Remove.
62982         (INSTALL): Adjust indentation.  Use commands directly instead of
62983         using $(format-me).
62985         * aclocal.m4 (ACX_PKGVERSION): New macro.
62986         (ACX_BUGURL): Likewise.
62987         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
62988         (PKGVERSION): New AC_DEFINE_UNQUOTED.
62989         (REPORT_BUGS_TO): Likewise.
62990         * configure: Regenerated.
62991         * config.h.in (PKGVERSION): New macro.
62992         (REPORT_BUGS_TO): Likewise.
62993         * config.make.in (PKGVERSION): New variable.
62994         (PKGVERSION_TEXI): Likewise.
62995         (REPORT_BUGS_TO): Likewise.
62996         (REPORT_BUGS_TEXI): Likewise.
62997         * Makefile (format-me): Use -I$(common-objpfx)manual.
62998         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
62999         ($(common-objpfx)manual/%): New target.
63000         (manual/%): Remove target.
63001         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
63002         (print_version): Use PKGVERSION.
63003         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
63004         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
63005         and REPORT_BUGS_TO.
63006         ($(objpfx)xtrace): Likewise.
63007         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
63008         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
63009         (print_version): Use PKGVERSION.
63010         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
63011         (do_version): Use PKGVERSION.
63012         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
63013         REPORT_BUGS_TO.
63014         (common-ldd-rewrite): Likewise.
63015         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
63016         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
63017         (print_version): Use PKGVERSION.
63018         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
63019         * elf/pldd.c (argp_program_bug_address): Remove variable.
63020         (more_help): New function.
63021         (argp): Use more_help.
63022         (print_version): Use PKGVERSION.
63023         * elf/sln.c (main): Use PKGVERSION.
63024         (usage): Use REPORT_BUGS_TO.
63025         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
63026         (top level): Use PKGVERSION.
63027         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
63028         (print_version): Use PKGVERSION.
63029         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
63030         (print_version): Use PKGVERSION.
63031         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
63032         (print_version): Use PKGVERSION.
63033         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
63034         (print_version): Use PKGVERSION.
63035         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
63036         (print_version): Use PKGVERSION.
63037         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
63038         (print_version): Use PKGVERSION.
63039         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
63040         and BUGURL.
63041         ($(objpfx)memusage): Likewise.
63042         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
63043         (do_version): Use PKGVERSION.
63044         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
63045         (print_version): Use PKGVERSION.
63046         * malloc/mtrace.pl ($PACKAGE): Remove variable.
63047         ($PKGVERSION): New variable.
63048         ($REPORT_BUGS_TO): Likewise.
63049         (usage): Use $REPORT_BUGS_TO.
63050         (top level): Use $PKGVERSION.
63051         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
63052         ($(objpfx)pkgvers.texi): New rule.
63053         ($(objpfx)stamp-pkgvers): Likewise.
63054         * manual/install.texi: Include pkgvers.texi.
63055         (--with-pkgversion): Document new configure option.
63056         (--with-bugurl): Likewise.
63057         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
63058         than necessarily for this particular distribution.  Use
63059         REPORT_BUGS_TO for where to report bugs.
63060         * INSTALL: Regenerated.
63061         * manual/libc.texinfo: Include pkgvers.texi.
63062         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
63063         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
63064         (print_version): Use PKGVERSION.
63065         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
63066         (print_version): Use PKGVERSION.
63067         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
63068         (print_version): Use PKGVERSION.
63069         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
63070         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
63071         macro.
63072         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
63073         (print_version): Use PKGVERSION.
63074         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
63075         (print_version): Use PKGVERSION.
63076         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
63077         and PKGVERSION.
63079         * timezone/checktab.awk: Update from tzcode 2012i.
63080         * timezone/ialloc.c: Likewise.
63081         * timezone/private.h: Likewise.
63082         * timezone/scheck.c: Likewise.
63083         * timezone/tzfile.h: Likewise.
63084         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
63085         (TZVERSION): Hardcode tzcode version number.
63086         * timezone/zdump.c: Update from tzcode 2012i.
63087         * timezone/zic.c: Likewise.
63088         * timezone/version.h: New file.
63089         * timezone/README: Describe version.h.  Update upstream location.
63091         [BZ #14824]
63092         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
63093         (mktemp): Enable declaration.
63094         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
63095         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
63096         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
63097         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
63098         Likewise.
63099         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
63100         Likewise.
63101         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
63102         Likewise.
63103         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
63104         Likewise.
63105         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
63106         Likewise.
63107         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
63108         Likewise.
63110         [BZ #14821]
63111         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
63112         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
63113         for copies of such integer values.
63114         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63115         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63117 2012-11-09  Andreas Jaeger  <aj@suse.de>
63119         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
63120         definitions and declarations that are provided by
63121         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
63123 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63125         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
63126         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
63127         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
63128         definition.
63130 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63132         * elf/elf.h: Update comment before AArch64 relocations.
63134 2012-11-07  David S. Miller  <davem@davemloft.net>
63136         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
63137         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63138         (__start_context): Declare.
63139         (__makecontext_ret): Delete.
63140         (__makecontext): Hook up __start_context instead of
63141         __makecontext_ret.
63142         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
63143         (sysdep_routines): Add __start_context when in stdlib.
63145 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
63147         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
63148         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
63149         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
63150         hardcoded "nm".
63151         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
63152         (READELF): New variable.  Use it instead of hardcoded "readelf".
63154 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
63156         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
63157         * sysdeps/x86/Makefile: Here.
63158         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
63159         * sysdeps/x86/tst-xmmymm.sh: This.
63161 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
63163         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
63164         expectations.
63165         [UNIX98] (pthread_barrier_t): Do not expect.
63166         [UNIX98] (pthread_barrierattr_t): Likewise.
63167         [UNIX98] (pthread_spinlock_t): Likewise.
63168         [UNIX98] (pthread_barrier_destroy): Likewise.
63169         [UNIX98] (pthread_barrier_init): Likewise.
63170         [UNIX98] (pthread_barrier_wait): Likewise.
63171         [UNIX98] (pthread_barrierattr_destroy): Likewise.
63172         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
63173         [UNIX98] (pthread_barrierattr_init): Likewise.
63174         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
63175         [UNIX98] (pthread_getcpuclockid): Likewise.
63176         [UNIX98] (pthread_mutex_timedlock): Likewise.
63177         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
63178         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
63179         [UNIX98] (pthread_sigmask): Likewise.
63180         [UNIX98] (pthread_spin_destroy): Likewise.
63181         [UNIX98] (pthread_spin_init): Likewise.
63182         [UNIX98] (pthread_spin_lock): Likewise.
63183         [UNIX98] (pthread_spin_trylock): Likewise.
63184         [UNIX98] (pthread_spin_unlock): Likewise.
63185         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
63186         Do not expect.
63187         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
63188         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
63189         [XPG3 || XPG4] (pthread_cond_t): Likewise.
63190         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
63191         [XPG3 || XPG4] (pthread_key_t): Likewise.
63192         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
63193         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
63194         [XPG3 || XPG4] (pthread_once_t): Likewise.
63195         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
63196         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
63197         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
63198         [XPG3 || XPG4] (pthread_t): Likewise.
63200         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
63201         not expect.
63202         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
63204         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
63205         Change function return type to int.
63207         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
63208         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
63209         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
63210         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
63211         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
63212         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
63213         [!POSIX] (posix_madvise): Likewise.
63214         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
63215         && !UNIX98].
63216         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
63217         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
63218         (mode_t): Likewise.
63219         (posix_mem_offset): Likewise.
63220         (posix_typed_mem_get_info): Likewise.
63221         (posix_typed_mem_open): Likewise.
63223         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
63224         Change condition to [XOPEN2K8].
63226         * conform/conformtest.pl: Preprocess allow-header data with -x c
63227         instead of from stdin.
63228         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
63229         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
63230         [C99-based standards] (cerfc): Likewise.
63231         [C99-based standards] (cexp2): Likewise.
63232         [C99-based standards] (cexpm1): Likewise.
63233         [C99-based standards] (clog10): Likewise.
63234         [C99-based standards] (clog1p): Likewise.
63235         [C99-based standards] (clog2): Likewise.
63236         [C99-based standards] (clgamma): Likewise.
63237         [C99-based standards] (ctgamma): Likewise.
63238         [C99-based standards] (cerff): Likewise.
63239         [C99-based standards] (cerfcf): Likewise.
63240         [C99-based standards] (cexp2f): Likewise.
63241         [C99-based standards] (cexpm1f): Likewise.
63242         [C99-based standards] (clog10f): Likewise.
63243         [C99-based standards] (clog1pf): Likewise.
63244         [C99-based standards] (clog2f): Likewise.
63245         [C99-based standards] (clgammaf): Likewise.
63246         [C99-based standards] (ctgammaf): Likewise.
63247         [C99-based standards] (cerfl): Likewise.
63248         [C99-based standards] (cerfcl): Likewise.
63249         [C99-based standards] (cexp2l): Likewise.
63250         [C99-based standards] (cexpm1l): Likewise.
63251         [C99-based standards] (clog10l): Likewise.
63252         [C99-based standards] (clog1pl): Likewise.
63253         [C99-based standards] (clog2l): Likewise.
63254         [C99-based standards] (clgammal): Likewise.
63255         [C99-based standards] (ctgammal): Likewise.
63256         * conform/data/inttypes.h-data [C99-based standards]: Include
63257         stdint.h-data.  Remove all expectations for stdint.h contents.
63258         [C99-based standards] (PRI*): Do not allow.
63259         [C99-based standards] (SCN*): Likewise.
63260         [C99-based standards] (*_t): Likewise.
63261         [C99-based-standards] (PRId8): Expect macro.
63262         [C99-based-standards] (PRIi8): Likewise.
63263         [C99-based-standards] (PRIo8): Likewise.
63264         [C99-based-standards] (PRIu8): Likewise.
63265         [C99-based-standards] (PRIx8): Likewise.
63266         [C99-based-standards] (PRIX8): Likewise.
63267         [C99-based-standards] (SCNd8): Likewise.
63268         [C99-based-standards] (SCNi8): Likewise.
63269         [C99-based-standards] (SCNo8): Likewise.
63270         [C99-based-standards] (SCNu8): Likewise.
63271         [C99-based-standards] (SCNx8): Likewise.
63272         [C99-based-standards] (PRIdLEAST8): Likewise.
63273         [C99-based-standards] (PRIiLEAST8): Likewise.
63274         [C99-based-standards] (PRIoLEAST8): Likewise.
63275         [C99-based-standards] (PRIuLEAST8): Likewise.
63276         [C99-based-standards] (PRIxLEAST8): Likewise.
63277         [C99-based-standards] (PRIXLEAST8): Likewise.
63278         [C99-based-standards] (SCNdLEAST8): Likewise.
63279         [C99-based-standards] (SCNiLEAST8): Likewise.
63280         [C99-based-standards] (SCNoLEAST8): Likewise.
63281         [C99-based-standards] (SCNuLEAST8): Likewise.
63282         [C99-based-standards] (SCNxLEAST8): Likewise.
63283         [C99-based-standards] (PRIdFAST8): Likewise.
63284         [C99-based-standards] (PRIiFAST8): Likewise.
63285         [C99-based-standards] (PRIoFAST8): Likewise.
63286         [C99-based-standards] (PRIuFAST8): Likewise.
63287         [C99-based-standards] (PRIxFAST8): Likewise.
63288         [C99-based-standards] (PRIXFAST8): Likewise.
63289         [C99-based-standards] (SCNdFAST8): Likewise.
63290         [C99-based-standards] (SCNiFAST8): Likewise.
63291         [C99-based-standards] (SCNoFAST8): Likewise.
63292         [C99-based-standards] (SCNuFAST8): Likewise.
63293         [C99-based-standards] (SCNxFAST8): Likewise.
63294         [C99-based-standards] (PRId16): Likewise.
63295         [C99-based-standards] (PRIi16): Likewise.
63296         [C99-based-standards] (PRIo16): Likewise.
63297         [C99-based-standards] (PRIu16): Likewise.
63298         [C99-based-standards] (PRIx16): Likewise.
63299         [C99-based-standards] (PRIX16): Likewise.
63300         [C99-based-standards] (SCNd16): Likewise.
63301         [C99-based-standards] (SCNi16): Likewise.
63302         [C99-based-standards] (SCNo16): Likewise.
63303         [C99-based-standards] (SCNu16): Likewise.
63304         [C99-based-standards] (SCNx16): Likewise.
63305         [C99-based-standards] (PRIdLEAST16): Likewise.
63306         [C99-based-standards] (PRIiLEAST16): Likewise.
63307         [C99-based-standards] (PRIoLEAST16): Likewise.
63308         [C99-based-standards] (PRIuLEAST16): Likewise.
63309         [C99-based-standards] (PRIxLEAST16): Likewise.
63310         [C99-based-standards] (PRIXLEAST16): Likewise.
63311         [C99-based-standards] (SCNdLEAST16): Likewise.
63312         [C99-based-standards] (SCNiLEAST16): Likewise.
63313         [C99-based-standards] (SCNoLEAST16): Likewise.
63314         [C99-based-standards] (SCNuLEAST16): Likewise.
63315         [C99-based-standards] (SCNxLEAST16): Likewise.
63316         [C99-based-standards] (PRIdFAST16): Likewise.
63317         [C99-based-standards] (PRIiFAST16): Likewise.
63318         [C99-based-standards] (PRIoFAST16): Likewise.
63319         [C99-based-standards] (PRIuFAST16): Likewise.
63320         [C99-based-standards] (PRIxFAST16): Likewise.
63321         [C99-based-standards] (PRIXFAST16): Likewise.
63322         [C99-based-standards] (SCNdFAST16): Likewise.
63323         [C99-based-standards] (SCNiFAST16): Likewise.
63324         [C99-based-standards] (SCNoFAST16): Likewise.
63325         [C99-based-standards] (SCNuFAST16): Likewise.
63326         [C99-based-standards] (SCNxFAST16): Likewise.
63327         [C99-based-standards] (PRId32): Likewise.
63328         [C99-based-standards] (PRIi32): Likewise.
63329         [C99-based-standards] (PRIo32): Likewise.
63330         [C99-based-standards] (PRIu32): Likewise.
63331         [C99-based-standards] (PRIx32): Likewise.
63332         [C99-based-standards] (PRIX32): Likewise.
63333         [C99-based-standards] (SCNd32): Likewise.
63334         [C99-based-standards] (SCNi32): Likewise.
63335         [C99-based-standards] (SCNo32): Likewise.
63336         [C99-based-standards] (SCNu32): Likewise.
63337         [C99-based-standards] (SCNx32): Likewise.
63338         [C99-based-standards] (PRIdLEAST32): Likewise.
63339         [C99-based-standards] (PRIiLEAST32): Likewise.
63340         [C99-based-standards] (PRIoLEAST32): Likewise.
63341         [C99-based-standards] (PRIuLEAST32): Likewise.
63342         [C99-based-standards] (PRIxLEAST32): Likewise.
63343         [C99-based-standards] (PRIXLEAST32): Likewise.
63344         [C99-based-standards] (SCNdLEAST32): Likewise.
63345         [C99-based-standards] (SCNiLEAST32): Likewise.
63346         [C99-based-standards] (SCNoLEAST32): Likewise.
63347         [C99-based-standards] (SCNuLEAST32): Likewise.
63348         [C99-based-standards] (SCNxLEAST32): Likewise.
63349         [C99-based-standards] (PRIdFAST32): Likewise.
63350         [C99-based-standards] (PRIiFAST32): Likewise.
63351         [C99-based-standards] (PRIoFAST32): Likewise.
63352         [C99-based-standards] (PRIuFAST32): Likewise.
63353         [C99-based-standards] (PRIxFAST32): Likewise.
63354         [C99-based-standards] (PRIXFAST32): Likewise.
63355         [C99-based-standards] (SCNdFAST32): Likewise.
63356         [C99-based-standards] (SCNiFAST32): Likewise.
63357         [C99-based-standards] (SCNoFAST32): Likewise.
63358         [C99-based-standards] (SCNuFAST32): Likewise.
63359         [C99-based-standards] (SCNxFAST32): Likewise.
63360         [C99-based-standards] (PRId64): Likewise.
63361         [C99-based-standards] (PRIi64): Likewise.
63362         [C99-based-standards] (PRIo64): Likewise.
63363         [C99-based-standards] (PRIu64): Likewise.
63364         [C99-based-standards] (PRIx64): Likewise.
63365         [C99-based-standards] (PRIX64): Likewise.
63366         [C99-based-standards] (SCNd64): Likewise.
63367         [C99-based-standards] (SCNi64): Likewise.
63368         [C99-based-standards] (SCNo64): Likewise.
63369         [C99-based-standards] (SCNu64): Likewise.
63370         [C99-based-standards] (SCNx64): Likewise.
63371         [C99-based-standards] (PRIdLEAST64): Likewise.
63372         [C99-based-standards] (PRIiLEAST64): Likewise.
63373         [C99-based-standards] (PRIoLEAST64): Likewise.
63374         [C99-based-standards] (PRIuLEAST64): Likewise.
63375         [C99-based-standards] (PRIxLEAST64): Likewise.
63376         [C99-based-standards] (PRIXLEAST64): Likewise.
63377         [C99-based-standards] (SCNdLEAST64): Likewise.
63378         [C99-based-standards] (SCNiLEAST64): Likewise.
63379         [C99-based-standards] (SCNoLEAST64): Likewise.
63380         [C99-based-standards] (SCNuLEAST64): Likewise.
63381         [C99-based-standards] (SCNxLEAST64): Likewise.
63382         [C99-based-standards] (PRIdFAST64): Likewise.
63383         [C99-based-standards] (PRIiFAST64): Likewise.
63384         [C99-based-standards] (PRIoFAST64): Likewise.
63385         [C99-based-standards] (PRIuFAST64): Likewise.
63386         [C99-based-standards] (PRIxFAST64): Likewise.
63387         [C99-based-standards] (PRIXFAST64): Likewise.
63388         [C99-based-standards] (SCNdFAST64): Likewise.
63389         [C99-based-standards] (SCNiFAST64): Likewise.
63390         [C99-based-standards] (SCNoFAST64): Likewise.
63391         [C99-based-standards] (SCNuFAST64): Likewise.
63392         [C99-based-standards] (SCNxFAST64): Likewise.
63393         [C99-based-standards] (PRIdMAX): Likewise.
63394         [C99-based-standards] (PRIiMAX): Likewise.
63395         [C99-based-standards] (PRIoMAX): Likewise.
63396         [C99-based-standards] (PRIuMAX): Likewise.
63397         [C99-based-standards] (PRIxMAX): Likewise.
63398         [C99-based-standards] (PRIXMAX): Likewise.
63399         [C99-based-standards] (SCNdMAX): Likewise.
63400         [C99-based-standards] (SCNiMAX): Likewise.
63401         [C99-based-standards] (SCNoMAX): Likewise.
63402         [C99-based-standards] (SCNuMAX): Likewise.
63403         [C99-based-standards] (SCNxMAX): Likewise.
63404         [C99-based-standards] (PRIdPTR): Likewise.
63405         [C99-based-standards] (PRIiPTR): Likewise.
63406         [C99-based-standards] (PRIoPTR): Likewise.
63407         [C99-based-standards] (PRIuPTR): Likewise.
63408         [C99-based-standards] (PRIxPTR): Likewise.
63409         [C99-based-standards] (PRIXPTR): Likewise.
63410         [C99-based-standards] (SCNdPTR): Likewise.
63411         [C99-based-standards] (SCNiPTR): Likewise.
63412         [C99-based-standards] (SCNoPTR): Likewise.
63413         [C99-based-standards] (SCNuPTR): Likewise.
63414         [C99-based-standards] (SCNxPTR): Likewise.
63415         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
63416         allow.
63417         * conform/data/stdint.h-data: Update comments to clarify
63418         requirements.
63419         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
63420         type.
63421         [C99-based standards] (INT8_MAX): Likewise.
63422         [C99-based standards] (INT16_MIN): Likewise.
63423         [C99-based standards] (INT16_MAX): Likewise.
63424         [C99-based standards] (INT32_MIN): Likewise.
63425         [C99-based standards] (INT32_MAX): Likewise.
63426         [C99-based standards] (INT64_MIN): Likewise.
63427         [C99-based standards] (INT64_MAX): Likewise.
63428         [C99-based standards] (UINT8_MAX): Likewise.
63429         [C99-based standards] (UINT16_MAX): Likewise.
63430         [C99-based standards] (UINT32_MAX): Likewise.
63431         [C99-based standards] (UINT64_MAX): Likewise.
63432         [C99-based standards] (INT_LEAST8_MIN): Likewise.
63433         [C99-based standards] (INT_LEAST8_MAX): Likewise.
63434         [C99-based standards] (INT_LEAST16_MIN): Likewise.
63435         [C99-based standards] (INT_LEAST16_MAX): Likewise.
63436         [C99-based standards] (INT_LEAST32_MIN): Likewise.
63437         [C99-based standards] (INT_LEAST32_MAX): Likewise.
63438         [C99-based standards] (INT_LEAST64_MIN): Likewise.
63439         [C99-based standards] (INT_LEAST64_MAX): Likewise.
63440         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
63441         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
63442         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
63443         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
63444         [C99-based standards] (INT_FAST8_MIN): Likewise.
63445         [C99-based standards] (INT_FAST8_MAX): Likewise.
63446         [C99-based standards] (INT_FAST16_MIN): Likewise.
63447         [C99-based standards] (INT_FAST16_MAX): Likewise.
63448         [C99-based standards] (INT_FAST32_MIN): Likewise.
63449         [C99-based standards] (INT_FAST32_MAX): Likewise.
63450         [C99-based standards] (INT_FAST64_MIN): Likewise.
63451         [C99-based standards] (INT_FAST64_MAX): Likewise.
63452         [C99-based standards] (UINT_FAST8_MAX): Likewise.
63453         [C99-based standards] (UINT_FAST16_MAX): Likewise.
63454         [C99-based standards] (UINT_FAST32_MAX): Likewise.
63455         [C99-based standards] (UINT_FAST64_MAX): Likewise.
63456         [C99-based standards] (INTPTR_MIN): Likewise.
63457         [C99-based standards] (INTPTR_MAX): Likewise.
63458         [C99-based standards] (UINTPTR_MAX): Likewise.
63459         [C99-based standards] (INTMAX_MIN): Likewise.
63460         [C99-based standards] (INTMAX_MAX): Likewise.
63461         [C99-based standards] (UINTMAX_MAX): Likewise.
63462         [C99-based standards] (PTRDIFF_MIN): Likewise.
63463         [C99-based standards] (PTRDIFF_MAX): Likewise.
63464         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
63465         [C99-based standards] (SIZE_MAX): Likewise.
63466         [C99-based standards] (WCHAR_MAX): Likewise.
63467         [C99-based standards] (WINT_MAX): Likewise.
63468         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
63469         constraint on value.
63470         [C99-based standards] (WCHAR_MIN): Likewise.
63471         [C99-based standards] (WINT_MIN): Likewise.
63472         [C99-based standards] (*_t): Allow.
63473         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
63474         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
63475         Include math.h-data and complex.h-data.  Remove all expectations
63476         of math.h and complex.h contents.
63477         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
63478         at end of line.
63479         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
63480         (struct tm): Expect tag.
63481         [C99-based-standards] (wcstof): Expect function.
63482         [C99-based-standards] (wcstold): Likewise.
63483         [C99-based-standards] (wcstoll): Likewise.
63484         [C99-based-standards] (wcstoull): Likewise.
63485         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
63486         macro-int-constant.  Specify type.
63487         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
63488         constraint on value.
63489         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
63490         Specify type.
63491         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
63492         Specify value.
63493         [ISO C standards]: Do not allow headers.
63494         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
63495         wcs[abcdefghijklmnopqrstuvwxyz]*.
63496         [ISO C standards] (*_t): Do not allow.
63497         * conform/data/wctype.h-data [C99-based standards] (iswblank):
63498         Expect function.
63499         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
63500         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
63501         Specify type.
63502         [ISO C standards]: Do not allow headers.
63503         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
63504         is[abcdefghijklmnopqrstuvwxyz]*.
63505         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
63506         to[abcdefghijklmnopqrstuvwxyz]*.
63507         [ISO C standards] (*_t): Do not allow.
63508         * conform/data/stdalign.h-data: New file.
63509         * conform/data/stdbool.h-data: Likewise.
63510         * conform/data/stdnoreturn.h-data: Likewise.
63512 2012-11-07  Roland McGrath  <roland@hack.frob.com>
63514         [BZ #14815]
63515         * manual/filesys.texi (Directory Entries): Typo fix.
63516         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
63518 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63520         * elf/elf.h (EM_AARCH64): New macro.
63521         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
63522         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
63523         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
63524         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
63525         (R_AARCH64_TLSDESC): Likewise.
63526         (NT_ARM_TLS): Likewise.
63527         (NT_ARM_HW_BREAK): Likewise.
63528         (NT_ARM_HW_WATCH): Likewise.
63530 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
63532         [BZ #14811]
63533         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
63534         (__ieee754_powl): Saturate nonzero exponents with absolute value
63535         below 0x1p-79 to +/- 0x1p-79.
63536         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
63537         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
63538         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
63539         nonzero exponents with absolute value below 0x1p-32 to +/-
63540         0x1p-32.
63541         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
63542         (__ieee754_powl): Saturate nonzero exponents with absolute value
63543         below 0x1p-79 to +/- 0x1p-79.
63544         * math/libm-test.inc (pow_test): Add more tests.
63546 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63548         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
63549         _dl_s390_cap_flags with kernel. Increase string length.
63550         (_dl_s390_platforms): Add z196 and zEC12.
63552 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
63554         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
63555         Change XOPEN21K to XOPEN2K.
63557 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
63559         * string/memmove.c: Use memcpy when possible.
63561 2012-11-06  Andreas Jaeger  <aj@suse.de>
63563         * po/eo.po: Update from translation team.
63565 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
63567         [BZ #14793]
63568         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
63569         exponent and small x and y exponents, scale x or y up.  Increase
63570         by 2 the exponent used in scaling up.
63571         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63572         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63573         * math/libm-test.inc (fma_test): Add more tests.
63574         (fma_test_towardzero): Likewise.
63575         (fma_test_downward): Likewise.
63576         (fma_test_upward): Likewise.
63578 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
63580         [BZ #14805]
63581         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
63582         fenv_t *.
63584         [BZ #14801]
63585         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
63586         namespace for names of struct fields.
63587         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
63588         fenv_t fields.
63589         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
63590         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
63592 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63594         [BZ #3665]
63595         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
63597 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
63599         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
63600         PTR_DEMANGLE.
63602         [BZ #5246]
63603         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
63604         PTR_DEMANGLE.
63606 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
63608         [BZ #14797]
63609         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
63610         definitely overflow as x * y not x * y + z.
63611         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63612         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63613         * math/libm-test.inc (fma_test): Add more tests.
63614         (fma_test_towardzero): Likewise.
63615         (fma_test_downward): Likewise.
63616         (fma_test_upward): Likewise.
63618 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
63620         [BZ #157]
63622         * include/stub-tag.h: Remove file.
63623         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
63624         '#include' of it.
63625         * manual/maint.texi (Porting): Don't reference it.
63626         * Makerules ($(objpfx)stubs): Likewise.
63627         * dirent/closedir.c: Don't include <stub-tag.h>.
63628         * dirent/dirfd.c: Likewise.
63629         * dirent/fdopendir.c: Likewise.
63630         * dirent/getdents.c: Likewise.
63631         * dirent/getdents64.c: Likewise.
63632         * dirent/opendir.c: Likewise.
63633         * dirent/readdir.c: Likewise.
63634         * dirent/readdir64.c: Likewise.
63635         * dirent/readdir64_r.c: Likewise.
63636         * dirent/readdir_r.c: Likewise.
63637         * dirent/rewinddir.c: Likewise.
63638         * dirent/seekdir.c: Likewise.
63639         * dirent/telldir.c: Likewise.
63640         * gmon/profil.c: Likewise.
63641         * grp/setgroups.c: Likewise.
63642         * inet/if_index.c: Likewise.
63643         * io/access.c: Likewise.
63644         * io/chdir.c: Likewise.
63645         * io/chmod.c: Likewise.
63646         * io/chown.c: Likewise.
63647         * io/close.c: Likewise.
63648         * io/dup.c: Likewise.
63649         * io/dup2.c: Likewise.
63650         * io/dup3.c: Likewise.
63651         * io/euidaccess.c: Likewise.
63652         * io/faccessat.c: Likewise.
63653         * io/fchdir.c: Likewise.
63654         * io/fchmod.c: Likewise.
63655         * io/fchmodat.c: Likewise.
63656         * io/fchown.c: Likewise.
63657         * io/fchownat.c: Likewise.
63658         * io/fcntl.c: Likewise.
63659         * io/flock.c: Likewise.
63660         * io/fstatfs.c: Likewise.
63661         * io/fstatfs64.c: Likewise.
63662         * io/fstatvfs.c: Likewise.
63663         * io/fstatvfs64.c: Likewise.
63664         * io/futimens.c: Likewise.
63665         * io/fxstat.c: Likewise.
63666         * io/fxstat64.c: Likewise.
63667         * io/fxstatat.c: Likewise.
63668         * io/fxstatat64.c: Likewise.
63669         * io/getcwd.c: Likewise.
63670         * io/isatty.c: Likewise.
63671         * io/lchmod.c: Likewise.
63672         * io/lchown.c: Likewise.
63673         * io/link.c: Likewise.
63674         * io/linkat.c: Likewise.
63675         * io/lseek.c: Likewise.
63676         * io/lseek64.c: Likewise.
63677         * io/lxstat64.c: Likewise.
63678         * io/mkdir.c: Likewise.
63679         * io/mkdirat.c: Likewise.
63680         * io/mkfifo.c: Likewise.
63681         * io/mkfifoat.c: Likewise.
63682         * io/open.c: Likewise.
63683         * io/open64.c: Likewise.
63684         * io/openat.c: Likewise.
63685         * io/openat64.c: Likewise.
63686         * io/pipe.c: Likewise.
63687         * io/pipe2.c: Likewise.
63688         * io/poll.c: Likewise.
63689         * io/posix_fadvise.c: Likewise.
63690         * io/posix_fadvise64.c: Likewise.
63691         * io/posix_fallocate.c: Likewise.
63692         * io/posix_fallocate64.c: Likewise.
63693         * io/read.c: Likewise.
63694         * io/readlink.c: Likewise.
63695         * io/readlinkat.c: Likewise.
63696         * io/rmdir.c: Likewise.
63697         * io/sendfile.c: Likewise.
63698         * io/sendfile64.c: Likewise.
63699         * io/statfs.c: Likewise.
63700         * io/statfs64.c: Likewise.
63701         * io/statvfs.c: Likewise.
63702         * io/statvfs64.c: Likewise.
63703         * io/symlink.c: Likewise.
63704         * io/symlinkat.c: Likewise.
63705         * io/ttyname.c: Likewise.
63706         * io/ttyname_r.c: Likewise.
63707         * io/umask.c: Likewise.
63708         * io/unlink.c: Likewise.
63709         * io/unlinkat.c: Likewise.
63710         * io/utime.c: Likewise.
63711         * io/utimensat.c: Likewise.
63712         * io/write.c: Likewise.
63713         * io/xmknod.c: Likewise.
63714         * io/xmknodat.c: Likewise.
63715         * io/xstat.c: Likewise.
63716         * io/xstat64.c: Likewise.
63717         * login/getpt.c: Likewise.
63718         * login/grantpt.c: Likewise.
63719         * login/unlockpt.c: Likewise.
63720         * math/e_acoshl.c: Likewise.
63721         * math/e_acosl.c: Likewise.
63722         * math/e_asinl.c: Likewise.
63723         * math/e_atan2l.c: Likewise.
63724         * math/e_atanhl.c: Likewise.
63725         * math/e_coshl.c: Likewise.
63726         * math/e_expl.c: Likewise.
63727         * math/e_fmodl.c: Likewise.
63728         * math/e_gammal_r.c: Likewise.
63729         * math/e_hypotl.c: Likewise.
63730         * math/e_j0l.c: Likewise.
63731         * math/e_j1l.c: Likewise.
63732         * math/e_jnl.c: Likewise.
63733         * math/e_lgammal_r.c: Likewise.
63734         * math/e_log10l.c: Likewise.
63735         * math/e_log2l.c: Likewise.
63736         * math/e_logl.c: Likewise.
63737         * math/e_powl.c: Likewise.
63738         * math/e_rem_pio2l.c: Likewise.
63739         * math/e_sinhl.c: Likewise.
63740         * math/e_sqrtl.c: Likewise.
63741         * math/fclrexcpt.c: Likewise.
63742         * math/fedisblxcpt.c: Likewise.
63743         * math/feenablxcpt.c: Likewise.
63744         * math/fegetenv.c: Likewise.
63745         * math/fegetexcept.c: Likewise.
63746         * math/fegetround.c: Likewise.
63747         * math/feholdexcpt.c: Likewise.
63748         * math/fesetenv.c: Likewise.
63749         * math/fesetround.c: Likewise.
63750         * math/feupdateenv.c: Likewise.
63751         * math/fgetexcptflg.c: Likewise.
63752         * math/fraiseexcpt.c: Likewise.
63753         * math/fsetexcptflg.c: Likewise.
63754         * math/ftestexcept.c: Likewise.
63755         * math/k_cosl.c: Likewise.
63756         * math/k_rem_pio2l.c: Likewise.
63757         * math/k_sinl.c: Likewise.
63758         * math/k_tanl.c: Likewise.
63759         * math/s_asinhl.c: Likewise.
63760         * math/s_atanl.c: Likewise.
63761         * math/s_cbrtl.c: Likewise.
63762         * math/s_erfl.c: Likewise.
63763         * math/s_expm1l.c: Likewise.
63764         * math/s_log1pl.c: Likewise.
63765         * math/s_tanhl.c: Likewise.
63766         * misc/acct.c: Likewise.
63767         * misc/brk.c: Likewise.
63768         * misc/chflags.c: Likewise.
63769         * misc/chroot.c: Likewise.
63770         * misc/fchflags.c: Likewise.
63771         * misc/fgetxattr.c: Likewise.
63772         * misc/flistxattr.c: Likewise.
63773         * misc/fremovexattr.c: Likewise.
63774         * misc/fsetxattr.c: Likewise.
63775         * misc/fsync.c: Likewise.
63776         * misc/ftruncate.c: Likewise.
63777         * misc/futimes.c: Likewise.
63778         * misc/futimesat.c: Likewise.
63779         * misc/getdomain.c: Likewise.
63780         * misc/getdtsz.c: Likewise.
63781         * misc/gethostid.c: Likewise.
63782         * misc/gethostname.c: Likewise.
63783         * misc/getloadavg.c: Likewise.
63784         * misc/getpagesize.c: Likewise.
63785         * misc/getsysstats.c: Likewise.
63786         * misc/getxattr.c: Likewise.
63787         * misc/gtty.c: Likewise.
63788         * misc/ioctl.c: Likewise.
63789         * misc/lgetxattr.c: Likewise.
63790         * misc/listxattr.c: Likewise.
63791         * misc/llistxattr.c: Likewise.
63792         * misc/lremovexattr.c: Likewise.
63793         * misc/lsetxattr.c: Likewise.
63794         * misc/lutimes.c: Likewise.
63795         * misc/madvise.c: Likewise.
63796         * misc/mincore.c: Likewise.
63797         * misc/mlock.c: Likewise.
63798         * misc/mlockall.c: Likewise.
63799         * misc/mmap.c: Likewise.
63800         * misc/mprotect.c: Likewise.
63801         * misc/msync.c: Likewise.
63802         * misc/munlock.c: Likewise.
63803         * misc/munlockall.c: Likewise.
63804         * misc/munmap.c: Likewise.
63805         * misc/preadv.c: Likewise.
63806         * misc/preadv64.c: Likewise.
63807         * misc/ptrace.c: Likewise.
63808         * misc/pwritev.c: Likewise.
63809         * misc/pwritev64.c: Likewise.
63810         * misc/readv.c: Likewise.
63811         * misc/reboot.c: Likewise.
63812         * misc/remap_file_pages.c: Likewise.
63813         * misc/removexattr.c: Likewise.
63814         * misc/revoke.c: Likewise.
63815         * misc/select.c: Likewise.
63816         * misc/setdomain.c: Likewise.
63817         * misc/setegid.c: Likewise.
63818         * misc/seteuid.c: Likewise.
63819         * misc/sethostid.c: Likewise.
63820         * misc/sethostname.c: Likewise.
63821         * misc/setregid.c: Likewise.
63822         * misc/setreuid.c: Likewise.
63823         * misc/setxattr.c: Likewise.
63824         * misc/sstk.c: Likewise.
63825         * misc/stty.c: Likewise.
63826         * misc/swapoff.c: Likewise.
63827         * misc/swapon.c: Likewise.
63828         * misc/sync.c: Likewise.
63829         * misc/syncfs.c: Likewise.
63830         * misc/syscall.c: Likewise.
63831         * misc/truncate.c: Likewise.
63832         * misc/ualarm.c: Likewise.
63833         * misc/usleep.c: Likewise.
63834         * misc/ustat.c: Likewise.
63835         * misc/utimes.c: Likewise.
63836         * misc/vhangup.c: Likewise.
63837         * misc/writev.c: Likewise.
63838         * posix/_exit.c: Likewise.
63839         * posix/alarm.c: Likewise.
63840         * posix/execve.c: Likewise.
63841         * posix/fexecve.c: Likewise.
63842         * posix/fork.c: Likewise.
63843         * posix/fpathconf.c: Likewise.
63844         * posix/getaddrinfo.c: Likewise.
63845         * posix/getegid.c: Likewise.
63846         * posix/geteuid.c: Likewise.
63847         * posix/getgid.c: Likewise.
63848         * posix/getgroups.c: Likewise.
63849         * posix/getlogin.c: Likewise.
63850         * posix/getlogin_r.c: Likewise.
63851         * posix/getpgid.c: Likewise.
63852         * posix/getpid.c: Likewise.
63853         * posix/getppid.c: Likewise.
63854         * posix/getresgid.c: Likewise.
63855         * posix/getresuid.c: Likewise.
63856         * posix/getsid.c: Likewise.
63857         * posix/getuid.c: Likewise.
63858         * posix/glob64.c: Likewise.
63859         * posix/nanosleep.c: Likewise.
63860         * posix/pathconf.c: Likewise.
63861         * posix/pause.c: Likewise.
63862         * posix/posix_madvise.c: Likewise.
63863         * posix/pread.c: Likewise.
63864         * posix/pread64.c: Likewise.
63865         * posix/pwrite.c: Likewise.
63866         * posix/pwrite64.c: Likewise.
63867         * posix/sched_getaffinity.c: Likewise.
63868         * posix/sched_getp.c: Likewise.
63869         * posix/sched_gets.c: Likewise.
63870         * posix/sched_primax.c: Likewise.
63871         * posix/sched_primin.c: Likewise.
63872         * posix/sched_rr_gi.c: Likewise.
63873         * posix/sched_setaffinity.c: Likewise.
63874         * posix/sched_setp.c: Likewise.
63875         * posix/sched_sets.c: Likewise.
63876         * posix/sched_yield.c: Likewise.
63877         * posix/setgid.c: Likewise.
63878         * posix/setlogin.c: Likewise.
63879         * posix/setpgid.c: Likewise.
63880         * posix/setresgid.c: Likewise.
63881         * posix/setresuid.c: Likewise.
63882         * posix/setsid.c: Likewise.
63883         * posix/setuid.c: Likewise.
63884         * posix/sleep.c: Likewise.
63885         * posix/spawni.c: Likewise.
63886         * posix/sysconf.c: Likewise.
63887         * posix/times.c: Likewise.
63888         * posix/wait.c: Likewise.
63889         * posix/wait3.c: Likewise.
63890         * posix/wait4.c: Likewise.
63891         * posix/waitpid.c: Likewise.
63892         * resolv/gai_sigqueue.c: Likewise.
63893         * resource/getpriority.c: Likewise.
63894         * resource/getrlimit.c: Likewise.
63895         * resource/getrusage.c: Likewise.
63896         * resource/nice.c: Likewise.
63897         * resource/setpriority.c: Likewise.
63898         * resource/setrlimit.c: Likewise.
63899         * resource/ulimit.c: Likewise.
63900         * rt/aio_cancel.c: Likewise.
63901         * rt/aio_fsync.c: Likewise.
63902         * rt/aio_read.c: Likewise.
63903         * rt/aio_sigqueue.c: Likewise.
63904         * rt/aio_suspend.c: Likewise.
63905         * rt/aio_write.c: Likewise.
63906         * rt/clock_getres.c: Likewise.
63907         * rt/clock_gettime.c: Likewise.
63908         * rt/clock_nanosleep.c: Likewise.
63909         * rt/clock_settime.c: Likewise.
63910         * rt/lio_listio.c: Likewise.
63911         * rt/mq_close.c: Likewise.
63912         * rt/mq_getattr.c: Likewise.
63913         * rt/mq_notify.c: Likewise.
63914         * rt/mq_open.c: Likewise.
63915         * rt/mq_receive.c: Likewise.
63916         * rt/mq_send.c: Likewise.
63917         * rt/mq_setattr.c: Likewise.
63918         * rt/mq_timedreceive.c: Likewise.
63919         * rt/mq_timedsend.c: Likewise.
63920         * rt/mq_unlink.c: Likewise.
63921         * rt/shm_open.c: Likewise.
63922         * rt/shm_unlink.c: Likewise.
63923         * rt/timer_create.c: Likewise.
63924         * rt/timer_delete.c: Likewise.
63925         * rt/timer_getoverr.c: Likewise.
63926         * rt/timer_gettime.c: Likewise.
63927         * rt/timer_settime.c: Likewise.
63928         * setjmp/__longjmp.c: Likewise.
63929         * setjmp/setjmp.c: Likewise.
63930         * signal/kill.c: Likewise.
63931         * signal/killpg.c: Likewise.
63932         * signal/raise.c: Likewise.
63933         * signal/sigaction.c: Likewise.
63934         * signal/sigaltstack.c: Likewise.
63935         * signal/sigblock.c: Likewise.
63936         * signal/sigignore.c: Likewise.
63937         * signal/sigintr.c: Likewise.
63938         * signal/signal.c: Likewise.
63939         * signal/sigpause.c: Likewise.
63940         * signal/sigpending.c: Likewise.
63941         * signal/sigqueue.c: Likewise.
63942         * signal/sigreturn.c: Likewise.
63943         * signal/sigset.c: Likewise.
63944         * signal/sigsetmask.c: Likewise.
63945         * signal/sigstack.c: Likewise.
63946         * signal/sigsuspend.c: Likewise.
63947         * signal/sigtimedwait.c: Likewise.
63948         * signal/sigvec.c: Likewise.
63949         * signal/sigwait.c: Likewise.
63950         * signal/sigwaitinfo.c: Likewise.
63951         * signal/sysv_signal.c: Likewise.
63952         * socket/accept.c: Likewise.
63953         * socket/accept4.c: Likewise.
63954         * socket/bind.c: Likewise.
63955         * socket/connect.c: Likewise.
63956         * socket/getpeername.c: Likewise.
63957         * socket/getsockname.c: Likewise.
63958         * socket/getsockopt.c: Likewise.
63959         * socket/isfdtype.c: Likewise.
63960         * socket/listen.c: Likewise.
63961         * socket/recv.c: Likewise.
63962         * socket/recvfrom.c: Likewise.
63963         * socket/recvmsg.c: Likewise.
63964         * socket/send.c: Likewise.
63965         * socket/sendmsg.c: Likewise.
63966         * socket/sendto.c: Likewise.
63967         * socket/setsockopt.c: Likewise.
63968         * socket/shutdown.c: Likewise.
63969         * socket/sockatmark.c: Likewise.
63970         * socket/socket.c: Likewise.
63971         * socket/socketpair.c: Likewise.
63972         * stdio-common/ctermid.c: Likewise.
63973         * stdio-common/cuserid.c: Likewise.
63974         * stdio-common/remove.c: Likewise.
63975         * stdio-common/rename.c: Likewise.
63976         * stdio-common/renameat.c: Likewise.
63977         * stdio-common/tempname.c: Likewise.
63978         * stdlib/getcontext.c: Likewise.
63979         * stdlib/makecontext.c: Likewise.
63980         * stdlib/setcontext.c: Likewise.
63981         * stdlib/swapcontext.c: Likewise.
63982         * stdlib/system.c: Likewise.
63983         * streams/fattach.c: Likewise.
63984         * streams/fdetach.c: Likewise.
63985         * streams/getmsg.c: Likewise.
63986         * streams/getpmsg.c: Likewise.
63987         * streams/putmsg.c: Likewise.
63988         * streams/putpmsg.c: Likewise.
63989         * sysdeps/unix/bsd/getpt.c: Likewise.
63990         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
63991         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
63992         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
63993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
63994         Likewise.
63995         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
63996         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
63997         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
63998         * sysvipc/msgctl.c: Likewise.
63999         * sysvipc/msgget.c: Likewise.
64000         * sysvipc/msgrcv.c: Likewise.
64001         * sysvipc/msgsnd.c: Likewise.
64002         * sysvipc/semctl.c: Likewise.
64003         * sysvipc/semget.c: Likewise.
64004         * sysvipc/semop.c: Likewise.
64005         * sysvipc/semtimedop.c: Likewise.
64006         * sysvipc/shmat.c: Likewise.
64007         * sysvipc/shmctl.c: Likewise.
64008         * sysvipc/shmdt.c: Likewise.
64009         * sysvipc/shmget.c: Likewise.
64010         * termios/tcdrain.c: Likewise.
64011         * termios/tcflow.c: Likewise.
64012         * termios/tcflush.c: Likewise.
64013         * termios/tcgetattr.c: Likewise.
64014         * termios/tcgetpgrp.c: Likewise.
64015         * termios/tcsendbrk.c: Likewise.
64016         * termios/tcsetattr.c: Likewise.
64017         * termios/tcsetpgrp.c: Likewise.
64018         * time/adjtime.c: Likewise.
64019         * time/clock.c: Likewise.
64020         * time/getitimer.c: Likewise.
64021         * time/gettimeofday.c: Likewise.
64022         * time/setitimer.c: Likewise.
64023         * time/settimeofday.c: Likewise.
64024         * time/stime.c: Likewise.
64025         * time/time.c: Likewise.
64027 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
64029         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
64030         /usr/old/bin.
64032         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
64033         instead of spaces.
64034         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
64036 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
64038         [BZ #14796]
64039         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
64040         FE_TONEAREST before applying Dekker multiplication and Knuth
64041         addition.  Clear inexact exceptions and check for exact zero
64042         results afterwards.
64043         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64044         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
64045         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64046         * math/libm-test.inc (fma_test): Add more tests.
64047         (fma_test_towardzero): Likewise.
64048         (fma_test_downward): Likewise.
64049         (fma_test_upward): Likewise.
64050         * sysdeps/generic/math_private.h (default_libc_fesetround): New
64051         function.
64052         (libc_fesetround): New macro.
64053         (libc_fesetroundf): Likewise.
64054         (libc_fesetroundl): Likewise.
64055         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
64056         function.
64057         (libc_fesetround_387): Likewise.
64058         (libc_fesetroundf): New macro.
64059         (libc_fesetround): Likewise.
64060         (libc_fesetroundl): Likewise.
64061         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
64062         function.
64063         (libc_fesetroundf): New macro.
64064         (libc_fesetround): Likewise.
64065         (libc_fesetroundl): Likewise.
64066         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
64067         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
64068         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
64069         libm_hidden_ver.
64070         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
64071         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
64072         libm_hidden_def.
64073         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
64074         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
64075         libm_hidden_ver.
64076         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
64077         libm_hidden_def.
64079         [BZ #3439]
64080         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
64081         integer constant usable in #if and use that to give value to enum
64082         constant.
64083         (FE_DIVBYZERO): Likewise.
64084         (FE_UNDERFLOW): Likewise.
64085         (FE_OVERFLOW): Likewise.
64086         (FE_INVALID): Likewise.
64087         (FE_INVALID_SNAN): Likewise.
64088         (FE_INVALID_ISI): Likewise.
64089         (FE_INVALID_IDI): Likewise.
64090         (FE_INVALID_ZDZ): Likewise.
64091         (FE_INVALID_IMZ): Likewise.
64092         (FE_INVALID_COMPARE): Likewise.
64093         (FE_INVALID_SOFTWARE): Likewise.
64094         (FE_INVALID_SQRT): Likewise.
64095         (FE_INVALID_INTEGER_CONVERSION): Likewise.
64096         (FE_TONEAREST): Likewise.
64097         (FE_TOWARDZERO): Likewise.
64098         (FE_UPWARD): Likewise.
64099         (FE_DOWNWARD): Likewise.
64100         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
64101         (FE_DIVBYZERO): Likewise.
64102         (FE_OVERFLOW): Likewise.
64103         (FE_UNDERFLOW): Likewise.
64104         (FE_INEXACT): Likewise.
64105         (FE_TONEAREST): Likewise.
64106         (FE_DOWNWARD): Likewise.
64107         (FE_UPWARD): Likewise.
64108         (FE_TOWARDZERO): Likewise.
64109         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
64110         (FE_UNDERFLOW): Likewise.
64111         (FE_OVERFLOW): Likewise.
64112         (FE_DIVBYZERO): Likewise.
64113         (FE_INVALID): Likewise.
64114         (FE_TONEAREST): Likewise.
64115         (FE_TOWARDZERO): Likewise.
64116         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
64117         (FE_OVERFLOW): Likewise.
64118         (FE_UNDERFLOW): Likewise.
64119         (FE_DIVBYZERO): Likewise.
64120         (FE_INEXACT): Likewise.
64121         (FE_TONEAREST): Likewise.
64122         (FE_TOWARDZERO): Likewise.
64123         (FE_UPWARD): Likewise.
64124         (FE_DOWNWARD): Likewise.
64125         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
64126         (FE_DIVBYZERO): Likewise.
64127         (FE_OVERFLOW): Likewise.
64128         (FE_UNDERFLOW): Likewise.
64129         (FE_INEXACT): Likewise.
64130         (FE_TONEAREST): Likewise.
64131         (FE_DOWNWARD): Likewise.
64132         (FE_UPWARD): Likewise.
64133         (FE_TOWARDZERO): Likewise.
64135 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
64137         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
64139 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
64141         * scripts/cross-test-ssh.sh (command): Use newlines to separate
64142         commands.  Quote $PWD.
64143         (blacklist_exports): Don't use remove_newlines.  Replace "declare
64144         -x" by "export".
64145         (remove_newlines): Remove.
64147 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
64149         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
64150         * stdlib/stdlib.h (atof): Moved to ...
64151         * include/bits/stdlib-float.h: Here.  New file.
64152         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
64153         * stdlib/bits/stdlib-float.h: New file.
64154         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
64155         -mno-sse -mno-mmx.
64156         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
64157         <xmmintrin.h>.
64159 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
64161         * conform/conformtest.pl (@headers): Add fenv.h.
64162         * conform/data/fenv.h-data: New file.
64163         * include/fenv.h [_ISOMAC]: Disable all contents of file except
64164         include of <math/fenv.h>.
64166         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
64167         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
64168         && !UNIX98].  Enables tests for XOPEN2K8.
64169         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
64170         POSIX2008]: Likewise.
64172         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
64173         (struct rusage): Do not expect type or its members.
64175         [BZ #3439]
64176         * math/math.h (FP_NAN): Define macro to integer constant usable in
64177         #if and use that to give value to enum constant.
64178         (FP_INFINITE): Likewise.
64179         (FP_ZERO): Likewise.
64180         (FP_SUBNORMAL): Likewise.
64181         (FP_NORMAL): Likewise.
64183 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
64185         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
64186         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
64187         arguments.
64189 2012-11-02  Roland McGrath  <roland@hack.frob.com>
64191         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
64192         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
64193         autoconf-time if not.
64194         * configure.in: Remove AC_PREREQ.
64196 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64198         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
64199         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
64200         of the internal implementation.
64202 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
64204         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
64205         except include of <misc/sys/syslog.h>.
64207 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
64209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
64210         function returns with a NULL context exit with zero.
64212 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64214         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
64216 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
64218         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
64219         (run_program_cmd): This.
64220         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
64221         (tst_langinfo): New variable.  Use it.
64223 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
64225         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
64226         floating point opcodes.
64228 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
64230         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
64231         variable.
64233         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
64235         * sysdeps/mach/hurd/powerpc: Remove directory.
64236         * sysdeps/mach/powerpc: Likewise.
64238 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
64240         * scripts/check-local-headers.sh: Ignore c++ headers.
64242 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
64244         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
64245         __libc_cleanup_region_start argument.
64247 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
64249         [BZ #14784]
64250         [BZ #14785]
64251         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
64252         x * y using scaling, not as x * y + z.
64253         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64254         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64255         * math/libm-test.inc (fma_test): Add more tests.
64256         (fma_test_towardzero): Likewise.
64257         (fma_test_downward): Likewise.
64258         (fma_test_upward): Likewise.
64260 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
64262         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
64264 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
64266         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
64267         New variable.
64269 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
64271         * rt/tst-shm.c (worker): Correct checking for mmap failure.
64273 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
64275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64276         Fix sort order.
64277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64278         Likewise.
64280 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64283         Fix the order of the list for glibc 2.17.
64284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64285         Likewise.
64287 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
64289         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64291 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
64293         [BZ #14610]
64294         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
64295         for low part of x being zero before using __atanl (y).
64296         * math/libm-test.inc (atan2_test): Add another test.
64298         * manual/install.texi (Configuring and compiling): Document
64299         general use of test-wrapper and test-wrapper-env.
64300         * INSTALL: Regenerated.
64302         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
64303         (__fma): Do not extract and scale down low bits on after-rounding
64304         systems when result rounded to normal precision would have normal
64305         exponent.
64306         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
64307         (__fmal): Do not extract and scale down low bits on after-rounding
64308         systems when result rounded to normal precision would have normal
64309         exponent.
64310         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
64311         (__fmal): Do not extract and scale down low bits on after-rounding
64312         systems when result rounded to normal precision would have normal
64313         exponent.
64314         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
64315         macro.
64316         (fma_test): Add more tests.
64317         (fma_test_towardzero): Likewise.
64318         (fma_test_downward): Likewise.
64319         (fma_test_upward): Likewise.
64321 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
64323         * sysdeps/i386/tininess.h: Renamed to ...
64324         * sysdeps/x86/tininess.h: This.
64325         * sysdeps/x86_64/tininess.h: Removed.
64327 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
64329         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
64330         input.  Use $(build-program-cmd).
64331         ($(objpfx)tst-array1-static.out): Likewise.
64332         ($(objpfx)tst-array2.out): Likewise.
64333         ($(objpfx)tst-array3.out): Likewise.
64334         ($(objpfx)tst-array4.out): Likewise.
64335         ($(objpfx)tst-array5.out): Likewise.
64336         ($(objpfx)tst-array5-static.out): Likewise.
64338 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
64340         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
64341         if defined.
64343         * nss/nsswitch.h (nss_interface_function): Provide new
64344         macro for use with NSS functions.
64345         * grp/initgroups.c: Use new macro.
64346         * nss/getXXbyYY.c: Likewise.
64347         * nss/getXXbyYY_r.c: Likewise.
64348         * nss/getXXent.c: Likewise.
64349         * nss/getXXent_r.c: Likewise.
64350         * sysdeps/posix/getaddrinfo.c: Likewise.
64352 2012-10-30  Andreas Jaeger  <aj@suse.de>
64354         * po/ru.po: Update Russion translation from translation project.
64356 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
64358         [BZ #14152]
64359         [BZ #14783]
64360         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
64361         result and shift together with sticky bit instead of replicating
64362         round-to-nearest rounding.
64363         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64364         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64365         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
64366         missing underflow exceptions.
64367         (fma_test_towardzero): Add more tests.
64368         (fma_test_downward): Likewise.
64369         (fma_test_upward): Likewise.
64371         [BZ #14047]
64372         * sysdeps/generic/tininess.h: New file.
64373         * sysdeps/i386/tininess.h: Likewise.
64374         * sysdeps/sh/tininess.h: Likewise.
64375         * sysdeps/x86_64/tininess.h: Likewise.
64376         * stdlib/tst-strtod-underflow.c: Likewise.
64377         * stdlib/tst-tininess.c: Likewise.
64378         * stdlib/strtod_l.c: Include <tininess.h>.
64379         (round_and_return): Do not set errno for exact underflow cases.
64380         Force an underflow exception when setting errno for underflow.
64381         Determine underflow based on rounding to normal precision if
64382         TININESS_AFTER_ROUNDING.
64383         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
64384         ERANGE for exact underflow cases.
64385         * stdlib/Makefile (tests): Add tst-tininess and
64386         tst-strtod-underflow.
64387         ($(objpfx)tst-tininess): Use $(link-libm).
64388         ($(objpfx)tst-strtod-underflow): Likewise.
64390 2012-10-30  Andreas Jaeger  <aj@suse.de>
64392         [BZ#14767]
64393         * elf/Makefile (tests): Remove conditional for have-initfini-array
64394         since this is now always required and the variable does not exist
64395         anymore.
64396         (tests-static): Likewise.
64397         (modules-names): Likewise.
64399         * po/eo.po: Add Esperanto translation from translation project.
64401         * elf/tst-array1.c (fini_array): Make writeable so that it can be
64402         merged with constructor/destructor.
64403         (init_array): Likewise.
64404         * elf/tst-array2dep.c (fini_array): Likewise.
64405         (init_array): Likewise.
64407 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
64409         * manual/message.texi: Delete @cartouche tags.
64411 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
64413         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
64414         EOPNOTSUPP.
64415         * sysdeps/mach/hurd/fsync.c: Likewise.
64417         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
64418         [_POSIX_REALTIME_SIGNALS]: Change condition to
64419         [_POSIX_REALTIME_SIGNALS > 0].
64421 2012-10-27  Andreas Jaeger  <aj@suse.de>
64423         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
64424         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
64425         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
64426         [__WORDSIZE != 64]: Likewise.
64428 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
64430         *  iconvdata/tst-table.sh: Remove ${SHELL}.
64431         *  iconvdata/tst-tables.sh: Likewise.
64433 2012-10-25  David S. Miller  <davem@davemloft.net>
64435         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64436         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
64437         of strtoull.
64439         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
64440         ifunc-impl-list.c
64441         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64442         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
64443         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
64444         file.
64446 2012-10-25  Roland McGrath  <roland@hack.frob.com>
64448         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64449         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
64450         __getdirentries.
64452 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
64453             Jim Blandy  <jimb@codesourcery.com>
64455         * scripts/cross-test-ssh.sh: New file.
64456         * manual/install.texi (Configuring and compiling): Document use of
64457         cross-test-ssh.sh.
64458         * INSTALL: Regenerated.
64460 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
64462         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
64463         EOPNOTSUPP.
64465 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
64467         * Makeconfig (run-program-prefix): Fix comment.
64469 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
64470             Jim Blandy  <jimb@codesourcery.com>
64472         * Makeconfig (test-wrapper): New variable,
64473         (test-wrapper-env): Likewise.
64474         [$(cross-compiling) = yes && $(test-wrapper) != ""]
64475         (run-built-tests): Define to yes.
64476         (run-program-prefix): Use $(test-wrapper).
64477         (built-program-cmd): Likewise.
64478         * Rules (make-test-out): Use $(test-wrapper-env) and
64479         $(host-built-program-cmd).
64480         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
64481         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
64482         tst-pathopt.sh.
64483         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
64484         $(test-wrapper-env) to tst-rtld-load-self.sh.
64485         ($(objpfx)order2.out): Use $(test-wrapper).
64486         ($(objpfx)tst-initorder.out): Likewise.
64487         ($(objpfx)tst-initorder2.out): Likewise.
64488         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
64489         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
64490         (test_wrapper_env): New variable.  Use it to run ld.so.
64491         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
64492         Use it to run ld.so.
64493         (test_wrapper_env): Likewise.
64494         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
64495         $(test-wrapper) to run-iconv-test.sh.
64496         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
64497         (ICONV): Use $test_wrapper.
64498         * posix/Makefile ($(objpfx)globtest.out): Pass
64499         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
64500         globtest.sh, not $(run-program-prefix).
64501         * posix/globtest.sh (run_via_rtld_prefix): New variable.
64502         (test_wrapper): Likewise.
64503         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
64504         set together with run_via_rtld_prefix.
64505         (run_program_prefix): Define in terms of test_wrapper and
64506         run_via_rtld_prefix.
64508 2012-10-24  Roland McGrath  <roland@hack.frob.com>
64510         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
64511         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
64512         Targets removed.
64514         [BZ #14743]
64515         * include/time.h: Remove librt_hidden_proto (clock_gettime).
64516         Declare __clock_getres, __clock_gettime, __clock_settime,
64517         __clock_nanosleep, and __clock_getcpuclockid.
64518         * rt/clock_gettime.c: Define __clock_gettime as an alias.
64519         Remove librt_hidden_def (clock_gettime).
64520         * sysdeps/unix/clock_gettime.c: Likewise.
64521         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
64522         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
64523         * rt/clock_getres.c: Define __clock_getres as an alias.
64524         * sysdeps/posix/clock_getres.c: Likewise.
64525         * rt/clock_settime.c: Define __clock_settime as an alias.
64526         * sysdeps/unix/clock_settime.c: Likewise.
64527         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
64528         * sysdeps/unix/clock_nanosleep.c: Likewise.
64529         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
64530         * rt/clock-compat.c: New file.
64531         * rt/Makefile (librt-routines): Add clock-compat and move
64532         $(clock-routines) to ...
64533         (routines): ... here, new variable.
64534         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
64535         Don't add get_clockfreq here.
64536         * rt/Versions (libc: GLIBC_2.17): New version set.
64537         Add clock_* symbols here.
64538         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
64539         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
64540         (GLIBC_2.17): Add clock_* symbols.
64541         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
64542         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
64543         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
64544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64545         Likewise.
64546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64547         Likewise.
64548         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64549         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
64550         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
64551         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
64552         * NEWS: Mention the move.
64554         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
64555         Use __open, __read, __close rather than their public counterparts.
64556         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64557         (__get_clockfreq_via_cpuinfo): Likewise.
64558         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
64559         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
64561         * config.h.in (HAVE_IFUNC): New #undef.
64562         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
64563         was successful.
64564         * configure: Regenerated.
64566 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
64568         * configure.in: Move READELF check to start of file.
64569         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
64570         libc_cv_asm_gnu_indirect_function in the process.
64571         * configure: Regenerated.
64573 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
64575         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
64576         send the output to /dev/null.
64577         (libc_cv_cc_with_libunwind): Likewise.
64578         (libc_cv_as_noexecstack): Likewise.
64579         * configure: Regenerate.
64581 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
64583         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
64585         * posix/globtest.sh (TMPDIR): Do not set.
64586         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
64587         (testout): Likewise.
64589 2012-10-24  Andreas Jaeger  <aj@suse.de>
64591         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
64592         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
64593         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
64594         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
64595         posix_fadvise64, posix_fallocate64.
64597         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
64598         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
64599         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
64600         Likewise.
64601         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
64602         Likewise.
64603         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
64605         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
64606         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
64607         <bits/fcntl-linux.h>.
64608         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
64610         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
64611         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
64612         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
64613         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
64614         [__WORDSIZE != 64]: Likewise.
64616 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
64618         * Makeconfig (run-built-tests): New variable.
64619         * Rules [$(cross-compiling) = yes]: Change condition to
64620         [$(run-built-tests) = no].
64621         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
64622         to [$(run-built-tests) = yes].
64623         * elf/Makefile [$(cross-compiling) = no]: Likewise.
64624         * grp/Makefile [$(cross-compiling) = no]: Likewise.
64625         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
64626         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
64627         * intl/Makefile [$(cross-compiling) = no]: Likewise.
64628         * io/Makefile [$(cross-compiling) = no]: Likewise.
64629         * libio/Makefile [$(cross-compiling) = no]: Likewise.
64630         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
64631         * misc/Makefile [$(cross-compiling) = no]: Likewise.
64632         * posix/Makefile [$(cross-compiling) = no]: Likewise.
64633         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
64634         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
64635         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
64636         * string/Makefile [$(cross-compiling) = no]: Likewise.
64638         * posix/Makefile ($(objpfx)globtest.out): Pass
64639         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
64640         $(rtld-installed-name).
64641         * posix/globtest.sh (elf_objpfx): Remove variable.
64642         (rtld_installed_name): Likewise.
64643         (library_path): Likewise.
64644         (run_program_prefix): New variable.  Use for running globtest
64645         binary.
64647 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
64648             Joseph Myers  <joseph@codesourcery.com>
64650         * Makeconfig (host-built-program-cmd): New variable.
64651         * elf/Makefile (tst-stackguard1-ARGS): Use
64652         $(host-built-program-cmd).
64653         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
64654         (tst-spawn-ARGS): Likewise.
64655         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
64657 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
64658             Jim Blandy  <jimb@codesourcery.com>
64660         * Makeconfig (run-via-rtld-prefix): New variable.
64661         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
64662         (built-program-cmd): Likewise.
64664 2012-10-22  Andreas Jaeger  <aj@suse.de>
64666         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
64667         __O_RSYNC if it exists, otherwise to O_SYNC.
64669 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
64670             Joseph Myers  <joseph@codesourcery.com>
64672         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
64673         /dev/null.
64674         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
64675         from /dev/null
64676         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
64677         /dev/null.
64679 2012-10-22  Andreas Jaeger  <aj@suse.de>
64681         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
64682         Define always.
64683         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
64685         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64686         bits/fcntl-linux.h.
64688         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
64689         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
64691         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
64692         to __O_LARGEFILE.
64693         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
64694         to __O_LARGEFILE.
64696 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
64697             Joseph Myers  <joseph@codesourcery.com>
64699         * config.make.in (NM): New variable.
64701 2012-10-21  Andreas Jaeger  <aj@suse.de>
64703         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
64704         definitions and declarations that are provided by
64705         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
64707 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
64709         [BZ #14683]
64710         * elf/Makefile (tests-static): Add tst-leaks1-static.
64711         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
64712         ($(objpfx)tst-leaks1-static): New rule.
64713         ($(objpfx)tst-leaks1-static-mem): Likewise.
64714         (tst-leaks1-static-ENV): New macro.
64715         * elf/dl-open.c (dl_open_worker): Check the main application
64716         only if SHARED is defined.
64717         * elf/tst-leaks1-static.c: New file.
64719 2012-10-20  Andreas Jaeger  <aj@suse.de>
64721         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
64722         generic values for Linux.
64723         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
64724         and declarations that are provided by <bits/fcntl-linux.h> and
64725         include <bits/fcntl-linux.h>.
64726         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64727         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64729 2012-10-20  Roland McGrath  <roland@hack.frob.com>
64731         * io/fcntl.h: Move include of <bits/types.h> to the top and
64732         include it unconditionally.
64734 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
64736         * wcsmbs/Makefile (tests-ifunc): New variable.
64737         (tests): Add $(tests-ifunc).
64738         * wcsmbs/test-wcschr-ifunc.c: New file.
64739         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
64740         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
64741         * wcsmbs/test-wcslen-ifunc.c: Likewise.
64742         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
64743         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
64745         * string/Makefile (tests-ifunc): New variable.
64746         (tests): Add $(tests-ifunc).
64747         * string/test-memccpy.c (TEST_NAME): New macro.
64748         * string/test-memchr.c (TEST_NAME): Likewise.
64749         * string/test-memcmp.c (TEST_NAME): Likewise.
64750         * string/test-memcpy.c (TEST_NAME): Likewise.
64751         * string/test-memmem.c (TEST_NAME): Likewise.
64752         * string/test-memmove.c (TEST_NAME): Likewise.
64753         * string/test-memset.c (TEST_NAME): Likewise.
64754         * string/test-rawmemchr.c (TEST_NAME): Likewise.
64755         * string/test-stpcpy.c (TEST_NAME): Likewise.
64756         * string/test-stpncpy.c (TEST_NAME): Likewise.
64757         * string/test-strcasecmp.c (TEST_NAME): Likewise.
64758         * string/test-strcasestr.c (TEST_NAME): Likewise.
64759         * string/test-strcat.c (TEST_NAME): Likewise.
64760         * string/test-strchr.c (TEST_NAME): Likewise.
64761         * string/test-strcmp.c(TEST_NAME): Likewise.
64762         * string/test-strcpy.c (TEST_NAME): Likewise.
64763         * string/test-strcspn.c (TEST_NAME): Likewise.
64764         * string/test-strlen.c (TEST_NAME): Likewise.
64765         * string/test-strncasecmp.c (TEST_NAME): Likewise.
64766         * string/test-strncmp.c (TEST_NAME): Likewise.
64767         * string/test-strncpy.c (TEST_NAME): Likewise.
64768         * string/test-strnlen.c (TEST_NAME): Likewise.
64769         * string/test-strpbrk.c (TEST_NAME): Likewise.
64770         * string/test-strrchr.c (TEST_NAME): Likewise.
64771         * string/test-strspn.c (TEST_NAME): Likewise.
64772         * string/test-strstr.c (TEST_NAME): Likewise.
64773         * string/test-bcopy-ifunc.c: New file.
64774         * string/test-bzero-ifunc.c: Likewise.
64775         * string/test-memccpy-ifunc.c: Likewise.
64776         * string/test-memchr-ifunc.c: Likewise.
64777         * string/test-memcmp-ifunc.c: Likewise.
64778         * string/test-memcpy-ifunc.c: Likewise.
64779         * string/test-memmem-ifunc.c: Likewise.
64780         * string/test-memmove-ifunc.c: Likewise.
64781         * string/test-mempcpy-ifunc.c: Likewise.
64782         * string/test-memset-ifunc.c: Likewise.
64783         * string/test-rawmemchr-ifunc.c: Likewise.
64784         * string/test-stpcpy-ifunc.c: Likewise.
64785         * string/test-stpncpy-ifunc.c: Likewise.
64786         * string/test-strcasecmp-ifunc.c: Likewise.
64787         * string/test-strcasestr-ifunc.c: Likewise.
64788         * string/test-strcat-ifunc.c: Likewise.
64789         * string/test-strchr-ifunc.c: Likewise.
64790         * string/test-strchrnul-ifunc.c: Likewise.
64791         * string/test-strcmp-ifunc.c: Likewise.
64792         * string/test-strcpy-ifunc.c: Likewise.
64793         * string/test-strcspn-ifunc.c: Likewise.
64794         * string/test-strlen-ifunc.c: Likewise.
64795         * string/test-strncasecmp-ifunc.c: Likewise.
64796         * string/test-strncat-ifunc.c: Likewise.
64797         * string/test-strncmp-ifunc.c: Likewise.
64798         * string/test-strncpy-ifunc.c: Likewise.
64799         * string/test-strnlen-ifunc.c: Likewise.
64800         * string/test-strpbrk-ifunc.c: Likewise.
64801         * string/test-strrchr-ifunc.c: Likewise.
64802         * string/test-strspn-ifunc.c: Likewise.
64803         * string/test-strstr-ifunc.c: Likewise.
64805         * debug/Makefile (tests-ifunc): New variable.
64806         (tests): Add $(tests-ifunc).
64807         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
64808         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
64809         * debug/test-stpcpy_chk-ifunc.c: New file.
64810         * debug/test-strcpy_chk-ifunc.c: Likewise.
64812 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
64814         [BZ #13601]
64815         * elf/dl-load.c (open_verify): Retry read if the entire ELF
64816         header is not read in.
64818 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
64820         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
64821         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
64822         directly.  Pass built executable to script as
64823         $(built-program-cmd).
64824         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
64825         $testprogram without using LD_LIBRARY_PATH and $ldso.
64827         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
64828         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
64829         $(rtld-installed-name).
64830         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
64831         (rtld_installed_name): Likewise.
64832         (library_path): Likewise.
64833         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
64834         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
64835         $(run-program-prefix) to tst-tables.sh.
64836         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
64837         it to run tst-table-from and tst-table-to.
64838         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
64839         Pass it to tst-table.sh.
64840         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
64841         $(run-program-prefix) to tst-gettext.sh.
64842         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
64843         tst-translit.sh.
64844         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
64845         tst-gettext2.sh.
64846         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
64847         to run tst-gettext.
64848         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
64849         to run tst-gettext2.
64850         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
64851         to run tst-translit.
64852         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
64853         $(run-program-prefix) to tst-mtrace.sh.
64854         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
64855         to run tst-mtrace.
64856         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
64857         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
64858         $(rtld-installed-name).
64859         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
64860         (rtld_installed_name): Likewise.
64861         (run_program_prefix): New variable.  Use it to run wordexp-test.
64863         * Makeconfig (ARCH): Remove all definitions.
64864         (machine): Likewise.
64865         [ARCH]: Remove conditional code.
64866         [!objdir]: Give error.
64867         [!objdir] (objpfx): Remove.
64868         [!objdir] (common-objpfx): Likewise.
64869         [!objdir] (common-objdir): Likewise.
64870         * configure.in (config_makefile): Remove.  Hardcode Makefile in
64871         AC_CONFIG_FILES call.
64872         * configure: Regenerated.
64874         [BZ #13888]
64875         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
64876         or TMPDIR.
64877         (testout): Likewise.
64879         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
64880         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
64881         $(rtld-installed-name).
64882         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
64883         (rtld_installed_name): Likewise.
64884         (runit): Remove function.
64885         (run_getconf): New variable,  Use it for running getconf binary.
64887 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
64889         [BZ #14716]
64890         * string/test-memmem.c (check_result): New function.
64891         (do_one_test): Use it.
64892         (check1): New function.
64893         (test_main): Use it.
64895 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
64897         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
64899 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
64901         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
64902         (_G_LSEEK64): Likewise.
64903         (_G_MMAP64): Likewise.
64904         (_G_FSTAT64): Likewise.
64905         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
64906         (_G_LSEEK64): Likewise.
64907         (_G_MMAP64): Likewise.
64908         (_G_FSTAT64): Likewise.
64909         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
64910         unconditional.  Call __mmap64 directly.
64911         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
64912         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
64913         __lseek64 directly.
64914         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
64915         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
64916         __mmap64 directly.
64917         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
64918         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
64919         __lseek64 directly.
64920         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
64921         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
64922         __lseek64 directly.
64923         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
64924         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
64925         __lseek64 directly.
64926         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
64927         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
64928         __fxstat64 directly.
64929         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
64930         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
64931         unconditional.
64932         (freopen64) [!_G_OPEN64]: Remove conditional code.
64933         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
64934         unconditional.
64935         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
64936         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
64937         unconditional.
64938         (ftello64) [!_G_LSEEK64]: Remove conditional code.
64939         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
64940         unconditional.
64941         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
64942         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
64943         unconditional.
64944         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
64945         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
64946         unconditional.
64947         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
64948         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
64949         unconditional.
64950         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
64951         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
64952         unconditional.
64953         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
64955 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
64957         [BZ #12140]
64958         * manual/memory.texi (Malloc Tunable Parameters): Add note
64959         about free list pointers overwriting some perturb bytes.
64960         Wording suggested by Roland McGrath.
64962 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
64964         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
64965         (lgamma_test): Likewise.
64966         (tgamma_test): Likewise.
64968 2012-10-16  Florian Weimer  <fweimer@redhat.com>
64970         [BZ #14700]
64971         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
64972         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
64974 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
64976         * NEWS: Mention BZ #14716.
64977         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
64978         when removing AVAILABLE1_USES_J macro.
64980 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
64982         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
64983         (__bswap_64): __uint64_t for unsigned 64-bit int.
64985 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
64987         * include/string.h (memmem): Declare libc hidden alias.
64988         * string/memmem.c (memmem): Define libc hidden alias.
64989         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
64990         __read, __close instead of open, read, close.
64992 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
64994         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
64995         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
64996         global and hidden.
64997         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
64998         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
64999         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
65000         Likewise.
65001         (__rawmemchr_sse2): Likewise.
65002         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
65003         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
65004         (__strchr_sse2): Likewise.
65005         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
65006         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
65007         (__strcasecmp_sse2): Likewise.
65008         (__strncasecmp_sse2): Likewise.
65009         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
65010         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
65011         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
65012         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
65013         (__strrchr_sse2): Likewise.
65014         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
65015         ifunc-impl-list.c.
65016         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
65017         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
65018         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
65019         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
65020         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
65021         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
65022         * sysdeps/x86_64/multiarch/memset.S: Likewise.
65023         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
65024         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
65025         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
65026         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
65027         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
65028         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
65029         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
65030         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
65031         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
65032         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
65033         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
65034         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
65035         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
65036         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
65037         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
65038         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
65039         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
65040         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
65041         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
65042         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
65043         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
65044         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
65045         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
65047         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
65048         global and hidden.
65049         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
65050         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
65051         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
65052         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
65053         Likewise.
65054         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
65055         Likewise.
65056         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
65057         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
65058         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
65059         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
65060         ifunc-impl-list.c.
65061         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65062         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65063         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65064         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65065         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65066         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65067         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65068         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65069         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65070         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65071         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65072         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65073         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65074         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
65075         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
65076         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65077         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
65078         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
65079         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65080         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65081         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65082         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65083         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65084         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65085         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65086         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
65087         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
65088         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
65089         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
65090         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65091         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
65092         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65093         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65094         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
65095         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65096         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65097         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65098         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65099         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65100         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65101         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
65103         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
65104         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
65105         * include/ifunc-impl-list.h: New file.
65106         * misc/ifunc-impl-list.c: Likewise.
65107         * misc/Makefile (routines): Add ifunc-impl-list.
65108         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
65109         * string/test-string.h: Include <ifunc-impl-list.h>.
65110         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
65111         TEST_NAME]: New variables.
65112         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
65113         are defined.
65114         (test_init): Call __libc_ifunc_impl_list to initialize
65115         func_list if TEST_IFUNC and TEST_NAME are defined.
65117         * string/Makefile (strop-tests): Add bcopy and bzero.
65118         * string/test-bcopy.c: New file.
65119         * string/test-bzero.c: Likewise.
65120         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
65121         defined.
65122         * string/test-memset.c: Support bzero test if TEST_BZERO is
65123         defined.
65124         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
65125         __libc_memmove.
65126         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
65127         __libc_memset.
65128         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
65129         of memset.
65131 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
65133         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
65134         * configure: Regenerated.
65136         * Makeconfig (+link-static-before-libc): Don't include
65137         $(link-static-libc).
65139         * libio/libio.h (_IO_pos_t): Remove.
65141 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
65143         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
65144         McGrath.
65146 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
65148         * crypt/crypt-entry.c: Include fips-private.h.
65149         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
65150         * crypt/md5c-test.c (main): Tolerate disabled MD5.
65151         * sysdeps/unix/sysv/linux/fips-private.h: New file.
65152         * sysdeps/generic/fips-private.h: New file, dummy fallback.
65154 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
65156         * crypt/crypt-private.h: Include stdbool.h.
65157         (_ufc_setup_salt_r): Return bool.
65158         * crypt/crypt-entry.c: Include errno.h.
65159         (__crypt_r): Return NULL with EINVAL for bad salt.
65160         * crypt/crypt_util.c (bad_for_salt): New.
65161         (_ufc_setup_salt_r): Check that salt is long enough and within
65162         the specified alphabet.
65163         * crypt/badsalttest.c: New file.
65164         * crypt/Makefile (tests): Add it.
65165         ($(objpfx)badsalttest): New.
65167 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
65169         * NEWS: Add entry for BZ #14602.
65171 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
65173         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
65174         type-generic.
65175         * math/libm-test.inc: Update comment listing what functions and
65176         macros are tested.
65177         (isgreater_test): New function.
65178         (isgreaterequal_test): Likewise.
65179         (isless_test): Likewise.
65180         (islessequal_test): Likewise.
65181         (islessgreater_test): Likewise.
65182         (isunordered_test): Likewise.
65183         (main): Call the new functions.
65185 2012-10-09  Roland McGrath  <roland@hack.frob.com>
65187         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
65188         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
65189         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
65190         * sysdeps/i386/configure: Regenerated.
65191         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
65192         * sysdeps/mach/configure: Regenerated.
65193         * sysdeps/mach/hurd/configure: Regenerated.
65194         * sysdeps/powerpc/configure: Regenerated.
65195         * sysdeps/powerpc/powerpc32/configure: Regenerated.
65196         * sysdeps/powerpc/powerpc64/configure: Regenerated.
65197         * sysdeps/s390/s390-32/configure: Regenerated.
65198         * sysdeps/s390/s390-64/configure: Regenerated.
65199         * sysdeps/sh/configure: Regenerated.
65200         * sysdeps/sparc/configure: Regenerated.
65201         * sysdeps/unix/sysv/linux/configure: Regenerated.
65202         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
65203         * sysdeps/x86_64/configure: Regenerated.
65205         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
65206         defined.  Don't check if MAP is NULL.
65208 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
65210         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
65211         (_G_stat64): Likewise.
65212         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
65213         (_G_stat64): Likewise.
65214         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
65215         instead of struct _G_stat64.
65216         * libio/fileops.c (mmap_remap_check): Likewise.
65217         (decide_maybe_mmap): Likewise.
65218         (_IO_new_file_seekoff): Likewise.
65219         (_IO_file_stat): Likewise.
65220         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
65221         _G_off64_t.
65222         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
65223         instead of struct _G_stat64.
65224         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
65226 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
65228         [BZ #14602]
65229         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65230         Replace with ...
65231         (CHECK_EOL): New macro.
65232         (two_way_short_needle): Check beginning of haystack for EOL.  Use
65233         CHECK_EOL.
65234         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65235         Replace with CHECK_EOL.
65236         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65237         Replace with CHECK_EOL.
65239 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
65241         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
65242         type-generic.
65243         * math/libm-test.inc: Update comment listing what functions and
65244         macros are tested.
65245         (finite_test): New function.
65246         (isinf_test): Likewise.
65247         (isnan_test): Likewise.
65248         (fpclassify_test): Test subnormal input.
65249         (isfinite_test): Likewise.
65250         (isnormal_test): Likewise.
65251         (main): Call the new functions.
65253 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
65255         [BZ #14660]
65256         * Makerules (%.dynsym): Force C locale when running
65257         $(OBJDUMP) --dynamic-syms.
65259 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
65261         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
65262         <stdint.h>.
65264 2012-10-06  David S. Miller  <davem@davemloft.net>
65266         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
65267         upper 32-bits of the length value in %o2 since we use branch-on-register
65268         tests which consider the entire 64-bit register.
65270 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
65272         * string/test-strstr.c (check2): Add a test for page boundary.
65274 2012-10-05  David S. Miller  <davem@davemloft.net>
65276         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
65277         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
65278         file.
65279         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
65280         sysdep_routines.
65281         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
65282         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
65283         and bzero when HWCAP_SPARC_CRYPTO is present.
65285 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
65287         [BZ #14602]
65288         * string/test-strstr.c (check2): New function.
65289         (test_main): Call check2.
65291         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
65292         and bug-strchr1.
65293         * string/bug-strcasestr1.c (do_test): Moved to ...
65294         * string/test-strcasestr.c (check1): Here.  New function.
65295         (do_one_test): Break out result checking code into ...
65296         (check_result): This.  New function.
65297         (do_one_test): Call check_result.
65298         (test_main): Call check1.
65299         * string/bug-strchr1.c (do_test): Moved to ...
65300         * string/test-strchr.c (check1): Here.  New function.
65301         (do_one_test): Break out result checking code into ...
65302         (check_result): This.  New function.
65303         (do_one_test): Call check_result.
65304         (test_main): Call check1.
65305         * string/bug-strstr1.c (main): Moved to ...
65306         * string/test-strstr.c (check1): Here.  New function.
65307         (do_one_test): Break out result checking code into ...
65308         (check_result): This.  New function.
65309         (do_one_test): Call check_result.
65310         (test_main): Call check1.
65311         * string/bug-strcasestr1.c: Removed.
65312         * string/bug-strchr1.c: Likewise.
65313         * string/bug-strstr1.c: Likewise.
65315         * elf/Makefile (dl-routines): Add hwcaps.
65316         * elf/dl-support.c (_dl_important_hwcaps): Removed.
65317         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
65318         (_dl_important_hwcaps): Moved to ...
65319         * elf/dl-hwcaps.c: Here.  New file.
65320         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
65322         [BZ #14557]
65323         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
65324         if IS_IN_rtld isn't defined.
65326         * elf/dl-support.c (_dl_sysinfo_map): New.
65327         Include "get-dynamic-info.h" and "setup-vdso.h".
65328         (_dl_non_dynamic_init): Call setup_vdso.
65329         * elf/dynamic-link.h: Don't include <assert.h>.
65330         (elf_get_dynamic_info): Moved to ...
65331         * elf/get-dynamic-info.h: Here.  New file.
65332         * elf/dynamic-link.h: Include "get-dynamic-info.h".
65333         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
65334         * elf/setup-vdso.h: Here.  New file.
65335         * elf/rtld.c: Include "setup-vdso.h".
65336         (dl_main): Call setup_vdso.
65338 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
65340         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
65341         creal in comment listing functions tested.  List finite, isinf,
65342         isnan, isless, islessequal, isgreater, isgreaterequal,
65343         islessgreater, isunordered, lgamma_r and pow10 as functions and
65344         macros not tested.  Mention which functions not tested are aliases
65345         for other functions.  Fix typo.  Note that signs of NaNs are not
65346         tested.
65348         * scripts/config.guess: Update from config.git.
65349         * scripts/config.sub: Likewise.
65351 2012-10-04  Roland McGrath  <roland@hack.frob.com>
65353         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
65354         * misc/madvise.c (madvise): Renamed to __madvise.
65355         Make madvise a weak alias.
65356         * include/sys/mman.h: Declare __madvise.
65357         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
65358         * sysdeps/unix/syscalls.list
65359         (madvise): Make __madvise the strong name, and madvise a weak alias.
65360         * sysdeps/unix/sysv/linux/syscalls.list
65361         (madvise, mmap): Remove redundant entries.
65362         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
65363         * malloc/malloc.c (mtrim): Likewise.
65364         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
65366 2012-10-03  Roland McGrath  <roland@hack.frob.com>
65368         * sysdeps/mach/hurd/dl-cache.c: File removed.
65369         * config.h.in (USE_LDCONFIG): New #undef.
65370         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
65371         * configure: Regenerated.
65372         * elf/Makefile (dl-routines): Add dl-cache only under
65373         [$(use-ldconfig) = yes].
65374         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
65375         cache on [USE_LDCONFIG].
65376         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
65377         [USE_LDCONFIG].
65378         * elf/rtld.c (dl_main): Likewise.
65380 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
65382         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
65383         _SC_LEVEL4_CACHE_LINESIZE.
65385 2012-10-03  Roland McGrath  <roland@hack.frob.com>
65387         * sysdeps/unix/bsd/confstr.h: File removed.
65389 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
65391         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
65392         sys/sdt-config.h.
65394 2012-10-02  Roland McGrath  <roland@hack.frob.com>
65396         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
65397         Make 'mapoff' field ElfW(Off) rather than off_t.
65399 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
65401         * nscd/Makefile: Remove nscd-cflags and all its users.
65402         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
65403         (CFLAGS-nonlib): Add compiler flags for nscd modules.
65405         [BZ #10631]
65406         * malloc.c (malloc_printerr): Clarify error message.
65408 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
65410         [BZ #14648]
65411         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65412         Set bit_FMA_Usable if FMA is supported.
65413         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
65414         macro.
65415         (bit_FMA4_Usable): Updated.
65416         (index_FMA_Usable): New macro.
65417         (CPUID_FMA): Likewise.
65418         (HAS_FMA): Defined with bit_FMA_Usable.
65420 2012-10-01  Roland McGrath  <roland@hack.frob.com>
65422         * bits/types.h (__swblk_t): Type removed.
65423         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
65424         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
65425         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65426         (__SWBLK_T_TYPE): Likewise.
65427         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65428         (__SWBLK_T_TYPE): Likewise.
65429         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65430         (__SWBLK_T_TYPE): Likewise.
65431         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65432         (__SWBLK_T_TYPE): Likewise.
65434 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
65435             Honza Horak <hhorak@redhat.com>
65437         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
65438         (xdr_mapname): Use YPMAXMAP as maxsize.
65439         (xdr_peername): Use YPMAXPEER as maxsize.
65440         (xdr_keydat): Use YPAXRECORD as maxsize.
65441         (xdr_valdat): Use YPMAXRECORD as maxsize.
65443 2012-10-01  Roland McGrath  <roland@hack.frob.com>
65445         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
65447         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
65448         * csu/init-first.c: ... here.
65449         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
65450         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
65451         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
65452         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
65453         * sysdeps/i386/init-first.c: File removed.
65454         * sysdeps/sh/init-first.c: File removed.
65456 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
65458         [BZ #14645]
65459         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
65460         if x * y might underflow to zero and z is zero.
65461         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65462         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65463         * math/libm-test.inc (min_subnorm_value): New variable.
65464         (fma_test): Add more tests.
65465         (fma_test_towardzero): Likewise.
65466         (fma_test_downward): Likewise.
65467         (fma_test_upward): Likewise.
65468         (initialize): Set min_subnorm_value.
65470 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
65472         [BZ #14638]
65473         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
65474         0 + 0.
65475         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
65476         mode for addition resulting in exact zero.
65477         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
65478         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
65479         exact 0 + 0.
65480         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
65481         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65482         * math/libm-test.inc (fma_test): Add more tests.
65483         (fma_test_towardzero): New function.
65484         (fma_test_downward): Likewise.
65485         (fma_test_upward): Likewise.
65486         (main): Call the new functions.
65488 2012-09-28  David S. Miller  <davem@davemloft.net>
65490         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
65492 2012-09-28  Roland McGrath  <roland@hack.frob.com>
65494         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
65495         instead of SIGALRM.
65497         * sysdeps/gnu/_G_config.h: Moved to ...
65498         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
65499         * sysdeps/mach/hurd/_G_config.h: Moved to ...
65500         * sysdeps/generic/_G_config.h: ... here.
65502         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
65504         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
65506         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
65507         Conditionalize target on [libnss_test1.so-version].
65509         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
65511         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
65512         (elfobjdir): Move out of conditionals.
65514         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
65515         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
65516         (__nss_lookup_function): Conditionalize label remove_from_tree on
65517         [!DO_STATIC_NSS || SHARED], matching its only use.
65519 2012-09-28  David S. Miller  <davem@davemloft.net>
65521         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
65522         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
65523         file.
65524         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
65525         sysdep_routines.
65526         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
65527         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
65528         when HWCAP_SPARC_CRYPTO is present.
65530 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
65532         * io/tst-mknodat.c: Create a FIFO instead of a socket.
65534 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
65536         [BZ #6530]
65537         * stdio-common/vfprintf.c (process_string_arg): Revert
65538         2000-07-22 change.
65540 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
65542         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
65543         for testcase.
65544         * stdio-common/tst-sprintf.c: Include <locale.h>
65545         (main): Test sprintf's handling of incomplete multibyte
65546         characters.
65548 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
65550         * elf/dl-runtime.c (VERSYMIDX): Removed.
65551         * elf/dl-version.c (VERSYMIDX): Likewise.
65552         * elf/do-rel.h (VERSYMIDX): Likewise.
65553         (VALIDX): Likewise.
65554         * elf/dynamic-link.h (VERSYMIDX): Likewise.
65555         * elf/rtld.c (VALIDX): Likewise.
65556         (ADDRIDX): Likewise.
65557         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
65558         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
65559         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
65560         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
65561         (VALIDX): Likewise.
65562         (ADDRIDX): Likewise.
65564 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
65566         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
65568 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
65570         [BZ #11438]
65571         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
65572         to global scope.
65573         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
65574         addresses are in the same scope as 192.0.2/24.
65575         * posix/gai.conf: Document new scope table defaults.
65577 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65579         [BZ #5298]
65580         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
65581         for ftell.  Compute offsets from write pointers instead.
65582         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
65584 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65586         [BZ #14543]
65587         * libio/Makefile (tests): New test case tst-fseek.
65588         * libio/tst-fseek.c: New test case to verify that fseek/ftell
65589         combination works in wide mode.
65590         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
65591         state when the external buffer state changes.
65593 2012-09-27  David S. Miller  <davem@davemloft.net>
65595         [BZ #14376]
65596         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
65597         pass reloc->r_addend in as the 'high' argument to
65598         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
65600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65602 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
65604         * rt/tst-aio2.c: Include <pthread.h>.
65605         * rt/tst-aio3.c: Likewise.
65607 2012-09-27  Steve Ellcey  <sellcey@mips.com>
65609         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
65611 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
65613         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
65614         contents on [SHARED].
65616 2012-09-26  Marek Polacek  <polacek@redhat.com>
65618         [BZ #14530]
65619         [BZ #13741]
65620         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
65621         for C++ and GCC <4.3 as well as for non GCC compilers.
65623 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
65625         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65627 2012-09-25  Roland McGrath  <roland@hack.frob.com>
65629         * Makefile.in (all, install): Declare with .PHONY.
65630         Reported by Michael Hope <michael.hope@linaro.org>.
65632 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65634         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
65635         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
65636         system header.
65637         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
65638         Likewise.
65639         (sydep_routines): Add the new and the internal functions.
65640         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
65641         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
65642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
65643         (GLIBC_2.17): Add the new function.
65644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
65645         (GLIBC_2.17): Likewise.
65646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
65647         (GLIBC_2.17): Likewise.
65648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
65649         (GLIBC_2.17): Likewise.
65650         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
65652 2012-09-25  Alan Modra  <amodra@gmail.com>
65654         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
65655         Add release barrier before setting once_control to say
65656         initialisation is done.  Add hints on lwarx.  Use macro in
65657         place of isync.
65658         (clear_once_control): Add release barrier.
65660 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
65662         [BZ #13629]
65663         * math/s_clog.c (__clog): Handle more values close to |z| = 1
65664         specially.
65665         * math/s_clog10.c (__clog10): Likewise.
65666         * math/s_clog10f.c (__clog10f): Likewise.
65667         * math/s_clog10l.c (__clog10l): Likewise.
65668         * math/s_clogf.c (__clogf): Likewise.
65669         * math/s_clogl.c (__clogl): Likewise.
65670         * math/Makefile (libm-calls): Add x2y2m1.
65671         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
65672         (__x2y2m1): Likewise.
65673         (__x2y2m1l): Likewise.
65674         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
65675         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
65676         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
65677         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
65678         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
65679         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
65680         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
65681         * sysdeps/i386/fpu/libm-test-ulps: Update.
65682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65684         [BZ #14621]
65685         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
65686         int as type of variable DEPTH.
65687         (glob): Use size_t instead of int as type of variables NEWCOUNT
65688         and OLD_PATHC.
65690 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65692         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
65693         Add s_sincosf-sse2.
65694         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
65695         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
65696         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
65697         macros for using routine as __sincosf_ia32.
65698         Use macro for function declaration and weak_alias.
65699         * sysdeps/i386/fpu/libm-test-ulps: Update.
65701         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
65702         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65704         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
65705         subnormal argument.
65706         * math/s_cexpf.c (__cexpf): Likewise.
65707         * math/s_csinf.c (__csinf): Likewise.
65708         * math/s_csinhf.c (__csinhf): Likewise.
65709         * math/s_ctanf.c (__ctanf): Likewise.
65710         * math/s_ctanhf.c (__ctanhf): Likewise.
65711         * math/s_ccosh.c (__ccoshf): Likewise.
65712         * math/s_cexp.c (__cexpl): Likewise.
65713         * math/s_csin.c (__csin): Likewise.
65714         * math/s_csinh.c (__csinh): Likewise.
65715         * math/s_ctan.c (__ctan): Likewise.
65716         * math/s_ctanh.c (ctanh): Likewise.
65717         * math/s_ccoshl.c (__ccoshl): Likewise.
65718         * math/s_cexpl.c (__cexpl): Likewise.
65719         * math/s_csinl.c (__csinl): Likewise.
65720         * math/s_csinhl.c (__csinhl): Likewise.
65721         * math/s_ctanl.c (__ctanl): Likewise.
65722         * math/s_ctanhl.c (__ctanhl): Likewise.
65724 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
65726         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
65727         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
65728         (_IO_off_t): Define to __off_t, not _G_off_t.
65729         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
65730         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
65731         (_IO_wint_t): Define to wint_t, not _G_wint_t.
65732         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
65733         type of __dummy and __dummy2 fields.
65734         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
65735         (_G_ssize_t): Likewise.
65736         (_G_off_t): Likewise.
65737         (_G_pid_t): Likewise.
65738         (_G_uid_t): Likewise.
65739         (_G_wchar_t): Likewise.
65740         (_G_wint_t): Likewise.
65741         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
65742         (_G_ssize_t): Likewise.
65743         (_G_off_t): Likewise.
65744         (_G_pid_t): Likewise.
65745         (_G_uid_t): Likewise.
65746         (_G_wchar_t): Likewise.
65747         (_G_wint_t): Likewise.
65748         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
65749         (_G_ssize_t): Likewise.
65750         (_G_off_t): Likewise.
65751         (_G_pid_t): Likewise.
65752         (_G_uid_t): Likewise.
65753         (_G_wchar_t): Likewise.
65754         (_G_wint_t): Likewise.
65756 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
65758         * malloc/arena.c: Include malloc-sysdep.h.
65759         (shrink_heap): Use check_may_shrink_heap to decide if madvise
65760         is sufficient to shrink the heap or an unmap is needed.
65761         * sysdeps/generic/malloc-sysdep.h: New file.  Define
65762         new function check_may_shrink_heap.
65763         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
65764         new function check_may_shrink_heap.
65766 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
65768         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
65769         comments.
65771 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
65773         * catgets/test-gencat.sh: Add "set -e".
65774         * elf/tst-pathopt.sh: Likewise.
65775         * grp/tst_fgetgrent.sh: Likewise.
65776         * iconvdata/run-iconv-test.sh: Likewise.
65777         * intl/tst-gettext.sh: Likewise.
65778         * intl/tst-gettext2.sh: Likewise.
65779         * intl/tst-gettext4.sh: Likewise.
65780         * intl/tst-gettext6.sh: Likewise.
65781         * intl/tst-translit.sh: Likewise.
65782         * io/ftwtest-sh: Likewise.
65783         * libio/test-freopen.sh: Likewise.
65784         * malloc/tst-mtrace.sh: Likewise.
65785         * posix/globtest.sh: Likewise.
65786         * posix/tst-getconf.sh: Likewise.
65787         * posix/wordexp-tst.sh: Likewise.
65788         * stdio-common/tst-printf.sh: Likewise.
65789         * stdio-common/tst-unbputc.sh: Likewise.
65790         * stdlib/tst-fmtmsg.sh: Likewise.
65791         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
65792         * catgets/Makefile: Do not specify -e option when running
65793         testsuite shell scripts.
65794         * elf/Makefile: Likewise.
65795         * grp/Makefile: Likewise.
65796         * iconvdata/Makefile: Likewise.
65797         * intl/Makefile: Likewise.
65798         * io/Makefile: Likewise.
65799         * libio/Makefile: Likewise.
65800         * malloc/Makefile: Likewise.
65801         * posix/Makefile: Likewise.
65802         * stdio-common/Makefile: Likewise.
65803         * stdlib/Makefile: Likewise.
65804         * sysdeps/x86_64/Makefile: Likewise.
65806         * io/ftwtest-sh: Add copyright header.
65807         * posix/globtest.sh: Likewise.
65808         * posix/tst-getconf.sh: Likewise.
65809         * posix/wordexp-tst.sh: Likewise.
65810         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
65812 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
65814         [BZ #13679]
65815         * Makeconfig (+link): Defined as $(+link-static) if
65816         $(build-shared) isn't yes.
65817         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
65818         isn't yes.
65819         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
65821         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
65823         [BZ #14562]
65824         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
65825         new chunk size with MALLOC_ALIGN_MASK.
65827 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
65829         [BZ #5044]
65830         * stdio-common/printf_fphex.c: Include <stdbool.h> and
65831         <rounding-mode.h>.
65832         (__printf_fphex): Determine rounding using get_rounding_mode and
65833         round_away.
65834         * stdio-common/tst-printf-round.c (struct hex_test): New
65835         structure.
65836         (hex_tests): New variable.
65837         (test_hex_in_one_mode): New function.
65838         (do_test): Also run tests for hex float output.
65840 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
65842         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
65843         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
65844         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
65845         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
65846         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
65847         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
65848         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
65849         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
65851 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
65853         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
65854         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
65855         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
65856         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
65858 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
65860         [BZ #14579]
65861         * elf/rtld.c (dl_main): Limit the check for self loading to normal
65862         mode only.
65863         * elf/tst-rtld-load-self.sh: New test.
65864         * elf/Makefile: Run it.
65866 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
65868         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
65869         (tst-writev-ENV): Remove.
65870         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
65872 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
65874         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
65876 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
65878         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
65879         unconditional.
65880         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
65881         Likewise.
65882         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
65883         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
65884         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
65885         Likewise.
65887 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
65889         [BZ #14587]
65890         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
65891         * config.make.in (have-cpp-asm-debuginfo): Removed.
65892         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
65893         * configure: Regenerated.
65895 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
65897         [BZ #5044]
65898         * stdio-common/printf_fp.c: Include <stdbool.h> and
65899         <rounding-mode.h>.
65900         (___printf_fp): Determine rounding using get_rounding_mode and
65901         round_away.
65902         * stdio-common/tst-printf-round.c: New file.
65903         * stdio-common/Makefile (tests): Add tst-printf-round.
65904         (link-libm): New variable.
65905         ($(objpfx)tst-printf-round): Depend in $(link-libm).
65907 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
65909         [BZ #14576]
65910         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
65911         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
65912         Likewise.
65913         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
65914         Likewise.
65916 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
65918         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
65919         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65920         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65921         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65923 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
65925         [BZ #14518]
65926         * include/rounding-mode.h: New file.
65927         * sysdeps/generic/get-rounding-mode.h: Likewise.
65928         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
65929         * stdlib/strtod_l.c: Include <rounding-mode.h>.
65930         (MAX_VALUE): New macro.
65931         (MIN_VALUE): Likewise.
65932         (overflow_value): New function.
65933         (underflow_value): Likewise.
65934         (round_and_return): Use overflow_value and underflow_value to
65935         determine return values in overflow and underflow cases.  Use
65936         round_away to determine rounding depending on rounding mode.
65937         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
65938         determine return values in overflow and underflow cases.
65939         * stdlib/tst-strtod-round.c: Include <fenv.h>.
65940         (struct test_results): New structure.
65941         (struct test): Use struct test_results to store expected results
65942         for all rounding modes.
65943         (TEST): Include expected results for all rounding modes.
65944         (test_in_one_mode): New function.
65945         (do_test): Use test_in_one_mode to compute and check results.
65946         Check results for all rounding modes.
65947         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
65948         $(link-libm).
65950 2012-12-09  Allan McRae  <allan@archlinux.org>
65952         * sysdeps/i386/fpu/libm-test-ulps: Update
65954 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
65956         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
65957         (_G_int32_t): Likewise.
65958         (_G_uint16_t): Likewise.
65959         (_G_uint32_t): Likewise.
65960         (_G_HAVE_BOOL): Likewise.
65961         (_G_HAVE_ATEXIT): Likewise.
65962         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65963         (_G_HAVE_IO_FILE_OPEN): Likewise.
65964         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
65965         (_G_int32_t): Likewise.
65966         (_G_uint16_t): Likewise.
65967         (_G_uint32_t): Likewise.
65968         (_G_HAVE_BOOL): Likewise.
65969         (_G_HAVE_ATEXIT): Likewise.
65970         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65971         (_G_HAVE_IO_FILE_OPEN): Likewise.
65972         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
65973         (_G_int32_t): Likewise.
65974         (_G_uint16_t): Likewise.
65975         (_G_uint32_t): Likewise.
65976         (_G_HAVE_BOOL): Likewise.
65977         (_G_HAVE_ATEXIT): Likewise.
65978         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65979         (_G_HAVE_IO_FILE_OPEN): Likewise.
65981 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
65983         * csu/libc-tls.c: Update copyright years.
65985 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
65987         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
65988         [!_G_USING_THUNKS]: Remove conditional code.
65989         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
65990         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
65992         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
65993         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
65994         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
65995         (_G_VTABLE_LABEL_PREFIX): Likewise.
65996         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
65997         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
65998         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
65999         (_G_VTABLE_LABEL_PREFIX): Likewise.
66000         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
66001         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66002         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66003         (_G_VTABLE_LABEL_PREFIX): Likewise.
66004         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
66006 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
66008         * libio/Makefile: Include ../Makeconfig before tests.
66009         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
66010         only if $(build-shared) is yes.
66012         * iconv/gconv_db.c: Update copyright years.
66014 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66016         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
66017         unwind info if defined PIC. Fix special cases description.
66018         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
66020         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
66021         DP_HI_MASK entry.
66022         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
66024 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
66026         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
66028         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
66029         is NULL.
66031         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
66032         (LDLIBS-tst-chk4): This.
66033         (LDFLAGS-tst-chk5): Renamed to ...
66034         (LDLIBS-tst-chk5): This.
66035         (LDFLAGS-tst-chk6): Renamed to ...
66036         (LDLIBS-tst-chk6): This.
66037         (LDFLAGS-tst-lfschk4): Renamed to ...
66038         (LDLIBS-tst-lfschk4): This.
66039         (LDFLAGS-tst-lfschk5): Renamed to ...
66040         (LDLIBS-tst-lfschk5): This.
66041         (LDFLAGS-tst-lfschk6): Renamed to ...
66042         (LDLIBS-tst-lfschk6): This.
66044         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
66045         on $(common-objpfx)soversions.mk.
66047 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
66049         [BZ #10014]
66050         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
66051         example host name.
66053 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
66055         * malloc/arena.c (arena_get_retry): New function that gets
66056         another arena for the caller to try its request on.
66057         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
66058         current arena cannot fulfill the request.
66059         (__libc_memalign): Likewise.
66060         (__libc_memalign): Likewise.
66061         (__libc_pvalloc): Likewise.
66062         (__libc_calloc): Likewise.
66064 2012-09-05  John Tobey  <john.tobey@gmail.com>
66066         [BZ #13542]
66067         * manual/arith.texi (Operations on Complex): Fix description
66068         of carg branch cut.
66070 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
66072         [BZ #10014]
66073         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
66074         host name.
66076         [BZ #10038]
66077         * manual/memory.texi (Memory): Make order of menu items match
66078         order of sections.
66080 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66082         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
66083         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
66084         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
66086 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66088         * csu/libc-tls.c (static_dtv): Renamed to ...
66089         (_dl_static_dtv): This.  Make it global.
66090         (_dl_initial_dtv): Removed.
66091         (__libc_setup_tls): Updated.
66092         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
66093         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
66094         DL_INITIAL_DTV.
66096 2012-09-06  Petr Machata  <pmachata@redhat.com>
66098         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
66099         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
66100         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
66101         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
66103 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66105         [BZ #14545]
66106         * csu/libc-tls.c (_dl_initial_dtv): New variable.
66107         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
66108         freeing dtv[-1].
66110 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66112         [BZ #14544]
66113         * Makeconfig (link-static-before-libc): Replace $(+prector)
66114         with $(+prectorT).
66115         (link-static-after-libc): Replace $(+postctor) with
66116         $(+postctorT).
66117         (link-bounded): Replace $(+prector)/$(+postctor) with
66118         $(+prectorT)/$(+postctorT).
66119         (+prectorT): New macro.
66120         (+postctorT): Likewise.
66122 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
66124         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
66125         (round_str): Handle values above the maximum for IBM long double
66126         as inexact.
66127         * stdlib/tst-strtod-round.c (tests): Regenerated.
66129 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66131         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
66132         assembler flag.
66133         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
66134         zarch_nohighgprs around the zarch optimized routines.
66135         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
66136         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
66137         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
66138         for zarch.
66140 2012-09-05  David S. Miller  <davem@davemloft.net>
66142         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66144         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
66145         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
66146         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
66147         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
66148         entries.
66150 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66152         * malloc/arena.c: Fold copyright years.
66153         * malloc/mcheck.c, malloc/memusage.c: Likewise.
66155 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66157         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
66159 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66161         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
66163 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66165         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
66166         change internal state upon failure.
66168 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66170         * malloc/mcheck.c (mcheck_check_all): Fix typo.
66171         * malloc/memusage.c (mmap): Likewise.
66172         (mmap64, mremap): Likewise.  Adjust name in comment.
66174 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
66176         * libio/fileops.c: Fix typos in comments.
66177         * libio/oldfileops.c: Likewise.
66178         * libio/wfileops.c: Likewise.
66180 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
66182         [BZ #1349]
66183         * malloc/Makefile (tests): Add tst-malloc-usable test case.
66184         (tst-malloc-usable-ENV): Set environment for test case.
66185         * malloc/hooks.c (malloc_check_get_size): New function to get
66186         requested size.
66187         * malloc/malloc.c (musable): Use malloc_check_get_size.
66188         * malloc/tst-malloc-usable.c: New test case.
66190 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
66192         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
66194 2012-09-05  Allan McRae  <allan@archlinux.org>
66196         [BZ #13966]
66197         * configure.in (CXX_SYSINCLUDES): Use compiler output to
66198         determine header location.
66199         * configure: Regenerated.
66201 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
66203         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
66204         float format.
66205         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
66206         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
66207         format.
66208         (test): Regenerate.
66210 2012-09-04  David S. Miller  <davem@davemloft.net>
66212         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
66213         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
66214         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
66216 2012-09-04  Florian Weimer  <fweimer@redhat.com>
66218         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
66219         failures.
66221         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
66223 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
66225         [BZ #9914]
66226         * libio/iogetdelim.c: Include <limits.h>.
66227         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
66228         + len + 1 would overflow.
66230 2012-09-03  Andreas Jaeger  <aj@suse.de>
66232         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66233         * sysdeps/i386/fpu/libm-test-ulps: Update.
66235 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66237         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
66238         Add s_sinf-sse2, s_conf-sse2.
66240         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
66241         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
66242         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
66243         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
66245         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
66246         for using routine as __sinf_ia32.
66247         Use macro for function declaration and weak_alias.
66248         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
66249         for using routine as __cosf_ia32.
66250         Use macro for function declaration and weak_alias.
66252         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
66253         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
66255         * sysdeps/x86_64/fpu/s_sinf.S: New file.
66256         * sysdeps/x86_64/fpu/s_cosf.S: New file.
66257         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66259         * math/libm-test.inc (cos_test): Add more test cases.
66260         (sin_test): Likewise.
66261         (sincos_test): Likewise.
66263 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66265         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
66266         (IFUNC_RESOLVE): Make pointers to the specialized implementations
66267         hidden.
66268         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
66270 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
66272         [BZ #14538]
66273         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
66274         first element of the GOT.
66275         (elf_machine_load_address): Return the difference between
66276         the runtime address of _DYNAMIC and elf_machine_dynamic ().
66278 2012-09-01  Allan McRae  <allan@archlinux.org>
66280         [BZ #13412]
66281         * configure.in (AWK): Require gawk version 3.0 or later.
66282         * configure: Regenerated.
66284 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
66286         * sysdeps/unix/sysv/linux/kernel-features.h
66287         (__ASSUME_POSIX_CPU_TIMERS): Remove.
66288         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
66289         [__NR_clock_getres]: Make code unconditional.
66290         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
66291         (clock_getcpuclockid): Remove code left unreachable by removal of
66292         conditionals.
66293         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
66294         code unconditional.
66295         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
66296         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66297         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
66298         Make code unconditional.
66299         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
66300         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66301         * sysdeps/unix/sysv/linux/clock_settime.c
66302         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
66303         conditional code.
66304         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
66305         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66307 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
66309         [BZ #14476]
66310         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
66311         scripts/test-installation.pl.
66313         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
66314         and $ld_so_version if it is set.
66316 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
66318         [BZ #14516]
66319         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
66320         failure if reading from procfs failed.
66321         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
66323 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
66325         * sysdeps/unix/sysv/linux/kernel-features.h
66326         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
66327         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
66328         Remove conditional code.
66329         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66330         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
66331         Remove conditional code.
66332         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66333         * sysdeps/unix/sysv/linux/i386/fxstat.c
66334         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66335         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66336         * sysdeps/unix/sysv/linux/i386/fxstatat.c
66337         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66338         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66339         * sysdeps/unix/sysv/linux/i386/lxstat.c
66340         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66341         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66342         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
66343         Remove conditional code.
66344         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66345         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
66346         Remove conditional code.
66347         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66348         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
66349         <kernel-features.h>.
66350         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
66351         Remove.
66352         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
66353         Remove conditional code.
66354         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66355         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
66356         Remove conditional.
66358 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
66360         [BZ #5400]
66361         * NEWS: Add fixed bug number.
66363 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
66365         [BZ #14519]
66366         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
66367         underflowing exponent in case of negative sign.
66368         * stdlib/tst-strtod-round-data: Add more tests.
66369         * stdlib/tst-strtod-round.c (tests): Regenerated.
66371         [BZ #3479]
66372         * stdlib/strtod_l.c (NDIG): Remove.
66373         (HEXNDIG): Likewise.
66374         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
66375         smallest representable value.
66376         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
66377         lie within an exact representation of 1/2 ulp of the result.
66378         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
66379         unconditionally.
66380         (TENS_P9_IDX): Define unconditionally.
66381         (TENS_P9_SIZE): Likewise.
66382         (TENS_P10_IDX): Likewise.
66383         (TENS_P10_SIZE): Likewise.
66384         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
66385         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
66386         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
66387         entries for 10^2^13 and 10^2^14.
66388         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
66389         (TENS_P13_IDX): Define.
66390         (TENS_P13_SIZE): Likewise.
66391         (TENS_P14_IDX): Likewise.
66392         (TENS_P14_SIZE): Likewise.
66393         (_fpioconst_pow10): Change array size to
66394         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
66395         unconditional.
66396         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
66397         1024]: Add entries for 10^2^13 and 10^2^14.
66398         [LAST_POW10 > _LAST_POW10]: Remove #error.
66399         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
66400         (_fpioconst_pow10): Change array size to
66401         FPIOCONST_POW10_ARRAY_SIZE.
66402         * stdlib/gen-fpioconst.c: New file.
66403         * stdlib/gen-tst-strtod-round.c: Likewise.
66404         * stdlib/tst-strtod-round-data: Likewise.
66405         * stdlib/tst-strtod-round.c: Likewise.
66406         * stdlib/Makefile (tests): Add tst-strtod-round.
66408         [BZ #14459]
66409         * stdlib/strtod_l.c: Include <stdint.h>.
66410         (NDEBUG): Do not define.
66411         (round_and_return): Change EXPONENT parameter to type intmax_t.
66412         Rearrange calculations to avoid internal overflow possibilities.
66413         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
66414         Rearrange calculations to avoid internal overflow possibilities.
66415         Assert that number fits inside MPNSIZE limbs.
66416         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
66417         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
66418         calculations and add assertions to avoid internal overflow
66419         possibilities.  Add casts to avoid signed/unsigned operations.
66420         * stdlib/tst-strtod-overflow.c: New file.
66421         * stdlib/Makefile (tests): Add tst-strtod-overflow.
66423 2012-08-25  Marek Polacek  <polacek@redhat.com>
66425         * time/time.h: Fix some typos in comments.
66427 2012-08-23  Roland McGrath  <roland@hack.frob.com>
66429         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
66430         * posix/tst-rfc3484-2.c: Likewise.
66431         * posix/tst-rfc3484-3.c: Likewise.
66433 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
66435         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
66436         (EF_ARM_ABI_FLOAT_HARD): Likewise.
66438 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
66440         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
66441         #include of fxstatat64.c.
66443 2012-08-22  Roland McGrath  <roland@hack.frob.com>
66445         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
66446         * shadow/getspent_r.c: Likewise.
66447         * shadow/getspnam.c: Likewise.
66448         * shadow/getspnam_r.c: Likewise.
66449         * gshadow/getsgent.c: Likewise.
66450         * gshadow/getsgent_r.c: Likewise.
66451         * gshadow/getsgnam.c: Likewise.
66452         * gshadow/getsgnam_r.c: Likewise.
66453         * inet/getnetbyad.c: Likewise.
66454         * inet/getnetbyad_r.c: Likewise.
66455         * inet/getnetbynm.c: Likewise.
66456         * inet/getnetbynm_r.c: Likewise.
66457         * inet/getnetent.c: Likewise.
66458         * inet/getnetent_r.c: Likewise.
66459         * inet/getproto.c: Likewise.
66460         * inet/getproto_r.c: Likewise.
66461         * inet/getprtent.c: Likewise.
66462         * inet/getprtent_r.c: Likewise.
66463         * inet/getprtname.c: Likewise.
66464         * inet/getprtname_r.c: Likewise.
66465         * inet/getrpcbyname.c: Likewise.
66466         * inet/getrpcbyname_r.c: Likewise.
66467         * inet/getrpcbynumber.c: Likewise.
66468         * inet/getrpcbynumber_r.c: Likewise.
66469         * inet/getrpcent.c: Likewise.
66470         * inet/getrpcent_r.c: Likewise.
66471         * inet/getaliasent.c: Likewise.
66472         * inet/getaliasent_r.c: Likewise.
66473         * inet/getaliasname.c: Likewise.
66474         * inet/getaliasname_r.c: Likewise.
66475         * nscd/getgrgid_r.c: Likewise.
66476         * nscd/getgrnam_r.c: Likewise.
66477         * nscd/gethstbyad_r.c: Likewise.
66478         * nscd/gethstbynm3_r.c: Likewise.
66479         * nscd/getpwnam_r.c: Likewise.
66480         * nscd/getpwuid_r.c: Likewise.
66481         * nscd/getsrvbynm_r.c: Likewise.
66482         * nscd/getsrvbypt_r.c: Likewise.
66483         * nscd/gai.c: Likewise.
66485         * configure.in (build_nscd): New substituted variable, set
66486         by --disable-build-nscd and defaults to $use_nscd.
66487         * configure: Regenerated.
66488         * config.make.in (build-nscd): New substituted variable.
66489         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
66490         Change conditional to require [$(build-nscd) = yes] as well.
66491         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
66493         [BZ# 13696]
66494         * configure.in (use_nscd): New substituted variable, set by
66495         --disable-nscd.  If enabled, define USE_NSCD.
66496         * configure: Regenerated.
66497         * config.h.in: Add USE_NSCD.
66498         * config.make.in (use-nscd): New substituted variable.
66499         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
66500         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
66501         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
66502         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
66503         (CFLAGS-getgrnam_r.c): Likewise.
66504         (CFLAGS-initgroups.c): Likewise.
66505         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
66506         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
66507         Variables removed.
66508         * inet/getnetgrent_r.c
66509         (nscd_setnetgrent): New function, broken out of ...
66510         (setnetgrent): ... here.  Call it.
66511         (innetgr): Conditionalize nscd bits on [USE_NSCD].
66512         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
66513         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
66514         * nscd/Makefile (routines, aux): Move definitions after include of
66515         Makeconfig.  Conditionalize on [$(use-nscd) != no].
66516         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
66517         Conditionalize on [USE_NSCD].
66518         (is_nscd, nscd_init_cb): Likewise.
66519         (nss_load_library): Conditionalize init callback on [USE_NSCD].
66520         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
66521         * nss/nss_db/db-init.c: Likewise.
66522         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
66523         [USE_NSCD].
66524         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
66525         (make_request): Use it.
66526         (cache_valid_p): New function.
66527         (__check_pf): Use it.
66528         * NEWS: Add item for --disable-nscd.
66530 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
66532         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
66533         to support sed >= 4.2.1-20-ga9bf076.
66534         * configure: Regenerated.
66536 2012-08-22  Roland McGrath  <roland@hack.frob.com>
66538         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
66539         Conditionalize whole body on [IREL].
66541 2012-08-22  Jeff Law <law@redhat.com>
66543         [BZ #14505]
66544         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
66545         if the family is PF_UNSPEC.
66547 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
66549         * Makerules (lib-version): Rename from V.
66550         (install-lib-nosubdir): Change V to lib-version.
66552 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
66554         [BZ #14252]
66555         * powerpc32/power6/wcschr.c: New file.
66556         * powerpc32/power6/wcscpy.c: New file.
66557         * powerpc32/power6/wcsrchr.c: New file.
66558         * powerpc64/power6/wcschr.c: New file.
66559         * powerpc64/power6/wcscpy.c: New file.
66560         * powerpc64/power6/wcsrchr.c: New file.
66562 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
66564         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
66565         (two_way_short_needle): Use it.
66566         * string/strstr.c (AVAILABLE1_USES_J): Define.
66567         * string/strcasestr.c: Likewise.
66569         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
66570         array references.
66571         * string/strcasestr.c (TOLOWER): Make side-effect safe.
66573         [BZ #11607]
66574         * NEWS: Add an entry.
66575         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
66576         define their defaults.
66577         (two_way_short_needle): Detect end-of-string on-the-fly.
66578         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
66579         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
66580         * string/bug-strcasestr1.c: New test.
66581         * string/Makefile: Run it.
66583 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
66585         [BZ #11607]
66586         * string/str-two-way.h (two_way_short_needle): Optimize matching of
66587         the first character.
66589 2012-08-21  Roland McGrath  <roland@hack.frob.com>
66591         * csu/elf-init.c (__libc_csu_irel): Function removed.
66592         * csu/libc-start.c (apply_irel): New function.
66593         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
66595 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
66597         * sysdeps/unix/sysv/linux/kernel-features.h
66598         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
66599         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
66600         <kernel-features.h>.
66601         [__NR_fadvise64_64]: Make code unconditional.
66602         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
66603         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
66604         !__NR_fadvise64_64)]: Likewise.
66605         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
66606         !__NR_fadvise64_64))]: Likewise.
66607         [__NR_fadvise64]: Make code unconditional.
66608         [!__NR_fadvise64]: Remove conditional code.
66609         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
66610         <kernel-features.h>.
66611         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
66612         unconditional.
66613         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66614         conditional code.
66615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
66616         not include <kernel-features.h>.
66617         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
66618         unconditional.
66619         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66620         conditional code.
66621         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
66622         include <kernel-features.h>.
66623         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
66624         unconditional.
66625         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66626         conditional code.
66628 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
66630         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
66631         slight instruction rearrangements per scrollpipe analysis.
66632         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
66634 2012-08-20  Roland McGrath  <roland@hack.frob.com>
66636         * manual/syslog.texi (syslog; vsyslog, closelog):
66637         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
66638         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
66640         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
66641         DSOCAPS to match condition on defining it.
66643 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
66645         * sysdeps/unix/sysv/linux/kernel-features.h
66646         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
66647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
66648         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
66649         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
66650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
66651         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
66652         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
66653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
66654         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
66655         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
66657         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
66658         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
66660         * sysdeps/unix/sysv/linux/kernel-features.h
66661         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
66662         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
66663         unconditional.
66664         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66665         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
66666         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
66667         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66668         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
66669         Make code unconditional.
66670         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66671         (__mmap64) [!__NR_mmap2]: Likewise.
66672         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
66673         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
66674         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66675         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
66676         [__NR_mmap2]: Make code unconditional.
66677         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66678         (__mmap64) [!__NR_mmap2]: Likewise.
66680 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66682         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
66684 2012-08-18  Andreas Jaeger  <aj@suse.de>
66686         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
66688 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
66690         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
66691         * include/unistd.h (__have_sock_cloexec): Likewise.
66692         (__have_pipe2): Likewise.
66693         (__have_dup3): Likewise.
66695 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
66697         [BZ #9685]
66698         * include/unistd.h (__have_pipe2): Change define into an extern int.
66699         (__have_dup3): Likewise.
66700         * socket/have_sock_cloexec.c: Include fcntl.h.
66701         (__have_pipe2): New variable.
66702         (__have_dup3): Likewise.
66704 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
66706         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
66708 2012-08-17  Marek Polacek  <polacek@redhat.com>
66710         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
66711         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
66713 2012-08-17  Roland McGrath  <roland@hack.frob.com>
66715         * configure.in: Add AC_SUBST for sysheaders.
66716         * configure: Regenerated.
66717         * config.make.in (sysheaders): New substituted variable.
66719         * sysdeps/unix/mkfifo.c: Moved ...
66720         * sysdeps/posix/mkfifo.c: ... here.
66721         * sysdeps/unix/mkfifoat.c: Moved ...
66722         * sysdeps/posix/mkfifoat.c: ... here.
66724         * sysdeps/unix/utime.c: Moved ...
66725         * sysdeps/posix/utime.c: ... here.
66727         * sysdeps/unix/time.c: Moved ...
66728         * sysdeps/posix/time.c: ... here.
66729         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
66730         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
66732         * sysdeps/unix/nice.c: Moved ...
66733         * sysdeps/posix/nice.c: ... here.
66735         * sysdeps/unix/alarm.c: Moved ...
66736         * sysdeps/posix/alarm.c: ... here.
66738         * intl/Makefile ($(codeset_mo)): Depend on the input file.
66740 2012-08-17  Jeff Law <law@redhat.com>
66742         * intl/Makefile (codeset_mo): New variable.
66743         ($(codeset_mo)): New target.
66744         (tst-codeset.out): Depend on that.  Remove explicit rule.
66745         (tst-gettext3.out, tst-gettext5.out): Likewise.
66746         (LOCPATH-ENV, tst-codeset-ENV): New variables.
66747         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
66748         * intl/tst-codeset.sh: Remove.
66749         * intl/tst-gettext3.sh: Likewise.
66750         * intl/tst-gettext5.sh: Likewise.
66752 2012-08-17  Roland McGrath  <roland@hack.frob.com>
66754         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
66755         * sysdeps/unix/syscalls.list: ... here.
66757         * sysdeps/posix/getaddrinfo.c
66758         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
66759         (gaiconf_init, gaiconf_reload): Use them.
66760         [!_STATBUF_ST_NSEC]
66761         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
66762         Define using time_t rather than struct timespec.
66764         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
66765         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
66766         Macros removed.
66767         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
66768         [!NO_THREADS].
66769         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
66770         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
66771         Likewise.
66773         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
66774         __libc_cleanup_push argument.
66776         * bits/param.h: New file.
66777         * misc/sys/param.h: New file.
66778         * include/sys/param.h: New file.
66779         * misc/Makefile (headers): Add bits/param.h.
66780         * sysdeps/generic/sys/param.h: File removed.
66781         * sysdeps/unix/sysv/linux/bits/param.h: New file.
66782         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
66783         * sysdeps/mach/hurd/bits/param.h: New file.
66784         * sysdeps/mach/hurd/sys/param.h: File removed.
66786         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
66787         last change.
66789         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
66790         [_IO_MTSAFE_IO].
66791         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
66792         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
66793         New macros.
66795         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
66796         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
66797         rather than -D_IO_MTSAFE_IO conditionally.
66798         * stdio-common/Makefile (CPPFLAGS): Likewise.
66799         * wcsmbs/Makefile (CPPFLAGS): Likewise.
66800         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
66801         Use $(libio-mtsafe).
66802         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
66803         of -D_IO_MTSAFE_IO.
66804         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
66805         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
66806         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
66807         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
66808         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
66809         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
66810         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
66811         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
66812         (CFLAGS-fread_u_chk.c): Likewise.
66813         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
66814         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
66815         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
66816         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
66817         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
66818         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
66819         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
66820         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
66821         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
66823         * libio/Makefile: Test [$(libc-reentrant) = yes]
66824         instead of [$(filter %REENTRANT, $(defines)) nonempty].
66826         * Makeconfig
66827         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
66828         * sysdeps/pthread/configure: File removed.
66829         * sysdeps/pthread/Makeconfig: New file.
66830         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
66831         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
66833 2012-08-16  Gary Benson  <gbenson@redhat.com>
66835         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
66836         unmapping the first object in a namespace.
66838 2012-08-16  Roland McGrath  <roland@hack.frob.com>
66840         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
66841         (__internal_setnetgrent): ... this.  Add internal_function to
66842         definition.  Add libc_hidden_def.
66843         (setnetgrent): Update caller.
66844         (internal_endnetgrent): Renamed to ...
66845         (__internal_endnetgrent): ... this.  Add internal_function to
66846         definition.  Add libc_hidden_def.
66847         (endnetgrent): Update caller.
66848         (internal_getnetgrent_r): Renamed to ...
66849         (__internal_getnetgrent_r): ... this.  Add internal_function to
66850         definition.  Add libc_hidden_def.
66851         (__getnetgrent_r): Update caller.
66852         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
66854 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
66856         * stdlib/longlong.h: Update from GCC.
66858 2012-08-16  Roland McGrath  <roland@hack.frob.com>
66860         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
66861         on _QL, which is set by umul_ppmm but never used.
66862         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
66863         variables, which are set by GMP macros but never used.
66864         * stdio-common/_itowa.c (_itowa): Likewise.
66865         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
66866         * stdlib/mod_1.c (mpn_mod_1): Likewise.
66868 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
66870         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
66871         struct La_sh_regs is not constant.
66872         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
66873         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
66874         and struct La_sparc64_regs are not constant.
66876 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
66878         * sysdeps/unix/sysv/linux/kernel-features.h
66879         (__ASSUME_POSIX_TIMERS): Remove.
66880         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
66881         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66882         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
66883         Make code unconditional.
66884         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66885         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
66886         Make code unconditional.
66887         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66888         * sysdeps/unix/sysv/linux/clock_nanosleep.c
66889         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
66890         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66891         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
66892         Make code unconditional.
66893         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66894         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
66895         (__libc_missing_posix_timers): Remove.
66897 2012-08-15  Roland McGrath  <roland@hack.frob.com>
66899         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
66900         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
66902         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
66904         * elf/dl-sym.c: Include <stdlib.h>.
66906         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
66907         constants, which avoids warnings in 32-bit builds.
66909         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
66910         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
66912         * misc/lseek.c: File moved to ...
66913         * io/lseek.c: ... here.
66915         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
66917         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
66918         shifting LEN more than 31 bits at once.
66920 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66922         [BZ #14195]
66923         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
66924         segmentation fault for a case of two empty input strings.
66925         * string/test-strncasecmp.c (check1): Renamed to...
66926         (bz12205): ...this.
66927         (bz14195): Add new testcase for two empty input strings and N > 0.
66928         (test_main): Call new testcase, adapt for renamed function.
66930 2012-08-15  Andreas Jaeger  <aj@suse.de>
66932         [BZ #14090]
66933         * crypt/md5test2.c: New test, based on test supplied by Serge
66934         Belyshev <belyshev@depni.sinp.msu.ru>.
66935         * crypt/Makefile (xtests): Add md5test-giant..
66936         * crypt/Makefile ($(objpfx)md5test-giant): Add.
66938 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
66940         [BZ #14090]
66941         * crypt/md5.c (md5_process_block): Don't assume the buffer
66942         length is less than 2**32.
66943         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
66944         length is less than 2**64.
66946 2012-08-15  Roland McGrath  <roland@hack.frob.com>
66948         * string/str-two-way.h: Include <sys/param.h>.
66949         (MAX): Macro removed.
66951         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
66952         Move #define and #undef of memmove to just before and after
66953         including <string.h>.
66955         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
66956         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
66957         and after including <string.h>.  Move declarations of
66958         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
66959         to before #include "string/memmove.c".
66961         * include/dirent.h: Declare __getdirentries.
66963         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
66964         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
66966 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
66968         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
66969         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
66970         * sysdeps/i386/configure: Regenerated.
66971         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
66972         STABS_CURRENT_FILE, and STABS_FUN.
66973         (END): Remove call to STABS_FUN_END.
66974         (STABS_CURRENT_FILE1): Delete.
66975         (STABS_CURRENT_FILE): Likewise.
66976         (STABS_FUN): Likewise.
66977         (STABS_FUN_END): Likewise.
66978         (STABS_FUN2): Likewise.
66979         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
66980         * sysdeps/x86_64/configure: Regenerated.
66982 2012-08-14  Roland McGrath  <roland@hack.frob.com>
66984         * elf/dl-open.c: Include <atomic.h>.
66985         * elf/dl-lookup.c: Likewise.
66987 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
66989         * sysdeps/unix/sysv/linux/kernel-features.h
66990         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
66991         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
66992         unconditionally.
66993         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
66994         unconditionally.
66995         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
66996         condition on __ASSUME_CLONE_THREAD_FLAGS.
66998 2012-08-14  Andreas Jaeger  <aj@suse.de>
67000         * sysdeps/i386/fpu/libm-test-ulps: Update.
67002 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
67004         * include/atomic.h (atomic_exchange_and_add): Split into ...
67005         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
67006         New atomic macros.
67008 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
67010         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67012 2012-08-13  Jeff Law <law@redhat.com>
67014         * manual/stdio.texi (snprintf): Clarify handling of the trailing
67015         null byte in the output string.
67017 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
67019         * sysdeps/unix/sysv/linux/kernel-features.h
67020         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
67021         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
67022         (__ASSUME_ARG_MAX_STACK_BASED): Define.
67023         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
67024         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
67025         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
67026         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
67028 2012-08-09  Jeff Law <law@redhat.com>
67030         [BZ #13939]
67031         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
67032         When avoid_arena is set, don't retry in the that arena.  Pick the
67033         next one, whatever it might be.
67034         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
67035         (arena_lock): Pass in new parameter to arena_get2.
67036         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
67037         arena_get2.
67038         (__libc_malloc): Unify retrying after main arena failure with
67039         __libc_memalign version.
67040         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
67042 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
67044         [BZ #14166]
67045         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
67046         to __redirect_strstr.
67047         (__strstr_sse42): Use typeof __redirect_strstr.
67048         (__strstr_ia32): Likewise.
67049         (__libc_strstr): New prototype.
67050         (strstr): Renamed to ...
67051         (__libc_strstr): This.
67052         (strstr): New strong alias of __libc_strstr.
67053         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
67054         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
67055         __redirect_time.
67056         Include <time.h>.
67057         (__libc_time): New prototype.
67058         (time_ifunc): Replace time with __libc_time.
67059         (time): New strong alias and hidden definition of __libc_time.
67060         (__GI_time): Remove strong alias.
67061         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
67062         Include <stddef.h>.
67063         (memmove): Redefined to __redirect_memmove.
67064         (__memmove_sse2): Use typeof __redirect_memmove.
67065         (__memmove_ssse3): Likewise.
67066         (__memmove_ssse3_back): Likewise.
67067         (__libc_memmove): New prototype.
67068         (memmove): Renamed to ...
67069         (__libc_memmove): This.
67070         (memmove): New strong alias of __libc_memmove.
67072 2012-08-08  Mark Salter  <msalter@redhat.com>
67074         * elf/elf.h
67075         (R_MN10300_TLS_GD): Define.
67076         (R_MN10300_TLS_LD): Likewise.
67077         (R_MN10300_TLS_LDO): Likewise.
67078         (R_MN10300_TLS_GOTIE): Likewise.
67079         (R_MN10300_TLS_IE): Likewise.
67080         (R_MN10300_TLS_LE): Likewise.
67081         (R_MN10300_TLS_DTPMOD): Likewise.
67082         (R_MN10300_TLS_DTPOFF): Likewise.
67083         (R_MN10300_TLS_TPOFF): Likewise.
67084         (R_MN10300_SYM_DIFF): Likewise.
67085         (R_MN10300_ALIGN): Likewise.
67086         (R_MN10300_NUM): Update.
67088 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
67090         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
67091         Remove.
67093 2012-08-08  Roland McGrath  <roland@hack.frob.com>
67095         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
67097         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
67098         sysdeps/unix -> sysdeps/posix move.
67099         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
67101 2012-08-07      Allan McRae     <allan@archlinux.org>
67103         [BZ #14303]
67104         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
67105         (SUNOS_CPP): Likewise.
67106         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
67107         not found.
67108         (open_input): Call CPP using execvp.
67110 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
67112         * sysdeps/unix/sysv/linux/kernel-features.h
67113         (__ASSUME_PROT_GROWSUPDOWN): Remove.
67114         (__ASSUME_NO_CLONE_DETACHED): Likewise.
67115         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67116         (__ASSUME_WAITID_SYSCALL): Likewise.
67117         * sysdeps/unix/sysv/linux/dl-execstack.c
67118         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
67119         code unconditional.
67120         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
67121         conditional code.
67122         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
67123         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
67124         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
67125         code.
67126         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
67127         unconditional.
67128         [__ASSUME_WAITID_SYSCALL]: Likewise.
67129         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
67131 2012-08-07  Roland McGrath  <roland@hack.frob.com>
67133         * sysdeps/unix/closedir.c: Renamed to ...
67134         * sysdeps/posix/closedir.c: ... here.
67135         * sysdeps/unix/dirfd.c: Renamed to ...
67136         * sysdeps/posix/dirfd.c: ... here.
67137         * sysdeps/unix/dirstream.h: Renamed to ...
67138         * sysdeps/posix/dirstream.h: ... here.
67139         * sysdeps/unix/fdopendir.c: Renamed to ...
67140         * sysdeps/posix/fdopendir.c: ... here.
67141         * sysdeps/unix/opendir.c: Renamed to ...
67142         * sysdeps/posix/opendir.c: ... here.
67143         * sysdeps/unix/readdir.c: Renamed to ...
67144         * sysdeps/posix/readdir.c: ... here.
67145         * sysdeps/unix/readdir_r.c: Renamed to ...
67146         * sysdeps/posix/readdir_r.c: ... here.
67147         * sysdeps/unix/rewinddir.c: Renamed to ...
67148         * sysdeps/posix/rewinddir.c: ... here.
67149         * sysdeps/unix/seekdir.c: Renamed to ...
67150         * sysdeps/posix/seekdir.c: ... here.
67151         * sysdeps/unix/telldir.c: Renamed to ...
67152         * sysdeps/posix/telldir.c: ... here.
67153         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
67154         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
67155         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
67156         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
67158         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
67159         * bits/fcntl.h: ... here.
67161         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
67162         not 0.
67163         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
67164         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
67165         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
67166         (struct flock): Move l_start, l_len to the beginning.
67167         Use __pid_t for l_pid.
67168         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
67169         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
67170         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
67171         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
67172         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
67173         [__USE_LARGEFILE64] (struct flock64): New type.
67174         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
67176         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
67177         * bits/dirent.h: ... here.
67179         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
67180         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
67182 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
67184         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67185         Change from 2.6.0 to 2.6.16.
67186         * sysdeps/unix/sysv/linux/configure: Regenerated.
67187         * sysdeps/unix/sysv/linux/kernel-features.h
67188         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
67189         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
67190         version.
67191         (__ASSUME_UTIMES): Likewise.
67192         (__ASSUME_CLONE_STOPPED): Remove.
67193         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
67194         architectures, not kernel version.
67195         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
67196         (__ASSUME_NO_CLONE_DETACHED): Likewise.
67197         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67198         (__ASSUME_WAITID_SYSCALL): Likewise.
67199         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
67200         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
67201         * README: State 2.6.16 as minimum Linux kernel version.  Do not
67202         refer to older versions.
67204 2012-08-06  Roland McGrath  <roland@hack.frob.com>
67206         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
67207         Define alphasort64 as an alias.
67208         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
67209         Define versionsort64 as an alias.
67210         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
67211         Define scandir64 as an alias.
67212         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
67213         Define scandirat64 as an alias.
67214         * dirent/alphasort64.c (alphasort64):
67215         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
67216         * dirent/versionsort64.c: Likewise.
67217         * dirent/scandir64.c: Likewise.
67218         * dirent/scandirat64.c: Likewise.
67219         * sysdeps/wordsize-64/alphasort.c: File removed.
67220         * sysdeps/wordsize-64/alphasort64.c: File removed.
67221         * sysdeps/wordsize-64/scandir.c: File removed.
67222         * sysdeps/wordsize-64/scandir64.c: File removed.
67223         * sysdeps/wordsize-64/scandirat.c: File removed.
67224         * sysdeps/wordsize-64/scandirat64.c: File removed.
67225         * sysdeps/wordsize-64/versionsort.c: File removed.
67226         * sysdeps/wordsize-64/versionsort64.c: File removed.
67227         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
67228         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
67229         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
67230         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
67231         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
67232         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
67233         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
67234         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
67236         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
67237         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67238         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
67239         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67240         [defined __arch64__ || defined __sparcv9]
67241         (__INO_T_MATCHES_INO64_T): New macro.
67242         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67243         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
67244         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
67245         * sysdeps/unix/sysv/linux/bits/dirent.h
67246         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
67247         (_DIRENT_MATCHES_DIRENT64): New macro.
67249         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
67250         Define lockf64 as an alias.
67251         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
67252         Define fseeko64 as an alias.
67253         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
67254         Define ftello64 as an alias.
67255         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
67256         Define _IO_fgetpos64 and fgetpos64 as aliases.
67257         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
67258         Define _IO_fsetpos64 and fsetpos64 as aliases.
67259         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
67260         Conditionalize body on this.
67261         * libio/fseeko64.c: Likewise.
67262         * libio/ftello64.c: Likewise.
67263         * libio/iofgetpos64.c: Likewise.
67264         * libio/iofsetpos64.c: Likewise.
67265         * sysdeps/wordsize-64/lockf.c: File removed.
67266         * sysdeps/wordsize-64/lockf64.c: File removed.
67267         * sysdeps/wordsize-64/fseeko.c: File removed.
67268         * sysdeps/wordsize-64/fseeko64.c: File removed.
67269         * sysdeps/wordsize-64/ftello.c: File removed.
67270         * sysdeps/wordsize-64/ftello64.c: File removed.
67271         * sysdeps/wordsize-64/iofgetpos.c: File removed.
67272         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
67273         * sysdeps/wordsize-64/iofsetpos.c: File removed.
67274         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
67275         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
67276         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
67277         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
67278         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
67279         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
67280         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
67281         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
67282         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
67283         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
67284         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
67286         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
67287         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67288         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
67289         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67290         [defined __arch64__ || defined __sparcv9]
67291         (__OFF_T_MATCHES_OFF64_T): New macro.
67292         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67293         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
67294         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67295         (__OFF_T_MATCHES_OFF64_T): New macro.
67297 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
67299         * stdlib/secure-getenv.c (__secure_getenv): Replace
67300         GLIBC_2_16 with GLIBC_2_17.
67302 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
67304         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
67305         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
67307 2012-08-03  David S. Miller  <davem@davemloft.net>
67309         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67311 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
67313         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
67314         Remove.
67315         (__ASSUME_CORRECT_SI_PID): Likewise.
67316         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
67317         (__ASSUME_TMPFS_NAME): Likewise.
67318         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
67319         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
67320         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
67321         (HAVE_AUX_SECURE): Make definition unconditional.
67322         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
67323         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
67325 2012-08-03  Roland McGrath  <roland@hack.frob.com>
67327         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
67328         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
67329         * sysdeps/mach/hurd/eloop-threshold.h: New file.
67330         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
67331         __eloop_threshold instead of SYMLOOP_MAX.
67333         * sysdeps/generic/eloop-threshold.h: New file.
67334         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
67335         of MAXSYMLINKS.
67336         * elf/chroot_canon.c (chroot_canon): Likewise.
67338 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
67340         [BZ #13717]
67341         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67342         Change to 2.6.0 everywhere.
67343         * sysdeps/unix/sysv/linux/configure: Regenerated.
67344         * sysdeps/unix/sysv/linux/kernel-features.h
67345         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
67346         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
67347         kernel versions.
67348         (__ASSUME_POSIX_TIMERS): Define unconditionally.
67349         (__ASSUME_FUTEX_REQUEUE): Remove.
67350         (__ASSUME_STATFS64): Define unconditionally.
67351         (__ASSUME_AT_SECURE): Likewise.
67352         (__ASSUME_CORRECT_SI_PID): Likewise.
67353         (__ASSUME_TGKILL): Define without depending on kernel version for
67354         i386.
67355         (__ASSUME_UTIMES): Likewise.
67356         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
67357         kernel version.
67358         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
67359         (__ASSUME_TMPFS_NAME): Likewise.
67360         * README: Update reference to Linux kernel versions.
67362 2012-08-02  Marek Polacek  <polacek@redhat.com>
67364         [BZ# 14150]
67365         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
67366         libc_cv_asm_type_prefix with %.
67367         * configure: Regenerated.
67368         * include/libc-symbols.h: Remove comment about
67369         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
67370         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
67371         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
67372         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
67373         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
67374         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
67375         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
67376         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
67377         * elf/tst-unique2mod1.c: Likewise.
67378         * elf/tst-unique1mod2.c: Likewise.
67379         * elf/tst-unique1mod1.c: Likewise.
67380         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
67381         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
67382         Replace ASM_TYPE_DIRECTIVE with .type.
67383         * sysdeps/s390/s390-64/sysdep.h: Likewise.
67384         * sysdeps/i386/sysdep.h: Likewise.
67385         * sysdeps/x86_64/sysdep.h: Likewise.
67386         * sysdeps/sh/sysdep.h: Likewise.
67387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
67388         Do not define ASM_TYPE_DIRECTIVE.
67389         * sysdeps/powerpc/sysdep.h: Likewise.
67390         * sysdeps/powerpc/powerpc32/sysdep.h:
67391         Replace ASM_TYPE_DIRECTIVE with .type.
67392         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
67393         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
67394         * sysdeps/i386/fpu/e_powf.S: Likewise.
67395         * sysdeps/i386/fpu/e_expl.S: Likewise.
67396         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67397         * sysdeps/i386/fpu/e_acosh.S: Likewise.
67398         * sysdeps/i386/fpu/e_pow.S: Likewise.
67399         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
67400         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67401         * sysdeps/i386/fpu/s_expm1.S: Likewise.
67402         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
67403         * sysdeps/i386/fpu/e_log2.S: Likewise.
67404         * sysdeps/i386/fpu/e_log2l.S: Likewise.
67405         * sysdeps/i386/fpu/e_scalb.S: Likewise.
67406         * sysdeps/i386/fpu/e_powl.S: Likewise.
67407         * sysdeps/i386/fpu/e_log10f.S: Likewise.
67408         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
67409         * sysdeps/i386/fpu/e_logl.S: Likewise.
67410         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
67411         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
67412         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
67413         * sysdeps/i386/fpu/e_log2f.S: Likewise.
67414         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67415         * sysdeps/i386/fpu/e_log.S: Likewise.
67416         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67417         * sysdeps/i386/fpu/e_logf.S: Likewise.
67418         * sysdeps/i386/fpu/e_log10l.S: Likewise.
67419         * sysdeps/i386/fpu/e_atanh.S: Likewise.
67420         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
67421         * sysdeps/i386/fpu/e_log10.S: Likewise.
67422         * sysdeps/i386/fpu/s_frexp.S: Likewise.
67423         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67424         * sysdeps/i386/fpu/s_asinh.S: Likewise.
67425         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
67426         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67427         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
67428         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
67429         * sysdeps/i386/i686/strtok.S: Likewise.
67430         * sysdeps/i386/i386-mcount.S: Likewise.
67431         * sysdeps/i386/strtok.S: Likewise.
67432         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
67433         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67434         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67435         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67436         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
67437         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67438         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
67439         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
67440         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67441         * sysdeps/x86_64/_mcount.S: Likewise.
67442         * sysdeps/x86_64/strtok.S: Likewise.
67443         * sysdeps/sh/_mcount.S: Likewise.
67445 2012-08-01  Roland McGrath  <roland@hack.frob.com>
67447         * libio/iofopen.c: Include <fcntl.h>.
67448         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
67449         (_IO_fopen64, fopen64): Define as aliases.
67450         * libio/iofopen64.c: Include <fcntl.h>.
67451         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
67452         Conditionalize body on this.
67453         * sysdeps/wordsize-64/iofopen.c: File removed.
67454         * sysdeps/wordsize-64/iofopen64.c: File removed.
67456 2012-08-01  Marek Polacek  <polacek@redhat.com>
67458         * libc/Makeconfig: Use elf in place of binfmt-subdir.
67459         Use dlfcn directly instead of a variable.
67460         (binfmt-subdir): Do not define.
67461         (dlfcn): Likewise.
67463 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
67465         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
67466         Remove all definitions.
67467         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
67468         <kernel-features.h>.
67469         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
67470         (miss_F_GETOWN_EX): Remove all definitions.
67471         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
67472         macro definition.
67473         [!__ASSUME_FCNTL64]: Remove conditional code.
67474         [__ASSUME_FCNTL64]: Make code unconditional.
67475         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
67476         <kernel-features.h>.
67477         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
67478         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
67479         (lockf64) [__NR_fcntl64]: Make code unconditional.
67480         (lockf64) [__ASSUME_FCNTL64]: Likewise.
67482         * sysdeps/unix/sysv/linux/kernel-features.h
67483         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
67484         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
67485         Make code unconditional.
67486         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67487         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
67489         [__NR_vfork]: Make code unconditional.
67490         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67491         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
67493         [__NR_vfork]: Make code unconditional.
67494         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67495         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67497 2012-08-01  Roland McGrath  <roland@hack.frob.com>
67499         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
67500         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
67502         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67503         Define mkstemp64 as an alias.
67504         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67505         Define mkstemps64 as an alias.
67506         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67507         Define mkostemp64 as an alias.
67508         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67509         Define mkostemps64 as an alias.
67510         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
67511         Conditionalize body on this.
67512         * misc/mkostemp64.c: Likewise.
67513         * misc/mkostemps64.c: Likewise.
67514         * misc/mkstemps64.c: Likewise.
67515         * sysdeps/wordsize-64/mkstemp64.c: File removed.
67516         * sysdeps/wordsize-64/mkostemp64.c: File removed.
67517         * sysdeps/wordsize-64/mkostemp.c: File removed.
67518         * sysdeps/wordsize-64/mkstemp.c: File removed.
67519         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
67520         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
67521         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
67522         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
67524         [BZ #14138]
67525         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
67526         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
67527         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
67528         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
67530         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
67531         compat_symbol macros from <shlib-compat.h> rather than the underlying
67532         default_symbol_version and symbol_version macros, so that DEFAULT
67533         lines in shlib-versions are respected.
67534         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
67536 2012-08-01  Florian Weimer  <fweimer@redhat.com>
67538         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
67539         Declare with warn_unused_result.
67540         (setgid, setregid, setegid, setresgid): Likewise.
67541         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
67542         Likewise.
67543         * WUR-REPORT: Remove set*id functions.
67545 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
67547         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
67549 2012-07-31  Roland McGrath  <roland@hack.frob.com>
67551         [BZ #10191]
67552         * include/sys/socket.h (__libc_accept, __libc_accept4):
67553         Add attribute_hidden.
67554         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
67556         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
67557         use of PTR_MANGLE.
67558         * inet/getnetgrent_r.c (setup): Likewise.
67560         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
67562 2012-07-31  David S. Miller  <davem@davemloft.net>
67564         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67566 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
67568         [BZ #13629]
67569         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
67570         value between 1.0 and 2.0 and smaller part has absolute value less
67571         than 1.0.
67572         * math/s_clog10.c (__clog10): Likewise.
67573         * math/s_clog10f.c (__clog10f): Likewise.
67574         * math/s_clog10l.c (__clog10l): Likewise.
67575         * math/s_clogf.c (__clogf): Likewise.
67576         * math/s_clogl.c (__clogl): Likewise.
67577         * math/libm-test.inc (clog_test): Add more tests.
67578         (clog10_test): Likewise.
67579         * sysdeps/i386/fpu/libm-test-ulps: Update.
67580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67582 2012-07-31  Florian Weimer  <fweimer@redhat.com>
67584         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
67585         Exit with zero in case no suitable GID is found, and write a
67586         message to standard error.
67588 2012-07-30  Roland McGrath  <roland@hack.frob.com>
67590         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
67591         rather than to 1.
67592         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
67593         (MAXPATHLEN): Removed.
67594         (NOGROUP, NODEV): New macros.
67595         (setbit, clrbit, isset, isclr): New macros.
67596         (howmany, roundup, powerof2): New macros.
67597         (DEV_BSIZE): New macro.
67599         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
67600         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
67602         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
67603         definition on [!__NO_LONG_DOUBLE_MATH].
67605         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
67606         PTR_MANGLE and PTR_DEMANGLE.
67608         * socket/accept4.c (accept4): Rename to __libc_accept4.
67609         Define accept4 as a weak alias.
67611         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
67612         on [_DIRENT_HAVE_D_TYPE].
67613         * io/ftw.c (ftw_dir): Likewise.
67615         * io/xmknod.c (__xmknod): Don't check PATH for being null.
67617         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
67619         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
67620         Use the BSD numbers rather than the arbitrary ones we had.
67621         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
67622         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
67623         (SIGXCPU, SIGXFSZ): New macros.
67624         (_NSIG): Now 32.
67626         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
67627         initializer on [_LIBC_REENTRANT].
67629         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
67630         definitions inside [_POSIX_MAPPED_FILES].
67632         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
67634         * dirent/opendir.c: Include <fcntl.h>.
67636         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
67637         (__libc_getspecific): Likewise.
67638         (__libc_key_create): Likewise.
67640         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
67641         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
67642         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
67643         (tmpfile64): Define as alias.
67644         * sysdeps/wordsize-64/tmpfile.c: File removed.
67645         * sysdeps/wordsize-64/tmpfile64.c: File removed.
67646         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
67647         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
67649         * stdio-common/vfscanf.c: Include <stdbool.h>.
67650         * nss/makedb.c: Likewise.
67651         * stdio-common/_i18n_number.h: Likewise.
67652         * argp/argp-help.c: Likewise.
67653         * posix/wordexp.c: Likewise.
67654         * sysdeps/posix/spawni.c: Likewise.
67655         * nss/nss_files/files-initgroups.c: Likewise.
67656         * stdio-common/reg-modifier.c: Include <stdlib.h>.
67657         * nss/nss_files/files-initgroups.c: Likewise.
67658         * nss/nss_db/db-netgrp.c: Likewise.
67659         * nss/nss_db/db-initgroups.c: Likewise.
67660         * io/fchmodat.c: Include <sys/stat.h>.
67662         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
67663         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
67665         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
67666         [HAVE_MMAP].
67668         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
67669         Add multiple inclusion protection.
67671 2012-07-27  David S. Miller  <davem@davemloft.net>
67673         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67675 2012-07-27  Gary Benson  <gbenson@redhat.com>
67677         [BZ #14298]
67678         * elf/rtld.c: Include <stap-probe.h>.
67679         (dl_main): Added static probes "init_start" and "init_complete".
67680         * elf/dl-load.c: Include <stap-probe.h>.
67681         (lose): Take new parameter "nsid".
67682         Added static probe "map_failed".
67683         (_dl_map_object_from_fd): Pass namespace id to lose.
67684         Added static probe "map_start".
67685         (open_verify): Pass namespace id to lose.
67686         * elf/dl-open.c: Include <stap-probe.h>.
67687         (dl_open_worker) Added static probes "map_complete", "reloc_start"
67688         and "reloc_complete".
67689         * elf/dl-close.c: Include <stap-probe.h>.
67690         (_dl_close_worker): Added static probes "unmap_start" and
67691         "unmap_complete".
67692         * elf/rtld-debugger-interface.txt: New file documenting the above.
67694 2012-07-26  Roland McGrath  <roland@hack.frob.com>
67696         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
67697         rather than a string variable.
67698         * sunrpc/rpc_main.c (h_output): Likewise.
67699         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
67701 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
67703         * inet/check_native.c: New file.
67705 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
67707         [BZ #13629]
67708         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
67709         if larger part has absolute value 1.0.
67710         * math/s_clog10.c (__clog10): Likewise.
67711         * math/s_clog10f.c (__clog10f): Likewise.
67712         * math/s_clog10l.c (__clog10l): Likewise.
67713         * math/s_clogf.c (__clogf): Likewise.
67714         * math/s_clogl.c (__clogl): Likewise.
67715         * math/libm-test.inc (clog_test): Add more tests.
67716         (clog10_test): Likewise.
67717         * sysdeps/i386/fpu/libm-test-ulps: Update.
67718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67720         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
67721         (pltexit): Likewise.
67722         (La_regs): Likewise.
67723         (La_retval): Likewise.
67724         (int_retval): Likewise.
67725         Update #error for removed macros to refer only to definitions in
67726         tst-audit.h.
67727         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
67728         macro.
67729         (pltexit): Likewise.
67730         (La_regs): Likewise.
67731         (La_retval): Likewise.
67732         (int_retval): Likewise.
67733         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
67734         macro.
67735         (pltexit): Likewise.
67736         (La_regs): Likewise.
67737         (La_retval): Likewise.
67738         (int_retval): Likewise.
67739         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
67740         macro.
67741         (pltexit): Likewise.
67742         (La_regs): Likewise.
67743         (La_retval): Likewise.
67744         (int_retval): Likewise.
67745         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
67746         macro.
67747         (pltexit): Likewise.
67748         (La_regs): Likewise.
67749         (La_retval): Likewise.
67750         (int_retval): Likewise.
67751         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
67752         macro.
67753         (pltexit): Likewise.
67754         (La_regs): Likewise.
67755         (La_retval): Likewise.
67756         (int_retval): Likewise.
67757         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
67758         macro.
67759         (pltexit): Likewise.
67760         (La_regs): Likewise.
67761         (La_retval): Likewise.
67762         (int_retval): Likewise.
67763         * sysdeps/generic/tst-audit.h: Update comment to refer only to
67764         macro definitions in tst-audit.h.
67765         * sysdeps/i386/tst-audit.h: New file.
67766         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
67767         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
67768         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
67769         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
67770         * sysdeps/sh/tst-audit.h: Likewise.
67771         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
67772         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
67773         * sysdeps/x86_64/tst-audit.h: Likewise.
67775 2012-07-26  Andreas Jaeger  <aj@suse.de>
67777         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
67778         ptrace.
67780         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
67781         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
67782         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
67783         PTRACE_O_MASK.
67784         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
67785         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
67786         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
67788         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
67789         value.
67791         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
67792         _sigsys.
67793         (si_call_addr, si_syscall, si_arch): Define new macro.
67794         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
67795         _sigsys.
67796         (si_call_addr, si_syscall, si_arch): Define new marcro.
67797         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
67798         _sigsys.
67799         (si_call_addr, si_syscall, si_arch): Define new macro.
67800         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
67801         _sigsys.
67802         (si_call_addr, si_syscall, si_arch): Define new macro.
67804 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
67806         [BZ #13717]
67807         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67808         Change to 2.4.21 where previously 2.4.1.
67809         * sysdeps/unix/sysv/linux/configure: Regenerated.
67810         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
67811         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
67812         Linux kernel version.
67813         (__ASSUME_STD_AUXV): Remove.
67814         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
67815         kernel version.
67816         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
67817         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
67818         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
67819         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
67820         (__ASSUME_NETLINK_SUPPORT): Likewise.
67821         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
67822         (__no_netlink_support): Remove conditional definition.
67823         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
67824         Remove.
67825         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
67826         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
67827         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
67828         (if_nameindex_ioctl): Remove.
67829         (if_nameindex_netlink): Do not handle __no_netlink_support.
67830         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
67831         code.
67832         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
67833         Remove conditional code.
67834         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
67835         code.
67836         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
67837         unconditional.
67838         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
67839         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
67840         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
67841         Remove.
67842         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
67843         [!__ASSUME_STD_AUXV]: Remove conditional code.
67844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
67845         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
67846         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
67847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
67848         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
67849         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
67850         code.
67851         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
67852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
67853         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
67854         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
67855         conditional code.
67856         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
67857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
67858         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
67859         code.
67860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
67861         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
67862         conditional code.
67863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
67864         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67865         code unconditional.
67866         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67867         conditional code.
67868         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67869         unconditional.
67870         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67871         conditional code.
67872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
67873         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67874         unconditional.
67875         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67876         conditional code.
67877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
67878         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67879         code unconditional.
67880         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67881         conditional code.
67882         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67883         unconditional.
67884         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67885         conditional code.
67886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
67887         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67888         code unconditional.
67889         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67890         conditional code.
67891         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67892         unconditional.
67893         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67894         conditional code.
67896 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
67898         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
67899         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
67900         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
67901         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
67902         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
67903         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
67904         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
67905         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
67906         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
67907         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
67908         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
67909         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
67910         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
67911         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
67912         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
67913         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
67914         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
67915         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
67916         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
67917         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
67918         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
67919         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
67920         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
67922 2012-07-25  Florian Weimer  <fweimer@redhat.com>
67924         * Versions.def: Add GLIBC_2.17.
67925         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
67926         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
67927         Introduce __libc_secure_getenv.
67928         * stdlib/Versions (2.17): Add secure_getenv
67929         (GLIBC_PRIVATE): Add __libc_secure_getenv.
67930         * stdlib/secure-getenv.c: Rename __secure_getenv to
67931         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
67932         symbol __secure_getenv for GLIBC_2.0.
67933         * stdlib/tst-secure-getenv.c: New.
67934         * stdlib/Makefile (tests): Add testcase.
67935         * manual/startup.texi (Environment Access): Document
67936         secure_getenv.
67937         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
67938         __libc_secure_getenv.
67939         * inet/ruserpass.c (ruserpass): Likewise.
67940         * malloc/mtrace.c (mtrace): Likewise.
67941         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
67942         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
67943         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
67944         * sysdeps/posix/tempname.c: Likewise.  Evaluate
67945         HAVE_SECURE_GETENV.
67946         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
67947         __secure_getenv to __libc_secure_getenv.
67948         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
67949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67950         Likewise.
67951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67952         Likewise.
67953         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
67954         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
67955         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
67956         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
67957         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
67958         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
67959         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
67961 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
67963         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
67964         (struct La_i86_retval): Likewise.
67965         (struct La_x86_64_regs): Likewise.
67966         (struct La_x86_64_retval): Likewise.
67967         (struct La_x32_regs): Likewise.
67968         (struct La_x32_retval): Likewise.
67969         (struct La_ppc32_regs): Likewise.
67970         (struct La_ppc32_retval): Likewise.
67971         (struct La_ppc64_regs): Likewise.
67972         (struct La_ppc64_retval): Likewise.
67973         (struct La_sh_regs): Likewise.
67974         (struct La_sh_retval): Likewise.
67975         (struct La_s390_32_regs): Likewise.
67976         (struct La_s390_32_retval): Likewise.
67977         (struct La_s390_64_regs): Likewise.
67978         (struct La_s390_64_retval): Likewise.
67979         (struct La_sparc32_regs): Likewise.
67980         (struct La_sparc32_retval): Likewise.
67981         (struct La_sparc64_regs): Likewise.
67982         (struct La_sparc64_retval): Likewise.
67983         (struct audit_ifaces): Remove architecture-specific pltenter and
67984         pltexit members.
67985         * sysdeps/i386/ldsodefs.h: New file.
67986         * sysdeps/powerpc/ldsodefs.h: Likewise.
67987         * sysdeps/s390/ldsodefs.h: Likewise.
67988         * sysdeps/sh/ldsodefs.h: Likewise.
67989         * sysdeps/sparc/ldsodefs.h: Likewise.
67990         * sysdeps/x86_64/ldsodefs.h: Likewise.
67992 2012-07-25  Marek Polacek  <polacek@redhat.com>
67994         [BZ #6808]
67995         * math/libm-test.inc (yn_test): Add another test.
67996         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
67997         to ERANGE when the result is +-Inf.
67998         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
67999         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
68000         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
68001         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
68003 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
68005         * conform/data/time.h-data (NULL): Use macro-constant.  Require
68006         equal to 0.
68007         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
68008         clock_t.
68009         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
68011 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
68013         * configure.in <sysdeps resolving>: Correct printing
68014         Implies_before.
68015         * configure: Regenerate.
68017 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
68019         * math/w_ilogb.c: Include <limits.h>.
68020         * math/w_ilogbl.c: Likewise.
68022 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
68024         * manual/lang.texi (__va_copy): Document primarily as ISO C99
68025         va_copy.  Document allowing for unavailable va_copy only as
68026         pre-C99 compatibility.
68027         * manual/string.texi (Copying and Concatenation): Use va_copy
68028         instead of __va_copy in concat example.
68030 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
68032         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
68033         (__sendto): Use create_address_port.  Initialize APORT and deallocate
68034         it if not null.
68036         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
68037         with O_NOLINK passed to __file_name_lookup.
68039         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
68040         with O_NOLINK passed to __file_name_lookup.
68042         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
68043         negative N or less than NGIDS.
68045         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
68046         type to string_t.  Set ERANGE as errno and return it if NAME is not big
68047         enough.  Use memcpy instead of strncpy.
68049 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
68051         * elf/Makefile (check-data): Remove.
68052         (localplt.data): New vpath directive.
68053         ($(objpfx)check-localplt.out): Use localplt.data from vpath
68054         instead of $(check-data).
68055         * scripts/data/localplt-generic.data: Move to ...
68056         * sysdeps/generic/localplt.data: ... here.
68057         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
68058         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
68059         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
68060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
68061         ... here.
68062         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
68063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
68064         ... here.
68065         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
68066         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
68067         ... here.
68068         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
68069         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
68070         ... here.
68071         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
68072         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
68073         ... here.
68074         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
68075         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
68076         ... here.
68078 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68080         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
68081         PPC32 and PPC64 files.
68082         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
68083         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
68085 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68087         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
68088         __makecontext_ret to ...
68089         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
68090         ... here and call exit if uc_link is NULL.  New file.
68091         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
68092         __makecontext_ret.S.
68093         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
68094         __makecontext_ret to ...
68095         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
68096         ... here and call exit if uc_link is NULL.  New file.
68097         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
68098         __makecontext_ret.S.
68100 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68102         * elf/elf.h (R_390_IRELATIVE): New definition.
68103         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
68104         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
68105         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
68106         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
68107         (elf_machine_lazy_rel): Likewise.
68108         * sysdeps/s390/dl-irel.h: New file.
68109         * sysdeps/s390/s390-64/memcpy.S: New asm code.
68110         * sysdeps/s390/s390-64/memset.S: New asm code.
68111         * sysdeps/s390/s390-64/memcmp.S: New asm code.
68112         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
68113         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
68114         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
68115         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
68116         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
68117         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
68118         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
68119         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
68120         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
68121         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
68122         * sysdeps/s390/s390-32/memcpy.S: New asm code.
68123         * sysdeps/s390/s390-32/memset.S: New asm code.
68124         * sysdeps/s390/s390-32/memcmp.S: New asm code.
68126 2012-07-17  Marek Polacek  <polacek@redhat.com>
68128         [BZ #14349]
68129         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
68130         * sysdeps/s390/s390-64/configure.in: Likewise.
68131         * sysdeps/sparc/configure.in: Likewise.
68132         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
68133         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
68134         * sysdeps/i386/configure.in: Likewise.
68135         * sysdeps/x86_64/configure.in: Likewise.
68136         * sysdeps/sh/configure.in: Likewise.
68137         * sysdeps/s390/s390-32/configure: Regenerated.
68138         * sysdeps/s390/s390-64/configure: Likewise.
68139         * sysdeps/x86_64/configure: Likewise.
68140         * sysdeps/sh/configure: Likewise.
68141         * sysdeps/powerpc/powerpc64/configure: Likewise.
68142         * sysdeps/powerpc/powerpc32/configure: Likewise.
68143         * sysdeps/sparc/configure: Likewise.
68144         * sysdeps/i386/configure: Likewise.
68146         * elf/dl-open.c: Comment fixes.
68148 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
68150         * Makefile [CXX] (check-data): Remove.
68151         [CXX] (c++-types.data): New vpath directive.
68152         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
68153         vpath.  Do not allow for C++ type data being missing.
68154         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
68155         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
68156         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
68157         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
68158         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
68159         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
68160         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
68161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
68162         ... here.
68163         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
68164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
68165         ... here.
68166         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
68167         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
68168         ... here.
68169         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
68170         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
68171         ... here.
68172         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
68173         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
68174         ... here.
68175         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
68176         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
68177         ... here.
68178         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
68179         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
68180         ... here.
68181         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
68182         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
68184         * elf/tls-macros.h (TLS_LE): Move architecture-specific
68185         definitions to architecture-specific files.
68186         (TLS_IE): Likewise.
68187         (TLS_LD): Likewise.
68188         (TLS_GD): Likewise.
68189         * sysdeps/i386/tls-macros.h: New file.
68190         * sysdeps/powerpc/tls-macros.h: Likewise.
68191         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
68192         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
68193         * sysdeps/sh/tls-macros.h: Likewise.
68194         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
68195         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
68196         * sysdeps/x86_64/tls-macros.h: Likewise.
68198 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
68200         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
68201         zero value for regular exit case.
68203         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
68204         (__start_context): Preserve zero value for regular exit case.
68206 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
68207             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68209         * manual/setjmp.texi (setcontext): Clarify normal process
68210         termination when uc_link is the null pointer.
68211         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
68212         exit call.
68214 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
68216         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
68217         preprocessor.  Test for each exception mask separately.
68219 2012-07-16  Andreas Jaeger  <aj@suse.de>
68221         * po/ru.po: Update from translation team.
68223 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
68225         * conform/data/string.h-data (NULL): Use macro-constant.  Require
68226         equal to 0.
68227         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
68228         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
68229         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
68230         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
68231         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68233 2012-07-13  Andreas Jaeger  <aj@suse.de>
68235         * po/fr.po: Update from translation team.
68237 2012-07-12  Marek Polacek  <polacek@redhat.com>
68239         [BZ #14173]
68240         * math/libm-test.inc (yn_test): Add test for BZ #14173.
68241         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
68242         loop condition.
68244 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
68246         [BZ #13717]
68247         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68248         Change to 2.4.1 where previously 2.4.0.
68249         * sysdeps/unix/sysv/linux/configure: Regenerated.
68250         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
68251         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
68252         version.
68253         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
68254         (__ASSUME_AT_CLKTCK): Remove.
68255         (__ASSUME_AT_PAGESIZE): Likewise.
68256         (__ASSUME_AT_XID): Likewise.
68257         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
68258         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
68259         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
68260         unconditionally.
68261         (HAVE_AUX_PAGESIZE): Likewise.
68262         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
68263         [__ASSUME_AT_CLKTCK]: Make code unconditional.
68264         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
68266 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
68268         [BZ #14307]
68269         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
68270         the temporary buffer used to invoke __gethostbyname2_r,
68271         __gethostbyaddr_r and gethostbyname4_r to make room for struct
68272         host_data / struct gaih_addrtuple.
68273         * resolv/nss_dns/dns-host.c (global scope): Move definition of
68274         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
68275         header file nss/nsswitch.h.
68276         * nss/nsswitch.h (global scope): Add definition of implementation
68277         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
68278         resolv/nss_dns/dns-host.c).
68280 2012-07-11  Andreas Jaeger  <aj@suse.de>
68282         * po/fr.po: Update from translation team.
68284         * po/sv.po: Update from translation team
68285         * po/fr.po: Another update from translation team.
68287 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68289         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
68290         for subnormals or multiply small sinh result by itself.
68291         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
68292         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68294 2012-07-11  David S. Miller  <davem@davemloft.net>
68296         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68298 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
68300         [BZ #14347]
68301         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
68302         (INTERNAL_MARK): Shift it here.
68304 2012-07-10  Marek Polacek  <polacek@redhat.com>
68306         [BZ #14151]
68307         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
68308         libc_cv_asm_global_directive with .globl.
68309         * configure: Regenerated.
68310         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
68311         with .globl.
68312         * sysdeps/i386/configure: Regenerated.
68313         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
68314         with .globl.
68315         * sysdeps/x86_64/configure: Regenerated.
68316         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
68317         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
68318         * elf/tst-unique2mod2.c: Likewise.
68319         * elf/tst-unique2mod1.c: Likewise.
68320         * elf/tst-unique1mod2.c: Likewise.
68321         * elf/tst-unique1mod1.c: Likewise.
68322         * sysdeps/s390/s390-32/sysdep.h: Likewise.
68323         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
68324         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68325         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
68326         * sysdeps/mach/sysdep.h: Likewise.
68327         * sysdeps/i386/sysdep.h: Likewise.
68328         * sysdeps/i386/i386-mcount.S: Likewise.
68329         * sysdeps/x86_64/_mcount.S: Likewise.
68330         * sysdeps/x86_64/sysdep.h: Likewise.
68331         * sysdeps/sh/_mcount.S: Likewise.
68332         * sysdeps/sh/sysdep.h: Likewise.
68333         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
68334         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
68335         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
68336         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68337         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
68338         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
68339         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
68340         * locale/localeinfo.h: Likewise.
68341         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
68342         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
68344 2012-07-09  Roland McGrath  <roland@hack.frob.com>
68346         [BZ #14336]
68347         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
68348         system".
68349         * manual/message.texi (The Uniforum approach): Likewise.
68350         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
68351         (glibc iconv Implementation): Likewise.
68353 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
68355         [BZ #14337]
68356         * math/s_clog.c (__clog): Avoid scaling a value down where that
68357         could result in underflow.
68358         * math/s_clog10.c (__clog10): Likewise.
68359         * math/s_clog10f.c (__clog10f): Likewise.
68360         * math/s_clog10l.c (__clog10l): Likewise.
68361         * math/s_clogf.c (__clogf): Likewise.
68362         * math/s_clogl.c (__clogl): Likewise.
68363         * math/libm-test.inc (clog_test): Add more tests.
68364         (clog10_test): Likewise.
68365         * sysdeps/i386/fpu/libm-test-ulps: Update.
68366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68368 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
68370         [BZ #14283]
68371         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
68372         by 7 not 8 to examine high bit of fractional part.
68374         [BZ #14042]
68375         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
68376         for call to __mcount_internal.
68377         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
68378         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
68379         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
68381 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
68383         [BZ #14154]
68384         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
68385         approximation for values within 0x1p-13f of an odd multiple of
68386         pi/4.
68387         * math/libm-test.inc (tan_test): Do not allow spurious underflow
68388         exception.  Add more tests.
68389         * sysdeps/i386/fpu/libm-test-ulps: Update.
68391         [BZ #6778]
68392         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
68393         inputs and return -1 for them.  Do not check for +Inf in case not
68394         reachable for +Inf.
68395         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
68396         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
68397         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
68398         and return -1 for them.  Do not check for +Inf in case not
68399         reachable for +Inf.
68400         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
68401         define.
68402         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
68403         and return -1 for them.  Do not check for +Inf in case not
68404         reachable for +Inf.
68405         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
68406         spurious underflow.
68407         * sysdeps/i386/fpu/libm-test-ulps: Update.
68408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68410 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
68412         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
68414 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
68416         [BZ #14157]
68417         [BZ #14331]
68418         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
68419         could result in spurious underflow.  Scale down values above
68420         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
68421         * math/s_csqrtf.c (__csqrtf): Likewise.
68422         * math/s_csqrtl.c (__csqrtl): Likewise.
68423         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
68424         spurious underflow.
68425         * sysdeps/i386/fpu/libm-test-ulps: Update.
68426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68428 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
68430         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
68431         xopen-msg.sed.
68432         * catgets/xopen-msg.awk: New file.
68433         * catgets/xopen-msg.sed: Removed.
68435         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
68436         po2text.sed.
68437         * intl/po2test.awk: New file.
68438         * intl/po2test.sed: Removed.
68440 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
68442         [BZ #14328]
68443         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
68444         or multiply small sinh result by itself.
68445         * math/s_ctanf.c (__ctanf): Likewise.
68446         * math/s_ctanh.c (__ctanh): Likewise.
68447         * math/s_ctanhf.c (__ctanhf): Likewise.
68448         * math/s_ctanhl.c (__ctanhl): Likewise.
68449         * math/s_ctanl.c (__ctanl): Likewise.
68450         * math/libm-test.inc (ctan_test_tonearest): New function.
68451         (ctan_test_towardzero): Likewise.
68452         (ctan_test_downward): Likewise.
68453         (ctan_test_upward): Likewise.
68454         (ctanh_test_tonearest): Likewise.
68455         (ctanh_test_towardzero): Likewise.
68456         (ctanh_test_downward): Likewise.
68457         (ctanh_test_upward): Likewise.
68458         (main): Call these new functions.
68459         * sysdeps/i386/fpu/libm-test-ulps: Update.
68460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68462 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
68464         * .gitignore: Delete /ports entry.
68466 2012-07-03  Andreas Jaeger  <aj@suse.de>
68468         * po/bg.po: Update from translation team.
68469         * po/cs.po: Likewise.
68470         * po/de.po: Likewise.
68471         * po/hr.po: Likewise.
68472         * po/nl.pl: Likewise.
68473         * po/pl.po: Likewise.
68474         * po/vi.po: Likewise.
68476 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
68478         * Makeconfig [!+link] (+link-before-libc): New variable.
68479         [!+link] (+link-after-libc): Likewise.
68480         [!+link] (+link-tests): Likewise.
68481         [!+link] (+link): Define in terms of $(+link-before-libc) and
68482         $(+link-after-libc).
68483         [!+link-static] (+link-static-before-libc): New variable.
68484         [!+link-static] (+link-static-after-libc): Likewise.
68485         [!+link-static] (+link-static-tests): Likewise.
68486         [!+link-static] (+link-static): Define in terms of
68487         $(+link-static-before-libc) and $(+link-static-after-libc).
68488         [build-shared] (link-libc-before-gnulib): New variable.
68489         [build-shared] (link-libc-tests): Likewise.
68490         [build-shared] (link-libc): Define in terms of
68491         $(link-libc-before-gnulib).
68492         [!build-shared] (link-libc-tests): New variable.
68493         (link-libc-static-tests): New variable.
68494         [!gnulib] (gnulib-arch): New variable.
68495         [!gnulib] (gnulib-tests): Likewise.
68496         [!gnulib] (static-gnulib-arch): Likewise.
68497         [!gnulib] (static-gnulib-tests): Likewise.
68498         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
68499         Define with "=" instead of ":=".
68500         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
68501         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
68502         * Rules (binaries-all-notests): New variable.
68503         (binaries-all-tests): Likewise.
68504         (binaries-static-notests): Likewise.
68505         (binaries-static-tests): Likewise.
68506         (binaries-all): Define using $(binaries-all-notests) and
68507         $(binaries-all-tests).
68508         (binaries-static): Define using $(binaries-static-notests) and
68509         $(binaries-static-tests).
68510         (binaries-shared-tests): New variable.
68511         (binaries-shared-notests): Likewise.
68512         (binaries-shared): Remove variable.
68513         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
68514         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
68515         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
68516         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
68517         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
68518         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
68519         * elf/Makefile (sln-modules): New variable.
68520         (extra-objs): Add $(sln-modules:=.o).
68521         (ldconfig-modules): Add static-stubs.
68522         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
68523         * elf/static-stubs.c: New file.
68525         [BZ #14283]
68526         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
68527         by 7 not 8 to examine high bit of fractional part.  Use volatile
68528         variables when splitting into final array of floats if
68529         __FLT_EVAL_METHOD__ != 0.
68530         * math/libm-test.inc (cos_test): Add another test.
68531         (sin_test): Likewise.
68532         * sysdeps/i386/fpu/libm-test-ulps: Update.
68534         [BZ #14273]
68535         * math/libm-test.inc (cosh_test): Add more tests.
68537         * version.h (RELEASE): Set to "development".
68538         (VERSION): Set to "2.16.90".
68540 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
68542         * NEWS: Update copyright. Remove last-updated date.
68543         Mention math library bug fixes and timezone data changes.
68544         * README: Mention GNU/Hurd, x32, and HPPA support status.
68546 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
68548         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
68550 2012-06-27  Andreas Jaeger  <aj@suse.de>
68552         * manual/contrib.texi (Contributors): Add Samuel Thibault.
68554 2012-06-25  Andreas Jaeger  <aj@suse.de>
68556         * sysdeps/s390/fpu/libm-test-ulps: Update.
68558 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
68559             Thomas Schwinge  <thomas@codesourcery.com>
68561         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
68562         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
68563         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
68564         fanotify_mark.
68566 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
68568         * sysdeps/mach/start.c: Remove file.
68569         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
68570         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
68571         * sysdeps/sh/init-first.c: Likewise.
68573         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
68574         registers for frame unwinding purposes, add CFI directives.
68575         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
68576         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
68577         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
68578         Likewise.
68580         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
68581         __fortify_fail returning.
68582         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
68584         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
68585         sysdeps/sh/____longjmp_chk.S.
68586         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
68587         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
68588         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
68589         (gen-as-const-headers): Append sigaltstack-offsets.sym.
68591         * sysdeps/sh/abort-instr.h: New file.
68592         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
68593         process in case exit returns.
68595         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
68596         initialize the GOT register before use.
68598         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
68599         calculation of ARGC > 4.
68601         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
68602         meaningful names to some local labels.
68604 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68605             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
68607         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
68608         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
68609         (__arch_compare_and_exchange_val_16_acq): Likewise.
68610         (__arch_compare_and_exchange_val_32_acq): Likewise.
68611         (atomic_exchange_and_add): Fix gUSA sequence.
68612         (atomic_add): Likewise.
68613         (atomic_add_negative): Likewise.
68614         (atomic_add_zero): Likewise.
68615         (atomic_bit_test_set): Likewise.
68617 2012-06-22  Andreas Schwab  <schwab@redhat.com>
68619         [BZ #13579]
68620         * include/link.h (struct link_map): Add l_free_initfini.
68621         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
68622         l_initfini.
68623         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
68624         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
68625         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
68626         set.
68628 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
68630         * configure.in: Use AC_LANG_SOURCE.
68631         * configure: Regenerate.
68633 2012-06-22  Roland McGrath  <roland@hack.frob.com>
68635         * configure.in (libc_cv_localstatedir): New substituted variable.
68636         * configure: Regenerated.
68637         * config.make.in (localstatedir): New variable, substituted from
68638         libc_cv_localstatedir.
68639         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
68640         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
68641         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
68642         * sysdeps/gnu/configure: Regenerated.
68644 2012-06-21  Jeff Law  <law@redhat.com>
68646         [BZ #14277]
68647         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
68648         free.  Simplify list management for _LIBC case.
68650 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
68652         [BZ #14273]
68653         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
68654         Clear sign bit of 64-bit integer value before comparing against
68655         overflow value.
68657         * sysdeps/mach/configure: Regenerated.
68659 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
68661         [BZ #14278]
68662         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
68664 2012-06-21  Jeff Law  <law@redhat.com>
68666         [BZ #13882]
68667         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
68668         uint16_t for elements in the "seen" array to avoid char overflows.
68669         * elf/dl-fini.c (_dl_sort_fini): Likewise.
68670         * elf/dl-open.c (dl_open_worker): Likewise.
68672 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
68674         * scripts/list-sources.sh: Scan PORTS for translations.
68675         * po/libc.pot: Regenerated.
68677 2012-06-21  Andreas Jaeger  <aj@suse.de>
68679         [BZ #12194]
68680         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
68681         warning.
68682         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
68683         * bits/byteswap-16.h (__bswap_16): Likewise.
68684         * bits/byteswap.h (__bswap_constant_16): Likewise.
68686 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
68688         [BZ #14117]
68689         * sysdeps/i386/fpu_control.h: Removed.
68690         * sysdeps/x86_64/fpu_control.h: Moved to ...
68691         * sysdeps/x86/fpu_control.h: Here.
68693         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
68694         (_FPU_SETCW): Likewise.
68696 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
68698         [BZ #14117]
68699         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
68700         * sysdeps/x86/fpu/bits/mathinline.h: This.
68701         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
68703         [BZ #14050]
68704         [BZ #14117]
68705         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
68706         functions if __x86_64__ is defined.
68708 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
68710         * string/endian.h: Add !__ASSEMBLER__ condition for including
68711         conversion interfaces.
68713 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
68715         [BZ #14241]
68716         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
68717         of ABS(x) in calculating zero to negative powers other than odd
68718         integers.
68719         * math/libm-test.inc (pow_test): Add more tests.
68721 2012-06-15  Andreas Jaeger  <aj@suse.de>
68723         * manual/contrib.texi (Contributors): Update entry of Liubov
68724         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
68725         Machado Filho.
68727 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
68729         * string/string.h: Add __wur to GNU version of strerror_r.
68731 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
68733         [BZ #14229]
68734         * string/Makefile (tests): Add tst-strtok_r.
68735         * string/tst-strtok_r.c: New file.
68736         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
68737         RAX_LP/RDX_LP on SAVE_PTR.
68739 2012-06-14  Roland McGrath  <roland@hack.frob.com>
68741         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
68743 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
68745         * libm_test.inc (csqrt_test): Allow more spurious underflow
68746         exceptions.
68747         (j0_test): Likewise.
68748         (j1_test): Likewise.
68749         (y0_test): Likewise.
68750         (y1_test): Likewise.
68752 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
68754         * po/Makefile (libc.pot): Use UTF-8 charset.
68756 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
68758         [BZ #14210]
68759         Suppress sign-conversion warning from FD_SET.
68760         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
68761         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
68762         not unsigned long int.
68763         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
68765 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
68767         [BZ #14050]
68768         [BZ #14117]
68769         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
68770         __extern_always_inline instead of __extern_inline.
68771         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
68772         (__signbit): Likewise.
68773         (__signbitl): Support C++ namespace.
68774         (lrintf): New inline function.
68775         (lrint): Likewise.
68776         (llrintf): Likewise.
68777         (llrint): Likewise.
68778         (fmaxf): Likewise.
68779         (fmax): Likewise.
68780         (fminf): Likewise.
68781         (fmin): Likewise.
68782         (rint): Likewise.
68783         (rintf): Likewise.
68784         (ceil): Likewise.
68785         (ceilf): Likewise.
68786         (floor): Likewise.
68787         (floorf): Likewise.
68788         (nearbyint): Likewise.
68789         (nearbyintf): Likewise.
68791 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
68793         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
68794         non-default versions.
68796 2012-06-11  Roland McGrath  <roland@hack.frob.com>
68798         [BZ #14218]
68799         * manual/argp.texi (Argp): Reword argp_parse description slightly.
68801 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
68803         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
68804         (FE_UPWARD, FE_DOWNWARD): Don't define.
68805         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
68806         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
68808         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
68809         reading it.
68810         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
68811         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
68813 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
68815         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68816         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
68817         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
68818         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
68820 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
68822         [BZ #14117]
68823         * sysdeps/i386/fpu/bits/fenv.h: Removed.
68824         * sysdeps/i386/fpu/Implies: New file.
68825         * sysdeps/x86_64/fpu/Implies: Likewise.
68826         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
68827         * sysdeps/x86/fpu/bits/fenv.h: This.
68829         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
68830         __SSE_MATH__.
68832 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
68834         [BZ #14134]
68835         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
68836         character 0xffff that matches the last element of the
68837         conversion table.
68839 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68841         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
68842         fmodl commit.
68844 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68846         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
68847         values higher than 25.6283.
68849 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68851         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
68852         subnormal exponent extraction and add some __builtin_expect.
68853         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
68854         Fix for subnormal mantissa calculation.
68856 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
68858         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
68859         cpu2 is -1 and errno is not ENOSYS.
68861 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
68863         [BZ #14117]
68864         * sysdeps/i386/i486/bits/string.h: Renamed to ...
68865         * sysdeps/x86/bits/string.h: This.
68866         * sysdeps/x86_64/bits/string.h: Removed.
68868         * sysdeps/i386/i486/bits/string.h: Define inline functions only
68869         if not compiling for x86-64, but compiling for >= i486.
68871         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
68872         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
68874         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
68875         New macro from Linux kernel 3.4.0.
68876         (FP_XSTATE_MAGIC2): Likewise.
68877         (FP_XSTATE_MAGIC2_SIZE): Likewise.
68878         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
68879         (struct _fpx_sw_bytes): New struct.
68880         (struct _xsave_hdr): Likewise.
68881         (struct _ymmh_state): Likewise.
68882         (struct _xstate): Likewise.
68884         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
68885         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
68886         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
68887         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
68888         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
68889         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
68891         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
68892         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
68893         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
68894         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
68895         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
68896         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
68898 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68900         [BZ #13743]
68901         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
68902         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
68903         (sysdep_headers): Include sys/platform/ppc.h.
68904         * sysdeps/powerpc/test-gettimebase.c: Test for
68905         __ppc_get_timebase() to catch future ISA opcode/insn changes.
68906         * manual/Makefile (appendices): Include platform.texi.
68907         * manual/contrib.texi (Contributors): Update @node pointers.
68908         * manual/maint.texi (Maintenance): Likewise.
68909         (Platform): New node.
68910         * manual/platform.texi: New file.  Document the new features.
68912 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
68913             Jakub Jelinek  <jakub@redhat.com>
68915         [BZ #14188]
68916         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
68917         where __builtin_expect is unavailable.
68919 2012-06-03  David S. Miller  <davem@davemloft.net>
68921         * stdlib/longlong.h: Updated from GCC.
68923 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
68925         [BZ #14042]
68926         * sysdeps/powerpc/powerpc32/mcount.c: New file.
68927         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
68928         __mcount_internal.
68929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
68930         (GLIBC_2.16): Likewise.
68932 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
68934         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
68936 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
68938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
68939         (default-abi): New variable.
68940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
68941         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
68942         variable.
68943         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
68944         Likewise.
68945         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
68946         Likewise.
68947         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
68948         Likewise.
68950         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
68951         definition.  Document in comment.
68953 2012-06-01  David S. Miller  <davem@davemloft.net>
68955         * stdlib/longlong.h: Updated from GCC.
68957 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
68959         [BZ #14117]
68960         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
68961         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
68962         sys/debugreg.h sys/io.h here.
68963         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
68964         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
68965         sys/io.h.
68966         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
68967         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
68968         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
68969         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
68970         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
68971         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
68973         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
68974         Define only if __x86_64__ is defined.
68976 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
68978         [BZ #14048]
68979         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
68980         Use int64_t for variable i.
68981         * math/libm-test.inc (fmod_test): Add more tests.
68983         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
68984         z computation is not scheduled after fetestexcept.
68985         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
68986         Use math_force_eval instead of asm to ensure calculation scheduled
68987         before exception test.
68988         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
68989         Ensure a1 + u.d computation is not scheduled after fetestexcept.
68991 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
68993         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
68994         computation is not scheduled after fetestexcept.
68996 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
68998         [BZ #14117]
68999         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
69000         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
69002 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69004         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
69005         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
69007 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
69009         [BZ #14117]
69010         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
69011         <bits/wordsize.h>.
69012         (__WCHAR_MIN): Support __WORDSIZE == 64.
69013         (__WCHAR_MAX): Likewise.
69015         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
69016         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
69018         [BZ #14183]
69019         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
69020         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
69022         [BZ #14117]
69023         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
69024         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
69026         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
69027         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
69029         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
69030         Defined to 1 if __x86_64__ isn't defined.
69031         (_STAT_VER_LINUX_OLD): New.
69032         (st_atime): Remove duplicate.
69033         (st_mtime): Likewise.
69034         (st_ctime): Likewise.
69036 2012-05-31  David S. Miller  <davem@davemloft.net>
69038         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
69039         entries.
69041 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
69043         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
69044         gen-libm-test.pl.
69046         [BZ #14132]
69047         * elf/dl-reloc.c: Include <_itoa.h>.
69048         (_dl_reloc_bad_type): Remove use of INTUSE.
69049         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
69050         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
69051         * stdio-common/psiginfo.c (psiginfo): Likewise.
69052         * stdio-common/psignal.c (psignal): Likewise.
69053         * string/strsignal.c (strsignal): Likewise.
69054         * include/signal.h (_sys_siglist): Declare hidden proto.
69055         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
69056         INTVARDEF with libc_hidden_data_def.
69057         * stdio-common/itoa-udigits.c: Likewise.
69058         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
69059         (_itoa_lower_digits_internal): Remove declaration.
69060         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
69061         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
69062         (_sys_sigabbrev_internal): Remove aliases.
69063         (_sys_siglist): Define hidden alias.
69065 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
69067         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69068         bits/sysctl.h.
69070 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
69072         [BZ #14117]
69073         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
69074         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
69076         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
69077         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
69078         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
69079         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
69080         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
69081         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
69083         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
69084         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
69085         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
69087         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
69088         with __addr.
69089         (insw): Likewise.
69090         (insl): Likewise.
69091         (outsb): Likewise.
69092         (outsw): Likewise.
69093         (outsl): Likewise.
69095         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
69096         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
69097         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
69099         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
69100         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
69101         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
69102         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
69103         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
69104         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
69106         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
69107         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
69109         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
69110         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
69112         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
69113         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
69114         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
69116         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
69117         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
69118         to ...
69119         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
69121         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
69122         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
69123         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
69125         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
69126         for x86-64.
69127         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
69129 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
69131         * math/math.h (M_El): Use two more decimal places.
69132         (M_LOG2El): Likewise.
69133         (M_LOG10El): Likewise.
69134         (M_LN2l): Likewise.
69135         (M_LN10l): Likewise.
69136         (M_PIl): Likewise.
69137         (M_PI_2l): Likewise.
69138         (M_PI_4l): Likewise.
69139         (M_1_PIl): Likewise.
69140         (M_2_PIl): Likewise.
69141         (M_2_SQRTPIl): Likewise.
69142         (M_SQRT2l): Likewise.
69143         (M_SQRT1_2l): Likewise.
69145 2012-05-31  David S. Miller  <davem@davemloft.net>
69147         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
69148         values between float registers.
69149         * sysdeps/sparc/sparc64/memset.S: Likewise.
69150         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69152 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
69154         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
69155         -D_FORTIFY_SOURCE=1.
69156         (CPPFLAGS-tst-longjmp_chk.c): Define.
69157         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
69158         (CPPFLAGS-tst-longjmp_chk2.c): Define.
69159         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
69160         CFLAGS-tst-wchar-h.c.
69162 2012-05-31  Marek Polacek  <polacek@redhat.com>
69164         [BZ #14132]
69165         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
69166         __endmntent_internal): Remove declaration.
69167         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
69168         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
69169         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
69171 2012-05-30  David S. Miller  <davem@davemloft.net>
69173         * sysdeps/sparc/sparc32/soft-fp/q_util.c
69174         (___Q_simulate_exceptions): Use real FP ops rather than writing
69175         into the %fsr.
69176         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
69177         Likewise.
69179 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
69181         [BZ #14117]
69182         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
69183         * sysdeps/x86/bits/xtitypes.h: This.
69185         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
69186         * sysdeps/x86/bits/wordsize.h: This.
69188         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
69189         * sysdeps/x86/bits/huge_vall.h: This.
69191         * sysdeps/i386/bits/select.h: Removed.
69192         * sysdeps/x86_64/bits/select.h: Renamed to ...
69193         * sysdeps/x86/bits/select.h: This.
69195         * sysdeps/i386/bits/setjmp.h: Removed.
69196         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
69197         * sysdeps/x86/bits/setjmp.h: This.
69199         * sysdeps/i386/bits/mathdef.h: Removed.
69200         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
69201         * sysdeps/x86/bits/mathdef.h: This.
69203 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
69205         [BZ #14132]
69206         * include/sys/socket.h (__connect_internal)
69207         (__libc_sa_len_internal): Remove declaration.
69208         (__connect, __libc_sa_len): Declare hidden_proto.
69209         (SA_LEN): Remove use of INTUSE.
69210         * socket/connect.c: Add libc_hidden_def.
69211         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
69212         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
69213         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
69214         alias.
69215         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
69216         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
69217         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
69218         of adding _internal alias.
69220 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
69222         [BZ #14117]
69223         * sysdeps/i386/bits/link.h: Removed.
69224         * sysdeps/i386/bits/linkmap.h: Likewise.
69225         * sysdeps/x86_64/bits/link.h: Renamed to ...
69226         * sysdeps/x86/bits/link.h: This.
69227         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
69228         * sysdeps/x86/bits/linkmap.h: This.
69230         * sysdeps/i386/bits/endian.h: Removed.
69231         * sysdeps/x86_64/bits/endian.h: Renamed to ...
69232         * sysdeps/x86/bits/endian.h: This.
69234         * sysdeps/i386/bits/byteswap.h: Removed.
69235         * sysdeps/i386/bits/byteswap-16.h: Likewise.
69236         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
69237         * sysdeps/x86/bits/byteswap.h: This.
69238         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
69239         * sysdeps/x86/bits/byteswap-16.h: This.
69240         * sysdeps/i386/Implies: Add x86.
69241         * sysdeps/x86_64/Implies: Likewise.
69243 2012-05-30  David S. Miller  <davem@davemloft.net>
69245         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
69246         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
69247         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
69248         (FP_TRAPPING_EXCEPTIONS): Define.
69249         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
69250         (FP_TRAPPING_EXCEPTIONS): Define.
69251         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
69252         subnormals only when inexact has been signalled or underflow
69253         exceptions are enabled.
69254         (_FP_PACK_CANONICAL): Likewise.
69256 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
69258         [BZ #14183]
69259         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
69260         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
69262 2012-05-30  Richard Henderson  <rth@twiddle.net>
69264         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
69265         with #ifndef NOT_IN_libc.
69267         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
69268         marked to avoid plt entry.
69270 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
69272         [BZ #14112]
69273         * Makeconfig (default-abi): New macro.
69274         (abi-includes): Likewise.
69275         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
69276         $(abi-$(default-abi)-lib-soname) for soname if defined.
69277         ($(common-objpfx)gnu/lib-names.stmp): Generate from
69278         abi-variants.
69279         * Makefile (installed-stubs): Likewise.
69280         * include/stubs-biarch.h: Removed.
69281         * scripts/lib-names.awk: Only handle one library at a time.
69282         * scripts/soversions.awk: Remove WORDSIZE support.
69283         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
69284         entries.
69285         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
69286         Removed.
69287         (syscall-list-default-condition): Likewise.
69288         (syscall-list-default-condition): Likewise.
69289         (syscall-list-includes): Likewise.
69290         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
69291         syscall-list-* with abi-*.  Handle undefined abi-variants.
69292         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
69293         * sysdeps/unix/sysv/linux/i386/Implies: New file.
69294         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
69295         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
69296         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
69297         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
69298         Removed.
69299         (syscall-list-32-options): Likewise.
69300         (syscall-list-32-condition): Likewise.
69301         (syscall-list-64-options): Likewise.
69302         (syscall-list-64-condition): Likewise.
69303         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
69304         macro.
69305         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
69306         Renamed to ...
69307         (abi-*): This.
69308         (abi-64-ld-soname): New macro.
69309         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
69310         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
69311         Renamed to ...
69312         (abi-*): This.
69313         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
69314         * sysdeps/x86_64/x32/shlib-versions: Likewise.
69316 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
69318         * sysdeps/unix/sysv/linux/kernel-features.h
69319         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
69320         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
69321         include <kernel-features.h>.
69322         [!__NR_ftruncate64]: Remove conditional code.
69323         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69324         [__NR_ftruncate64]: Make code unconditional.
69325         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69326         * sysdeps/unix/sysv/linux/truncate64.c: Do not
69327         include <kernel-features.h>.
69328         [!__NR_ftruncate64]: Remove conditional code.
69329         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69330         [__NR_ftruncate64]: Make code unconditional.
69331         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
69333         include <kernel-features.h>.
69334         [!__NR_ftruncate64]: Remove conditional code.
69335         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69336         [__NR_ftruncate64]: Make code unconditional.
69337         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
69339         include <kernel-features.h>.
69340         [!__NR_ftruncate64]: Remove conditional code.
69341         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69342         [__NR_ftruncate64]: Make code unconditional.
69343         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69345         * configure.in (libc_cv_fpie): Weaken to a compile test using
69346         LIBC_TRY_CC_OPTION.
69347         * configure: Regenerated.
69349 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
69352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
69353         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
69354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
69355         Refreshed.
69356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
69357         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
69358         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
69359         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
69360         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
69361         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
69362         Refreshed.
69364 2012-05-27  David S. Miller  <davem@davemloft.net>
69366         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
69367         (___Q_zero): New.
69368         (__Q_simulate_exceptions): Return void.  Change to simulate
69369         exceptions by writing into the %fsr.
69370         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
69371         (__Qp_handle_exceptions): Likewise.
69372         (numbers): Delete.
69373         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
69374         __Qp_handle_exceptions.
69375         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
69376         __Qp_handle_exceptions.
69377         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
69378         as unused and give dummy FP_RND_NEAREST initializer.
69379         (FP_INHIBIT_RESULTS): Define.
69380         (___Q_simulate_exceptions): Update declaration.
69381         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
69382         formatting.
69383         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
69384         as unused and give dummy FP_RND_NEAREST initializer.
69385         (__Qp_handle_exceptions): Update declaration.
69386         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
69387         formatting.
69389 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
69391         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
69392         the temporary FPU control word.
69393         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
69394         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
69395         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
69396         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
69397         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
69398         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
69399         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
69400         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
69401         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
69402         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
69403         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69405 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69407         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
69408         fields.
69410 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
69412         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
69413         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
69414         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
69415         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
69416         Likewise.
69417         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
69418         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
69419         Likewise.
69421 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
69423         * po/h.po: Update from translation team.
69425 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
69427         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
69429         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
69430         handling of denormals.
69431         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
69432         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
69433         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
69434         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
69435         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69436         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
69437         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
69438         Likewise.
69440 2012-05-26  Marek Polacek  <polacek@redhat.com>
69442         [BZ #14152]
69443         * math/libm-test.inc (fma_test): Don't always expect underflow
69444         exception.
69446 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69448         [BZ #12416]
69449         * elf/tst-execstack.c: Include stackinfo.h.
69450         (do_test): Adjust test case to ensure that pthread_getattr_np
69451         behaviour remains the same after marking stack executable.
69453 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
69455         * sysdeps/unix/sysv/linux/kernel-features.h
69456         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
69457         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
69458         kernel-features.h.
69459         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
69460         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
69461         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
69462         kernel-features.h.
69463         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
69464         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
69466 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
69468         * configure.in: Define the default includes to being none.
69469         * configure: Regenerated.
69471 2012-05-25  Roland McGrath  <roland@hack.frob.com>
69473         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
69474         * sysdeps/x86_64/setjmp.S: Likewise.
69475         * sysdeps/i386/bsd-setjmp.S: Likewise.
69476         * sysdeps/i386/bsd-_setjmp.S: Likewise.
69477         * sysdeps/i386/setjmp.S: Likewise.
69478         * sysdeps/i386/__longjmp.S: Likewise.
69479         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
69480         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
69482         * include/stap-probe.h: New file.
69483         * configure.in: Handle --enable-systemtap.
69484         * configure: Regenerated.
69485         * config.h.in (USE_STAP_PROBE): New #undef.
69486         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
69487         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
69488         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
69490 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
69492         [BZ #13717]
69493         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
69494         to 2.4.0 where earlier.
69495         * sysdeps/unix/sysv/linux/configure: Regenerated.
69496         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
69497         <kernel-features.h>.
69498         [__ASSUME_32BITUIDS]: Make code unconditional.
69499         [!__ASSUME_32BITUIDS]: Remove conditional code.
69500         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
69501         <kernel-features.h>.
69502         [__ASSUME_32BITUIDS]: Make code unconditional.
69503         [!__ASSUME_32BITUIDS]: Remove conditional code.
69504         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
69505         [__ASSUME_32BITUIDS]: Make code unconditional.
69506         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
69507         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
69508         <kernel-features.h>.
69509         [__ASSUME_32BITUIDS]: Make code unconditional.
69510         [!__ASSUME_32BITUIDS]: Remove conditional code.
69511         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
69512         <kernel-features.h>.
69513         [__ASSUME_32BITUIDS]: Make code unconditional.
69514         [!__ASSUME_32BITUIDS]: Remove conditional code.
69515         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
69516         <kernel-features.h>.
69517         [__ASSUME_32BITUIDS]: Make code unconditional.
69518         [!__ASSUME_32BITUIDS]: Remove conditional code.
69519         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
69520         <kernel-features.h>.
69521         [__ASSUME_32BITUIDS]: Make code unconditional.
69522         [!__ASSUME_32BITUIDS]: Remove conditional code.
69523         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
69524         <kernel-features.h>.
69525         [__ASSUME_32BITUIDS]: Make code unconditional.
69526         [!__ASSUME_32BITUIDS]: Remove conditional code.
69527         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
69528         <kernel-features.h>.
69529         [__ASSUME_32BITUIDS]: Make code unconditional.
69530         [!__ASSUME_32BITUIDS]: Remove conditional code.
69531         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
69532         <kernel-features.h>.
69533         [__ASSUME_32BITUIDS]: Make code unconditional.
69534         [!__ASSUME_32BITUIDS]: Remove conditional code.
69535         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
69536         <kernel-features.h>.
69537         [__ASSUME_32BITUIDS]: Make code unconditional.
69538         [!__ASSUME_32BITUIDS]: Remove conditional code.
69539         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
69540         <kernel-features.h>.
69541         [__ASSUME_32BITUIDS]: Make code unconditional.
69542         [!__ASSUME_32BITUIDS]: Remove conditional code.
69543         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
69544         <kernel-features.h>.
69545         [__ASSUME_32BITUIDS]: Make code unconditional.
69546         [!__ASSUME_32BITUIDS]: Remove conditional code.
69547         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
69548         <kernel-features.h>.
69549         [__NR_setresgid] (__setresgid): Do not declare.
69550         [__ASSUME_32BITUIDS]: Make code unconditional.
69551         [!__ASSUME_32BITUIDS]: Remove conditional code.
69552         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
69553         <kernel-features.h>.
69554         [__NR_setresuid] (__setresuid): Do not declare.
69555         [__ASSUME_32BITUIDS]: Make code unconditional.
69556         [!__ASSUME_32BITUIDS]: Remove conditional code.
69557         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
69558         <kernel-features.h>.
69559         [__ASSUME_32BITUIDS]: Make code unconditional.
69560         [!__ASSUME_32BITUIDS]: Remove conditional code.
69561         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
69562         <kernel-features.h>.
69563         [__ASSUME_32BITUIDS]: Make code unconditional.
69564         [!__ASSUME_32BITUIDS]: Remove conditional code.
69565         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
69566         <kernel-features.h>.
69567         [__ASSUME_32BITUIDS]: Make code unconditional.
69568         [!__ASSUME_32BITUIDS]: Remove conditional code.
69569         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
69570         <kernel-features.h>.
69571         [__ASSUME_32BITUIDS]: Make code unconditional.
69572         [!__ASSUME_32BITUIDS]: Remove conditional code.
69573         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
69574         <kernel-features.h>.
69575         [__ASSUME_32BITUIDS]: Make code unconditional.
69576         [!__ASSUME_32BITUIDS]: Remove conditional code.
69577         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
69578         <kernel-features.h>.
69579         [__ASSUME_32BITUIDS]: Make code unconditional.
69580         [!__ASSUME_32BITUIDS]: Remove conditional code.
69581         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
69582         <kernel-features.h>.
69583         [__ASSUME_32BITUIDS]: Make code unconditional.
69584         [!__ASSUME_32BITUIDS]: Remove conditional code.
69585         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
69586         <kernel-features.h>.
69587         [__ASSUME_32BITUIDS]: Make code unconditional.
69588         [!__ASSUME_32BITUIDS]: Remove conditional code.
69589         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
69590         <kernel-features.h>.
69591         [__ASSUME_32BITUIDS]: Make code unconditional.
69592         [!__ASSUME_32BITUIDS]: Remove conditional code.
69593         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
69594         <kernel-features.h>.
69595         [__ASSUME_32BITUIDS]: Make code unconditional.
69596         [!__ASSUME_32BITUIDS]: Remove conditional code.
69597         * sysdeps/unix/sysv/linux/kernel-features.h
69598         (__ASSUME_SETRESUID_SYSCALL): Remove.
69599         (__ASSUME_SETRESGID_SYSCALL): Likewise.
69600         (__ASSUME_32BITUIDS): Likewise.
69601         (__ASSUME_LDT_WORKS): Likewise.
69602         (__ASSUME_O_DIRECTORY): Likewise.
69603         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
69604         architecture but not kernel version.
69605         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
69606         (__ASSUME_MMAP2_SYSCALL): Likewise.
69607         (__ASSUME_STAT64_SYSCALL): Likewise.
69608         (__ASSUME_IPC64): Likewise.
69609         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
69610         <kernel-features.h>.
69611         [__ASSUME_32BITUIDS]: Make code unconditional.
69612         [!__ASSUME_32BITUIDS]: Remove conditional code.
69613         * sysdeps/unix/sysv/linux/opendir.c: Do not include
69614         <kernel-features.h>.
69615         [__ASSUME_O_DIRECTORY]: Make code unconditional.
69616         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
69617         132096]: Remove conditional code.
69618         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
69619         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
69620         <kernel-features.h>.
69621         [__ASSUME_32BITUIDS]: Make code unconditional.
69622         [!__ASSUME_32BITUIDS]: Remove conditional code.
69623         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
69624         <kernel-features.h>.
69625         [__ASSUME_32BITUIDS]: Make code unconditional.
69626         [!__ASSUME_32BITUIDS]: Remove conditional code.
69627         * sysdeps/unix/sysv/linux/setegid.c: Do not include
69628         <kernel-features.h>.
69629         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
69630         unconditional.
69631         (__setresgid): Do not declare.
69632         [__ASSUME_32BITUIDS]: Make code unconditional.
69633         [!__ASSUME_32BITUIDS]: Remove conditional code.
69634         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
69635         <kernel-features.h>.
69636         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
69637         unconditional.
69638         (__setresuid): Do not declare.
69639         [__ASSUME_32BITUIDS]: Make code unconditional.
69640         [!__ASSUME_32BITUIDS]: Remove conditional code.
69641         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
69642         <kernel-features.h>.
69643         [__ASSUME_32BITUIDS]: Make code unconditional.
69644         [!__ASSUME_32BITUIDS]: Remove conditional code.
69645         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
69646         <kernel-features.h>.
69647         [__ASSUME_32BITUIDS]: Make code unconditional.
69648         [!__ASSUME_32BITUIDS]: Remove conditional code.
69650 2012-05-25  Richard Henderson  <rth@twiddle.net>
69652         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
69653         dl_hwcap to ifunc resolver.
69654         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
69655         elf_ifunc_invoke.
69656         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
69657         dl_hwcap to ifunc resolver.
69658         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
69660 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
69662         [BZ #14153]
69663         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
69664         for |x| <= 2**-26, not 2**-57.
69665         * math/libm-test.inc (acos_test): Do not allow spurious underflow
69666         exception.
69668 2012-05-24  Jeff Law  <law@redhat.com>
69670         * stdio-common/Makefile (tests): Add bug25.
69671         * stdio-common/bug25.c: New test.
69673 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
69675         [BZ #13576]
69676         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
69677         multiple of MALLOC_ALIGNMENT in size.
69678         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
69680 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
69682         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
69683         Require >= 256.
69684         (FILENAME_MAX): Use macro-int-constant.
69685         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
69686         (_IOFBF): Use macro-int-constant.
69687         (_IOLBF): Likewise.
69688         (_IONBF): Likewise.
69689         (SEEK_CUR): Likewise.
69690         (SEEK_END): Likewise.
69691         (SEEK_SET): Likewise.
69692         (TMP_MAX): Likewise.
69693         (EOF): Use macro-int-constant.  Require < 0.
69694         (NULL): Use macro-constant.  Require == 0.
69695         (stdin): Require type to be FILE *.
69696         (stdout): Likewise.
69697         (stderr): Likewise.
69698         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
69699         macro-int-constant.
69700         (EXIT_SUCCESS): Likewise.
69701         (NULL): Use macro-constant.  Require == 0.
69702         (RAND_MAX): Use macro-int-constant.
69703         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
69704         [C99-based standards] (strtof): Require function.
69705         [C99-based standards] (strtold): Likewise.
69706         [C99-based standards] (strtoll): Likewise.
69707         [C99-based standards] (strtoull): Likewise.
69708         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
69709         [ISO || ISO99 || ISO11] (limits.h): Likewise.
69710         [ISO || ISO99 || ISO11] (math.h): Likewise.
69711         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
69712         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
69713         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69715 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
69717         [BZ #14132]
69718         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
69719         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
69720         * intl/dgettext.c (DCGETTEXT): Likewise.
69721         * intl/gettext.c (DCGETTEXT): Likewise.
69722         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
69723         * posix/regex_internal.h (gettext): Likewise.
69724         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
69725         Remove declaration.
69726         * include/argz.h (__argz_count_internal)
69727         (__argz_stringify_internal): Remove declaration.
69728         (__argz_count, __argz_stringify): Declare hidden proto.
69729         * intl/dcgettext.c: Remove use of INTDEF.
69730         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
69731         * string/argz-stringify.c: Likewise.
69732         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
69733         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
69734         Declare hidden proto.
69735         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
69736         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
69737         Declare hidden proto.
69738         * include/stdio.h (__asprintf_internal): Don't declare.
69739         (__asprintf): Don't define as macro.  Declare hidden proto.
69740         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
69741         (__fsetlocking): Declare hidden proto.
69742         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
69743         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
69744         hidden proto.
69745         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
69746         (_IO_setlinebuf): Remove use of INTUSE.
69747         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
69748         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
69749         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
69750         Remove declaration.
69751         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
69752         (_IO_do_flush): Remove use of INTUSE.
69753         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
69754         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
69755         (_IO_adjust_column, _IO_least_wmarker)
69756         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
69757         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
69758         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
69759         (_IO_default_doallocate, _IO_wdefault_doallocate)
69760         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
69761         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
69762         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
69763         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
69764         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
69765         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
69766         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
69767         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
69768         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
69769         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
69770         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
69771         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
69772         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
69773         proto.
69774         (_IO_flush_all_internal, _IO_adjust_column_internal)
69775         (_IO_default_uflow_internal, _IO_default_finish_internal)
69776         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
69777         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
69778         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
69779         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
69780         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
69781         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
69782         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
69783         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
69784         (_IO_file_close_internal, _IO_file_close_it_internal)
69785         (_IO_file_underflow_internal, _IO_file_overflow_internal)
69786         (_IO_file_init_internal, _IO_file_attach_internal)
69787         (_IO_file_fopen_internal, _IO_file_read_internal)
69788         (_IO_file_sync_internal, _IO_file_seek_internal)
69789         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
69790         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
69791         (_IO_str_underflow_internal, _IO_str_overflow_internal)
69792         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
69793         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
69794         (_IO_list_all_internal, _IO_link_in_internal)
69795         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
69796         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
69797         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
69798         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
69799         (_IO_do_write_internal, _IO_padn_internal)
69800         (_IO_getline_info_internal, _IO_getline_internal)
69801         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
69802         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
69803         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
69804         (_IO_vfscanf_internal, _IO_vfprintf_internal)
69805         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
69806         (_IO_init_internal, _IO_un_link_internal): Don't declare.
69807         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
69808         with libc_hidden_ver, remove use of INTUSE.
69809         * libio/genops.c: Likewise.
69810         * libio/freopen.c: Likewise.
69811         * libio/freopen64.c: Likewise.
69812         * libio/iofclose.c: Likewise.
69813         * libio/iofdopen.c: Likewise.
69814         * libio/iofflush.c: Likewise.
69815         * libio/iofflush_u.c: Likewise.
69816         * libio/iofgets.c: Likewise.
69817         * libio/iofgets_u.c: Likewise.
69818         * libio/iofopen.c: Likewise.
69819         * libio/iofopncook.c: Likewise.
69820         * libio/iofread.c: Likewise.
69821         * libio/iofread_u.c: Likewise.
69822         * libio/ioftell.c: Likewise.
69823         * libio/iofwrite.c: Likewise.
69824         * libio/iogetline.c: Likewise.
69825         * libio/iogets.c: Likewise.
69826         * libio/iogetwline.c: Likewise.
69827         * libio/iopadn.c: Likewise.
69828         * libio/iopopen.c: Likewise.
69829         * libio/ioseekoff.c: Likewise.
69830         * libio/ioseekpos.c: Likewise.
69831         * libio/iosetbuffer.c: Likewise.
69832         * libio/iosetvbuf.c: Likewise.
69833         * libio/ioungetc.c: Likewise.
69834         * libio/ioungetwc.c: Likewise.
69835         * libio/iovdprintf.c: Likewise.
69836         * libio/iovsprintf.c: Likewise.
69837         * libio/iovsscanf.c: Likewise.
69838         * libio/memstream.c: Likewise.
69839         * libio/obprintf.c: Likewise.
69840         * libio/oldfileops.c: Likewise.
69841         * libio/oldiofclose.c: Likewise.
69842         * libio/oldiofdopen.c: Likewise.
69843         * libio/oldiofopen.c: Likewise.
69844         * libio/oldiopopen.c: Likewise.
69845         * libio/oldstdfiles.c: Likewise.
69846         * libio/putc.c: Likewise.
69847         * libio/setbuf.c: Likewise.
69848         * libio/setlinebuf.c: Likewise.
69849         * libio/stdfiles.c: Likewise.
69850         * libio/strops.c: Likewise.
69851         * libio/vasprintf.c: Likewise.
69852         * libio/vscanf.c: Likewise.
69853         * libio/vsnprintf.c: Likewise.
69854         * libio/vswprintf.c: Likewise.
69855         * libio/wfiledoalloc.c: Likewise.
69856         * libio/wfileops.c: Likewise.
69857         * libio/wgenops.c: Likewise.
69858         * libio/wmemstream.c: Likewise.
69859         * libio/wstrops.c: Likewise.
69860         * libio/__fpurge.c: Likewise.
69861         * libio/__fsetlocking.c: Likewise.
69862         * assert/assert.c: Likewise.
69863         * debug/fgets_chk.c: Likewise.
69864         * debug/fgets_u_chk.c: Likewise.
69865         * debug/fread_chk.c: Likewise.
69866         * debug/fread_u_chk.c: Likewise.
69867         * debug/gets_chk.c: Likewise.
69868         * debug/obprintf_chk.c: Likewise.
69869         * debug/vasprintf_chk.c: Likewise.
69870         * debug/vdprintf_chk.c: Likewise.
69871         * debug/vsnprintf_chk.c: Likewise.
69872         * debug/vsprintf_chk.c: Likewise.
69873         * malloc/mtrace.c: Likewise.
69874         * misc/error.c: Likewise.
69875         * misc/syslog.c: Likewise.
69876         * stdio-common/asprintf.c: Likewise.
69877         * stdio-common/fxprintf.c: Likewise.
69878         * stdio-common/getw.c: Likewise.
69879         * stdio-common/isoc99_fscanf.c: Likewise.
69880         * stdio-common/isoc99_scanf.c: Likewise.
69881         * stdio-common/isoc99_vfscanf.c: Likewise.
69882         * stdio-common/isoc99_vscanf.c: Likewise.
69883         * stdio-common/isoc99_vsscanf.c: Likewise.
69884         * stdio-common/printf-prs.c: Likewise.
69885         * stdio-common/printf_fp.c: Likewise.
69886         * stdio-common/printf_fphex.c: Likewise.
69887         * stdio-common/printf_size.c: Likewise.
69888         * stdio-common/putw.c: Likewise.
69889         * stdio-common/scanf.c: Likewise.
69890         * stdio-common/sprintf.c: Likewise.
69891         * stdio-common/tmpfile.c: Likewise.
69892         * stdio-common/vfprintf.c: Likewise.
69893         * stdio-common/vfscanf.c: Likewise.
69894         * stdlib/strfmon_l.c: Likewise.
69895         * sunrpc/openchild.c: Likewise.
69896         * sunrpc/xdr_stdio.c: Likewise.
69897         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
69898         * sysdeps/mach/hurd/tmpfile.c: Likewise.
69900 2012-05-24  Roland McGrath  <roland@hack.frob.com>
69902         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
69904         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
69905         in the third column, to generate for the shared library an IFUNC
69906         that uses _dl_vdso_vsym.
69907         * Makerules (COMPILE.c, compile-stdin.c): New variables.
69908         * Makeconfig (object-suffixes-noshared): New variable.
69910         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
69911         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
69912         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
69913         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
69915         [BZ #14132]
69916         * include/sys/time.h (__gettimeofday): Remove macro.
69917         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
69918         * time/gettimeofday.c (__gettimeofday): Remove #undef.
69919         Remove INTDEF.
69920         (__gettimeofday): Add libc_hidden_def.
69921         (gettimeofday): Add libc_hidden_weak.
69922         * sysdeps/mach/gettimeofday.c: Likewise.
69923         * sysdeps/posix/gettimeofday.c: Likewise.
69924         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
69925         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
69926         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
69927         (__gettimeofday_internal): Remove strong_alias.
69928         (__gettimeofday): Add libc_hidden_def.
69929         (gettimeofday): Add libc_hidden_weak.
69930         * sysdeps/unix/syscalls.list (gettimeofday):
69931         Remove __gettimeofday_internal alias.
69933 2012-05-24  Daniel Jacobowitz  <drow@false.org>
69934             H.J. Lu  <hongjiu.lu@intel.com>
69936         [BZ #12495]
69937         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
69938         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
69939         (largebin_index_32_big): New.
69940         (largebin_index): Use it for 16-byte alignment.
69941         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
69942         correction with front_misalign.
69944 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
69946         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
69947         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
69948         Likewise.
69949         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
69950         Likewise.
69951         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
69952         Likewise.
69953         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
69954         Likewise.
69955         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
69956         Likewise.
69957         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
69958         Likewise.
69959         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
69960         Likewise.
69961         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
69962         Likewise.
69963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
69964         Likewise.
69965         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
69966         Likewise.
69967         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
69968         Likewise.
69969         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
69970         Likewise.
69972         * scripts/data/c++-types-x32-linux-gnu.data: New file.
69973         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
69975 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
69977         [BZ #10846]
69978         [BZ #14036]
69979         * math/libm-test.inc (exp_test): Add test from bug 14036.
69980         (pow_test): Add test from bug 10846.
69982         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
69983         and other flags.
69984         (special_function): Do not include flags in test name.
69985         (parse_args): Likewise.
69986         * sysdeps/i386/fpu/libm-test-ulps: Update.
69987         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69988         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
69989         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
69990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69992         * math/gen-libm-test.pl (%beautify): Add entries for underflow
69993         exceptions.
69994         * math/libm-test.inc ("Philosophy"): Update comment about
69995         exception testing.
69996         (UNDERFLOW_EXCEPTION): New macro.
69997         (UNDERFLOW_EXCEPTION_OK): Likewise.
69998         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
69999         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
70000         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
70001         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
70002         (INVALID_EXCEPTION_OK): Update value.
70003         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
70004         (OVERFLOW_EXCEPTION_OK): Likewise.
70005         (IGNORE_ZERO_INF_SIGN): Likewise.
70006         (test_exceptions): Handle underflow exceptions.
70007         (acos_test): Update for underflow exception expectations.
70008         (cexp_test): Likewise.
70009         (clog_test): Likewise.
70010         (clog10_test): Likewise.
70011         (csqrt_test): Likewise.
70012         (ctan_test): Likewise.
70013         (ctanh_test): Likewise.
70014         (exp_test): Likewise.
70015         (exp10_test): Likewise.
70016         (exp2_test): Likewise.
70017         (expm1_test): Likewise.
70018         (fma_test): Likewise.
70019         (j0_test): Likewise.
70020         (jn_test): Likewise.
70021         (nexttoward_test): Likewise.
70022         (pow_test): Likewise.
70023         (scalbn_test): Likewise.
70024         (scalbln_test): Likewise.
70025         (tan_test): Likewise.
70026         (y1_test): Likewise.
70027         * sysdeps/i386/fpu/libm-test-ulps: Update.
70028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70030 2012-05-23  David S. Miller  <davem@davemloft.net>
70032         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
70033         (__libc_sigaction): Remove unused local variables.
70035 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
70037         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
70039 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
70041         mktime: avoid signed integer overflow
70042         * time/mktime.c (__mktime_internal): Do not mishandle the case
70043         where diff == INT_MIN.
70045         mktime: simplify computation of average
70046         * time/mktime.c (ranged_convert): Use new time_t_avg function
70047         instead of rolling our own (probably-slower) code.
70049         mktime: do not assume signed right shift propagates sign bit
70050         * time/mktime.c (isdst_differ): New static function.
70051         (__mktime_internal): No need to normalize tm_isdst now.
70052         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
70053         tm_isdst values.
70055         mktime: merge another wrapv change from gnulib
70056         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
70057         from some compilers.
70059         mktime: remove incorrect attempt at unusual arithmetics
70060         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
70061         The code didn't really work on such machines anyway.
70062         (TYPE_MINIMUM): Assume two's complement.
70063         (twos_complement_arithmetic): Verify that long_int and time_t
70064         are two's complement (or unsigned, in the latter case).
70066         mktime: check signed shifts on long_int and time_t, too
70067         * time/mktime.c (SHR): Check that shifts work as desired
70068         on the types long_int and time_t too, as SHR is used on
70069         such types.
70071         mktime: do not assume 'long' is wide enough
70072         * time/mktime.c (verify): Move decl up.
70073         (long_int): New type.
70074         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
70075         to remove assumption in the code that 'long' is wide enough to
70076         store year values.  This assumption is not true on x32 and on
70077         some non-glibc platforms.
70079         mktime: merge wrapv change from gnulib
70080         * time/mktime.c (WRAPV): New macro.
70081         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
70082         (guess_time_tm, __mktime_internal): Do not assume that signed
70083         integer overflow wraps around; modern compilers generate code
70084         where this assumption is no longer valid.
70086 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
70088         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70089         Replace "jmp L(pseudo_end)" with "ret".
70090         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
70091         Likewise.
70093 2012-05-23  Andreas Jaeger  <aj@suse.de>
70095         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
70096         * sysdeps/unix/sysv/linux/poll.c: Remove file.
70098 2012-05-23  Andreas Jaeger  <aj@suse.de>
70099             Maximilian Attems  <max@stro.at>
70101         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
70102         New macros.
70104 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
70106         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
70107         code so that pseudo_end is just ret and the stack pointer is
70108         correct also for static library in error case.
70110 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
70112         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
70113         move to syscalls.list.
70114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
70115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
70116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
70117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
70119         * manual/install.texi (Running make install): Do not mention Linux
70120         kernel version for which pt_chown is not needed.
70121         (Linux): Do not mention problems with nscd with 2.0 kernels.
70122         * INSTALL: Regenerated.
70124 2012-05-23  Andreas Jaeger  <aj@suse.de>
70126         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
70127         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
70128         macro.
70129         * sysdeps/unix/sysv/linux/s390/bits/mman.h
70130         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70131         * sysdeps/unix/sysv/linux/sh/bits/mman.h
70132         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70133         * sysdeps/unix/sysv/linux/i386/bits/mman.h
70134         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70135         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
70136         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70137         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
70138         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70139         * sysdeps/unix/sysv/linux/bits/in.h
70140         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
70142 2012-05-22  Roland McGrath  <roland@hack.frob.com>
70144         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
70145         (PREPARE_VERSION): Just use assert instead, it will be elided
70146         under [NDEBUG] anyway.
70148 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70150         * sysdeps/unix/sysv/linux/Makefile: Include
70151         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
70152         (sysdep_routines): Remove sysctl.
70153         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
70154         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
70155         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
70156         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
70157         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
70159 2012-05-22  Andreas Jaeger  <aj@suse.de>
70161         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
70162         that pseudo_end is just ret and the stack pointer is correct also
70163         for static library in error case.
70165 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
70167         [BZ #14122]
70168         * nss/nsswitch.c (defconfig_entries): New variable.
70169         (__nss_database_lookup): Don't leak defconfig entries.
70170         (nss_parse_service_list): Don't leak on error paths.
70171         (free_database_entries): New function.
70172         (free_defconfig): New function.
70173         (free_mem): Move common code to free_database_entries.
70175 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70177         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
70178         Add arch_prctl.
70179         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
70181         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
70182         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
70183         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
70184         New macro.
70185         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
70186         (INTERNAL_SYSCALL_TYPES): Likewise.
70187         (LOAD_ARGS_TYPES_[1-6]): Likewise.
70188         (LOAD_REGS_TYPES_[1-6]): Likewise.
70189         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
70190         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
70192 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70194         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
70195         copysignl for GLIBC_2_0.
70196         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
70197         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
70198         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
70199         logbl for GLIBC_2_0.
70200         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
70201         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
70203 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70205         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
70206         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
70208         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70209         Use "neg %eax".
70211         * time/mktime.c: Update copyright years.
70213 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
70215         mktime: merge comment-quoting-style change from gnulib
70216         * time/mktime.c: Quote 'like this' in comments.
70217         The GNU coding standards suggest that we no longer quote `like this',
70218         as "`" and "'" are typically rendered asymmetrically nowadays.
70219         The typical gnulib style is to quote 'like this' when quoting
70220         code, and "like this" when quoting English.
70222         * time/mktime.c (compile-command): Add "-I.".
70224         mktime: merge mktime-internal.h change from gnulib
70225         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
70227         mktime: merge time_r change from gnulib
70228         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
70230         mktime: merge DEBUG change from gnulib
70231         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
70232         case system <time.h> has a #define.
70234         mktime: merge <sys/types.h> change from gnulib
70235         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
70236         since <time.t> is now guaranteed to define time_t.
70238         mktime: merge HAVE_CONFIG_H change from gnulib
70239         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
70241 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70243         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70244         Use "neg %eax".
70246         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
70247         __rlim_t cast.
70248         (struct rusage): Use anonymous union to pad each field to
70249         __syscall_slong_t.
70251 2012-05-21  David S. Miller  <davem@davemloft.net>
70253         * Makefules (o-iterator): Remove .s cases.
70254         (compile-command.s): Delete.
70255         (COMPILE.s): Delete.
70256         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
70258 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
70260         * configure.in (libc_cv_predef_stack_protector): Only consider
70261         "foobar" and "__stack_chk_fail" lines in libc_undefs.
70262         * configure: Regenerated.
70264 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
70266         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70267         New macro.  Use R*LP on int and pointer.
70268         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
70269         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
70270         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
70271         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
70273         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
70274         [__WORDSIZE_TIME64_COMPAT32] instead of
70275         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
70276         (struct utmp): Likewise.
70277         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
70278         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
70279         Renamed to ...
70280         (__WORDSIZE_TIME64_COMPAT32): This.
70281         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
70282         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
70283         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
70284         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
70285         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
70286         (__WORDSIZE_TIME64_COMPAT32): New macro.
70288 2012-05-21  Andreas Jaeger  <aj@suse.de>
70290         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
70291         only if [SHARED]. Add prototype for __wcschr_ia32.
70293 2012-05-21  Roland McGrath  <roland@hack.frob.com>
70295         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
70296         of %rbp unmolested in the jmp_buf while mangling the low bits.
70297         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
70298         unmolested high bits of %rbp while demangling the low bits.
70299         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
70301 2012-05-21  Andreas Jaeger  <aj@suse.de>
70303         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
70304         * sunrpc/svc_simple.c: Use it for registerrpc.
70305         * sunrpc/xcrypt.c: Use it for passwd2des.
70307         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
70309 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
70311         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
70312         Don't define if [__SYSCALL_WORDSIZE != 32].
70313         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
70314         New macro.
70316 2012-05-21  Bruno Haible  <bruno@clisp.org>
70317             Andreas Jaeger  <aj@suse.de>
70319         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
70320         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
70321         inptr and inend for must_buffer_ch.
70322         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
70323         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
70324         * stdio-common/Makefile (tests): Remove bug15.
70325         (bug15-ENV): Remove macro.
70326         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
70327         anymore.
70329 2012-05-19  Andreas Jaeger  <aj@suse.de>
70330             Roland McGrath  <roland@hack.frob.com>
70332         * manual/contrib.texi: Completely rewritten. It contains now an
70333         alphabetical list of contributors and their contributions.
70335 2012-05-21  Richard Henderson  <rth@twiddle.net>
70337         * misc/getauxval.c (__getauxval): Use unsigned long int.
70338         * misc/sys/auxv.h: Include <sys/cdefs.h>.
70339         (getauxval): Use unsigned long int.
70341 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
70343         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
70345 2012-05-21  Roland McGrath  <roland@hack.frob.com>
70347         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
70348         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
70349         __alignof__ (long double).
70351 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70353         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70355 2012-05-20  Richard Henderson  <rth@twiddle.net>
70357         * misc/getauxval.c: New file.
70358         * misc/sys/auxv.h: New file.
70359         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
70360         (routines): Add getauxval.
70361         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
70362         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
70363         * elf/dl-sysdep.c (_dl_auxv): Remove.
70364         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
70365         * elf/dl-support.c (_dl_auxv): New variable.
70366         (_dl_aux_init): Initialize it.
70367         * manual/startup.texi (Auxiliary Vector): New node.
70368         * sysdeps/generic/bits/hwcap.h: New file.
70369         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
70370         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
70371         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
70372         * sysdeps/sparc/sysdep.h: ... here.  Include it.
70373         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
70374         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
70375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70376         Update.
70377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
70378         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
70379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
70380         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
70381         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
70382         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
70383         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
70384         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
70386 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70388         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70390 2012-05-19  David S. Miller  <davem@davemloft.net>
70392         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70394 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
70396         [BZ #14123]
70397         * math/s_ccosh.c: Include <float.h>
70398         (__ccosh): Avoid internal overflow calculating sinh and cosh
70399         values before multiplying by sin and cos values.
70400         * math/s_ccoshf.c: Likewise.
70401         * math/s_ccoshl.c: Likewise.
70402         * math/s_csin.c: Likewise.
70403         * math/s_csinf.c: Likewise.
70404         * math/s_csinl.c: Likewise.
70405         * math/s_csinh.c: Likewise.
70406         * math/s_csinhf.c: Likewise.
70407         * math/s_csinhl.c: Likewise.
70408         * math/libm-test.inc (ccos_test): Add more tests.
70409         (ccosh_test): Likewise.
70410         (csin_test): Likewise.
70411         (csinh_test): Likewise.
70412         * sysdeps/i386/fpu/libm-test-ulps: Update.
70413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70415 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
70417         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
70418         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
70420         * sysdeps/x86_64/x32/_itoa.h: Add comment.
70422 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
70424         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
70425         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
70426         * sysdeps/powerpc/soft-fp/Versions: Likewise.
70427         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
70428         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
70429         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
70430         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
70431         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
70432         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
70433         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
70434         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
70435         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
70436         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
70437         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
70438         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
70439         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
70440         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
70441         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
70442         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
70443         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
70444         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
70445         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
70446         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
70447         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
70448         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
70449         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
70450         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
70451         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
70452         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
70453         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
70454         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
70456 2012-05-18  Andreas Jaeger  <aj@suse.de>
70458         * csu/.gitignore: Delete.
70460 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
70462         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
70463         (timex): Use __syscall_slong_t.
70465 2012-05-18  Andreas Jaeger  <aj@suse.de>
70466             Carlos O'Donell  <carlos_odonell@mentor.com>
70468         * manual/install.texi (Configuring and compiling): Update
70469         description about files modified in the source directory.
70470         * INSTALL: Regenerated.
70472 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
70474         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
70475         value.  Use "or" to set return value to -1.
70476         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
70477         negate return value.
70479 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70481         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
70482         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
70483         failure if the compiler has Graphite support disabled.
70484         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
70485         Likewise.
70486         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
70487         (CFLAGS-memmove.c): Likewise.
70488         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
70489         Likewise.
70491 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
70493         * sysdeps/x86_64/x32/_itoa.h: New file.
70495         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
70496         getdents system call only if kernel and user dirents have the
70497         same d_ino and d_off.
70499         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
70500         LLONG_MAX != LONG_MAX.
70501         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70502         (_fitoa_word): Likewise.
70504         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
70505         years.
70506         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
70507         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
70508         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
70510         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
70511         include <bits/wordsize.h>.  Check __x86_64__ instead of
70512         __WORDSIZE.
70513         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
70514         if __x86_64__ is defined.  Use anonymous union on fpstate.
70516         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
70517         anonymous union.
70519 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
70521         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
70522         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
70523         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
70524         Refer to _rtld_local_ro instead of _rtld_global_ro.
70525         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
70526         Likewise.
70527         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
70528         Likewise.
70529         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
70530         Likewise.
70531         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
70532         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
70533         of _rtld_global, and rtld_progname instead of _dl_argv[0].
70535         [BZ #10882]
70536         * sysdeps/powerpc/powerpc32/dl-machine.c
70537         (__elf_machine_runtime_setup) [PROF]: Don't reference
70538         _dl_prof_resolve.
70540 2012-05-18  Andreas Jaeger  <aj@suse.de>
70542         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
70543         function only available for GCCs before 3.4 since GCC 3.4
70544         introduced a builtin.
70545         (lrint): Likewise.
70546         (llrintf): Likewise.
70547         (llrint): Likewise.
70548         (fmaxf): Likewise.
70549         (fmax): Likewise.
70550         (fminf): Likewise.
70551         (fmin): Likewise.
70552         (rint): Likewise.
70553         (rintf): Likewise.
70554         (nearbyint): Likewise.
70555         (nearbyintf): Likewise.
70556         (ceil): Likewise.
70557         (ceilf): Likewise.
70558         (floor): Likewise.
70559         (floorf): Likewise.
70561 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
70563         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
70564         on both fields and cast pointer to __syscall_ulong_t.
70566         * bits/types.h (__fsword_t): New type.
70567         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
70568         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
70569         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70570         (__FSWORD_T_TYPE): Likewise.
70571         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70572         (__FSWORD_T_TYPE): Likewise.
70573         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70574         (__FSWORD_T_TYPE): Likewise.
70575         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
70576         (__FSWORD_T_TYPE): Likewise.
70577         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
70578         __SWORD_TYPE with __fsword_t.
70579         (statfs64): Likewise.
70581 2012-05-17  David S. Miller  <davem@davemloft.net>
70583         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
70585 2012-05-17  Andreas Jaeger  <aj@suse.de>
70587         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
70588         warning.
70590 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
70592         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
70594 2012-05-17  Andreas Jaeger  <aj@suse.de>
70596         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
70597         when it is used.
70599 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
70601         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
70603 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
70605         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
70606         * sysdeps/x86_64/tst-mallocalign1.c: New file.
70608 2012-05-17  Andreas Jaeger  <aj@suse.de>
70609             Carlos O'Donell  <carlos_odonell@mentor.com>
70611         [BZ #14059]
70612         * sysdeps/x86_64/multiarch/init-arch.h
70613         (bit_YMM_Usable): Rename to...
70614         (bit_AVX_Usable): ... this.
70615         (bit_FMA4_Usable): New macro.
70616         (bit_XMM_state): New macro.
70617         (bit_YMM_state): New macro.
70618         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
70619         [__ASSEMBLER__] (index_AVX_Usable): ... this.
70620         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
70621         (CPUID_OSXSAVE): New macro.
70622         (CPUID_AVX): New macro.
70623         (CPUID_FMA4): New macro.
70624         (index_YMM_Usable): Rename to...
70625         (index_AVX_Usable): ... this.
70626         (HAS_AVX): Use HAS_ARCH_FEATURE.
70627         (HAS_FMA4): Likewise.
70628         (HAS_YMM_USABLE): Remove.
70629         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70630         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
70631         are present.
70632         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
70633         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
70634         * sysdeps/x86_64/multiarch/Makefile: Likewise.
70635         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
70636         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
70638 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
70640         * math/libm-test.c: Support platforms without multiple rounding modes.
70641         * math/bug-nextafter.c: Support platforms without FP exceptions.
70642         * math/bug-nexttoward.c: Likewise.
70643         * math/test-fenv.c: Likewise.
70644         * math/test-misc.c: Likewise.
70645         * stdlib/bug-getcontext.c: Likewise.
70647 2012-05-17  Andreas Jaeger  <aj@suse.de>
70649         * manual/examples/search.c (critter_cmp): Change signature to
70650         avoid warnings.
70651         * manual/string.texi (Collation Functions): Likewise.
70653 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70655         * bits/types.h: Fold copyright years.
70656         * bits/typesizes.h: Likewise.
70657         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
70658         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
70659         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
70660         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
70661         * time/time.h: Likewise.
70663 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
70665         [BZ #208]
70666         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
70667         in instead of returning them.  Return void.
70668         (__libc_mallinfo): Accumulate over all arenas.
70669         (__malloc_stats): Adjust for change in int_mallinfo interface.
70671 2012-05-16  Roland McGrath  <roland@hack.frob.com>
70673         [BZ #10375]
70674         * configure.in (NM): Add AC_CHECK_TOOL for it.
70675         (libc_extra_cflags): New substituted variable.
70676         Check for -fstack-protector being used implicitly.
70677         * configure: Regenerated.
70678         * config.make.in (config-extra-cflags): New variable,
70679         gets @libc_extra_cflags@.
70680         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
70682         [BZ #10375]
70683         * configure.in: Check for _FORTIFY_SOURCE being predefined.
70684         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
70685         * configure: Regenerated.
70686         * config.make.in (CPPUNDEFS): New substituted variable.
70687         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
70688         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
70689         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
70691 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70693         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
70694         (mq_attr): Use __syscall_slong_t.
70696 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70698         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
70699         Check __x86_64__ instead of __WORDSIZE.
70700         (_STAT_VER_LINUX): Likewise.
70701         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
70702         __syscall_ulong_t and __syscall_slong_t.
70703         (stat64): Likewise.
70705 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70707         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
70709 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70711         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
70713 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70715         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
70716         __syscall_ulong_t.
70718         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
70719         include <bits/wordsize.h>.  Check __x86_64__ instead of
70720         __WORDSIZE.
70721         (greg_t): Use "__extension__ long long int" if __x86_64__ is
70722         defined.
70723         (mcontext_t): Replace "unsigned long" with "unsigned long long".
70725         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
70726         include <bits/wordsize.h>.  Check __x86_64__ instead of
70727         __WORDSIZE.
70728         (user_regs_struct): Use "__extension__ unsigned long long"
70729         instead of "unsigned long" if __x86_64__ is defined.
70730         (user): Likewise.  Pad after pointer field if __ILP32__ is
70731         defined.
70733 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
70735         * configure.in (makeinfo): Require version 4.5 or later.  Allow
70736         versions 5 to 9.
70737         * configure: Regenerated.
70738         * manual/install.texi (texinfo): Increase version requirement to
70739         4.5 or later.
70740         * INSTALL: Regenerated.
70742         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
70744 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70746         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
70748         * sysdeps/x86_64/x32/ffs.c: New file.
70750         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
70751         __syscall_ulong_t.
70752         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
70753         defined.  Use __syscall_ulong_t.
70754         (shminfo): Use __syscall_ulong_t.
70755         (shm_info): Likewise.
70757         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
70758         __syscall_ulong_t.
70760         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
70761         <bits/wordsize.h>.
70762         (msgqnum_t): Use __syscall_ulong_t.
70763         (msglen_t): Likewise.
70764         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
70765         __syscall_ulong_t.
70767         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
70768         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
70770         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
70772         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
70773         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
70775         * sysvipc/sys/msg.h (msgbuf): Replace long int with
70776         __syscall_slong_t.
70778         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
70779         include <bits/wordsize.h>.  Check __x86_64__ instead of
70780         __WORDSIZE.
70782         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
70783         "unsigned long long int" if __x86_64__ is defined.
70784         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
70786         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
70787         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
70788         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
70790         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
70791         <stdint.h>.
70792         (GET_PC): Cast to uintptr_t first.
70793         (GET_FRAME): Likewise.
70794         (GET_STACK): Likewise.
70796         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
70797         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
70798         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
70799         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
70800         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
70801         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
70802         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
70803         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
70804         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
70805         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
70806         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
70807         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
70808         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
70809         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
70810         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
70811         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
70812         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
70813         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
70814         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
70815         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
70816         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
70817         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
70818         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
70819         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
70820         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
70821         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
70822         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
70823         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
70824         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
70826 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
70828         * Makerules (+depfiles): Also collect depfiles from .oS in
70829         $(extra-objs).
70830         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
70831         .oS, $(libnldbl-routines)).
70833         * Makerules (native-compile-mkdep-flags): Define.
70834         * sunrpc/Makefile (extra-objs): Add $(addprefix
70835         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
70836         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
70837         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
70838         calling $(make-target-directory).
70840 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70842         * bits/types.h (__snseconds_t): Removed.
70843         * time/time.h (struct timespec): Replace __snseconds_t with
70844         __syscall_slong_t.
70845         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
70846         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
70847         Likewise.
70848         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70849         (__SNSECONDS_T_TYPE): Likewise.
70850         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70851         (__SNSECONDS_T_TYPE): Likewise.
70852         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70853         (__SNSECONDS_T_TYPE): Likewise.
70855 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70857         * sysdeps/mach/hurd/bits/typesizes.h
70858         (__SYSCALL_SLONG_TYPE): New macro.
70859         (__SYSCALL_ULONG_TYPE): Likewise.
70861 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70863         * bits/types.h (__syscall_slong_t): New type.
70864         (__syscall_ulong_t): Likewise.
70866         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
70867         (__SYSCALL_ULONG_TYPE): Likewise.
70868         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70869         (__SYSCALL_SLONG_TYPE): Likewise.
70870         (__SYSCALL_ULONG_TYPE): Likewise.
70871         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70872         (__SYSCALL_SLONG_TYPE): Likewise.
70873         (__SYSCALL_ULONG_TYPE): Likewise.
70874         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70875         (__SYSCALL_SLONG_TYPE): Likewise.
70876         (__SYSCALL_ULONG_TYPE): Likewise.
70878 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70880         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
70881         Add sigaltstack-offsets.sym.
70882         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
70883         <sigaltstack-offsets.h>.
70884         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
70885         longjmp_msg pointer.
70886         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
70887         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
70888         signal stack.
70889         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
70891 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
70893         * elf/stackguard-macros.h: Remove file.
70894         * sysdeps/generic/stackguard-macros.h: New file.
70895         * sysdeps/i386/stackguard-macros.h: Likewise.
70896         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
70897         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
70898         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
70899         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
70900         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
70901         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
70902         * sysdeps/x86_64/stackguard-macros.h: Likewise.
70903         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
70904         <elf/stackguard-macros.h>.
70906         [BZ #14109]
70907         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
70908         __aligned__ in attribute.
70909         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
70910         (gregset_t): Likewise.
70912 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70914         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
70915         * sysdeps/x86_64/64/Implies-after: Here.  New file.
70916         * sysdeps/x86_64/x32/Implies-after: New file.
70918 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70920         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
70921         and access return value for _dl_profile_fixup.  Use R10_LP to
70922         load frame size.
70924 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70926         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
70928 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70930         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
70931         * sysdeps/x86_64/x32/sysdep.h: New file.
70933 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70935         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
70936         * sysdeps/x86_64/setjmp.S: Likewise.
70938 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70940         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
70941         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
70942         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
70943         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
70944         remove unused global constant.
70946 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
70948         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
70949         include of <not-cancel.h>.
70951 2012-05-15  Roland McGrath  <roland@hack.frob.com>
70953         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
70955 2012-05-15  Jeff Law  <law@redhat.com>
70956             Andreas Jaeger  <aj@suse.de>
70958         [BZ #13594]
70959         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
70960         out from...
70961         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
70962         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
70963         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
70964         code changing __hst_map_handle.map.
70966 2012-05-15  Roland McGrath  <roland@hack.frob.com>
70968         * configure.in (sysnames): Look for Implies-before and Implies-after
70969         files.
70970         * configure: Regenerated.
70972 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70974         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
70975         8-byte data alignment with LP_SIZE alignment.
70977 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70979         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
70980         into R10_LP.
70982 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70984         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
70986 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70988         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
70989         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
70990         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
70991         Likewise.
70992         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
70994 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70996         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
70997         (stackinfo_sub_sp): Likewise.
70999 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71001         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
71002         RAX_LP.
71004 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71006         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
71007         into R*_LP.
71009 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71011         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
71012         sizes into R*_LP.
71014 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71016         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
71018 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71020         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
71021         into R11_LP and load __x86_64_shared_cache_size_half into
71022         R8_LP.
71024 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71026         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
71027         R8_LP.
71029 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71031         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
71032         logb for POWER7.
71033         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
71034         logbf for POWER7.
71035         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
71036         logbl for POWER7.
71037         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
71038         powerpc32/power7/fpu/s_logb.c via #include.
71039         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
71040         powerpc32/power7/fpu/s_logbf.c via #include.
71041         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
71042         powerpc32/power7/fpu/s_logbl.c via #include.
71044 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
71046         * README.libm: Remove file.
71048 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71050         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
71051         count for x32.  Use R*_LP and omit operand-size suffix.
71053 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71055         * shlib-versions: Move x86_64-.*-linux.* entries to ...
71056         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
71057         * sysdeps/x86_64/x32/shlib-versions: New file.
71059 2012-05-14  Roland McGrath  <roland@hack.frob.com>
71061         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
71062         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
71063         Use _dl_fatal_printf instead.
71065 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
71067         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
71068         set if not set by the user.  Do not allow for being unset.
71069         * sysdeps/unix/sysv/linux/configure: Regenerated.
71071 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71073         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
71074         the `q' suffix from lea and replace .quad with ASM_ADDR.
71076 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71078         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
71079         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
71080         instead of $17.
71081         (PTR_DEMANGLE): Likewise.
71083 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71085         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
71086         (LP_OP): Likewise.
71087         (ASM_ADDR): Likewise.
71088         (RAX_LP): Likewise.
71089         (RBP_LP): Likewise.
71090         (RBX_LP): Likewise.
71091         (RCX_LP): Likewise.
71092         (RDI_LP): Likewise.
71093         (RSI_LP): Likewise.
71094         (RSP_LP): Likewise.
71095         (R8_LP): Likewise.
71096         (R9_LP): Likewise.
71097         (R10_LP): Likewise.
71098         (R10_LP): Likewise.
71099         (R11_LP): Likewise.
71100         (R12_LP): Likewise.
71101         (R13_LP): Likewise.
71102         (R14_LP): Likewise.
71103         (R15_LP): Likewise.
71105 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71107         * sysdeps/x86_64/x32/dl-machine.h: New file.
71109 2012-05-14  Andreas Jaeger  <aj@suse.de>
71111         * manual/Makefile (subdir): Remove export of subdir.
71112         (all): Remove target.
71113         (.PHONY): Remove all from list.
71114         (mkinstalldirs): Remove.
71115         (.PHONY): Remove installdirs from list.
71116         ($(inst_infodir)/libc.info): Use make-target-directory.
71117         (installdirs): Remove.
71118         (subdir_%): Remove.
71119         (glibc-targets): Remove.
71120         (lib): Remove.
71121         (stubs): Remove.
71122         ($(objpfx)stubs ../po/manual.pot): Remove.
71123         ($(objpfx)stamp%): Remove.
71124         (make-target-directory): Remove.
71125         (subdir_install): Remove.
71126         (routines): Remove.
71127         (aux): Remove.
71128         (sources): Remove.
71129         (objects): Remove.
71130         (headers): Remove.
71132         [BZ #13750]
71133         * manual/.gitignore: Remove, it's not needed anymore.
71134         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
71135         all files in it.
71136         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
71137         directory.
71138         (texis): Renamed to $(objpfx)texis.
71139         (texis-path): New, contains path to generated files.
71140         (chapters.%): Use texis-path for complete path, add extra argument
71141         libc-texinfo.sh.
71142         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
71143         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
71144         (summary,texi, stamp-summary): Use complete path of
71145         files. Generate files in build dir.
71146         (dir-add.texi): Build in build dir.
71147         (libm-err.texi,stamp-libm-err): Likewise.
71148         (version.texi, stamp-version): Likewise.
71149         (.%c.texi): Likewise.
71150         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
71151         (mostlyclean): Remove target.
71152         (realclean): Remove target.
71153         (generated): Add new variable with contents from mostlyclean and
71154         realclean, remove entries duplicated in common-mostlyclean, add
71155         stamp-libm-err and stamp-version.
71156         (generated-dirs): Add libc directory.
71157         ($(inst_infodir)/libc.info): Install files from build dir.
71159         * manual/install.texi (Configuring and compiling): Adjust since
71160         the info files are not part of the tar ball anymore.
71162 2012-05-14  Andreas Jaeger  <aj@suse.de>
71164         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
71165         variable.
71167 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
71169         [BZ #13717]
71170         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
71171         to 2.2.0 where earlier.
71172         * sysdeps/unix/sysv/linux/configure: Regenerated.
71173         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
71174         Remove conditional code.
71175         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
71176         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
71177         Remove conditional code.
71178         [!__NR_lchown]: Likewise.
71179         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71180         [__NR_lchown]: Likewise.
71181         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
71182         comment referencing __ASSUME_LCHOWN_SYSCALL.
71183         * sysdeps/unix/sysv/linux/i386/sigaction.c
71184         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71185         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71186         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
71187         Remove conditional code.
71188         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
71189         (__protocol_available): Remove #if 0 code.
71190         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
71191         conditional code.
71192         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
71193         * sysdeps/unix/sysv/linux/kernel-features.h
71194         (__ASSUME_GETCWD_SYSCALL): Don't define.
71195         (__ASSUME_REALTIME_SIGNALS): Likewise.
71196         (__ASSUME_PREAD_SYSCALL): Likewise.
71197         (__ASSUME_PWRITE_SYSCALL): Likewise.
71198         (__ASSUME_POLL_SYSCALL): Likewise.
71199         (__ASSUME_LCHOWN_SYSCALL): Likewise.
71200         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
71201         non-SPARC.
71202         (__ASSUME_SIOCGIFNAME): Don't define.
71203         (__ASSUME_MSG_NOSIGNAL): Likewise.
71204         (__ASSUME_SENDFILE): Define unconditionally.
71205         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
71206         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
71207         conditional code.
71208         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
71209         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
71210         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71211         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71212         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
71213         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71214         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
71216         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71217         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
71219         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71220         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
71222         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71223         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
71225         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71226         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
71228         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71229         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
71231         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71232         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
71234         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71235         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
71237         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71238         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71239         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
71240         Remove conditional code.
71241         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71242         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71243         Remove conditional code.
71244         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71245         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
71246         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
71247         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
71248         Remove conditional code.
71249         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71250         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
71251         Remove conditional code.
71252         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71253         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
71254         Remove conditional code.
71255         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71256         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71257         Remove conditional code.
71258         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71259         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
71260         Remove conditional code.
71261         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71262         * sysdeps/unix/sysv/linux/sh/pwrite64.c
71263         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71264         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71265         * sysdeps/unix/sysv/linux/sigaction.c
71266         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71267         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71268         * sysdeps/unix/sysv/linux/sigpending.c
71269         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71270         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71271         * sysdeps/unix/sysv/linux/sigprocmask.c
71272         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71273         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71274         * sysdeps/unix/sysv/linux/sigsuspend.c
71275         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71276         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71277         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
71278         (__libc_missing_rt_sigs): Remove.
71279         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
71280         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
71281         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
71282         Remove conditional code.
71283         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
71284         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
71285         return 1.
71286         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
71287         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
71288         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
71289         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
71291 2012-05-14  Andreas Jaeger  <aj@suse.de>
71293         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
71294         it's not used in glibc.
71295         (__coshm1): Likewise.
71296         (__acosh1p): Likewise.
71297         (__sgn): Likewise.
71299         * manual/string.texi (Copying and Concatenation): Add missing
71300         variable in concat example.
71301         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
71303 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71305         [BZ #14103]
71306         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
71307         __builtin_clzl with __builtin_clzll.
71309 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71311         [BZ #14104]
71312         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
71313         libc_freeres_ptr.
71315 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71317         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
71318         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
71319         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
71320         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
71322 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
71324         * NEWS: Update ia64 info.
71326 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
71328         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
71329         used as bcopy.
71331 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
71333         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
71334         * sysdeps/unix/syscalls.list (dup3): Likewise.
71335         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
71336         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
71338 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
71340         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
71341         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
71343 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
71345         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
71346         thread pointer.
71347         (TLS_IE): Use mov/add instead of movq/addq to load thread
71348         pointer.
71349         (TLS_GD_PREFIX): New.
71350         (TLS_GD): Use it.
71352 2012-05-11  David S. Miller  <davem@davemloft.net>
71354         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
71355         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
71356         (_FPU_SETCW): Likewise.
71358 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
71360         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
71361         is 32-byte aligned.
71363 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
71365         [BZ #11837]
71366         * iconvdata/gb18030.c: Update tables.
71367         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
71368         characters specially.
71369         (BODY for TO_LOOP): Add encoding of missing ranges.
71371 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
71373         [BZ #13673]
71374         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
71375         * sysdeps/mach/hurd/dup3.c: Likewise.
71376         * sysdeps/mach/hurd/readlinkat.c: Likewise.
71377         * sysdeps/powerpc/memmove.c:: Likewise.
71379 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
71381         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
71382         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
71384 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
71386         * elf/elf.h (R_X86_64_RELATIVE64): New.
71387         (R_X86_64_NUM): Updated.
71388         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
71389         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
71390         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
71391         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
71392         tst-quad1pie tst-quad2pie
71393         (modules-names): Add tst-quadmod1 tst-quadmod2.
71394         ($(objpfx)tst-quad1): New dependency.
71395         ($(objpfx)tst-quad2): Likewise.
71396         ($(objpfx)tst-quad1pie): Likewise.
71397         ($(objpfx)tst-quad2pie): Likewise.
71398         * sysdeps/x86_64/tst-quad1.c: New file.
71399         * sysdeps/x86_64/tst-quad1pie.c: New file.
71400         * sysdeps/x86_64/tst-quad2.c: Likewise.
71401         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
71402         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
71403         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
71404         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
71405         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
71407 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71409         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
71410         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
71411         * streams/stropts.h (t_scalar_t): Define type.
71413         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
71414         (_PATH_PRESERVE): Set to "/var/lib".
71415         (_PATH_RWHODIR): Set to "/var/spool/rwho".
71417         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
71418         instead of int.
71420         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
71421         if __dir_mkfile succeeded.
71423         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
71424         checking for _hurd_dtablesize.  Unlock it right after having
71425         finished _hurd_dtable allocation.
71427 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71429         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
71430         * sysdeps/mach/hurd/configure: Regenerated.
71431         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
71432         special-casing to...
71433         * sysdeps/gnu/configure.in: ... this new file.
71434         * sysdeps/unix/sysv/linux/configure: Regenerated.
71435         * sysdeps/gnu/configure: New generated file.
71437         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
71438         for Linux: use nsec instead of usec, as well as:
71439         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
71440         members of type struct timespec.
71441         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
71442         New macros.
71443         (struct stat64): Likewise.
71444         (_STATBUF_ST_NSEC): New macro.
71445         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
71447         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
71448         __strtoul_internal rather than strtoul.
71450 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
71452         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
71453         and reject them.
71455 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71457         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
71458         which preserves existing values.
71459         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
71461 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
71463         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
71464         TIMEOUT values.  Return EINVAL for NFDS values either negative or
71465         greater than FD_SETSIZE.
71467 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71469         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
71470         allocated, call __vm_protect to finish enabling the existing space, and
71471         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
71472         allocate the remainder.
71474 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
71476         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
71477         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
71479 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71481         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
71482         sysdeps/mach/hurd/readlink.c.
71484         * posix/tst-sysconf.c (posix_options): Only use
71485         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
71486         _POSIX_SYNCHRONIZED_IO when they are defined
71487         * sysdeps/mach/hurd/bits/posix_opt.h:
71488         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
71489         (_XOPEN_REALTIME): Undefine macro.
71490         (_XOPEN_REALTIME_THREADS): Undefine macro.
71491         (_XOPEN_SHM): Undefine macro.
71492         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
71493         macro to -1.
71494         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
71495         macro to -1.
71496         (_POSIX_ASYNC_IO): Undefine macro.
71497         (_POSIX_PRIORITIZED_IO): Undefine macro.
71498         (_POSIX_SPIN_LOCKS): Define macro to -1.
71500         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
71501         SA_NODEFER, SA_RESETHAND.
71502         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
71503         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
71504         F_DUPFD_CLOEXEC.
71506 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71508         * elf/Makefile (pldd-modules): Define unconditionally.
71510 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71512         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
71514 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71516         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
71517         Return ENOENT when name is empty.
71518         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
71520 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71522         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
71524         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
71526 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71528         Fix mlock in all cases except non-readable pages.
71529         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
71530         instead of VM_PROT_ALL as parameter to __vm_wire function.
71532         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
71533         (__mkdir): When path is `/', just fail with EEXIST.
71534         * sysdeps/mach/hurd/mkdirat.c: Likewise.
71536 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71538         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
71539         <sys/uio.h> (for writev).
71540         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
71541         and <sys/param.h> (for MIN).
71543 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
71545         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
71546         REQUESTED_TIME.  Properly set the remaining time and return EINTR
71547         if interrupted.
71549 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71551         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
71552         Depend on against $(link-rpcuserlibs).
71554 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71556         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
71557         (__libc_stack_end): Do not use attribute_relro.
71558         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
71559         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
71560         to libthread-provided value.
71561         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
71562         attribute_relro.
71564 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71566         [BZ #3748]
71567         * bits/libc-lock.h (__libc_once_get): New macro.
71568         * sysdeps/mach/bits/libc-lock.h: Likewise.
71569         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
71570         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
71571         instead of using implementation details.
71573         * libio/fileops.c: Unconditionally include <kernel-features.h>.
71574         * libio/freopen.c: Likewise.
71575         * libio/freopen64.c: Likewise.
71576         * misc/syslog.c: Likewise.
71577         * nscd/connections.c: Likewise.
71578         * nscd/netgroupcache.c: Likewise.
71579         * sysdeps/posix/getcwd.c: Likewise.
71581 2012-05-10  Roland McGrath  <roland@hack.frob.com>
71583         * math/w_ilogbf.c: Add #include <limits.h>.
71585 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71587         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
71588         path instead of returning without unlocking.
71590         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
71591         immediate-write ioctls.
71592         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
71594 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71596         * sysdeps/mach/hurd/i386/init-first.c (init): Use
71597         __builtin_frame_address instead of making assumptions about the
71598         location of the return address relative to DATA.  Force early load of
71599         the return address.
71600         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
71601         __builtin_frame_address.
71603         dup3 for GNU Hurd.
71604         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
71605         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
71606         implement dup3 and do some further code clean-ups.
71607         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
71608         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
71610 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71612         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
71614         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
71615         HURD_CRITICAL_END around holding _hurd_dtable_lock.
71616         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
71617         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
71618         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
71619         d->port.lock.
71621         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
71622         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
71623         when handler == SIG_ERR, not when handler != SIG_ERR.
71625 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71627         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
71628         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
71629         definitions.
71631         accept4 for GNU Hurd.
71632         * include/sys/socket.h (__libc_accept4): New prototype.
71633         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
71634         to implement __libc_accept4.
71635         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
71636         __libc_accept4.
71637         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
71639         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
71640         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
71641         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
71642         signal-defines.sym.
71644 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71646         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
71648 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71650         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
71651         assertion on O_CLOEXEC flag.
71652         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
71653         * hurd/intern-fd.c: Likewise.
71654         * hurd/port2fd.c: Likewise.
71656 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71658         [BZ #3906]
71659         * bits/in.h (IPV6_PKTINFO): Define new macro.
71660         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
71662 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71664         [BZ #13954]
71665         [BZ #13955]
71666         [BZ #13956]
71667         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
71668         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
71669         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
71670         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
71671         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
71672         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
71673         * math/libm-test.inc (logb_test) : Additional logb tests.
71675 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
71676             Andreas Jaeger  <aj@suse.de>
71678         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
71679         * configure: Regenerated.
71680         * config.h.in (LINK_OBSOLETE_RPC): New macro.
71681         * config.make.in (link-obsolete-rpc): New substituted variable.
71682         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
71683         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
71684         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
71685         (shared-only-routines): Don't set it under [link-obsolete-rpc],
71686         so that libc.a contains the symbols.
71687         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
71688         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
71689         * sunrpc/auth_none.c: Likewise.
71690         * sunrpc/auth_unix.c: Likewise.
71691         * sunrpc/authdes_prot.c: Likewise.
71692         * sunrpc/authuxprot.c: Likewise.
71693         * sunrpc/clnt_gen.c: Likewise.
71694         * sunrpc/clnt_perr.c: Likewise.
71695         * sunrpc/clnt_raw.c: Likewise.
71696         * sunrpc/clnt_simp.c: Likewise.
71697         * sunrpc/clnt_tcp.c: Likewise.
71698         * sunrpc/clnt_udp.c: Likewise.
71699         * sunrpc/clnt_unix.c: Likewise.
71700         * sunrpc/des_crypt.c: Likewise.
71701         * sunrpc/des_soft.c: Likewise.
71702         * sunrpc/get_myaddr.c: Likewise.
71703         * sunrpc/key_call.c: Likewise.
71704         * sunrpc/key_prot.c: Likewise.
71705         * sunrpc/netname.c: Likewise.
71706         * sunrpc/pm_getmaps.c: Likewise.
71707         * sunrpc/pm_getport.c: Likewise.
71708         * sunrpc/pmap_clnt.c: Likewise.
71709         * sunrpc/pmap_prot.c: Likewise.
71710         * sunrpc/pmap_prot2.c: Likewise.
71711         * sunrpc/pmap_rmt.c: Likewise.
71712         * sunrpc/publickey.c: Likewise.
71713         * sunrpc/rpc_cmsg.c: Likewise.
71714         * sunrpc/rpc_common.c: Likewise.
71715         * sunrpc/rpc_dtable.c: Likewise.
71716         * sunrpc/rpc_prot.c: Likewise.
71717         * sunrpc/rpc_thread.c: Likewise.
71718         * sunrpc/rtime.c: Likewise.
71719         * sunrpc/svc.c: Likewise.
71720         * sunrpc/svc_auth.c: Likewise.
71721         * sunrpc/svc_raw.c: Likewise.
71722         * sunrpc/svc_run.c: Likewise.
71723         * sunrpc/svc_tcp.c: Likewise.
71724         * sunrpc/svc_udp.c: Likewise.
71725         * sunrpc/svc_unix.c: Likewise.
71726         * sunrpc/svcauth_des.c: Likewise.
71727         * sunrpc/xcrypt.c: Likewise.
71728         * sunrpc/xdr.c: Likewise.
71729         * sunrpc/xdr_array.c: Likewise.
71730         * sunrpc/xdr_float.c: Likewise.
71731         * sunrpc/xdr_intXX_t.c: Likewise.
71732         * sunrpc/xdr_mem.c: Likewise.
71733         * sunrpc/xdr_rec.c: Likewise.
71734         * sunrpc/xdr_ref.c: Likewise.
71735         * sunrpc/xdr_sizeof.c: Likewise.
71736         * sunrpc/xdr_stdio.c: Likewise.
71738 2012-05-10  Roland McGrath  <roland@hack.frob.com>
71740         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
71741         change.  Update copyright years.
71743 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
71745         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
71747 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
71748             Joseph Myers  <joseph@codesourcery.com>
71749             Paul Pluzhnikov  <ppluzhnikov@google.com>
71751         [BZ #14012]
71752         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
71753         requiring rpcgen.
71754         [cross-compiling] (extra-libs): Likewise.
71755         [cross-compiling] (extra-libs-others): Likewise.
71756         [cross-compiling] (librpcsvc-routines): Likewise.
71757         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
71758         [cross-compiling] (omit-deps): Likewise.
71759         (sunrpc-CPPFLAGS): New variable.
71760         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
71761         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
71762         (cross-rpcgen-objs): New variable.
71763         (extra-objs): Append $(cross-rpcgen-objs).
71764         ($(cross-rpcgen-objs)): New rule.
71765         ($(objpfx)cross-rpcgen): Likewise.
71766         (rpcgen-cmd): Define to use $(built-program-file).  Expand
71767         comment.
71768         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
71769         ($(objpfx)x%.stmp): Likewise.
71770         * sunrpc/proto.h [IS_IN_build] (_): Define.
71771         [IS_IN_build] (_libc_intl_domainname): Likewise.
71773 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
71775         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
71776         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
71777         and R_X86_64_TPOFF64.
71779 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
71781         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
71782         sysdeps/unix/sysv/syscalls.list.
71783         (stime): Likewise.
71784         (utime): Likewise.
71785         * sysdeps/unix/sysv/syscalls.list: Remove file.
71787 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
71789         [BZ #3440]
71790         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
71791         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
71792         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
71793         (__LC_IDENTIFICATION): Make these macros useful in #if
71794         expressions, as required by C99.
71796 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
71798         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
71799         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
71800         after this.
71802 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
71804         * stdlib/longlong.h: Updated from GCC.
71806 2012-05-09  Andreas Jaeger  <aj@suse.de>
71808         * nscd/nscd.c (run_modes): Make named enum, reorder so that
71809         default is first entry.
71810         (run_mode): Set type.
71811         (main): Remove informal message about syslog.
71812         (options): Fix typo.
71814         [BZ #14053]
71815         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
71816         to asm.
71817         (lrint): Likewise.
71818         (llrintf): Likewise.
71819         (llrint): Likewise.
71820         (rint): Likewise.
71821         (rintf): Likewise.
71822         (nearbyint): Likewise.
71823         (nearbyintf): Likewise.
71825 2012-05-09  Andreas Jaeger  <aj@suse.de>
71826             Pedro Alves  <palves@redhat.com>
71828         * nscd/nscd.c (run_mode): Use enum.
71829         (main): Cleanup coding style issue.
71831 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
71832             Andreas Jaeger  <aj@suse.de>
71834         * nscd/nscd.c (go_background): Replaced with...
71835         (run_mode): ... this.
71836         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
71837         (options): Add -F --foreground.
71838         (main): Implement it.
71839         (parse_opt): Parse it.
71841 2012-05-09  Andreas Jaeger  <aj@suse.de>
71843         [BZ #14083]
71844         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
71845         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
71846         -Wconversion warning.
71847         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
71848         Likewise.
71850 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
71852         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
71853         == 0.
71854         (LC_ALL): Use macro-int-constant.
71855         (LC_COLLATE): Likewise.
71856         (LC_CTYPE): Likewise.
71857         (LC_MESSAGES): Likewise.
71858         (LC_MONETARY): Likewise.
71859         (LC_NUMERIC): Likewise.
71860         (LC_TIME): Likewise.
71861         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
71862         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
71863         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71864         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
71865         Specify type.
71866         [C99-based standards] (float_t): Expect type.
71867         [C99-based standards] (double_t): Expect type.
71868         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
71869         type.
71870         [C99-based standards] (HUGE_VALL): Likewise.
71871         [C99-based standards] (INFINITY): Likewise.
71872         [C99-based standards] (NAN): Likewise.
71873         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
71874         [C99-based standards] (FP_NAN): Likewise.
71875         [C99-based standards] (FP_NORMAL): Likewise.
71876         [C99-based standards] (FP_SUBNORMAL): Likewise.
71877         [C99-based standards] (FP_ZERO): Likewise.
71878         [C99-based standards] (FP_FAST_FMA): Use
71879         optional-macro-int-constant.  Specify type.  Require == 1.
71880         [C99-based standards] (FP_FAST_FMAF): Likewise.
71881         [C99-based standards] (FP_FAST_FMAL): Likewise.
71882         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
71883         [C99-based standards] (FP_ILOGBNAN): Likewise.
71884         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
71885         Specify type.
71886         [C99-based standards] (MATH_ERREXCEPT): Likewise.
71887         [C99-based standards] (math_errhandling): Specify type.
71888         [ISO99 || ISO11] (signgam): Do not allow.
71889         [non-C99-based standards] (copysignf): Do not allow.
71890         [non-C99-based standards] (exp2f): Likewise.
71891         [non-C99-based standards] (log2f): Likewise.
71892         [non-C99-based standards] (modff): Allow.
71893         [non-C99-based standards] (erff): Do not allow.
71894         [non-C99-based standards] (erfcf): Likewise.
71895         [non-C99-based standards] (gammaf): Likewise.
71896         [non-C99-based standards] (hypotf): Likewise.
71897         [non-C99-based standards] (j0f): Likewise.
71898         [non-C99-based standards] (j1f): Likewise.
71899         [non-C99-based standards] (jnf): Likewise.
71900         [non-C99-based standards] (lgammaf): Likewise.
71901         [non-C99-based standards] (tgammaf): Likewise.
71902         [non-C99-based standards] (y0f): Likewise.
71903         [non-C99-based standards] (y1f): Likewise.
71904         [non-C99-based standards] (ynf): Likewise.
71905         [non-C99-based standards] (isnanf): Likewise.
71906         [non-C99-based standards] (acoshf): Likewise.
71907         [non-C99-based standards] (asinhf): Likewise.
71908         [non-C99-based standards] (atanhf): Likewise.
71909         [non-C99-based standards] (cbrtf): Likewise.
71910         [non-C99-based standards] (expm1f): Likewise.
71911         [non-C99-based standards] (ilogbf): Likewise.
71912         [non-C99-based standards] (log1pf): Likewise.
71913         [non-C99-based standards] (logbf): Likewise.
71914         [non-C99-based standards] (nextafterf): Likewise.
71915         [non-C99-based standards] (remainderf): Likewise.
71916         [non-C99-based standards] (rintf): Likewise.
71917         [non-C99-based standards] (scalbf): Likewise.
71918         [non-C99-based standards] (copysignl): Likewise.
71919         [non-C99-based standards] (exp2l): Likewise.
71920         [non-C99-based standards] (log2l): Likewise.
71921         [non-C99-based standards] (modfl): Allow.
71922         [non-C99-based standards] (erfl): Do not allow.
71923         [non-C99-based standards] (erfcl): Likewise.
71924         [non-C99-based standards] (gammal): Likewise.
71925         [non-C99-based standards] (hypotl): Likewise.
71926         [non-C99-based standards] (j0l): Likewise.
71927         [non-C99-based standards] (j1l): Likewise.
71928         [non-C99-based standards] (jnl): Likewise.
71929         [non-C99-based standards] (lgammal): Likewise.
71930         [non-C99-based standards] (tgammal): Likewise.
71931         [non-C99-based standards] (y0l): Likewise.
71932         [non-C99-based standards] (y1l): Likewise.
71933         [non-C99-based standards] (ynl): Likewise.
71934         [non-C99-based standards] (isnanl): Likewise.
71935         [non-C99-based standards] (acoshl): Likewise.
71936         [non-C99-based standards] (asinhl): Likewise.
71937         [non-C99-based standards] (atanhl): Likewise.
71938         [non-C99-based standards] (cbrtl): Likewise.
71939         [non-C99-based standards] (expm1l): Likewise.
71940         [non-C99-based standards] (ilogbl): Likewise.
71941         [non-C99-based standards] (log1pl): Likewise.
71942         [non-C99-based standards] (logbl): Likewise.
71943         [non-C99-based standards] (nextafterl): Likewise.
71944         [non-C99-based standards] (remainderl): Likewise.
71945         [non-C99-based standards] (rintl): Likewise.
71946         [non-C99-based standards] (scalbl): Likewise.
71947         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71948         [non-C99-based standards] (FP_*): Do not allow.
71949         [C99-based standards] (FP_*): Change to
71950         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
71951         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
71952         allow.
71953         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
71954         (SIG_ERR): Likewise.
71955         [X/Open-based standards] (SIG_HOLD): Likewise.
71956         (SIG_IGN): Likewise.
71957         (SIGABRT): Use macro-int-constant.  Specify type.  Require
71958         positive value.
71959         (SIGFPE): Likewise.
71960         (SIGILL): Likewise.
71961         (SIGINT): Likewise.
71962         (SIGSEGV): Likewise.
71963         (SIGTER): Likewise.
71964         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
71965         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
71966         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
71967         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
71968         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
71969         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
71970         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
71971         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
71972         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
71973         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
71974         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
71975         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
71976         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
71977         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
71978         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
71979         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
71980         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
71981         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
71982         [X/Open-based standards] (SIGTRAP): Likewise.
71983         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
71984         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
71985         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
71986         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
71987         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
71988         allow.
71990 2012-05-08  Ian Wienand  <ianw@vmware.com>
71992         [BZ #14080]
71993         * time/tzset.c (__tzset_parse_tz): Update default rules for
71994         daylight time changes in the Energy Policy Act of 2005.
71996 2012-05-09  Andreas Jaeger  <aj@suse.de>
71998         [BZ #13983]
71999         * elf/ldconfig.c (parse_conf): Change string to make clear that
72000         ldconfig only issued a warning if ld.so.conf does not exist.
72002 2012-05-08  David S. Miller  <davem@davemloft.net>
72004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
72005         movxtod instead of popping the value on the stack.
72007         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72009 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
72011         * config.h.in: Add HAVE_ARM_PCS_VFP.
72013 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
72015         [BZ #13979]
72016         * include/features.h: Warn if user requests __FORTIFY_SOURCE
72017         checking but the checks are disabled for any reason.
72019 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
72021         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
72022         and ELF64_R_TYPE with ELFW(R_TYPE).
72024 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
72026         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
72027         (ulimit): Likewise.
72029         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
72030         (settimeofday): Likewise.
72032 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
72034         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
72035         a struct th_u2 inside the union, and move tu_block/tu_code into
72036         a new th_u3 union of tu_block/tu_code inside of that.  Move
72037         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
72038         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
72039         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
72040         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
72041         (th_stuff): Change to th_u1.tu_stuff.
72042         (th_data): Define.
72043         (th_msg): Change to th_u1.th_u2.tu_data.
72045 2012-05-07  David S. Miller  <davem@davemloft.net>
72047         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72049         [BZ #14074]
72050         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
72051         (SETUP_PIC_REG): Use it.
72052         (SETUP_PIC_REG_LEAF): Use it.
72054 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
72056         [BZ #13885]
72057         [BZ #13923]
72058         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72059         USE_AS_EXPM1L.
72060         (EXPL_FINITE): Likewise.
72061         (FLDLOG): Likewise.
72062         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72063         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72064         e_expl.S.
72065         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72066         USE_AS_EXPM1L.
72067         (EXPL_FINITE): Likewise.
72068         (FLDLOG): Likewise.
72069         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72070         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72071         e_expl.S.
72072         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
72073         test of -max_value argument for long double.
72074         * sysdeps/i386/fpu/libm-test-ulps: Update.
72075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72077 2012-05-06  David S. Miller  <davem@davemloft.net>
72079         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
72080         quad soft-float symbols whose references which are compiler
72081         generated.
72082         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
72084 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
72086         [BZ #13884]
72087         [BZ #13914]
72088         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72089         USE_AS_EXP10L.
72090         (EXPL_FINITE): Likewise.
72091         (FLDLOG): Likewise.
72092         (c0): Likewise.
72093         (c1): Likewise.
72094         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
72095         Adjust comments for base varying.
72096         (__expl_finite): Change alias to EXPL_FINITE.
72097         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
72098         e_expl.S.
72099         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
72100         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
72101         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
72102         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
72103         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72104         USE_AS_EXP10L.
72105         (EXPL_FINITE): Likewise.
72106         (FLDLOG): Likewise.
72107         (c0): Likewise.
72108         (c1): Likewise.
72109         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
72110         Adjust comments for base varying.
72111         (__expl_finite): Change alias to EXPL_FINITE.
72112         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
72113         tests for bugs.
72114         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72116         [BZ #14064]
72117         * math/libm-test.inc (check_float_internal): Correct ulp
72118         calculation for subnormal expected results.
72120 2012-05-06  Andreas Jaeger  <aj@suse.de>
72122         * Makeconfig (+math-flags): New, set to -frounding-math.
72123         (+cflags): Add +math-flags so that all of glibc gets compiled with
72124         it.
72126         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
72128 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
72130         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
72131         Disable one test.
72133         [BZ #13787]
72134         [BZ #13922]
72135         [BZ #14036]
72136         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
72137         (__ieee754_expl): Allow for and saturate large arguments.
72138         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
72139         (u_threshold): Likewise.
72140         (__exp): Call __ieee754_exp before checking for overflow and
72141         underflow.
72142         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
72143         (u_threshold): Likewise.
72144         (__expf): Call __ieee754_expf before checking for overflow and
72145         underflow.
72146         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
72147         (u_threshold): Likewise.
72148         (__expl): Call __ieee754_expl before checking for overflow and
72149         underflow.
72150         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
72151         (__ieee754_expl): Allow for and saturate large arguments.
72152         * math/libm-test.inc (exp_test): Add another test.  Do not allow
72153         missing overflow exception on overflow.
72154         (expm1_test): Do not allow missing overflow exception on overflow.
72156         * sysdeps/i386/fpu/e_expl.c: Move to ...
72157         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
72158         rather than using inline asm.
72159         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
72160         * sysdeps/x86_64/fpu/e_expl.S: Copy from
72161         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
72163         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
72164         (nice): Likewise.
72165         (poll): Likewise.
72166         (signal): Likewise.
72167         (time): Likewise.
72168         (times): Likewise.
72170 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
72172         * sysdeps/unix/syscalls.list (adjtime): Add entry from
72173         sysdeps/unix/common/syscalls.list.
72174         (fchmod): Likewise.
72175         (fchown): Likewise.
72176         (ftruncate): Likewise.
72177         (getrusage): Likewise.
72178         (gettimeofday): Likewise.
72179         (setpgid): Likewise.
72180         (setregid): Likewise.
72181         (setreuid): Likewise.
72182         (sigaction): Likewise.
72183         (truncate): Likewise.
72184         (vhangup): Likewise.
72185         * sysdeps/unix/common/syscalls.list: Remove file.
72186         * sysdeps/unix/bsd/Implies: Don't include unix/common.
72187         * sysdeps/unix/sysv/linux/Implies: Likewise.
72189 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
72191         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
72192         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
72193         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
72194         Moved to ...
72195         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
72196         Here.
72197         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
72198         to ...
72199         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
72200         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
72201         to ...
72202         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
72203         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
72204         to ...
72205         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
72206         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
72207         to ...
72208         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
72209         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
72210         to ...
72211         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
72212         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
72213         to ...
72214         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
72215         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
72216         to ...
72217         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
72218         Here.
72219         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
72220         to ...
72221         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
72222         Here.
72223         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
72224         to ...
72225         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
72226         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
72227         Moved to ...
72228         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
72229         Here.
72230         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
72231         to ...
72232         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
72234 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
72236         * sysdeps/unix/common/bits/dirent.h: Remove file.
72237         * sysdeps/unix/common/bits/fcntl.h: Likewise.
72239         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
72240         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
72241         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
72242         * sysdeps/unix/bsd/isatty.c: Likewise.
72243         * sysdeps/unix/bsd/tcdrain.c: Likewise.
72244         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
72245         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
72247 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72249         [BZ #13563]
72250         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
72251         long double comparison inaccuracies.
72252         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
72253         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72255 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
72257         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
72258         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
72260 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
72262         [BZ #14049]
72263         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
72264         nonzero digits before rounding a hex value.
72265         * stdlib/tst-strtod.c (tests): Add another test.
72267 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72269         * sysdeps/s390/fpu/libm-test-ulps: Update.
72271 2012-05-03  Andreas Jaeger  <aj@suse.de>
72273         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
72274         does not get optimized out.
72275         (malloc_opt_barrier): New.
72277 2012-05-03  Andreas Jaeger  <aj@suse.de>
72278             Roland McGrath  <roland@hack.frob.com>
72280         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
72281         intermediate file deletion.
72282         (generated): Add .symlist files.
72284 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
72286         [BZ #13775]
72287         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
72288         Redirect under this condition.
72289         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
72290         [__USE_GNU] (__dprintf_chk): Not under this condition.
72291         [__USE_GNU] (__vdprintf_chk): Likewise.
72292         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
72293         under this condition.
72294         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
72295         [__USE_XOPEN2K8] (dprintf): Define under this condition.
72296         [__USE_XOPEN2K8] (vdprintf): Likewise.
72297         [__USE_GNU] (__dprintf_chk): Not under this condition.
72298         [__USE_GNU] (__vdprintf_chk): Likewise.
72299         [__USE_GNU] (dprintf): Likewise.
72300         [__USE_GNU] (vdprintf): Likewise.
72302 2012-05-03  Roland McGrath  <roland@hack.frob.com>
72304         * elf/Makefile (common-generated): Set this instead of generated for
72305         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
72306         $(all-built-dso)-derived lists.
72308 2012-05-03  Andreas Jaeger  <aj@suse.de>
72310         * sysdeps/i386/fpu/libm-test-ulps: Update.
72312         * FAQ: Removed.
72313         * FAQ.in: Likewise.
72314         * scripts/gen-FAQ.pl: Likewise.
72315         * manual/install.texi (Installation): Point to online location of
72316         FAQ.
72317         * Makefile (files-for-dist): Remove FAQ.
72318         (FAQ): Remove.
72320 2012-05-02  Allan McRae  <allan@archlinux.org>
72322         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
72323         (LDFLAGS-reldepmod5.so): Likewise.
72324         (LDFLAGS-reldep6mod1.so): Likewise.
72325         (LDFLAGS-reldep6mod4.so): Likewise.
72326         (LDFLAGS-reldep8mod3.so): Likewise.
72327         (LDFLAGS-unload4mod1.so): Likewise.
72328         (LDFLAGS-unload4mod2.so): Likewise.
72329         (LDFLAGS-tst-initorder): Likewise.
72330         (LDFLAGS-tst-initordera2.so): Likewise.
72331         (LDFLAGS-tst-initordera3.so): Likewise.
72332         (LDFLAGS-tst-initordera4.so): Likewise.
72333         (LDFLAGS-tst-initorderb2.so): Likewise.
72334         (LDFLAGS-noload): Likewise.
72335         (LDFLAGS-next): Likewise.
72336         (LDFLAGS-order2mod1.so): Likewise.
72337         (LDFLAGS-order2mod2.so): Likewise.
72338         (LDFLAGS-tst-initorder2): Likewise.
72339         (LDFLAGS-tst-initorder2a.so): Likewise.
72340         (LDFLAGS-tst-initorder2b.so): Likewise.
72341         (LDFLAGS-tst-initorder2c.so): Likewise.
72342         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
72344 2012-05-02  David S. Miller  <davem@davemloft.net>
72346         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72348 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
72350         [BZ #14055]
72351         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
72353 2012-05-02  Andreas Jaeger  <aj@suse.de>
72355         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
72356         since we manipulate rounding mode.
72357         (CPPFLAGS-test-idouble.c): Likewise.
72358         (CPPFLAGS-test-ifloat.c): Likewise.
72359         (CFLAGS-test-ldouble.c): Likewise.
72360         (CFLAGS-test-double.c): Likewise.
72361         (CFLAGS-test-float.c): Likewise.
72362         (CFLAGS-test-misc.c): Likewise.
72363         (CFLAGS-test-test-fenv.c): Likewise.
72365 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72367         [BZ #2550]
72368         [BZ #2570]
72369         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
72370         comparisons to determine direction to adjust input.
72372 2012-05-01  Roland McGrath  <roland@hack.frob.com>
72374         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
72375         output to the target.
72377         * scripts/localplt.awk: New file.
72378         * elf/Makefile ($(objpfx)check-localplt): Target removed.
72379         (check-localplt-CFLAGS): Variable removed.
72380         ($(all-built-dso:=.jmprel)): New static pattern rule.
72381         (generated): Add those targets.
72382         (localplt-built-dso): New variable.
72383         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
72385         * elf/check-localplt.c: File removed.
72387         * scripts/check-execstack.awk: New file.
72388         * elf/Makefile ($(objpfx)check-execstack): Target removed.
72389         (check-execstack-CFLAGS): Variable removed.
72390         ($(objpfx)check-execstack.h): Target removed.
72391         ($(objpfx)execstack-default): New target.
72392         (generated): Add that instead of check-execstack.h.
72393         ($(all-built-dso:=.phdr)): New static pattern rule.
72394         (generated): Add those targets.
72395         * elf/check-execstack.c: File removed.
72397         * scripts/check-textrel.awk: New file.
72398         * elf/Makefile ($(objpfx)check-textrel): Target removed.
72399         (check-textrel-CFLAGS): Variable removed.
72400         (all-built-dso): Use := to define.o
72401         ($(all-built-dso:=.dyn)): New static pattern rule.
72402         (generated): Add those targets.
72403         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
72404         * config.make.in (READELF): New substituted variable.
72405         * elf/check-textrel.c: File removed.
72407 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
72409         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72410         allow.
72411         * conform/data/ctype.h-data [C99-based standards] (isblank):
72412         Expect function.
72413         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
72414         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
72415         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72416         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
72417         Specify type.  Require positive value.
72418         (EILSEQ): Likewise.
72419         (ERANGE): Likewise.
72420         [ISO || POSIX] (EILSEQ): Do not expect.
72421         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
72422         Specify type.  Require positive value.
72423         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
72424         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
72425         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
72426         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
72427         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
72428         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
72429         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
72430         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
72431         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
72432         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
72433         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
72434         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
72435         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
72436         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
72437         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
72438         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
72439         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
72440         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
72441         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
72442         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
72443         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
72444         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
72445         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
72446         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
72447         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
72448         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
72449         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
72450         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
72451         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
72452         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
72453         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
72454         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
72455         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
72456         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
72457         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
72458         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
72459         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
72460         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
72461         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
72462         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
72463         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
72464         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
72465         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
72466         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
72467         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
72468         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
72469         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
72470         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
72471         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
72472         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
72473         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
72474         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
72475         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
72476         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
72477         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
72478         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
72479         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
72480         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
72481         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
72482         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
72483         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
72484         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
72485         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
72486         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
72487         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
72488         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
72489         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
72490         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
72491         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
72492         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
72493         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
72494         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
72495         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
72496         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
72497         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
72498         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
72499         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
72500         Require >= 2.
72501         (FLT_ROUNDS): Expect as macro, not constant.
72502         (FLT_MANT_DIG): Use macro-int-constant.
72503         (DBL_MANT_DIG): Likewise.
72504         (LDBL_MANT_DIG): Likewise.
72505         (FLT_DIG): Likewise.
72506         (DBL_DIG): Likewise.
72507         (LDBL_DIG): Likewise.
72508         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
72509         (DBL_MIN_EXP): Likewise.
72510         (LDBL_MIN_EXP): Likewise.
72511         (FLT_MAX_EXP): Use macro-int-constant.
72512         (DBL_MAX_EXP): Likewise.
72513         (LDBL_MAX_EXP): Likewise.
72514         (FLT_MAX_10_EXP): Likewise.
72515         (DBL_MAX_10_EXP): Likewise.
72516         (LDBL_MAX_10_EXP): Likewise.
72517         (FLT_MAX): Use macro-constant.
72518         (DBL_MAX): Likewise.
72519         (LDBL_MAX): Likewise.
72520         (FLT_EPSILON): Use macro-constant.  Give upper bound.
72521         (DBL_EPSILON): Likewise.
72522         (LDBL_EPSILON): Likewise.
72523         (FLT_MIN): Likewise.
72524         (DBL_MIN): Likewise.
72525         (LDBL_MIN): Likewise.
72526         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
72527         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
72528         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
72529         [ISO11] (FLT_HAS_SUBNORM): Likewise.
72530         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
72531         [ISO11] (DBL_DECIMAL_DIG): Likewise.
72532         [ISO11] (FLT_DECIMAL_DIG): Likewise.
72533         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
72534         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
72535         [ISO11] (FLT_TRUE_MIN): Likewise.
72536         [ISO11] (LDBL_TRUE_MIN): Likewise.
72537         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72538         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
72539         (SCHAR_MIN): Use macro-int-constant.  Specify type.
72540         (SCHAR_MAX): Likewise.
72541         (UCHAR_MAX): Likewise.
72542         (CHAR_MIN): Likewise.
72543         (CHAR_MAX): Likewise.
72544         (MB_LEN_MAX): Use macro-int-constant.
72545         (SHRT_MIN): Use macro-int-constant.  Specify type.
72546         (SHRT_MAX): Likewise.
72547         (USHRT_MAX): Likewise.
72548         (INT_MAX): Likewise.
72549         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
72550         bound negative.
72551         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
72552         bound with "U".
72553         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
72554         bound with "L".
72555         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
72556         bound negative.  Suffix upper bound with "L".
72557         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
72558         bound with "UL".
72559         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
72560         Specify type.
72561         [C99-based standards] (LLONG_MAX): Likewise.
72562         [C99-based standards] (ULLONG_MAX): Likewise.
72563         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
72564         == 0.
72565         [ISO11] (max_align_t): Require type.
72566         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72568         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
72569         from $CFLAGS, without defining away __attribute__ calls.
72570         (checknamespace): Use $CFLAGS_namespace.
72572         * conform/conformtest.pl (@keywords): Only include C99 keywords
72573         for standards based on C99 or C11.
72575         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
72576         Disable tests.
72577         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
72578         UNIX98]: Likewise.
72580         * conform/conformtest.pl: Handle "macro-int-constant" and test for
72581         usability of symbols in #if.
72583         * conform/conformtest.pl: If macro or constant types start
72584         "promoted:", expect the symbol to be of the following type
72585         promoted by the integer promotions.
72587         * conform/conformtest.pl: Parse all "constant" and "macro" lines
72588         in one place.  Also handle "macro-constant".
72590         * conform/conformtest.pl: Only accept expected macro values with
72591         "==".  Parse all "macro" lines in one place.
72592         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
72594         * conform/conformtest.pl: Handle braced types on "constant" lines
72595         instead of handling "typed-constant".
72596         * conform/data/signal.h-data: Use "constant" instead of
72597         "typed-constant".
72599         * conform/conformtest.pl: Handle "optional-" at start of lines in
72600         one place rather than duplicating several cases.  Handle each
72601         format of "macro" line with initial "optional-".
72603         * conform/conformtest.pl: Only accept expected constant or
72604         optional-constant values with "==".  Parse all "constant" lines in
72605         one place.  Parse all "optional-constant" lines in one place.
72606         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
72607         * conform/data/fmtmsg.h-data: Likewise.
72608         * conform/data/netinet/in.h-data: Likewise.
72609         * conform/data/tar.h-data: Likewise.
72610         * conform/data/limits.h-data: Use "==" form on "constant" and
72611         "optional-constant" lines.
72613         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
72614         Use -std=c99 for XOPEN2K.
72615         (@knownproblems): Remove.
72616         (newtoken): Don't check %isknown.
72618         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
72619         Do not expect macro.
72620         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
72621         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
72622         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
72623         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
72624         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
72625         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
72626         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
72627         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
72628         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
72629         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
72630         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
72631         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
72632         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
72633         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
72634         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
72635         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
72636         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
72637         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
72638         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
72639         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
72640         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
72641         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
72642         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
72643         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
72644         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
72645         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
72646         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
72647         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
72648         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
72649         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
72650         [XPG3] (acosh): Likewise.
72651         [XPG3] (asinh): Likewise.
72652         [XPG3] (atanh): Likewise.
72653         [XPG3] (cbrt): Likewise.
72654         [XPG3] (expm1): Likewise.
72655         [XPG3] (ilogb): Likewise.
72656         [XPG3] (log1p): Likewise.
72657         [XPG3] (logb): Likewise.
72658         [XPG3] (nextafter): Likewise.
72659         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
72660         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
72661         [XPG3] (remainder): Likewise.
72662         [XPG3] (rint): Likewise.
72663         [XPG3 || XPG4 || UNIX98] (round): Likewise.
72664         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
72665         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
72666         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
72667         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
72668         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
72669         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
72670         [UNIX98 || XOPEN2K] (scalb): Expect.
72671         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
72672         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
72673         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
72674         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
72675         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
72676         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
72677         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
72678         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
72679         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
72680         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
72681         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
72682         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
72683         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
72684         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
72685         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
72686         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
72687         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
72688         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
72689         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
72690         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
72691         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
72692         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
72693         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
72694         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
72695         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
72696         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
72697         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
72698         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
72699         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
72700         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
72701         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
72702         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
72703         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
72704         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
72705         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
72706         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
72707         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
72708         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
72709         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
72710         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
72711         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
72712         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
72713         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
72714         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
72715         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
72716         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
72717         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
72718         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
72719         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
72720         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
72721         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
72722         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
72723         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
72724         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
72725         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
72726         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
72727         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
72728         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
72729         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
72730         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
72731         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
72732         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
72733         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
72734         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
72735         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
72736         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
72737         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
72738         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
72739         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
72740         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
72741         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
72742         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
72743         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
72744         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
72745         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
72746         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
72747         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
72748         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
72749         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
72750         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
72751         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
72752         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
72753         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
72754         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
72755         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
72756         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
72757         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
72758         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
72759         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
72760         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
72761         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
72762         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
72763         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
72764         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
72765         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
72766         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
72767         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
72768         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
72769         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
72770         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
72771         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
72772         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
72773         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
72774         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
72775         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
72776         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
72777         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
72778         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
72779         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
72780         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
72781         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
72782         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
72783         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
72784         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
72785         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
72786         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
72787         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
72788         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
72789         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
72790         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
72791         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
72792         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
72793         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
72794         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
72795         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
72796         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
72797         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
72798         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
72799         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
72800         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
72801         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
72802         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
72803         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
72804         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
72805         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
72806         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
72807         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
72809         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
72810         _XOPEN_SOURCE_EXTENDED for XPG4.
72812         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
72814         * Makeconfig (localtime): Remove variable.
72815         (inst_localtime-file): Likewise.
72817 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
72819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
72820         Update.
72821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72822         Update.
72823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
72824         Update.
72825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
72826         Update.
72827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
72828         Update.
72829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
72830         Update.
72831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72832         Update.
72833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
72834         Update.
72835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
72836         Update.
72838 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
72840         [BZ #2550]
72841         [BZ #2570]
72842         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
72843         comparisons to determine direction to adjust input.
72844         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
72845         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
72846         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
72847         Likewise.
72848         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
72849         Likewise.
72850         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
72851         Likewise.
72852         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
72853         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
72854         Likewise.
72855         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
72856         Likewise.
72857         * math/libm-test.inc (nexttoward_test): Add more tests.
72859 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
72861         [BZ #14040]
72862         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
72863         in version GLIBC_2.1, not GLIBC_2.0.
72864         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
72865         Likewise.
72867 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
72869         [BZ #13942]
72870         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
72871         (1 - x) * (1 + x).
72872         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
72873         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
72874         * math/libm-test.inc (acos_test): Add more tests.
72875         (asin_test): Likewise.
72876         * sysdeps/i386/fpu/libm-test-ulps: Update.
72877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72879         [BZ #14034]
72880         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
72881         of square root.
72882         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
72883         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
72884         * math/libm-test.inc (acos_test_tonearest): New function.
72885         (acos_test_towardzero): Likewise.
72886         (acos_test_downward): Likewise.
72887         (acos_test_upward): Likewise.
72888         (asin_test_tonearest): Likewise.
72889         (asin_test_towardzero): Likewise.
72890         (asin_test_downward): Likewise.
72891         (asin_test_upward): Likewise.
72892         (main): Call the new functions.
72893         * sysdeps/i386/fpu/libm-test-ulps: Update.
72894         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72896         [BZ #13884]
72897         [BZ #13924]
72898         * math/e_exp10.c: Include <float.h>.
72899         (__ieee754_exp10): Handle underflow here rather than multiplying
72900         large negative argument by M_LN10.
72901         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
72902         of __ieee754_expf.
72903         * math/e_exp10l.c: Include <float.h>.
72904         (__ieee754_exp10l): Handle underflow here rather than multiplying
72905         large negative argument by M_LN10l.
72906         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
72907         spurious overflow exception on underflow.
72909 2012-04-29  Marek Polacek  <polacek@redhat.com>
72911         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
72912         (__fortify_function): New macro.
72913         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
72914         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
72915         __extern_always_inline.
72916         * libio/bits/stdio2.h: Likewise.
72917         * libio/bits/stdio.h: Likewise.
72918         * string/string.h: Likewise.
72919         * string/bits/string3.h: Likewise.
72920         * include/stdio.h: Likewise.
72921         * stdlib/bits/stdlib.h: Likewise.
72922         * stdlib/stdlib.h: Likewise.
72923         * rt/bits/mqueue2.h: Likewise.
72924         * rt/mqueue.h: Likewise.
72925         * posix/bits/unistd.h: Likewise.
72926         * posix/unistd.h: Likewise.
72927         * io/bits/poll2.h: Likewise.
72928         * io/bits/fcntl2.h: Likewise.
72929         * io/fcntl.h: Likewise.
72930         * io/sys/poll.h: Likewise.
72931         * misc/bits/syslog.h: Likewise.
72932         * misc/bits/syslog-ldbl.h: Likewise.
72933         * misc/sys/syslog.h: Likewise.
72934         * socket/bits/socket2.h: Likewise.
72935         * socket/sys/socket.h: Likewise.
72936         * debug/tst-chk1.c: Likewise.
72937         * wcsmbs/bits/wchar2.h: Likewise.
72938         * wcsmbs/bits/wchar-ldbl.h: Likewise.
72939         * wcsmbs/wchar.h: Likewise.
72941 2012-04-29  Andreas Jaeger  <aj@suse.de>
72943         * Makerules (tests): Remove enable-check-abi protection.
72944         (check-abi-warn): Remove.
72945         (check-abi-%): Remove check-abi-warn usage.
72947         * configure.in: Remove check-abi configure option.
72948         * configure: Regenerated.
72949         * config.make.in (enable-check-abi): Remove.
72951 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
72953         [BZ #14033]
72954         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
72955         double functions to double *_finite functions.
72957         [BZ #13941]
72958         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
72959         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
72960         LDBL_MIN_EXP.
72961         * stdio-common/Makefile (tests): Add tst-sprintf3.
72962         * stdio-common/tst-sprintf3.c: New file.
72964         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
72965         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
72967 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
72969         * conform/conformtest.pl: Remove duplicate typed-constant
72970         handling.
72972 2012-04-28  David S. Miller  <davem@davemloft.net>
72974         * Makerules (%.abilist): Add vpath on sysdep_dirs.
72975         (check-abi-%): Remove AWK script prerequisite and explicit
72976         abilist directory.
72977         (check-abi): Rewrite to just diff the symlist with the abilist.
72978         (config-tls, config-abi-config): Delete, no longer used.
72979         (update-abi-%): Remove AWK script and explicit abilist directory.
72980         (update-abi): Rewrite to simply compare and conditionally copy the
72981         symlist and the sysdep abilist file.  Remove update-abi-config
72982         checks.
72983         * abilist/ld.abilist: Remove.
72984         * abilist/libBrokenLocale.abilist: Remove.
72985         * abilist/libanl.abilist: Remove.
72986         * abilist/libcrypt.abilist: Remove.
72987         * abilist/libdl.abilist: Remove.
72988         * abilist/librt.abilist: Remove.
72989         * abilist/libthread_db.abilist: Remove.
72990         * abilist/libutil.abilist: Remove.
72991         * scripts/extract-abilist.awk: Remove.
72992         * scripts/merge-abilist.awk: Remove.
72993         * sysdeps/generic/libcidn.abilist: New file.
72994         * sysdeps/generic/libnss_compat.abilist: New file.
72995         * sysdeps/generic/libnss_db.abilist: New file.
72996         * sysdeps/generic/libnss_dns.abilist: New file.
72997         * sysdeps/generic/libnss_files.abilist: New file.
72998         * sysdeps/generic/libnss_hesiod.abilist: New file.
72999         * sysdeps/generic/libnss_nis.abilist: New file.
73000         * sysdeps/generic/libnss_nisplus.abilist: New file.
73001         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
73002         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
73003         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
73004         file.
73005         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
73006         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
73007         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
73008         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
73009         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
73010         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
73011         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
73012         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
73013         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
73014         file.
73015         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
73016         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
73017         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
73018         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
73019         file.
73020         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
73021         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
73022         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
73023         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
73024         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
73025         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
73026         file.
73027         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
73028         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
73029         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
73030         file.
73031         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
73032         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
73033         New file.
73034         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
73035         New file.
73036         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
73037         New file.
73038         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
73039         New file.
73040         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
73041         New file.
73042         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
73043         New file.
73044         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
73045         New file.
73046         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
73047         New file.
73048         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
73049         New file.
73050         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
73051         New file.
73052         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
73053         New file.
73054         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
73055         New file.
73056         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
73057         New file.
73058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
73059         file.
73060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
73061         New file.
73062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
73063         New file.
73064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
73065         file.
73066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
73067         New file.
73068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
73069         New file.
73070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
73071         file.
73072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
73073         New file.
73074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73075         New file.
73076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
73077         New file.
73078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
73079         New file.
73080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
73081         New file.
73082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
73083         New file.
73084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
73085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
73086         file.
73087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
73088         New file.
73089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
73090         file.
73091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
73092         file.
73093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
73094         file.
73095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
73096         file.
73097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
73098         file.
73099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
73100         New file.
73101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
73102         file.
73103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
73104         file.
73105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
73106         New file.
73107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
73108         file.
73109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
73110         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
73111         file.
73112         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
73113         New file.
73114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
73115         file.
73116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
73117         file.
73118         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
73119         file.
73120         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
73121         file.
73122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
73123         file.
73124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
73125         New file.
73126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
73127         file.
73128         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
73129         file.
73130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
73131         New file.
73132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
73133         file.
73134         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
73135         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
73136         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
73137         file.
73138         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
73139         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
73140         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
73141         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
73142         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
73143         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
73144         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
73145         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
73146         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
73147         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
73148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
73149         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
73150         file.
73151         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
73152         New file.
73153         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
73154         file.
73155         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
73156         file.
73157         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
73158         file.
73159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
73160         file.
73161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
73162         file.
73163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
73164         New file.
73165         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
73166         New file.
73167         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
73168         file.
73169         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
73170         New file.
73171         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
73172         file.
73173         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
73174         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
73175         file.
73176         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
73177         New file.
73178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
73179         file.
73180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
73181         file.
73182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
73183         file.
73184         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
73185         file.
73186         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
73187         file.
73188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
73189         New file.
73190         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
73191         New file.
73192         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
73193         file.
73194         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
73195         New file.
73196         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
73197         file.
73199 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
73201         * conform/conformtest.pl: Fix typo in handling typed-constant from
73202         allow-header.
73204 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
73206         * README: Cut down references to pre-2.6 Linux kernels and
73207         Linuxthreads.  Update lists of configurations in libc and ports
73208         and sort alphabetically.  Say "or newer" with Linux kernel version
73209         requirements.
73211         * config.h.in [IS_IN_build]: Allow compiling without optimization.
73213 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
73215         [BZ #887]
73216         * math/libm-test.inc (logb_test_downward): New test to expose
73217         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
73218         rounding mode.
73220 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
73222         [BZ #14027]
73223         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
73224         to be done.
73225         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
73226         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
73228 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
73230         * sysdeps/unix/i386/brk.S: Remove file.
73231         * sysdeps/unix/i386/dl-brk.S: Likewise.
73232         * sysdeps/unix/i386/pipe.S: Likewise.
73233         * sysdeps/unix/i386/sigreturn.S: Likewise.
73234         * sysdeps/unix/i386/syscall.S: Likewise.
73235         * sysdeps/unix/i386/vfork.S: Likewise.
73236         * sysdeps/unix/i386/wait.S: Likewise.
73238         * sysdeps/unix/common/tcsendbrk.c: Move to ...
73239         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
73241         * configure.in (arm*-none*): Do not allow without
73242         --enable-hacker-mode.
73243         (netbsd*): Remove case setting base_os.
73244         (386bsd*): Likewise.
73245         (freebsd*): Likewise.
73246         (bsdi*): Likewise.
73247         (osf*): Likewise.
73248         (sunos*): Likewise.
73249         (ultrix*): Likewise.
73250         (newsos*): Likewise.
73251         (dynix*): Likewise.
73252         (*bsd*): Likewise.
73253         (sysv*): Likewise.
73254         (isc*): Likewise.
73255         (esix*): Likewise.
73256         (sco*): Likewise.
73257         (minix*): Likewise.
73258         (irix4*): Likewise.
73259         (irix6*): Likewise.
73260         (solaris[2-9]*): Likewise.
73261         (none): Likewise.
73262         * configure: Regenerated.
73264 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73266         [BZ #11521]
73267         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
73268         overflow or cancellation in calculating denominator.
73269         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
73270         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
73271         down expression to avoid unexpected rounding in newer GCCs.
73272         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
73274 2012-04-26  David S. Miller  <davem@davemloft.net>
73276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
73277         long-double compat symbols.
73278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
73279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
73280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
73281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
73282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
73283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
73284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
73285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
73286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
73287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
73288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
73289         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
73290         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
73292 2012-04-25  David S. Miller  <davem@davemloft.net>
73294         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
73295         HWCAP_* values only after the memory barriers have been defined.
73296         (atomic_full_barrier): Define.
73297         (atomic_read_barrier): Define.
73298         (atomic_write_barrier): Define.
73300 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
73302         * shlib-versions: Add libgcc_s version information.
73303         * sysdeps/generic/libgcc_s.h: Remove.
73304         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
73305         libgcc_s.h.
73306         * sysdeps/gnu/unwind-resume.c: Likewise.
73307         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
73309 2012-04-25  David S. Miller  <davem@davemloft.net>
73311         * sysdeps/unix/sparc/brk.S: Delete.
73312         * sysdeps/unix/sparc/dl-brk.S: Delete.
73313         * sysdeps/unix/sparc/pipe.S: Delete.
73314         * sysdeps/unix/sparc/sysdep.S: Delete.
73315         * sysdeps/unix/sparc/sysdep.h: Delete.
73316         * sysdeps/unix/sparc/vfork.S: Delete.
73317         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
73318         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
73319         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
73320         (ret_ERRVAL, r0, r1, MOVE): Define.
73321         (JUMPTARGET): Remove.
73322         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
73323         sysdeps/unix/sparc/sysdep.h
73324         (ENTRY, END): Remove.
73325         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73327 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
73329         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
73330         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
73331         -DIS_IN_build.
73333         * timezone/README: Update upstream location and email address for
73334         tzcode and tzdata.
73335         * timezone/zdump.c: Update from tzcode 2012b.
73336         * timezone/zic.c: Likewise.
73338         * configure.in (libc_cv_as_needed): Remove test.
73339         * configure: Regenerated.
73340         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
73341         conditional definition.
73342         [$(have-as-needed) != yes] (no-as-needed): Likewise.
73343         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
73344         * config.make.in (have-as-needed): Remove variable.
73346 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
73347             Paul Pluzhnikov  <ppluzhnikov@google.com>
73349         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
73350         strings correctly.
73352 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
73354         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
73355         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
73356         * sysdeps/sh/strlen.S: Likewise.
73358 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
73360         * sysdeps/unix/fork.S: Remove file.
73361         * sysdeps/unix/i386/fork.S: Likewise.
73362         * sysdeps/unix/sparc/fork.S: Likewise.
73364         * sysdeps/unix/system.c: Remove file.
73365         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
73367         * sysdeps/unix/getegid.S: Remove file.
73368         * sysdeps/unix/geteuid.S: Likewise.
73370 2012-04-24  Roland McGrath  <roland@hack.frob.com>
73372         * scripts/check-localplt.awk: New file.
73373         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
73374         of diff.
73375         * scripts/data/localplt-generic.data: Add a comment.
73377         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
73378         NODE when __dir_mkfile failed.
73379         * sysdeps/mach/hurd/symlinkat.c: Likewise.
73380         Reported by Ludovic Courtès <ludo@gnu.org>.
73382 2012-04-24  Andreas Jaeger  <aj@suse.de>
73384         * Makerules (common-clean): Also remove gen-as-const-headers
73385         files.
73387 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
73389         * Makerules (native-compile): Do not change working directory for
73390         build.  Use $(OUTPUT_OPTION) in command.
73391         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
73393 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73395         [BZ #13886]
73396         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
73397         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
73398         * math/libm-test.inc (floor_test): Add more tests.
73399         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
73401 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
73403         * sysdeps/unix/getdents.c: Remove file.
73404         * sysdeps/unix/sysv/getdents.c: Likewise.
73405         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
73407         * sysdeps/unix/syscalls.list (madvise): Add syscall from
73408         sysdeps/unix/mman/syscalls.list.
73409         (mmap): Likewise.
73410         (mprotect): Likewise.
73411         (msync): Likewise.
73412         (munmap): Likewise.
73413         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
73414         * sysdeps/unix/mman/syscalls.list: Remove.
73415         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
73417         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
73418         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
73419         * configure: Regenerated.
73420         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
73421         $(libgcc_s_suffix).
73422         * config.make.in (libgcc_s_suffix): Remove variable.
73424 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
73426         * sysdeps/unix/sysv/gethostname.c: Move to ...
73427         * sysdeps/posix/gethostname.c: ... here.
73429         * sysdeps/unix/execve.S: Remove file.
73431         * sysdeps/unix/_exit.S: Remove file.
73433 2012-04-23  Andreas Jaeger  <aj@suse.de>
73435         [BZ #13739]
73436         * manual/Makefile: Remove make dist support, there's no
73437         need for a stand-alone documentation tar ball.
73438         (TEXI2DVI): Define always, it's not in Makeconfig.
73439         (dist): Removed.
73440         (tar-it): Removed.
73441         (edition): Removed.
73442         (glibc-doc-$(edition).tar): Removed
73443         (%.Z): Removed.
73444         (%.gz): Removed.
73445         (%.uu): Removed.
73446         (ETAGS): Remove, it's in Makeconfig.
73447         (move-if-change): Remove, it's in Makeconfig.
73449 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
73451         [BZ #13970]
73452         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
73453         (strtod, strtof, strtold, strtol, strtoul, strtoq)
73454         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
73455         (strtod_l, strtof_l, strtold_l): Remove __wur.
73456         It is not necessarily an error to ignore strtol's return value.
73457         One can reliably look at the stored endptr to decide whether
73458         the number had valid syntax.
73460 2012-04-21  Andreas Jaeger  <aj@suse.de>
73462         [BZ #13739]
73463         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
73465 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
73467         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
73468         * sysdeps/unix/sysv/Versions: Remove file.
73470 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
73472         [BZ #13927]
73473         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73475 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
73477         [BZ #7064]
73478         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
73479         version from __vm86.
73481 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
73483         * sysdeps/unix/common/lxstat.c: Remove file.
73484         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
73486         * sysdeps/unix/sysv/Makefile: Remove file.
73488         * sysdeps/unix/sysv/direct.h: Remove file.
73490         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
73491         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
73492         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
73493         * sysdeps/unix/sysv/bits/signum.h: Likewise.
73494         * sysdeps/unix/sysv/bits/stat.h: Likewise.
73495         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
73496         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
73498         * sysdeps/unix/sysv/setrlimit.c: Remove file.
73500         * sysdeps/unix/xmknod.c: Remove file.
73501         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
73503         * sysdeps/unix/sysv/settimeofday.c: Remove file.
73505         * sysdeps/unix/sysv/i386/time.S: Remove file.
73507         * sysdeps/unix/fxstat.c: Remove file.
73508         * sysdeps/unix/xstat.c: Likewise.
73509         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
73511         * sysdeps/unix/sysv/sigaction.c: Remove file.
73513         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
73514         (sysdep_headers): Remove variable.
73515         [termio.h not in sysdep_headers] (generated): Likewise.
73516         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
73517         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
73518         * sysdeps/unix/sysv/tcdrain.c: Likewise.
73519         * sysdeps/unix/sysv/tcflow.c: Likewise.
73520         * sysdeps/unix/sysv/tcflush.c: Likewise.
73521         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
73522         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
73523         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
73524         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
73525         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
73527         * sysdeps/unix/siglist.c: Remove file.
73529         * sysdeps/unix/getppid.S: Remove file.
73531         * sysdeps/unix/mkdir.c: Remove file.
73532         * sysdeps/unix/rmdir.c: Likewise.
73534 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
73536         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
73537         ERR_MAX value.
73538         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
73539         errlist-compat value.
73541 2012-04-18  David S. Miller  <davem@davemloft.net>
73543         * sysdeps/generic/memcopy.h (reg_char): Delete.
73544         * debug/strcat_chk.c: Use char, not reg_char.
73545         * debug/strcpy_chk.c: Likewise.
73546         * debug/strncat_chk.c: Likewise.
73547         * debug/strncpy_chk.c: Likewise.
73548         * string/memchr.c: Likewise.
73549         * string/memrchr.c: Likewise.
73550         * string/rawmemchr.c: Likewise.
73551         * string/strcat.c: Likewise.
73552         * string/strchr.c: Likewise.
73553         * string/strchrnul.c: Likewise.
73554         * string/strcmp.c: Likewise.
73555         * string/strcpy.c: Likewise.
73556         * string/strncat.c: Likewise.
73557         * string/strncmp.c: Likewise.
73558         * string/strncpy.c: Likewise.
73560 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
73562         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
73563         __builtin_memcopy is called when src and dest ranges are known to not
73564         overlap.
73566 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
73568         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
73569         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
73570         fwd_align_merge macro call.
73571         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
73572         bwd_align_merge macro call.
73573         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
73575 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
73577         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
73578         bwd_align_merge macros.
73579         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
73580         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
73581         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
73583 2012-04-18  David S. Miller  <davem@davemloft.net>
73585         * sysdeps/sparc/sparc64/memcopy.h: Delete.
73587 2012-04-18  Andreas Jaeger  <aj@suse.de>
73589         [BZ# 6794]
73590         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
73591         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
73592         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73594         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
73595         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
73596         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73598         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
73599         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
73600         Adjust for changed ldbl-128 files.
73602         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
73603         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
73604         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73606 2012-04-17  David S. Miller  <davem@davemloft.net>
73608         * sysdeps/sparc/sparc32/memcopy.h: Delete.
73610 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
73612         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
73613         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
73614         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
73615         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
73616         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
73617         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
73619 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73621         [BZ #6794]
73622         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
73623         * math/libm-test.inc: Add ilogb errno and exception tests.
73624         * math/w_ilogb.c: New file: ilogb wrapper.
73625         * math/w_ilogbf.c: New file: ilogbf wrapper.
73626         * math/w_ilogbl.c: New file: ilogbl wrapper.
73627         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
73628         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
73629         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
73630         exception being thrown with 0.0 as argument.
73631         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
73632         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
73633         exception being thrown with 0.0 as argument.
73634         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
73635         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
73636         exception being thrown with 0.0 as argument.
73637         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
73638         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
73639         exception being thrown with 0.0 as argument.
73640         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
73641         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
73642         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
73643         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
73644         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
73645         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
73646         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
73647         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
73648         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
73650 2012-04-17  Petr Baudis  <pasky@ucw.cz>
73652         * include/sys/uio.h: Change __vector to __iovec to avoid clash
73653         with altivec.
73655 2012-04-16  Marek Polacek  <polacek@redhat.com>
73657         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
73659 2012-04-16  Marek Polacek  <polacek@redhat.com>
73661         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
73662         operands of fdivp instruction.
73664 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
73666         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
73667         * elf/tst-auditmod3b.c: Likewise.
73668         * elf/tst-auditmod4b.c: Likewise.
73669         * elf/tst-auditmod5b.c: Likewise.
73670         * elf/tst-auditmod6b.c: Likewise.
73671         * elf/tst-auditmod6c.c: Likewise.
73672         * elf/tst-auditmod7b.c: Likewise.
73673         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
73674         * sysdeps/x86_64/preconfigure.in: Likewise.
73675         * sysdeps/x86_64/preconfigure: Regenerated.
73677 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
73679         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
73680         __ILP32__.
73682 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
73684         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73685         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
73687 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
73689         [BZ #13973]
73690         * locale/iso-639.def: Fix gl language name. Spotted by
73691         Yaron Shahrabani.
73693 2012-04-12  Roland McGrath  <roland@hack.frob.com>
73695         [BZ #2074]
73696         * libio/libio.h (__io_write_fn): Update comment.
73698 2012-04-12  Petr Baudis  <pasky@ucw.cz>
73700         [BZ #2074]
73701         * stdio.texi (Hook Functions): The user provided writer function
73702         is not allowed to return -1.
73704 2012-04-11  David S. Miller  <davem@davemloft.net>
73706         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73708 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
73710         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
73711         Add a leading slash to rtkaio.
73713 2012-04-11  Jim Meyering  <meyering@redhat.com>
73715         [BZ #11959]
73716         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
73717         It is not necessarily an error to ignore fwrite's return
73718         value.  One can reliably use ferror to test for errors after
73719         the fact.
73721 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
73723         * bits/types.h (__snseconds_t): New type.
73724         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
73726         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
73727         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73728         (__SNSECONDS_T_TYPE): Likewise.
73729         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73730         (__SNSECONDS_T_TYPE): Likewise.
73731         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73732         (__SNSECONDS_T_TYPE): Likewise.
73734 2012-04-10  Andreas Jaeger  <aj@suse.de>
73736         [BZ #2636]
73737         * manual/time.texi (Processor Time): Return type of times is
73738         elapsed real time since an arbitrary point in the past.
73739         (CPU Time): Move CLK_TCK from here...
73740         (Processor Time): ...to here.  Correct description.
73741         * manual/conf.texi (Constants for Sysconf): Correct description of
73742         _SC_CLK_TCK.
73744 2012-04-10  David S. Miller  <davem@davemloft.net>
73746         [BZ #13967]
73747         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
73748         where the is a gap between DT_REL(A) and DT_JMPREL.
73750 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
73752         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
73753         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
73754         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
73756 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
73758         * elf/dl-support.c (_dl_inhibit_cache): New variable.
73759         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
73760         (dl_main): Handle --inhibit-cache.
73761         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
73762         _dl_inhibit_cache.
73763         * elf/dl-load.c (_dl_map_object): Use it.
73764         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
73766 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
73768         [BZ #13872]
73769         * sysdeps/i386/fpu/e_powl.S (p78): New object.
73770         (__ieee754_powl): Saturate large exponents rather than testing for
73771         overflow of y*log2(x).
73772         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73773         * math/libm-test.inc (pow_test): Do not permit spurious overflow
73774         exceptions.
73776         [BZ #11521]
73777         * math/s_ctan.c: Include <float.h>.
73778         (__ctan): Avoid internal overflow or cancellation in calculating
73779         denominator.
73780         * math/s_ctanf.c: Likewise.
73781         * math/s_ctanl.c: Likewise.
73782         * math/s_ctanh.c: Likewise.
73783         * math/s_ctanhf.c: Likewise.
73784         * math/s_ctanhl.c: Likewise.
73785         * math/libm-test.inc (ctan_test): Add more tests.
73786         (ctanh_test): Likewise.
73787         * sysdeps/i386/fpu/libm-test-ulps: Update.
73788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73790 2012-04-09  Andreas Jaeger  <aj@suse.de>
73792         [BZ #6894]
73793         * manual/filesys.texi (Directory Entries): Mention that d_namlen
73794         is an optional BSD extension.
73796         [BZ #10254]
73797         * manual/stdio.texi (Opening Streams): Document additional fopen
73798         parameters.
73800 2012-04-09  Roland McGrath  <roland@hack.frob.com>
73802         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
73803         %eax without telling the compiler.
73805 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
73807         [BZ # 13963]
73808         * manual/install.texi: Use sourceware.org.
73810 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
73812         [BZ #13873]
73813         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
73814         (__ieee754_pow): Generate overflow and underflow using huge*huge
73815         and tiny*tiny rather than just returning constant infinity or zero
73816         for large exponents.
73817         * math/libm-test.inc (pow_test): Require overflow exceptions for
73818         applicable cases of large exponents.
73820         [BZ #706]
73821         * sysdeps/i386/fpu/e_pow.S (p10): New object.
73822         (__ieee754_pow): Use iterative multiplication algorithm only for
73823         integer exponents with absolute value below 1024.  Check for odd
73824         integer exponents when using algorithm for real exponents.
73825         * math/libm-test.inc (pow_test): Add more tests.
73826         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73828 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
73830         [BZ #13705]
73831         * math/libm-test.inc (exp_test): Do not allow overflow exception
73832         on underflow test.
73834 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
73836         [BZ #13705]
73837         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
73838         instead of __kernel_standard_f.
73840 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
73842         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
73843         * sysdeps/x86_64/memset_chk.S: Likewise.
73845 2012-04-08  Andreas Jaeger  <aj@suse.de>
73847         [BZ #10153]
73848         * manual/startup.texi (Environment Access): Describe return value
73849         for putenv and setenv.
73851         [BZ #6895]
73852         * manual/filesys.texi (Directory Entries): Add description for
73853         DT_LNK.
73855         [BZ #6890]
73856         * manual/filesys.texi (Directory Entries): Clarify that it's file
73857         system not operating system in the description of DT_UNKNOWN.
73859         [BZ #6578]
73860         * manual/syslog.texi (closelog): Fix reference, it's openlog.
73862 2012-04-08  Stephen Compall  <s11@member.fsf.org>
73864         [BZ #6649]
73865         * manual/llio.texi (Opening and Closing Files): Add cross
73866         reference to explain mode argument.
73868 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
73870         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
73871         * sysdeps/x86_64/memset_chk.S: Likewise.
73873 2012-04-07  David S. Miller  <davem@davemloft.net>
73875         * elf/elf.h (R_SPARC_WDISP10): Define.
73876         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
73877         R_SPARC_SIZE32.
73878         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
73879         R_SPARC_SIZE64 and R_SPARC_H34.
73881 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
73883         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
73884         conditions and remove no longer applicable assertion.
73886 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
73888         * bits/byteswap.h: Include <features.h>.
73889         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
73890         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
73892 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
73894         * bits/byteswap.h (__bswap_16): Removed.
73895         Include <bits/byteswap-16.h> to get __bswap_16.
73896         * sysdeps/i386/bits/byteswap.h: Likewise.
73897         * sysdeps/s390/bits/byteswap.h: Likewise.
73898         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73899         * bits/byteswap-16.h: New file.
73900         * sysdeps/i386/bits/byteswap-16.h: Likewise.
73901         * sysdeps/s390/bits/byteswap-16.h: Likewise.
73902         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
73903         * string/Makefile (headers): Add bits/byteswap-16.h.
73905 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
73907         [BZ #13895]
73908         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
73909         extra indirection.
73910         * nss/Makefile (tests-static, tests): Add tst-nss-static.
73911         * nss/tst-nss-static.c: New.
73913 2012-04-06  Robert Millan  <rmh@gnu.org>
73915         [BZ #6486]
73916         * manual/llio.texi (File Position Primitive): lseek
73917         refers to WHENCE when it really means OFFSET.
73919 2012-04-06  Andreas Jaeger  <aj@suse.de>
73921         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
73922         strncmp declarations.
73924         * abilist/libc.abilist: Add __poll and __ppoll.
73926 2012-04-05  David S. Miller  <davem@davemloft.net>
73928         * scripts/check-local-headers.sh: Accept a host triplet in the
73929         path matched by the exclude regexp.
73931         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
73932         definition.
73933         * sysdeps/powerpc/powerpc32/dl-machine.h
73934         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
73935         * sysdeps/s390/s390-32/dl-machine.h
73936         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73937         * sysdeps/sparc/sparc32/dl-machine.h
73938         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73939         * sysdeps/sparc/sparc64/dl-machine.h
73940         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73942         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
73943         lazy binding.
73944         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
73945         undefined symbol errors.
73947         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
73948         DT_NEEDED entries.
73950 2012-04-05  Michael Matz  <matz@suse.de>
73952         [BZ #13592]
73953         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
73955 2012-04-05  Andreas Jaeger  <aj@suse.de>
73957         [BZ #13908]
73958         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
73959         comment.
73961 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73963         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
73964         which ROUND is no valid rounding mode.
73966 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73968         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
73969         read again.
73970         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
73972 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73974         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
73975         an exception using FPU order intentionally.
73977 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73979         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
73980         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
73981         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
73982         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
73984 2012-04-05  Simon Josefsson  <simon@josefsson.org>
73986         [BZ #12340]
73987         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
73988         EINVAL when BUFLEN is too smal.
73990 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
73992         [BZ #13553]
73993         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
73994         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
73996 2012-04-03  Andreas Jaeger  <aj@suse.de>
73998         [BZ #13938]
73999         * manual/setjmp.texi (System V contexts): Fix sentence.
74001         [BZ #13926]
74002         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
74003         New macro for this case.
74004         [!__GNUC__] (__bswap_64): New inline function for this case.
74005         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74006         * bits/byteswap.h: Likewise.
74007         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
74008         ull, guard with __GLIBC_HAVE_LONG_LONG.
74010         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
74011         __GLIBC_HAVE_LONG_LONG.
74013         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
74014         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
74016 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74018         [BZ #13691]
74019         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
74020         inptr and inend, rather than using last_ch.
74022 2012-04-02  David S. Miller  <davem@davemloft.net>
74024         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
74025         * stdio-common/printf-parse.h (read_int): Change return type to
74026         'int', return -1 on INT_MAX overflow.
74027         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
74028         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
74029         overflows INT_MAX.  Check for overflow of in-format-string precision
74030         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
74031         SIZE_MAX not INT_MAX for integer overflow test.
74032         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
74033         skip the construct in the format string but do not record anything.
74034         * stdio-common/bug22.c: Adjust to test both width/prevision
74035         INT_MAX overflow as well as total length INT_MAX overflow.  Check
74036         explicitly for proper errno values.
74038 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
74040         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
74041         CHAR_MAX.
74042         * string/test-strcmp.c [! WIDE]: Likewise.
74043         * time/tst-mktime2.c: Likewise for INT_MAX.
74044         * string/test-string.h: #include <sys/param.h> for MIN.
74046         * csu/init-first.c (__libc_init_first): Call __ctype_init.
74047         * sysdeps/i386/init-first.c (init): Likewise.
74048         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
74049         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
74050         * sysdeps/sh/init-first.c (init): Likewise.
74052 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
74054         * po/ru.po: Update from translation team.
74055         * po/vi.po: Likewise.
74057 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
74059         * resolv/nss_dns/dns-host.c: Merge copyright years.
74061 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74063         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74064         Optimize memcpy with prefetch if
74065         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
74066         src, dst pointers have unequal 16 byte alignments.
74068 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
74070         [BZ #13928]
74071         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
74072         from a CNAME entry and return the minimum ttl for the query.
74073         (gaih_getanswer_slice): Likewise.
74075 2012-03-30  Jeff Law  <law@redhat.com>
74077         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
74078         due to long keys.
74079         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
74080         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
74082         * resolv/nss_dns/dns-host.c: Update copyright year.
74084 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
74086         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
74087         requests to save a system call.  Fix check that all bytes are sent.
74089         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
74090         comments for sendmmsg.
74092 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74094         [BZ #13691]
74095         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
74096         with only 1 character between 0x0041 and 0x01b0.
74097         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
74098         * wcsmbs/tst-mbsnrtowcs.c: New file.
74100 2012-03-29  David S. Miller  <davem@davemloft.net>
74102         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
74103         small copies by hand.
74105 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
74107         [BZ #13761]
74108         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
74109         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
74110         group memberships.
74112 2012-03-28  David S. Miller  <davem@davemloft.net>
74114         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
74115         that branches into memcpy.
74116         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
74117         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
74118         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74119         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
74120         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
74121         bits.
74122         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
74123         implementation too.
74124         * sysdeps/sparc/mempcpy.S: New file.
74126         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
74127         the IFUNC routine in the libc case.
74128         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
74130         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
74131         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
74132         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
74133         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
74134         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
74135         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
74136         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
74137         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
74139         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
74140         loop to 256 bytes instead of 64 bytes and fix test signedness.
74142         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
74143         * sysdeps/sparc/sparc32/Makefile: rather than here...
74144         * sysdeps/sparc/sparc64/Makefile: and here.
74146 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
74148         * malloc/mallocbug.c: Avoid warnings about unused variables.
74150 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
74152         [BZ #13760]
74153         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
74154         in the right place. Discard and retry query if response is
74155         larger than input buffer size.
74157 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
74159         [BZ #369]
74160         [BZ #2678]
74161         [BZ #3866]
74162         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
74163         x for large integer exponent.
74164         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
74165         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
74166         sign of result as needed afterwards.
74167         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
74168         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
74169         result for underflowing pow the same as for overflow.
74170         (__kernel_standard_l): Handle powl overflow and underflow here
74171         rather than calling __kernel_standard.
74172         * math/libm-test.inc (pow_test): Add more tests.
74174         [BZ #3868]
74175         [BZ #13879]
74176         [BZ #13910]
74177         [BZ #13911]
74178         [BZ #13912]
74179         [BZ #13913]
74180         [BZ #13915]
74181         [BZ #13916]
74182         [BZ #13917]
74183         [BZ #13918]
74184         [BZ #13919]
74185         [BZ #13920]
74186         [BZ #13921]
74187         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
74188         * sysdeps/ieee754/k_standard.c: Include <float.h>.
74189         (__kernel_standard_l): New function.
74190         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
74191         __kernel_standard.
74192         * math/w_acosl.c (__acosl): Likewise.
74193         * math/w_asinl.c (__asinl): Likewise.
74194         * math/w_atan2l.c (__atan2l): Likewise.
74195         * math/w_atanhl.c (__atanhl): Likewise.
74196         * math/w_coshl.c (__coshl): Likewise.
74197         * math/w_exp10l.c (__exp10l): Likewise.
74198         * math/w_exp2l.c (__exp2l): Likewise.
74199         * math/w_fmodl.c (__fmodl): Likewise.
74200         * math/w_hypotl.c (__hypotl): Likewise.
74201         * math/w_j0l.c (__j0l, __y0l): Likewise.
74202         * math/w_j1l.c (__j1l, __y1l): Likewise.
74203         * math/w_jnl.c (__jnl, __ynl): Likewise.
74204         * math/w_lgammal.c (__lgammal): Likewise.
74205         * math/w_log10l.c (__log10l): Likewise.
74206         * math/w_log2l.c (__log2l): Likewise.
74207         * math/w_logl.c (__logl): Likewise.
74208         * math/w_powl.c (__powl): Likewise.
74209         * math/w_remainderl.c (__remainderl): Likewise.
74210         * math/w_scalbl.c (sysv_scalbl): Likewise.
74211         * math/w_sinhl.c (__sinhl): Likewise.
74212         * math/w_sqrtl.c (__sqrtl): Likewise.
74213         * math/w_tgammal.c (__tgammal): Likewise.
74214         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
74215         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
74216         * math/libm-test.inc (acos_test): Add more tests.
74217         (acosh_test): Likewise.
74218         (asin_test): Likewise.
74219         (atanh_test): Likewise.
74220         (exp_test): Likewise.
74221         (exp10_test): Likewise.
74222         (exp2_test): Likewise.
74223         (expm1_test): Likewise.
74224         (lgamma_test): Likewise.
74225         (log_test): Likewise.
74226         (log10_test): Likewise.
74227         (log1p_test): Likewise.
74228         (log2_test): Likewise.
74229         (pow_test): Do not allow some spurious overflow exceptions.
74230         (sqrt_test): Add more tests.
74231         (tgamma_test): Likewise.
74232         (y0_test): Likewise.
74233         (y1_test): Likewise.
74234         (yn_test): Likewise.
74236 2012-03-27  Anton Blanchard  <anton@samba.org>
74238         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
74239         MAP_HUGETLB.
74240         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74241         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74242         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74244 2012-03-27  David S. Miller  <davem@davemloft.net>
74246         * conform/Makefile: Run run-conformtest.sh using $(BASH).
74248         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
74249         have-as-vis3 check.
74251 2012-03-27  Andreas Jaeger  <aj@suse.de>
74253         * sysdeps/x86_64/elf/configure.in: Moved to ...
74254         * sysdeps/x86_64/configure.in: ... here.
74255         * sysdeps/x86_64/elf/start.S: Moved to ...
74256         * sysdeps/x86_64/start.S: ... here.
74257         * sysdeps/x86_64/elf/configure: Delete.
74259         * sysdeps/x86_64/configure.in: Merge contents from
74260         sysdeps/i386/configure.in (without i686 check).
74262         * sysdeps/i386/elf/Versions: Merge into ...
74263         * sysdeps/i386/Versions: ... this.
74264         * sysdeps/i386/elf/Versions: Delete file.
74265         * sysdeps/i386/elf/start.S: Moved to ...
74266         * sysdeps/i386/start.S: ...here.
74267         * sysdeps/i386/elf/configure.in: Merge into...
74268         * sysdeps/i386/configure.in: ...here.
74269         * sysdeps/i386/elf/configure.in: Delete file.
74270         * sysdeps/i386/elf/configure: Delete file.
74272         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
74273         * debug/backtracesyms.c: ... here.
74274         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
74275         * debug/backtracesymsfd.c: ... here.
74276         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
74277         * sysdeps/generic/ifunc-sel.h: ... here.
74279         * sysdeps/unix/i386/start.c: Delete file.
74280         * sysdeps/unix/sparc/start.c: Delete file.
74281         * sysdeps/unix/start.c: Delete file.
74283         * sysdeps/sh/elf/configure.in: Moved to ...
74284         * sysdeps/sh/configure.in: ... here.
74285         * sysdeps/sh/elf/start.S: Moved to ...
74286         * sysdeps/sh/start.S: ... here.
74287         * sysdeps/sh/elf/configure: Delete file.
74289         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
74290         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
74291         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
74292         * sysdeps/powerpc/powerpc64/entry.h: ... here.
74293         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
74294         * sysdeps/powerpc/powerpc64/start.S: here.
74295         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
74296         * sysdeps/powerpc/powerpc64/Makefile: ... this.
74297         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
74298         * sysdeps/powerpc/powerpc64/configure.in: ... this.
74299         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
74301         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
74302         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
74303         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
74304         * sysdeps/powerpc/powerpc32/start.S: ... here.
74305         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
74306         * sysdeps/powerpc/powerpc32/configure.in: ... this.
74307         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
74309         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
74310         * sysdeps/powerpc/ifunc-sel.h: ... here.
74311         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
74312         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
74314         * sysdeps/sparc/elf/configure.in: Moved to ...
74315         * sysdeps/sparc/configure.in: ... here.
74316         * sysdeps/sparc/elf/configure: Delete file.
74317         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
74318         * sysdeps/sparc/sparc32/start.S: ... here.
74319         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
74320         * sysdeps/sparc/sparc64/start.S: ... here.
74321         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
74322         * sysdeps/sparc/sparc32/Makefile: ... this.
74323         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
74324         * sysdeps/sparc/sparc64/Makefile: ... this.
74326         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
74327         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
74328         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
74329         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
74330         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
74331         * sysdeps/s390/s390-32/setjmp.S: ... here.
74332         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
74333         * sysdeps/s390/s390-32/configure.in: ... here.
74334         * sysdeps/s390/s390-32/elf/configure: Delete file.
74335         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
74336         * sysdeps/s390/s390-32/start.S: ... here.
74338         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
74339         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
74340         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
74341         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
74342         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
74343         * sysdeps/s390/s390-64/setjmp.S: ... here.
74344         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
74345         * sysdeps/s390/s390-64/configure.in: ... here
74346         * sysdeps/s390/s390-64/elf/configure: Delete file.
74347         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
74348         * sysdeps/s390/s390-64/start.S: ... here.
74349         * sysdeps/s390/s390-64/elf/configure: Delete.
74351         * configure.in: Remove support for elf directories in sysdeps.
74353         * configure: Regenerated.
74354         * sysdeps/i386/configure: Regenerated.
74355         * sysdeps/powerpc/powerpc32/configure: Regenerated.
74356         * sysdeps/powerpc/powerpc64/configure: Regenerated.
74357         * sysdeps/s390/s390-32/configure: Regenerated.
74358         * sysdeps/s390/s390-64/configure: Regenerated.
74359         * sysdeps/sh/configure: Regenerated.
74360         * sysdeps/sparc/configure: Regenerated.
74361         * sysdeps/x86_64/configure: Regenerated.
74363 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
74365         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74367         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
74368         denormal result into account.
74370 2012-03-25  Roland McGrath  <roland@hack.frob.com>
74372         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
74373         Reported by Allan McRae <allan@archlinux.org>.
74375 2012-03-23  Jeff Law  <law@redhat.com>
74377         * nss/getnssent.c (__nss_getent): Fix typo.
74379 2012-03-23  David S. Miller  <davem@davemloft.net>
74381         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74383 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
74385         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
74386         to pad to uint64_t for each field.
74387         (dl_tls_index): Replace unsigned long with uint64_t.
74389 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
74390         Paul Pluzhnikov  <ppluzhnikov@google.com>
74392         [BZ #6528]
74393         * grp/Makefile (otherlibs): Don't set it.
74394         * inet/Makefile (otherlibs): Likewise.
74395         * login/Makefile (otherlibs): Likewise.
74396         * nscd/Makefile (otherlibs): Likewise.
74397         * posix/Makefile (otherlibs): Likewise.
74398         * pwd/Makefile (otherlibs): Likewise.
74399         * rt/Makefile (otherlibs): Likewise.
74400         * sunrpc/Makefile (otherlibs): Likewise.
74401         * nss/Makefile (otherlibs): Likewise.
74402         Add libnss_files to routines and static-only-routines.
74403         ($(objpfx)getent): Remove rule.
74404         * resolv/Makefile: Add libnss_dns and libresolv to routines and
74405         static-only-routines.
74407 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
74409         [BZ #13892]
74410         * math/s_cexp.c: Include <float.h>.
74411         (__cexp): Handle exp result overflowing not necessarily
74412         overflowing both real and imaginary parts of result.
74413         * math/s_cexpf.c: Likewise.
74414         * math/s_cexpl.c: Likewise.
74415         * math/libm-test.inc (cexp_test): Add more tests.
74416         * sysdeps/i386/fpu/libm-test-ulps: Update.
74417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74419 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
74421         * include/link.h (ELFW): New macro.
74422         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
74423         Replace ELF64_R_TYPE with ELFW(R_TYPE).
74425 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
74427         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
74428         with uint64_t.
74430 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
74432         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
74433         declaration.
74434         (struct La_x32_retval): Likewise.
74436 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
74438         * sysdeps/x86_64/preconfigure.in: New file.
74439         * sysdeps/x86_64/preconfigure: New generated file.
74441 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
74443         [BZ #13824]
74444         * math/e_exp2l.c: Include <float.h>.
74445         (__ieee754_exp2l): Handle overflow and underflow cases
74446         separately.  Only pass fractional part of argument to
74447         __ieee754_expl.
74448         * math/libm-test.inc (exp2_test): Add more tests.
74450         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
74451         negating x to take absolute value.
74452         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
74453         Likewise.
74454         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
74455         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
74456         Likewise.
74457         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
74458         computing low part if x was negated.
74459         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
74461 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
74463         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
74464         la_x32_gnu_pltexit.
74465         (pltexit): Cast int_retval to ptrdiff_t.
74466         * elf/tst-auditmod3b.c: Likewise.
74467         * elf/tst-auditmod4b.c: Likewise.
74468         * elf/tst-auditmod5b.c: Likewise.
74469         * elf/tst-auditmod6b.c: Likewise.
74470         * elf/tst-auditmod6c.c: Likewise.
74471         * elf/tst-auditmod7b.c: Likewise.
74473         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
74474         and x32_gnu_pltexit.
74476         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
74477         __ELF_NATIVE_CLASS.
74478         (La_x32_regs): New macro.
74479         (La_x32_retval): Likewise.
74480         (la_x32_gnu_pltenter): New function prototype.
74481         (la_x32_gnu_pltexit): Likewise.
74483 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
74485         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
74486         exponent.
74488         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74490         * configure.in (libc_cv_cc_nofma): Check for option to disable
74491         generation of FMA instructions.
74492         * configure: Regenerate.
74493         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
74494         * sysdeps/ieee754/dbl-64/Makefile: New file.
74495         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
74496         Remove brandred-fma4.
74497         (CFLAGS-brandred-fma4.c): Remove.
74498         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
74499         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
74500         define.
74501         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
74502         define.
74504 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
74506         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
74507         LLONG_MAX != LONG_MAX.
74508         (_itoa_word): Use _ITOA_WORD_TYPE on value.
74509         (_fitoa_word): Likewise.
74510         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
74511         LLONG_MAX != LONG_MAX.
74512         * stdio-common/_itowa.h: Include <_itoa.h>.
74513         (_itowa_word): Use _ITOA_WORD_TYPE on value.
74514         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
74515         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
74516         only if not defined.
74517         (_ITOA_WORD_TYPE): Likewise.
74518         (_itoa_word): Use _ITOA_WORD_TYPE on value.
74519         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
74521 2012-03-21  David S. Miller  <davem@davemloft.net>
74523         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74525 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
74527         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
74528         of x86_64 when setting libc_cv_slibdir, libdir and
74529         libc_cv_localedir.
74530         * sysdeps/unix/sysv/linux/configure: Regenerated.
74532 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
74534         * manual/lang.texi (Old Varargs): Remove section.
74535         (How Variadic): Update menu.
74536         (va_start): Do not mention varargs.h.
74538 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
74539             Joseph Myers  <joseph@codesourcery.com>
74541         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
74542         link test.
74543         * configure: Regenerated.
74545 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
74547         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
74548         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
74549         conformtest.pl
74551 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
74553         * NOTES: Remove.
74554         * Makefile (files-for-dist): Remove NOTES.
74555         (NOTES): Remove rule.
74556         * README: Don't refer to NOTES.
74557         * manual/creature.texi: Don't include macros.texi.
74558         * manual/intro.texi (creature.texi): Remove comment referring to
74559         NOTES.
74561         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
74562         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
74563         * configure: Regenerated.
74564         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
74565         LIBC_TRY_CC_OPTION.
74566         (libc_cv_as_i686): Likewise.
74567         (libc_cv_cc_avx): Likewise.
74568         (libc_cv_cc_sse2avx): Likewise.
74569         (libc_cv_cc_fma4): Likewise.
74570         (libc_cv_cc_novzeroupper): Likewise.
74571         * sysdeps/i386/configure: Regenerated.
74573         [BZ #13883]
74574         * sysdeps/i386/fpu/s_cexp.S: Remove.
74575         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
74576         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
74577         * math/libm-test.inc (cexp_test): Add more tests.
74578         * sysdeps/i386/fpu/libm-test-ulps: Update.
74579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74581 2012-03-21  Allan McRae  <allan@archlinux.org>
74583         * timezone/Makefile: Do not install iso3166.tab and zone.tab
74585 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
74587         [BZ #13871]
74588         * math/w_exp2.c: Do not include <float.h>.
74589         (o_threshold, u_threshold): Remove.
74590         (__exp2): Calculate result before checking finiteness and calling
74591         __kernel_standard.
74592         * math/w_exp2f.c: Likewise.
74593         * math/w_exp2l.c: Likewise.
74594         * math/libm-test.inc (exp2_test): Require overflow exception for
74595         1e6 input.
74597         [BZ #3866]
74598         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
74599         range of signed 64-bit integers before using fistpll.  Remove
74600         checks for whether integers fit in mantissa bits.
74601         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
74602         the range of signed 32-bit integers before using fistpl.  Remove
74603         checks for whether integers fit in mantissa bits.
74604         * sysdeps/i386/fpu/e_powl.S (p64): New object.
74605         (__ieee754_powl): Test for y outside the range of signed 64-bit
74606         integers before using fistpll.  Reduce 64-bit values to 63-bit
74607         ones as needed.
74608         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
74609         divide-by-zero is raised for zero to large negative powers.
74610         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
74611         (__ieee754_powl): Test for y outside the range of signed 64-bit
74612         integers before using fistpll.  Reduce 64-bit values to 63-bit
74613         ones as needed.
74614         * math/libm-test.inc (pow_test): Add more tests.
74616 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
74618         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
74619         <stdio-common/_itoa.h>.
74620         * debug/segfault.c: Likewise.
74621         * elf/dl-cache.c: Likewise.
74622         * elf/dl-minimal.c: Likewise.
74623         * elf/dl-misc.c: Likewise.
74624         * elf/dl-sysdep.c: Likewise.
74625         * elf/dl-version.c: Likewise.
74626         * elf/rtld.c: Likewise.
74627         * hurd/hurdsock.c: Likewise.
74628         * hurd/lookup-retry.c: Likewise.
74629         * malloc/malloc.c: Likewise.
74630         * malloc/mtrace.c: Likewise.
74631         * nscd/nscd_getgr_r.c: Likewise.
74632         * nscd/nscd_getpw_r.c: Likewise.
74633         * nscd/nscd_getserv_r.c: Likewise.
74634         * posix/getopt_init.c: Likewise.
74635         * posix/wordexp.c: Likewise.
74636         * stdio-common/_itoa.c: Likewise.
74637         * stdio-common/printf_fphex.c: Likewise.
74638         * stdio-common/vfprintf.c: Likewise.
74639         * string/_strerror.c: Likewise.
74640         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
74641         * sysdeps/i386/i686/hp-timing.h: Likewise.
74642         * sysdeps/mach/_strerror.c: Likewise.
74643         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
74644         * sysdeps/mach/hurd/sethostid.c: Likewise.
74645         * sysdeps/mach/hurd/xmknodat.c: Likewise.
74646         * sysdeps/mach/xpg-strerror.c: Likewise.
74647         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
74648         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
74649         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
74650         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
74651         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
74652         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
74653         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
74654         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
74655         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
74656         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
74657         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
74658         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
74659         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
74660         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
74661         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
74662         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
74663         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
74664         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
74665         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
74666         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
74667         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
74669         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
74671         * stdio-common/_itoa.h: Moved to ...
74672         * sysdeps/generic/_itoa.h: Here.
74674         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
74676         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
74677         instead of "_itoa.h" and "_itowa.h".
74678         * stdio-common/vfprintf.: Likewise.
74680 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
74682         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
74683         <bits/wordsize.h>.
74684         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
74685         (__signbit): Likewise.
74686         (llrintf): Likewise.
74687         (llrint): Likewise.
74689 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
74691         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
74692         __WORDSIZE != 64.
74694 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
74696         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
74697         OVERFLOW_EXCEPTION_OK.
74698         * math/libm-test.inc ("Philosophy"): Update comment about
74699         exception testing.
74700         (OVERFLOW_EXCEPTION): Define.
74701         (OVERFLOW_EXCEPTION_OK): Likewise.
74702         (INVALID_EXCEPTION_OK): Renumber.
74703         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
74704         (IGNORE_ZERO_INF_SIGN): Likewise.
74705         (test_exceptions): Handle FE_OVERFLOW.
74706         (exp10_test): Expect overflow exceptions.
74707         (exp2_test): Likewise.
74708         (expm1_test): Likewise.
74709         (nextafter_test): Likewise.
74710         (pow_test): Likewise.
74711         (scalbn_test): Likewise.
74712         (scalbln_test): Likewise.
74714 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
74716         * sysdeps/x86_64/bits/atomic.h
74717         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
74718         64bit integer.
74719         (atomic_exchange_acq): Likewise.
74720         (__arch_exchange_and_add_body): Likewise.
74721         (__arch_add_body): Likewise.
74722         (atomic_add_negative): Likewise.
74723         (atomic_add_zero): Likewise.
74725 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
74727         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
74728         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
74730 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
74732         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
74733         Check __x86_64__ instead of __WORDSIZE.
74735 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
74737         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
74739 2012-03-19  David S. Miller  <davem@davemloft.net>
74741         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74743         * sysdeps/sparc/fpu/fenv_private.h: New file.
74744         * sysdeps/sparc/fpu/math_private.h: Use it.
74745         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
74746         Remove.
74747         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
74748         (libc_feholdexcept_setroundl): Remove.
74749         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
74750         Remove.
74751         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
74752         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
74754 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
74756         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
74757         int64_t instead of long int.
74758         (INSERT_WORDS64): Likewise.
74760 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
74762         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
74763         _Unwind_GetCFA return to _Unwind_Ptr first.
74765 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
74767         [BZ #13629]
74768         * math/s_clog.c: Include <float.h>.
74769         (__clog): Scale large or subnormal inputs.
74770         * math/s_clogf.c: Likewise.
74771         * math/s_clogl.c: Likewise.
74772         * math/s_clog10.c: Include <float.h>.
74773         (M_LOG10_2): Define.
74774         (__clog10): Scale large or subnormal inputs.
74775         * math/s_clog10f.c: Likewise.
74776         * math/s_clog10l.c: Likewise.
74777         * math/libm-test.inc (clog_test): Add more tests.
74778         (clog10_test): Likewise.
74779         * sysdeps/i386/fpu/libm-test-ulps: Update.
74780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74782         [BZ #11451]
74783         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
74784         x and y.
74785         * math/libm-test.inc (atan2_test): Add another test.
74787         * Makerules (common-objdir-compile): Remove.
74788         * sysdeps/unix/Makefile (config-generated): Do not add
74789         $(unix-generated) to variable.
74790         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
74791         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
74792         Remove rule.
74793         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
74794         Likewise.
74795         [generic bits/local_lim.h] (before-compile): Do not append to
74796         variable.
74797         [generic bits/local_lim.h] (common-generated): Likewise.
74798         [generic sys/param.h] (before-compile): Do not append to variable.
74799         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
74800         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
74801         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
74802         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
74803         include.
74804         [generic sys/param.h] (sys/param.h-includes): Remove variable.
74805         [generic sys/param.h] (sys/param.h-includes): Remove rule.
74806         [generic sys/param.h] ($(addprefix
74807         $(common-objpfx),$(sys/param.h-includes))): Likewise.
74808         [generic sys/param.h] (common-generated): Do not append to
74809         variable.
74810         [generic sys/param.h] (sysdep_headers): Likewise.
74811         [generic bits/errno.h] (before-compile): Do not append to
74812         variable.
74813         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
74814         rule.
74815         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
74816         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
74817         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
74818         [generic bits/errno.h] (common-generated): Do not append to
74819         variable.
74820         [generic bits/ioctls.h] (before-compile): Do not append to
74821         variable.
74822         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
74823         rule.
74824         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
74825         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
74826         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
74827         rule.
74828         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
74829         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
74830         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
74831         [generic bits/ioctls.h] (common-generated): Do not append to
74832         variable.
74833         [generic sys/syscall.h] (syscall.h): Remove variable.
74834         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
74835         rule.
74836         [generic sys/syscall.h] (before-compile): Do not append to
74837         variable.
74838         [generic sys/syscall.h] (common-generated): Likewise.
74839         * sysdeps/unix/errnos-tmpl.c: Remove file.
74840         * sysdeps/unix/errnos.awk: Likewise.
74841         * sysdeps/unix/ioctls-tmpl.c: Likewise.
74842         * sysdeps/unix/ioctls.awk: Likewise.
74843         * sysdeps/unix/mk-local_lim.c: Likewise.
74844         * sysdeps/unix/snarf-ioctls: Likewise.
74846 2012-03-19  Richard Henderson  <rth@twiddle.net>
74848         * sysdeps/i386/fpu/fenv_private.h: New file.
74849         * sysdeps/i386/fpu/math_private.h: Use it.
74850         (math_opt_barrier, math_force_eval): Remove.
74851         (libc_feholdexcept_setround_53bit): Remove.
74852         (libc_feupdateenv_53bit): Remove.
74853         * sysdeps/x86_64/fpu/math_private.h: Likewise.
74854         (math_opt_barrier, math_force_eval): Remove.
74855         (libc_feholdexcept): Remove.
74856         (libc_feholdexcept_setround): Remove.
74857         (libc_fetestexcept, libc_fesetenv): Remove.
74858         (libc_feupdateenv_test): Remove.
74859         (libc_feupdateenv, libc_feholdsetround): Remove.
74860         (libc_feresetround): Remove.
74862         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
74863         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
74865         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
74866         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
74867         (libc_feupdateenv_testl): New.
74868         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
74869         (libc_feupdateenv_testf): New.
74870         (libc_feupdateenv): Use libc_feupdateenv_test.
74871         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
74872         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
74874         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
74875         (libc_feholdsetroundf, libc_feholdsetroundl): New.
74876         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
74877         (libc_feresetround_noex): New.
74878         (libc_feresetround_noexf): New.
74879         (libc_feresetround_noexl): New.
74880         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
74881         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
74882         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
74883         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
74884         SET_RESTORE_ROUND.
74885         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
74886         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
74887         (__cos): Likewise.
74888         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
74889         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
74890         SET_RESTORE_ROUND_NOEX.
74891         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
74892         SET_RESTORE_ROUND_NOEXF.
74893         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
74894         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
74895         (libc_feholdsetroundf): New.
74896         (libc_feresetround, libc_feresetroundf): New.
74898         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
74899         (libc_feholdexcept_setround_53bit): Convert from macro to function.
74900         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
74902         * sysdeps/generic/math_private.h: Include <fenv.h>.
74903         (default_libc_feholdexcept): New.
74904         (default_libc_feholdexcept_setround): New.
74905         (default_libc_fesetenv, default_libc_feupdateenv): New.
74906         (libc_feholdexcept): Only define if undefined.
74907         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
74908         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
74909         (libc_feholdexcept_setroundl): Likewise.
74910         (libc_feholdexcept_setround_53bit): Likewise.
74911         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
74912         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
74913         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
74914         (libc_feupdateenv_53bit): Likewise.
74915         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
74916         (libc_feholdexcept): Convert from macro to inline function.
74917         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
74918         (libc_fesetenv, libc_feupdateenv): Likewise.
74920         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
74921         not previously defined.
74922         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
74923         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
74924         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
74925         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
74926         * sysdeps/ieee754/flt-32/math_private.h: New file.
74927         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
74928         math_private.h below SET_FLOAT_WORD.
74929         (__isnan, __isinf_ns, __finite): Remove.
74930         (__isnanf, __isinf_nsf, __finitef): Remove.
74932 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
74934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74936 2012-03-17  David S. Miller  <davem@davemloft.net>
74938         [BZ #6471]
74939         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
74940         for 2.16.
74942 2012-03-16  David S. Miller  <davem@davemloft.net>
74944         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
74945         warnings.
74947         [BZ #6471]
74948         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
74949         properly.
74950         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
74951         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
74952         sysdep_routines when subdir is sysvipc.
74953         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
74954         __getshmlba helper.
74956         * sysdeps/sparc/fpu/libm-test/ulps: Update.
74958 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
74960         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
74961         [__LP64__].
74963 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
74965         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
74966         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
74967         (__lround): Renamed to ...
74968         (__llround): This.  Replace long int with long long int.
74969         Define lround functions as aliases of llround functions.
74970         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
74972 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
74974         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
74975         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
74976         adresses to uintptr_t.  Replace "long int" and "unsigned long
74977         int" with "greg_t" on va_arg.
74979 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
74981         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
74982         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
74984         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
74985         Move e_machine check before EI_CLASS check.  Handle x32
74986         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
74987         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
74988         SKIP_EM_IA_64 and include
74989         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
74991         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
74992         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
74993         (add_system_dir): New macro.
74995         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
74996         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
74998 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
75000         [BZ #2551]
75001         [BZ #2552]
75002         [BZ #2553]
75003         [BZ #2554]
75004         [BZ #2562]
75005         [BZ #2563]
75006         [BZ #2565]
75007         [BZ #2566]
75008         [BZ #2576]
75009         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
75010         (y0): Likewise.
75011         * math/w_j0f.c (j0f): Likewise.
75012         (y0f): Likewise.
75013         * math/w_j0l.c (__j0l): Likewise.
75014         (__y0l): Likewise.
75015         * math/w_j1.c (j1): Likewise.
75016         (y1): Likewise.
75017         * math/w_j1f.c (j1f): Likewise.
75018         (y1f): Likewise.
75019         * math/w_j1l.c (__j1l): Likewise.
75020         (__y1l): Likewise.
75021         * math/w_jn.c (jn): Likewise.
75022         (yn): Likewise.
75023         * math/w_jnf.c (jnf): Likewise.
75024         (ynf): Likewise.
75025         * math/w_jnl.c (__jnl): Likewise.
75026         (__ynl): Likewise.
75027         * math/libm-test.inc (j0_test): Add more tests.
75028         (j1_test): Likewise.
75029         (jn_test): Likewise.  Add trailing semicolon to existing test.
75030         (y0_test): Likewise.
75031         (y1_test): Likewise.
75032         * sysdeps/i386/fpu/libm-test-ulps: Update.
75033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75035         [BZ #13851]
75036         [BZ #13854]
75037         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
75038         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
75039         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
75040         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
75041         (__tanl): Set errno for infinite argument.
75042         * sysdeps/i386/fpu/mptan.c: Remove.
75043         * sysdeps/i386/fpu/s_tan.S: Likewise.
75044         * sysdeps/i386/fpu/s_tanl.S: Likewise.
75045         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
75046         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
75047         * math/libm-test.inc (tan_test): Add more tests and enable more
75048         tests for double and long double.
75049         * sysdeps/i386/fpu/libm-test-ulps: Update.
75050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75052 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
75054         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
75055         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
75057 2012-03-16  Roland McGrath  <roland@hack.frob.com>
75059         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
75060         * configure.in: Use it for both main tree and add-ons.
75061         * configure: Regenerated.
75063 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75065         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
75067 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
75069         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
75070         in comment.
75072         [BZ #13851]
75073         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
75074         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
75075         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
75076         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
75077         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
75078         infinite argument.
75079         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
75080         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
75081         != 0 for prec == 2.
75082         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
75083         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
75084         * sysdeps/i386/fpu/s_cosl.S: Likewise.
75085         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
75086         * sysdeps/i386/fpu/s_sinl.S: Likewise.
75087         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
75088         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
75089         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
75090         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
75091         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
75092         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
75093         * math/libm-test.inc (cos_test): Add more tests and enable more
75094         tests for long double.
75095         (sin_test): Likewise.
75096         (sincos_test): Likewise.
75097         * sysdeps/i386/fpu/libm-test-ulps: Update.
75098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75100 2012-03-16  David S. Miller  <davem@davemloft.net>
75102         * sysdeps/sparc/fpu/math_private.h: New file.
75104 2012-03-15  David S. Miller  <davem@davemloft.net>
75106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
75107         file.
75108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
75109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
75110         file.
75111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
75112         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
75113         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
75114         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
75115         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
75116         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
75117         sysdep routines.
75118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75120         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
75121         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
75123         * sysdeps/sparc/sparc-ifunc.h: New file.
75124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
75125         sparc-ifunc.h
75126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
75127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
75128         Likewise.
75129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
75130         Likewise.
75131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
75132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
75133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
75134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
75135         Likewise.
75136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
75137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
75138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
75139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
75140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
75141         Likewise.
75142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
75143         Likewise.
75144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
75145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
75146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
75147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
75148         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
75149         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
75150         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
75151         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
75152         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
75153         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
75154         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
75155         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
75156         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
75157         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
75158         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
75159         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
75160         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
75161         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
75162         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
75163         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
75164         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
75165         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
75166         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
75167         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
75169 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
75171         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
75172         scaling.
75173         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75175 2012-03-15  Andreas Jaeger  <aj@suse.de>
75177         [BZ #13852]
75178         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
75179         ieee754/flt-32 implementation for sin, cos and sincos.
75180         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
75181         * sysdeps/i386/fpu/s_cosf.S: Likewise.
75182         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
75183         * sysdeps/i386/fpu/s_sinf.S: Likewise.
75184         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
75185         ieee754/flt-32 implementation for tan.
75187         * math/libm-test.inc (cos_test): Enable some large input tests for
75188         float as well
75189         (sin_test): Likewise.
75190         (sincos_test): Likewise.
75191         (tan_test): Add tests for large input.
75193         * sysdeps/i386/fpu/libm-test-ulps: Update.
75195 2012-03-15  Andreas Jaeger  <aj@suse.de>
75197         [BZ #13658]
75198         * math/libm-test.inc (cos_test): Add more test cases.
75199         (sin_test): Likewise.
75200         (sincos_test): Likewise.
75202 2012-03-15  Andreas Jaeger  <aj@suse.de>
75204         [BZ #13837]
75205         * math/libm-test.inc (cos_test): Add a test case for large input
75206         value.
75207         (sin_test): Likewise.
75208         (sincos_test): Likewise.
75210 2012-03-15  Andreas Jaeger  <aj@suse.de>
75211             Joseph Myers  <joseph@codesourcery.com>
75213         [BZ #13658]
75214         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
75215         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
75216         * sysdeps/i386/fpu/branred.c: Likewise.
75217         * sysdeps/i386/fpu/dosincos.c: Likewise.
75218         * sysdeps/i386/fpu/mpa.c: Likewise.
75219         * sysdeps/i386/fpu/s_cos.S: Likewise.
75220         * sysdeps/i386/fpu/s_sin.S: Likewise.
75221         * sysdeps/i386/fpu/s_sincos.S: Likewise.
75222         * sysdeps/i386/fpu/sincos32.c: Likewise.
75224         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
75225         Define.
75226         (libc_feupdateenv_53bit): Define.
75227         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
75228         Define.
75229         (libc_feupdateenv_53bit): Define.
75231         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
75232         53 bit (without extend i386 double precision).
75234         * math/libm-test.inc (sincos_test): Add tests for large input.
75235         (sin): Likewise.
75236         (cos): Likewise.
75238         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
75240 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
75242         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75244 2012-03-15  David S. Miller  <davem@davemloft.net>
75246         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
75247         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
75248         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
75249         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
75250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
75251         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
75252         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
75253         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
75254         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
75255         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
75256         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
75257         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
75258         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
75259         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
75260         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
75261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
75262         file.
75263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
75264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
75265         file.
75266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
75267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
75268         file.
75269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
75270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
75271         file.
75272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
75273         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
75274         fmin/fmax sysdep routines.
75275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75277 2012-03-14  David S. Miller  <davem@davemloft.net>
75279         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
75280         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
75281         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
75282         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
75283         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
75284         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
75285         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
75286         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
75287         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
75288         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
75289         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
75290         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
75291         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
75292         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
75293         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
75294         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
75295         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
75296         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
75297         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
75298         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
75299         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
75300         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
75301         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
75302         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
75303         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
75304         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
75305         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
75306         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
75307         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
75308         routines.
75309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
75310         file.
75311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
75312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
75313         file.
75314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
75315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
75316         file.
75317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
75318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
75319         file.
75320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
75321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
75322         file.
75323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
75324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
75325         file.
75326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
75327         file.
75328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
75329         file.
75330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
75331         file.
75332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
75333         New file.
75334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
75335         file.
75336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
75337         file.
75338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
75339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
75340         file.
75341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
75342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
75343         file.
75344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
75345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
75346         file.
75347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
75348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
75349         VIS3 routines.
75351         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
75352         New file.
75354         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75356         * sysdeps/sparc/configure.in: New file.
75357         * sysdeps/sparc/configure: Generate.
75358         * configure.in (libc_cv_sparc_as_vis3): Substitute.
75359         * configure: Regenerate.
75360         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
75361         * config.make.in (have-as-vis3): New.
75362         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
75363         available use -Av9d instead of -Av9a.
75364         * sysdeps/sparc/sparc64/Makefile: Likewise.
75365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
75366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
75367         New file.
75368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
75369         file.
75370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
75371         New file.
75372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
75373         file.
75374         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
75375         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
75376         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
75377         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
75378         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
75380         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
75381         fzeros/fnegs to load 0x80000000 into a float register instead of
75382         using the stack.
75383         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
75385 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
75387         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75388         bits/syscall.h.
75389         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
75390         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
75391         ($(inst_includedir)/bits/syscall.h): Remove rule.
75392         ($(objpfx)bits/syscall.d): Include instead of
75393         $(objpfx)syscall-list.d.
75394         (generated): Change syscall-list.h and syscall-list.d to
75395         bits/syscall.h and bits/syscall.d.
75397 2012-03-14  Roland McGrath  <roland@hack.frob.com>
75399         [BZ #13846]
75400         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
75402 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
75404         [BZ #13841]
75405         * math/s_csqrt.c: Include <float.h>.
75406         (__csqrt): Scale large or subnormal inputs.
75407         * math/s_csqrtf.c: Likewise.
75408         * math/s_csqrtl.c: Likewise.
75409         * math/libm-test.inc (csqrt_test): Add more tests.
75410         * sysdeps/i386/fpu/libm-test-ulps: Update.
75411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75413         [BZ #13840]
75414         * math/libm-test.inc (hypot_test): Add more tests.
75416 2012-03-13  David S. Miller  <davem@davemloft.net>
75418         [BZ #13840]
75419         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
75420         double-precision for the calculation instead of scaling.
75422 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
75424         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
75425         manipulate bits before adding and subtracting TWO52[sx].
75426         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
75427         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
75428         Likewise.
75429         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
75431 2012-03-13  David S. Miller  <davem@davemloft.net>
75433         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
75434         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
75435         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
75436         rtld-global-offsets.h
75437         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75439         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
75440         large parameters.
75442         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
75444         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
75445         'err' in the ifdef scope in which it is actually used.
75447         * nss/nss_db/db-init.c: Include string.h
75449 2012-03-12  David S. Miller  <davem@davemloft.net>
75451         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
75452         masking out of the most significant byte of random value used.
75453         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75454         Fix coding style in previous change.
75456         * sysdeps/unix/sysv/linux/kernel-features.h
75457         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
75458         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
75459         expression.
75460         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
75461         later.
75463 2012-03-11  David S. Miller  <davem@davemloft.net>
75465         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
75466         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
75467         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
75468         for 'resultvar' otherwise things get truncated on 64-bit.
75470         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75471         Fix masking out of the most significant byte of random value used.
75473         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75475 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
75477         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75479 2012-03-09  David S. Miller  <davem@davemloft.net>
75481         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
75482         variables with appropriate CPP guards.
75483         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
75484         from the frame pointer, not the stack pointer.  Correct layout
75485         comments.  Fix test on resulting framesize and the management of
75486         the outregs buffer for pltexit.  Preserve floating point return
75487         values across _dl_call_pltexit call.
75488         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
75489         framesize and the management of the outregs buffer for pltexit.
75490         Preserve floating point return values across _dl_call_pltexit
75491         call.
75492         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
75493         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
75494         (la_sparc64_gnu_pltexit): New functions.
75495         (print_exit): Fix format string for return register value.
75497 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
75499         * sunrpc/Makefile (others): Add rpcgen.
75500         ($(objpfx)rpcgen): Remove special build rule and dependency on
75501         libc.
75502         * sunrpc/rpcgen.c: New file.
75504 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
75506         [BZ #13673]
75507         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
75508         * stdio-common/bug-vfprintf-nargs.c: Likewise.
75509         * sysdeps/i386/crti.S: Likewise.
75510         * sysdeps/i386/crtn.S: Likewise.
75511         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
75512         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
75513         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
75514         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
75515         * sysdeps/sh/crti.S: Likewise.
75516         * sysdeps/sh/crtn.S: Likewise.
75517         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
75519         [BZ #13673]
75520         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
75521         with URL.
75522         * locale/programs/locfile-kw.gperf: Likewise.
75523         * locale/programs/charmap-kw.h: Regenerated.
75524         * locale/programs/locfile-kw.h: Likewise.
75526         [BZ #13673]
75527         * intl/plural.y: Replace FSF snail mail address with URL.
75528         * intl/plural.c: Regenerated.
75530 2012-03-09  Richard Henderson  <rth@twiddle.net>
75532         * include/math_private.h: Remove file.
75533         * math/math_private.h: Move file ...
75534         * sysdeps/generic/math_private.h: ... here.
75536         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
75537         * sysdeps/powerpc/fpu/math_private.h: Likewise.
75538         * sysdeps/x86_64/fpu/math_private.h: Likewise.
75540         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
75541         and <math_private.h>.
75542         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
75543         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
75544         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
75545         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
75546         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
75547         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
75548         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
75549         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75550         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75551         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75552         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75553         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75554         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75555         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75556         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75557         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
75558         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75559         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
75560         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
75561         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
75562         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75563         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
75564         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
75565         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75566         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
75567         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
75568         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
75569         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75570         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75571         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
75572         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
75573         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75574         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
75575         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
75576         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
75577         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
75578         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
75579         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
75580         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
75581         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75582         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
75583         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
75584         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
75585         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
75586         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
75587         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
75588         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
75589         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
75590         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
75591         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
75592         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
75593         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
75594         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
75595         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
75596         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
75597         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
75598         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75599         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
75600         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
75601         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
75602         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
75603         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
75604         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75605         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
75606         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
75607         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
75608         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
75609         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
75610         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
75611         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
75612         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
75613         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75614         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
75615         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75616         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
75617         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
75618         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
75619         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
75620         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
75621         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
75622         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
75623         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
75624         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
75625         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
75626         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
75627         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
75628         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
75629         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
75630         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
75631         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75632         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75633         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
75634         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75635         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
75636         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
75637         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
75638         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75639         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
75640         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75641         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
75642         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
75643         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
75644         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
75645         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
75646         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
75647         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
75648         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
75649         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
75650         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
75651         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
75652         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
75653         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
75654         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
75655         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
75656         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
75657         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75658         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
75659         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
75660         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
75661         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
75662         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
75663         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
75664         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75665         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
75666         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
75667         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
75668         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
75669         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
75670         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
75671         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
75672         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
75673         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
75674         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
75675         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
75676         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
75677         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
75678         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
75679         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
75680         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
75681         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
75682         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75683         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
75684         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
75685         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
75686         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
75687         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
75688         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
75689         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
75690         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
75691         * sysdeps/ieee754/k_standard.c: Likewise.
75692         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
75693         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
75694         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75695         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
75696         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
75697         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
75698         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
75699         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
75700         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
75701         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
75702         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75703         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
75704         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
75705         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
75706         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
75707         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
75708         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
75709         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
75710         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
75711         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
75712         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
75713         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
75714         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
75715         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
75716         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
75717         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
75718         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
75719         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
75720         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
75721         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
75722         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
75723         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
75724         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
75725         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
75726         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
75727         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
75728         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
75729         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
75730         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
75731         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
75732         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
75733         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
75734         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
75735         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
75736         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
75737         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
75738         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
75739         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
75740         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
75741         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
75742         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
75743         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
75744         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
75745         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
75746         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
75747         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
75748         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
75749         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
75750         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
75751         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
75752         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
75753         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
75754         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
75755         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
75756         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75757         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75758         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
75759         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
75760         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
75761         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
75762         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
75763         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75764         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
75765         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
75766         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
75767         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
75768         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
75769         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
75770         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75771         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
75772         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
75773         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
75774         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
75775         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
75776         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
75777         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
75778         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
75779         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
75780         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
75781         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
75782         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
75783         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
75784         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
75785         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
75786         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
75787         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
75788         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
75789         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
75790         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
75791         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
75792         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
75793         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
75794         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
75795         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
75796         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
75797         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
75798         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
75799         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
75800         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
75801         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
75802         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
75803         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
75804         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75805         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75806         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75807         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75808         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75809         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75810         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75811         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75812         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75813         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75814         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75815         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75816         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75817         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
75818         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
75819         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
75820         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
75821         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
75822         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
75823         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
75824         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
75825         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
75826         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
75827         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
75828         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
75829         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
75830         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
75831         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
75832         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
75833         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
75834         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
75835         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
75836         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
75837         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
75838         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
75839         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
75840         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
75841         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
75842         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
75843         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
75844         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
75845         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
75846         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
75847         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
75848         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
75849         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
75850         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
75851         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
75852         * sysdeps/ieee754/s_lib_version.c: Likewise.
75853         * sysdeps/ieee754/s_matherr.c: Likewise.
75854         * sysdeps/ieee754/s_signgam.c: Likewise.
75855         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75856         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75857         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
75858         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
75859         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
75860         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
75861         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
75862         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
75863         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
75864         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
75865         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
75866         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
75867         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
75868         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
75869         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
75870         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
75871         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
75872         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
75873         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
75874         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
75875         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
75877 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
75879         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
75880         * sunrpc/rpc_main.c: Likewise.
75881         * sunrpc/rpc_svcout.c: Likewise.
75883 2012-03-09  David S. Miller  <davem@davemloft.net>
75885         * include/math_private.h: New file.
75887 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
75889         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
75890         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
75891         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
75892         from <bits/socket_type.h>.
75893         (enum __socket_type): Don't define here.
75894         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
75895         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75896         bits/socket_type.h.
75898         [BZ #13566]
75899         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
75900         checking __USE_GNU.
75902         * Makerules ($(inst_includedir)/%.h): New rule.
75903         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
75904         (install-others): Remove variable setting.
75905         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
75907 2012-03-08  Richard Henderson  <rth@twiddle.net>
75909         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
75910         from macro to inline function; merge with the
75911         !__LIBC_INTERNAL_MATH_INLINES version.
75912         (__ieee754_sqrtf): Likewise.
75914         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
75915         to inline function.
75916         (__rintf, __floor, __floorf): Likewise.
75918         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
75919         macro to inline function.
75920         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
75922         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
75923         not <math/math_private.h>.
75925 2012-03-08  David S. Miller  <davem@davemloft.net>
75927         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
75928         copyright year.
75929         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
75931 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
75933         * resolv/gai_misc.c (handle_requests): Fix struct timespec
75934         normalization.
75935         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
75936         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
75938 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
75940         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
75941         be defined individually, they must be defined as a block.  Define
75942         S for printing a string instead of hidint the different by using a
75943         macro for adding the 'l'.
75944         * stdio-common/tst-fphex-wide.c: Adjust.
75946 2012-03-07  Marek Polacek  <polacek@redhat.com>
75948         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
75950 2012-03-08  Marek Polacek  <polacek@redhat.com>
75952         [BZ #13806]
75953         * stdio-common/Makefile (tests): Add tst-fphex-wide.
75954         * stdio-common/tst-fphex.c: Define a few macros to make the
75955         test reusable.  Use them.
75956         * stdio-common/tst-fphex-wide.c: New file.
75958 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
75960         [BZ #6911]
75961         * manual/macros.texi (gnusystems): New macro.
75962         (nongnusystems): Likewise.
75963         (gnulinuxhurdsystems): Likewise.
75964         (gnuhurdsystems): Likewise..
75965         (gnulinuxsystems): Likewise.
75966         * manual/charset.texi: Use new macros or @theglibc{} to refer to
75967         variants of the GNU system, not "GNU system".
75968         * manual/conf.texi: Likewise.
75969         * manual/errno.texi: Likewise.  Update example of errno macro
75970         expansion.
75971         * manual/filesys.texi: Likewise.
75972         (getumask): Document as specific to GNU/Hurd.
75973         * manual/install.texi: Likewise.  Reword some references to
75974         GNU/Linux.
75975         * manual/intro.texi: Likewise.
75976         * manual/io.texi: Likewise.
75977         (File Name Portability): Detail which constraints are inapplicable
75978         to all GNU systems and which are only inapplicable to GNU/Hurd.
75979         * manual/job.texi: Likewise.
75980         * manual/llio.texi: Likewise.
75981         (O_NOCTTY): Document as present on GNU/Linux.
75982         * manual/maint.texi: Likewise.
75983         * manual/memory.texi: Likewise.
75984         * manual/pattern.texi: Likewise.
75985         * manual/pipe.texi: Likewise.
75986         * manual/process.texi: Likewise.
75987         * manual/resource.texi: Likewise.
75988         (RUSAGE_CHILDREN): Remove statement about specifying a particular
75989         child on GNU/Hurd.
75990         * manual/setjmp.texi: Likewise.
75991         * manual/signal.texi: Likewise.
75992         * manual/startup.texi: Likewise.
75993         * manual/stdio.texi: Likewise.
75994         * manual/terminal.texi: Likewise.
75995         (ONLCR): Document as POSIX.
75996         (OXTABS): Document availability on GNU/Linux as XTABS.
75997         (ONOEOT): Document availability separately from other bits.
75998         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
75999         * manual/time.texi: Likewise.
76000         * manual/users.texi: Likewise.
76001         * INSTALL: Regenerated.
76002         * sysdeps/gnu/errlist.c: Regenerated.
76004         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
76005         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
76006         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
76007         puts.
76008         * configure: Regenerated.
76010 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
76012         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
76013         default includes instead of AC_HEADER_CHECK.
76014         * sysdeps/i386/configure: Regenerated.
76016         [BZ #10716]
76017         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
76018         * math/s_cacoshf.c (__cacoshf): Likewise.
76019         * math/s_cacoshl.c (__cacoshl): Likewise.
76020         * math/s_casinh.c (__casinh): Set signs of result from argument.
76021         * math/s_casinhf.c (__casinhf): Likewise.
76022         * math/s_casinhl.c (__casinhl): Likewise.
76023         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
76024         (casinh_test): Add more tests.
76025         * sysdeps/i386/fpu/libm-test-ulps: Update.
76026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76028 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
76030         * po/zh_TW.po: Update from translation team.
76032         * login/Makefile (distribute): Remove variable.
76033         * catgets/Makefile: Likewise.
76034         * mach/Makefile: Likewise.
76035         * malloc/Makefile: Likewise.
76036         * misc/Makefile: Likewise.
76037         * iconv/Makefile: Likewise.
76038         * nscd/Makefile: Likewise.
76039         * hurd/Makefile: Likewise.
76040         * manual/Makefile: Likewise.
76041         * locale/Makefile: Likewise.
76042         * intl/Makefile: Likewise.
76043         * conform/Makefile: Likewise.
76044         * nss/Makefile: Likewise.
76045         * time/Makefile: Likewise.
76046         * soft-fp/Makefile: Likewise.
76047         * dirent/Makefile: Likewise.
76048         * gmon/Makefile: Likewise.
76049         * po/Makefile: Likewise.
76050         * rt/Makefile: Likewise.
76051         * socket/Makefile: Likewise.
76052         * math/Makefile: Likewise.
76053         * signal/Makefile: Likewise.
76054         * debug/Makefile: Likewise.
76055         * elf/Makefile: Likewise.
76056         * timezone/Makefile: Likewise.
76057         * stdlib/Makefile: Likewise.
76058         * iconvdata/Makefile: Likewise.
76059         * sunrpc/Makefile: Likewise.
76060         * io/Makefile: Likewise.
76061         * argp/Makefile: Likewise.
76062         * inet/Makefile: Likewise.
76063         * hesiod/Makefile: Likewise.
76064         * grp/Makefile: Likewise.
76065         * csu/Makefile: Likewise.
76066         * wctype/Makefile: Likewise.
76067         * crypt/Makefile: Likewise.
76068         * libio/Makefile: Likewise.
76069         * string/Makefile: Likewise.
76070         * nis/Makefile: Likewise.
76071         * resolv/Makefile: Likewise.
76072         * stdio-common/Makefile: Likewise.
76073         * wcsmbs/Makefile: Likewise.
76074         * dlfcn/Makefile: Likewise.
76075         * posix/Makefile: Likewise.
76077         [BZ #6959]
76078         * timezone/Makefile: Don't install timezone files, just the programs
76079         and scripts.
76081 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
76083         * nss/databases.def: Add missing gshadow entry.
76085         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
76087 2012-03-06  Marek Polacek  <polacek@redhat.com>
76089         [BZ #13726]
76090         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
76091         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
76092         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
76093         * stdio-common/tst-long-dbl-fphex.c: New file.
76095 2012-03-06  David S. Miller  <davem@davemloft.net>
76097         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76098         (set_obp_int): New function.
76099         (get_obp_int): New function.
76100         (__get_clockfreq_via_dev_openprom): Likewise.
76101         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
76102         Avoid unused variable warnings on 'val' and use builtin_expect.
76103         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
76104         __builtin_expect.
76105         (INLINE_CLONE_SYSCALL): Likewise.
76107 2012-03-05  David S. Miller  <davem@davemloft.net>
76109         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76111 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
76113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76115         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
76116         only for |x| >= 40.
76117         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76119 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
76121         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
76122         Replace gettimeofday with __vdso_gettimeofday.
76124         * sysdeps/unix/sysv/linux/x86_64/init-first.c
76125         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
76126         __vdso_clock_gettime and __vdso_getcpu.
76128         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
76129         time with __vdso_time.
76131 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
76133         * manual/lang.texi (size_t): Note types to which size_t may be
76134         equivalent with the GNU C Library, but do not describe when
76135         differences between them are significant.
76137 2012-03-05  Andreas Jaeger  <aj@suse.de>
76139         * sysdeps/i386/fpu/libm-test-ulps: Update.
76141 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
76143         [BZ #3976]
76144         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
76145         (__ieee754_pow): Save and restore rounding mode and use
76146         round-to-nearest for main computations.
76147         * math/libm-test.inc (pow_test_tonearest): New function.
76148         (pow_test_towardzero): Likewise.
76149         (pow_test_downward): Likewise.
76150         (pow_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         [BZ #3976]
76156         * math/libm-test.inc (cosh_test_tonearest): New function.
76157         (cosh_test_towardzero): Likewise.
76158         (cosh_test_downward): Likewise.
76159         (cosh_test_upward): Likewise.
76160         (sinh_test_tonearest): Likewise.
76161         (sinh_test_towardzero): Likewise.
76162         (sinh_test_downward): Likewise.
76163         (sinh_test_upward): Likewise.
76164         (main): Call the new functions.
76165         * sysdeps/i386/fpu/libm-test-ulps: Update.
76166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76168 2012-03-05  Tom de Vries  <tom@codesourcery.com>
76170         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
76171         default stack guard is set in last bytes.
76172         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
76174 2012-03-05  Kees Cook  <keescook@chromium.org>
76176         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
76178         [BZ #13656]
76179         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
76180         possibly allocate from heap instead of stack.
76181         * stdio-common/bug-vfprintf-nargs.c: New file.
76182         * stdio-common/Makefile (tests): Add nargs overflow test.
76184 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
76186         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76188 2012-03-03  Marek Polacek  <polacek@redhat.com>
76190         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
76191         * math/math_private.h: Likewise.
76192         * stdlib/tst-strtod.c: Likewise.
76193         * sysdeps/i386/i486/bits/atomic.h: Likewise.
76194         * sysdeps/x86_64/bits/atomic.h: Likewise.
76196 2012-03-02  David S. Miller  <davem@davemloft.net>
76198         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
76199         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
76200         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
76201         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
76202         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
76203         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
76204         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
76205         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
76207 2012-03-02  Roland McGrath  <roland@hack.frob.com>
76209         [BZ #13792]
76210         * manual/examples/README: New file, says the example source files
76211         can be used under GPL>=2.
76212         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
76213         line containing just "*/".
76214         * manual/examples/add.c: Add copyright header (GPL>=2).
76215         * manual/examples/argp-ex1.c: Likewise.
76216         * manual/examples/argp-ex2.c: Likewise.
76217         * manual/examples/argp-ex3.c: Likewise.
76218         * manual/examples/argp-ex4.c: Likewise.
76219         * manual/examples/atexit.c: Likewise.
76220         * manual/examples/db.c: Likewise.
76221         * manual/examples/dir.c: Likewise.
76222         * manual/examples/dir2.c: Likewise.
76223         * manual/examples/execinfo.c: Likewise.
76224         * manual/examples/filecli.c: Likewise.
76225         * manual/examples/filesrv.c: Likewise.
76226         * manual/examples/fmtmsgexpl.c: Likewise.
76227         * manual/examples/genpass.c: Likewise.
76228         * manual/examples/inetcli.c: Likewise.
76229         * manual/examples/inetsrv.c: Likewise.
76230         * manual/examples/isockad.c: Likewise.
76231         * manual/examples/longopt.c: Likewise.
76232         * manual/examples/memopen.c: Likewise.
76233         * manual/examples/memstrm.c: Likewise.
76234         * manual/examples/mkfsock.c: Likewise.
76235         * manual/examples/mkisock.c: Likewise.
76236         * manual/examples/mygetpass.c: Likewise.
76237         * manual/examples/pipe.c: Likewise.
76238         * manual/examples/popen.c: Likewise.
76239         * manual/examples/rprintf.c: Likewise.
76240         * manual/examples/search.c: Likewise.
76241         * manual/examples/select.c: Likewise.
76242         * manual/examples/setjmp.c: Likewise.
76243         * manual/examples/sigh1.c: Likewise.
76244         * manual/examples/sigusr.c: Likewise.
76245         * manual/examples/stpcpy.c: Likewise.
76246         * manual/examples/strdupa.c: Likewise.
76247         * manual/examples/strftim.c: Likewise.
76248         * manual/examples/strncat.c: Likewise.
76249         * manual/examples/subopt.c: Likewise.
76250         * manual/examples/swapcontext.c: Likewise.
76251         * manual/examples/termios.c: Likewise.
76252         * manual/examples/testopt.c: Likewise.
76253         * manual/examples/testpass.c: Likewise.
76254         * manual/examples/timeval_subtract.c: Likewise.
76256         [BZ #13792]
76257         * manual/time.texi (Elapsed Time): Move timeval_subtract example
76258         function to ...
76259         * manual/timeval_subtract.c.texi: ... here, new file.
76261 2012-03-02  David S. Miller  <davem@davemloft.net>
76263         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
76265 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
76267         [BZ #3976]
76268         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
76269         (__sin): Save and restore rounding mode and use round-to-nearest
76270         for all computations.
76271         (__cos): Save and restore rounding mode and use round-to-nearest
76272         for all computations.
76273         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
76274         <fenv.h>.
76275         (tan): Save and restore rounding mode and use round-to-nearest for
76276         all computations.
76277         * math/libm-test.inc (cos_test_tonearest): New function.
76278         (cos_test_towardzero): Likewise.
76279         (cos_test_downward): Likewise.
76280         (cos_test_upward): Likewise.
76281         (sin_test_tonearest): Likewise.
76282         (sin_test_towardzero): Likewise.
76283         (sin_test_downward): Likewise.
76284         (sin_test_upward): Likewise.
76285         (tan_test_tonearest): Likewise.
76286         (tan_test_towardzero): Likewise.
76287         (tan_test_downward): Likewise.
76288         (tan_test_upward): Likewise.
76289         (main): Call the new functions.
76290         * sysdeps/i386/fpu/libm-test-ulps: Update.
76291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76293         [BZ #10135]
76294         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
76295         small n, then large n, before computing and testing k+n.
76296         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
76297         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
76298         Likewise.
76299         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
76300         Likewise.
76301         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
76302         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
76303         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
76304         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
76305         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
76306         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
76307         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
76308         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
76309         * math/libm-test.inc (scalbn_test): Add more tests.
76310         (scalbln_test): Likewise.
76312         * manual/filesys.texi (mode_t): Describe constraints on size and
76313         signedness, not exact equivalence to a particular type.
76314         (ino_t): Likewise.
76315         (ino64_t): Likewise.
76316         (dev_t): Likewise.
76317         (nlink_t): Likewise.
76318         (blkcnt_t): Likewise.
76319         (blkcnt64_t): Likewise.
76320         * manual/llio.texi (off_t): Likewise.
76322         [BZ #3976]
76323         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
76324         (__ieee754_exp): Save and restore rounding mode and use
76325         round-to-nearest for all computations.
76326         * math/libm-test.inc (exp_test_tonearest): New function.
76327         (exp_test_towardzero): Likewise.
76328         (exp_test_downward): Likewise.
76329         (exp_test_upward): Likewise.
76330         (main): Call the new functions.
76331         * sysdeps/i386/fpu/libm-test-ulps: Update.
76332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76334 2012-03-01  Chris Demetriou  <cgd@google.com>
76336         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
76337         have predictable order.
76339 2012-03-01  David S. Miller  <davem@davemloft.net>
76341         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
76343         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
76344         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
76345         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
76346         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
76348         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
76349         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
76350         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
76351         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
76352         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
76353         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
76354         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
76355         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
76356         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
76358         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76360         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
76361         * sysdeps/sparc/fpu/libm-test-ulps: to here.
76362         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
76364         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
76365         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76366         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
76367         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
76368         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
76369         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
76370         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
76371         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76372         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
76373         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
76374         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
76375         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76376         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76377         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
76378         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
76379         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76380         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
76381         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
76382         * sysdeps/sparc/elf/configure: Regenerated.
76384 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
76386         * configure.in (AS, LD): Require binutils 2.20 or later.
76387         * configure: Regenerated.
76388         * manual/install.texi (Tools for Compilation): Give binutils 2.20
76389         as required minimum version.
76390         * INSTALL: Regenerated.
76392         [BZ #2541]
76393         [BZ #4108]
76394         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
76395         before squaring exponent.
76396         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
76397         bottom long double and 27 bits of top long double before squaring
76398         exponent.
76399         * math/libm-test.inc (erfc_test): Add more tests.
76400         * sysdeps/i386/fpu/libm-test-ulps: Update.
76401         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
76402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76404 2012-03-01  Kai Tietz  <ktietz@redhat.com>
76406         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
76407         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
76408         containing bit-fields.
76409         * soft-fp/extended.h (_FP_UNION_E): Likewise.
76410         * soft-fp/single.h (_FP_UNION_S): Likewise.
76411         * soft-fp/double.h (_FP_UNION_D): Likewise.
76413 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
76415         [BZ #13786]
76416         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
76417         not include ../strcmp.S.
76418         [USE_AS_STRNCASECMP_L]: Likewise.
76419         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
76420         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
76421         * sysdeps/i386/i686/multiarch/strncase_l-c.c
76422         (__strncasecmp_l_ia32): Define as alias to
76423         __strncasecmp_l_nonascii.
76425         [BZ #5794]
76426         * math/libm-test.inc (expm1_test): Add test for bug 5794.
76427         * sysdeps/i386/fpu/libm-test-ulps: Update.
76428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76430         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
76431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76433 2012-02-29  Jeff Law  <law@redhat.com>
76435         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
76436         out of bounds read.
76438 2012-02-29  Marek Polacek  <polacek@redhat.com>
76440         [BZ #13706]
76441         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
76442         * elf/Makefile: Add rules to run tst-unused-dep.out.
76444 2012-02-28  David S. Miller  <davem@davemloft.net>
76446         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
76447         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
76448         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
76449         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
76450         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
76451         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
76453 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
76455         * math/libm-test.inc (llround_test): Move one test from
76456         lround_test.  Use TEST_f_L in moved test.
76457         (lround_test): Move misplaced test to llround_test.  Add testcase
76458         from bug 2561.
76460 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
76462         * sysdeps/x86_64/fpu/e_expf.S: New file.
76463         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
76465 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
76467         [BZ #13637]
76468         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
76469         of remain_len that may cause incomplete multi-byte character and
76470         false match.
76471         * posix/bug-regex33.c: New file.
76472         * posix/Makefile (tests): Add bug-regex33.
76474 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
76476         * manual/macros.texi: New file.
76477         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
76478         * manual/libc.texinfo: Include macros.texi.
76479         * manual/creatute.texi: Likewise.
76480         * manual/install.texi: Likewise.
76481         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
76482         @glibcadj{} in references to the GNU C Library.
76483         * manual/charset.texi: Likewise.
76484         * manual/conf.texi: Likewise.
76485         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
76486         when not using those macros.
76487         * manual/creature.texi: Likewise.
76488         * manual/crypt.texi: Likewise.
76489         * manual/errno.texi: Likewise.
76490         * manual/filesys.texi: Likewise.
76491         * manual/header.texi: Likewise.
76492         * manual/install.texi: Likewise.
76493         * manual/intro.texi: Likewise.
76494         * manual/io.texi: Likewise.
76495         * manual/job.texi: Likewise.
76496         * manual/lang.texi: Likewise.
76497         * manual/libc.texiinfo: Likewise.
76498         * manual/llio.texi: Likewise.
76499         * manual/locale.texi: Likewise.
76500         * manual/maint.texi: Likewise.
76501         * manual/math.texi: Likewise.
76502         * manual/memory.texi: Likewise.
76503         * manual/message.texi: Likewise.
76504         * manual/nss.texi: Likewise.
76505         * manual/pattern.texi: Likewise.
76506         * manual/process.texi: Likewise.
76507         * manual/resource.texi: Likewise.
76508         * manual/search.texi: Likewise.
76509         * manual/setjmp.texi: Likewise.
76510         * manual/signal.texi: Likewise.
76511         * manual/socket.texi: Likewise.
76512         * manual/startup.texi: Likewise.
76513         * manual/stdio.texi: Likewise.
76514         * manual/string.texi: Likewise.
76515         * manual/sysinfo.texi: Likewise.
76516         * manual/syslog.texi: Likewise.
76517         * manual/terminal.texi: Likewise.
76518         * manual/time.texi: Likewise.
76519         * manual/users.texi: Likewise.
76520         * INSTALL: Regenerated.
76521         * NOTES: Regenerated.
76522         * sysdeps/gnu/errlist.c: Regenerated.
76524 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
76526         * include/dirent.h: Include <dirstream.h> before
76527         <dirent/dirent.h>.
76529 2012-02-28  David S. Miller  <davem@davemloft.net>
76531         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
76532         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
76533         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
76534         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
76536 2012-02-27  David S. Miller  <davem@davemloft.net>
76538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
76539         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
76540         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
76541         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
76543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
76544         frame pointer instead of stack pointer relative arg slot.
76545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
76546         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
76547         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
76549 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
76551         [BZ #3992]
76552         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
76554 2012-02-27  David S. Miller  <davem@davemloft.net>
76556         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
76557         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
76558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
76559         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
76560         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
76561         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
76562         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
76563         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
76565 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
76567         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
76568         later.  Allow versions 5-9.
76569         * configure: Regenerated.
76570         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
76571         required minimum version and 4.6 as recommended version.  Do not
76572         mention bugs in GCC 2.7 and 2.8.
76573         * INSTALL: Regenerated.
76575 2012-02-27  David S. Miller  <davem@davemloft.net>
76577         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
76578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
76579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
76580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
76581         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
76582         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
76583         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
76584         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
76586         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
76587         manipulate bits before adding and subtracting TWO112[sx].
76588         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
76590 2012-02-27  Roland McGrath  <roland@hack.frob.com>
76592         [BZ #13775]
76593         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
76594         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
76595         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
76596         being in POSIX, because they are in 1003.1-2008.
76598         * rt/tst-aio.c: Include <fcntl.h>.
76599         * rt/tst-aio7.c: Likewise.
76600         * rt/tst-aio64.c: Likewise.
76602         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
76604 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
76606         * manual/install.texi (--with-headers): Describe headers as
76607         interface headers, not private headers.
76608         (Specific advice for GNU/Linux systems): Describe use of headers
76609         from "make headers_install", not private headers from older
76610         kernels.
76611         * INSTALL: Regenerated.
76612         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
76613         Change to 2.6.19.
76614         * sysdeps/unix/sysv/linux/configure: Regenerated.
76616         * manual/llio.texi (fclean): Remove documentation.
76618         * manual/Makefile (libc-texi-generated): New variable.  Include
76619         version.texi.
76620         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
76621         $(libc-texi-generated), not duplicated list of files.
76622         (version.texi, stamp-version): New rules.
76623         (realclean): Remove $(libc-texi-generated), not individual files
76624         from that list.  Do not remove dir-add.texinfo.
76625         * manual/libc.texinfo: Comment out uses of edition numbers and
76626         references to printed manual.  Remove last-updated dates.
76627         (EDITION): Comment out.
76628         (ISBN): Likewise.
76629         (VERSION, UPDATED): Remove.
76630         (version.texi): Include.
76632 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
76634         * sysdeps/posix/spawni.c: Include <signal.h>.
76635         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
76636         * sysdeps/pthread/aio_fsync.c: Likewise.
76638 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
76640         * conform/Makefile (tests): Run only when not cross-compiling and
76641         when fast-check is not defined.
76643         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
76644         * conform/data/limits.h-data: Fixes for POSIX2008.
76645         * conform/run-conformtest.sh: Run all tests.
76646         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
76647         headers.
76648         * include/bits/dlfcn.h: Likewise.
76649         * include/langinfo.h: Likewise.
76650         * include/monetary.h: Likewise.
76651         * include/sys/poll.h: Likewise.
76653         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
76654         for __USE_GNU.
76655         * posix/spawn.h: Define __need_sigset_t.
76656         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
76657         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
76658         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
76659         to get sigevent_t only.
76660         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
76661         only for __USE_GNU.
76662         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76663         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
76664         process_vm_writev only for __USE_GNU.
76665         * termios/termios.h: Declare tcgetsid also for POSIX2008.
76667         * conform/Makefile: For now ignore errors from run-conformtest.
76668         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
76669         POSIX to avoid namespace pollution.  Don't prepend headers.
76670         * conform/data/aio.h-data: Fixes for POSIX testing.
76671         * conform/data/fcntl.h-data: Likewise.
76672         * conform/data/glob.h-data: Likewise.
76673         * conform/data/grp.h-data: Likewise.
76674         * conform/data/pthread.h-data: Likewise.
76675         * conform/data/pwd.h-data: Likewise.
76676         * conform/data/signal.h-data: Likewise.
76677         * conform/data/spawn.h-data: Likewise.
76678         * conform/data/stdio.h-data: Likewise.
76679         * conform/data/stdlib.h-data: Likewise.
76680         * conform/data/stropts.h-data: Likewise.
76681         * conform/data/sys/mman.h-data: Likewise.
76682         * conform/data/sys/stat.h-data: Likewise.
76683         * conform/data/sys/types.h-data: Likewise.
76684         * conform/data/sys/wait.h-data: Likewise.
76685         * conform/data/time.h-data: Likewise.
76686         * conform/data/unistd.h-data: Likewise.
76687         * conform/data/utime.h-data: Likewise.
76689         * io/sys/stat.h: fchmod was always in POSIX.
76690         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
76691         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
76692         * rt/aio.h: Define __need_timespec before including <time.h>.
76693         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
76694         struct.  Add forward declaration of pthread_attr_t and use it in
76695         sigevent.
76696         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
76697         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
76698         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
76699         always remove CLK_TCK definition.
76701 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
76703         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
76705 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
76707         * conform/run-conformtest.sh: New file.
76708         * conform/Makefile: Run run-conformtest for tests.
76709         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
76710         support.
76712         * conform/data/uchar.h-data: New file.
76713         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
76714         * conform/data/arpa/inet.h-data: Likewise.
76715         * conform/data/assert.h-data: Likewise.
76716         * conform/data/complex.h-data: Likewise.
76717         * conform/data/cpio.h-data: Likewise.
76718         * conform/data/ctype.h-data: Likewise.
76719         * conform/data/dirent.h-data: Likewise.
76720         * conform/data/dlfcn.h-data: Likewise.
76721         * conform/data/errno.h-data: Likewise.
76722         * conform/data/fcntl.h-data: Likewise.
76723         * conform/data/float.h-data: Likewise.
76724         * conform/data/fmtmsg.h-data: Likewise.
76725         * conform/data/fnmatch.h-data: Likewise.
76726         * conform/data/ftw.h-data: Likewise.
76727         * conform/data/glob.h-data: Likewise.
76728         * conform/data/grp.h-data: Likewise.
76729         * conform/data/iconv.h-data: Likewise.
76730         * conform/data/inttypes.h-data: Likewise.
76731         * conform/data/langinfo.h-data: Likewise.
76732         * conform/data/libgen.h-data: Likewise.
76733         * conform/data/limits.h-data: Likewise.
76734         * conform/data/locale.h-data: Likewise.
76735         * conform/data/math.h-data: Likewise.
76736         * conform/data/monetary.h-data: Likewise.
76737         * conform/data/mqueue.h-data: Likewise.
76738         * conform/data/ndbm.h-data: Likewise.
76739         * conform/data/net/if.h-data: Likewise.
76740         * conform/data/netdb.h-data: Likewise.
76741         * conform/data/netinet/in.h-data: Likewise.
76742         * conform/data/nl_types.h-data: Likewise.
76743         * conform/data/poll.h-data: Likewise.
76744         * conform/data/pthread.h-data: Likewise.
76745         * conform/data/pwd.h-data: Likewise.
76746         * conform/data/regex.h-data: Likewise.
76747         * conform/data/sched.h-data: Likewise.
76748         * conform/data/search.h-data: Likewise.
76749         * conform/data/semaphore.h-data: Likewise.
76750         * conform/data/setjmp.h-data: Likewise.
76751         * conform/data/signal.h-data: Likewise.
76752         * conform/data/spawn.h-data: Likewise.
76753         * conform/data/stdarg.h-data: Likewise.
76754         * conform/data/stdio.h-data: Likewise.
76755         * conform/data/stdlib.h-data: Likewise.
76756         * conform/data/string.h-data: Likewise.
76757         * conform/data/strings.h-data: Likewise.
76758         * conform/data/stropts.h-data: Likewise.
76759         * conform/data/sys/ipc.h-data: Likewise.
76760         * conform/data/sys/mman.h-data: Likewise.
76761         * conform/data/sys/msg.h-data: Likewise.
76762         * conform/data/sys/resource.h-data: Likewise.
76763         * conform/data/sys/select.h-data: Likewise.
76764         * conform/data/sys/sem.h-data: Likewise.
76765         * conform/data/sys/shm.h-data: Likewise.
76766         * conform/data/sys/socket.h-data: Likewise.
76767         * conform/data/sys/stat.h-data: Likewise.
76768         * conform/data/sys/statvfs.h-data: Likewise.
76769         * conform/data/sys/time.h-data: Likewise.
76770         * conform/data/sys/timeb.h-data: Likewise.
76771         * conform/data/sys/times.h-data: Likewise.
76772         * conform/data/sys/types.h-data: Likewise.
76773         * conform/data/sys/uio.h-data: Likewise.
76774         * conform/data/sys/un.h-data: Likewise.
76775         * conform/data/sys/utsname.h-data: Likewise.
76776         * conform/data/sys/wait.h-data: Likewise.
76777         * conform/data/syslog.h-data: Likewise.
76778         * conform/data/tar.h-data: Likewise.
76779         * conform/data/termios.h-data: Likewise.
76780         * conform/data/utime.h-data: Likewise.
76781         * conform/data/utmpx.h-data: Likewise.
76782         * conform/data/varargs.h-data: Likewise.
76783         * conform/data/wchar.h-data: Likewise.
76784         * conform/data/wctype.h-data: Likewise.
76785         * conform/data/wordexp.h-data: Likewise.
76787         * include/stropts.h: New file.
76788         * include/uchar.h: New file.
76789         * include/aio.h: Changes to allow conformtest.pl to use the headers.
76790         * include/assert.h: Likewise.
76791         * include/ctype.h: Likewise.
76792         * include/dirent.h: Likewise.
76793         * include/dlfcn.h: Likewise.
76794         * include/fcntl.h: Likewise.
76795         * include/fnmatch.h: Likewise.
76796         * include/glob.h: Likewise.
76797         * include/grp.h: Likewise.
76798         * include/libio.h: Likewise.
76799         * include/locale.h: Likewise.
76800         * include/math.h: Likewise.
76801         * include/net/if.h: Likewise.
76802         * include/netdb.h: Likewise.
76803         * include/netinet/in.h: Likewise.
76804         * include/pthread.h: Likewise.
76805         * include/pwd.h: Likewise.
76806         * include/regex.h: Likewise.
76807         * include/sched.h: Likewise.
76808         * include/search.h: Likewise.
76809         * include/setjmp.h: Likewise.
76810         * include/signal.h: Likewise.
76811         * include/stdio.h: Likewise.
76812         * include/stdlib.h: Likewise.
76813         * include/string.h: Likewise.
76814         * include/sys/cdefs.h: Likewise.
76815         * include/sys/mman.h: Likewise.
76816         * include/sys/msg.h: Likewise.
76817         * include/sys/resource.h: Likewise.
76818         * include/sys/select.h: Likewise.
76819         * include/sys/socket.h: Likewise.
76820         * include/sys/stat.h: Likewise.
76821         * include/sys/statvfs.h: Likewise.
76822         * include/sys/time.h: Likewise.
76823         * include/sys/times.h: Likewise.
76824         * include/sys/uio.h: Likewise.
76825         * include/sys/utsname.h: Likewise.
76826         * include/sys/wait.h: Likewise.
76827         * include/termios.h: Likewise.
76828         * include/time.h: Likewise.
76829         * include/ulimit.h: Likewise.
76830         * include/unistd.h: Likewise.
76831         * include/utime.h: Likewise.
76832         * include/wchar.h: Likewise.
76833         * include/wctype.h: Likewise.
76834         * include/wordexp.h: Likewise.
76836         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
76838         * time/time.h: TIME_UTC must be a macro.
76839         Make timespec_get available for ISO C11 only as well.
76841 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
76843         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
76844         Reported by Peng Haitao <penght@cn.fujitsu.com>.
76846 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
76848         * configure.in: Use -o not -a in test for unsupported multi-arch.
76850 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
76852         * manual/texinfo.tex: Update to version 2012-01-19.16.
76854 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
76856         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
76858 2012-02-24  Roland McGrath  <roland@hack.frob.com>
76860         [BZ #13738]
76861         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
76862         * manual/fdl-1.3.texi: New file.
76863         * manual/fdl-1.1.texi: File removed.
76865         [BZ #13738]
76866         * manual/libc.texinfo (FDL_VERSION): New @set.
76867         Use it for mention of FDL in cover text.
76868         (Documentation License): Use it in @include file name.
76870 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76871             Roland McGrath  <roland@hack.frob.com>
76873         [BZ #5461]
76874         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
76875         (not LONG_LONG_MAX and LONG_LONG_MIN.
76876         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
76877         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
76878         name.
76879         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
76881 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76883         [BZ #2547]
76884         [BZ #11365]
76885         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
76886         manipulate bits before adding and subtracting TWO23[sx].
76887         * math/libm-test.inc (nearbyint_test): Add more tests.
76889 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76891         [BZ #2548]
76892         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
76893         bits before adding and subtracting TWO23[sx].
76894         * math/libm-test.inc (rint_test): Add more tests.
76895         (rint_test_tonearest): Likewise.
76896         (rint_test_towardzero): Likewise.
76897         (rint_test_downward): Likewise.
76898         (rint_test_upward: Likewise.
76900 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76902         [BZ #10110]
76903         * include/stdc-predef.h: New file.  Extracted from features.h.
76904         * include/features.h: Include stdc-predef.h.
76905         * Makefile (headers): Add stdc-predef.h.
76906         * CONFORMANCE (Compiler limitations): Update.
76908 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76910         * manual/libc.texinfo (VERSION, UPDATED): Revert.
76912 2012-02-21  David S. Miller  <davem@davemloft.net>
76914         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
76915         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
76917 2012-02-20  David S. Miller  <davem@davemloft.net>
76919         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
76920         using a normal save/restore sequence, rather than allocating a
76921         dummy stack frame just to store a frame pointer and restore.
76922         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76924 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
76926         * manual/install.texi: Fix stray word in line-wrapped comment.
76928 2012-02-20  David S. Miller  <davem@davemloft.net>
76930         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
76931         both binutils and gcc support GOTDATA.
76933         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
76934         "rd %pc" in the PIC register setup sequences.
76936         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
76937         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
76938         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
76939         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
76940         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
76941         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
76942         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76943         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76944         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
76945         (SYSCALL_ERROR_HANDLER): Likewise.
76946         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
76947         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
76948         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
76949         (SYSCALL_ERROR_HANDLER): Likewise.
76951         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
76952         (HAVE_GCC_GOTDATA): New.
76953         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
76954         relocation support in both binutils and gcc.
76955         * sysdeps/sparc/elf/configure: Regenerate.
76957         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
76958         * sysdeps/sparc/sparc32/elf/configure: Delete.
76959         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
76960         * sysdeps/sparc/sparc64/elf/configure: Delete.
76961         * sysdeps/sparc/elf/configure.in: New file.
76962         * sysdeps/sparc/elf/configure: Generate.
76964         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
76965         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
76966         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
76967         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
76968         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
76970 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
76972         * manual/install.texi: Do not mention specific glibc version
76973         numbers.
76974         * manual/libc.texinfo (VERSION, UPDATED): Update.
76975         (@copying): Use @copyright{} and range of years.
76977 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
76979         [BZ #13695]
76980         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
76981         [crti.S not in sysdirs] (generated): Do not append.
76982         [crti.S not in sysdirs] (omit-deps): Likewise.
76983         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
76984         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
76985         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
76986         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
76987         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
76988         Likewise.
76989         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
76990         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
76991         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
76992         * csu/defs.awk: Remove file.
76993         * sysdeps/generic/initfini.c: Likewise.
76994         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
76995         variable.
76996         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
76997         Likewise.
76999 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
77001         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
77002         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
77003         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
77004         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
77005         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
77006         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
77007         <bits/epoll.h>.
77008         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
77009         (__EPOLL_PACKED): Define to empty if not defined by
77010         <bits/epoll.h>.
77011         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
77012         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77013         bits/epoll.h.
77015 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
77017         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
77018         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
77019         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
77020         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
77021         <bits/timerfd.h>.
77022         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
77023         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77024         bits/timerfd.h.
77026 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
77028         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
77029         in C locale.
77030         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77031         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
77032         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
77033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77035 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
77037         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77038         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
77040 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
77042         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
77043         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
77044         defined.
77045         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
77046         Likewise.
77047         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
77048         entry for 2.16.
77050 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
77052         * math/w_acos.c: Use non-signaling floating-point comparisons.
77053         * math/w_acosf.c: Likewise.
77054         * math/w_acosh.c: Likewise.
77055         * math/w_acoshf.c: Likewise.
77056         * math/w_acoshl.c: Likewise.
77057         * math/w_acosl.c: Likewise.
77058         * math/w_asin.c: Likewise.
77059         * math/w_asinf.c: Likewise.
77060         * math/w_asinl.c: Likewise.
77061         * math/w_atanh.c: Likewise.
77062         * math/w_atanhf.c: Likewise.
77063         * math/w_atanhl.c: Likewise.
77064         * math/w_exp2.c: Likewise.
77065         * math/w_exp2f.c: Likewise.
77066         * math/w_exp2l.c: Likewise.
77067         * math/w_j0.c: Likewise.
77068         * math/w_j0f.c: Likewise.
77069         * math/w_j0l.c: Likewise.
77070         * math/w_j1.c: Likewise.
77071         * math/w_j1f.c: Likewise.
77072         * math/w_j1l.c: Likewise.
77073         * math/w_jn.c: Likewise.
77074         * math/w_jnf.c: Likewise.
77075         * math/w_log.c: Likewise.
77076         * math/w_log10.c: Likewise.
77077         * math/w_log10f.c: Likewise.
77078         * math/w_log10l.c: Likewise.
77079         * math/w_log2.c: Likewise.
77080         * math/w_log2f.c: Likewise.
77081         * math/w_log2l.c: Likewise.
77082         * math/w_logf.c: Likewise.
77083         * math/w_logl.c: Likewise.
77084         * math/w_sqrt.c: Likewise.
77085         * math/w_sqrtf.c: Likewise.
77086         * math/w_sqrtl.c: Likewise.
77087         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77088         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
77089         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77090         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
77091         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
77093 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
77095         [BZ #9739]
77096         * manual/string.texi (strnlen): Use correct parameter name in
77097         equivalent expression.
77099 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
77101         [BZ #11174]
77102         * manual/users.texi (seteuid): Consistently use neweuid for
77103         argument name.
77105 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
77107         [BZ #13704]
77108         * manual/nss.texi (Services in the NSS configuration): Correct
77109         list of services in example configuration file.
77111 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
77113         [BZ #11322]
77114         * manual/arith.texi: Remove statements about negative zero
77115         behaving identically to zero.
77117 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
77119         [BZ #5993]
77120         * manual/install.texi: Do not document upgrading from libc5.
77122 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
77124         [BZ #4596]
77125         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
77127 2012-02-18  David S. Miller  <davem@davemloft.net>
77129         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
77130         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
77131         %o7 across the call.
77132         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
77133         instead.
77134         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
77135         SETUP_PIC_REG_LEAF.
77136         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77137         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
77138         * sysdeps/sparc/crtn.S: Likewise.
77140 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
77142         * aout/Makefile: Remove.
77144 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
77146         [BZ #13058]
77147         * manual/examples/argp-ex1.c (main): Format definition in GNU
77148         style.
77149         * manual/examples/argp-ex2.c (main): Likewise.
77150         * manual/examples/argp-ex3.c (main): Likewise.
77151         * manual/examples/argp-ex4.c (main): Likewise.
77152         * manual/examples/longopt.c (main): Use new-style prototype
77153         definition.
77154         * manual/examples/strncat.c (main): Specify return type and use
77155         (void) for arguments.
77156         * manual/examples/subopt.c (main): Use char **argv argument.
77158 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77160         [BZ #5077]
77161         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
77162         rounding modes.
77164 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
77166         [BZ #6907]
77167         * manual/string.texi (strchr): Change when strchrnul is
77168         recommended.
77170 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
77172         [BZ #174]
77173         * manual/locale.texi (setlocale): Document LOCPATH.
77175 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77177         [BZ #10210]
77178         * manual/process.texi (execle): Move @dots{} before last argument.
77180 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
77182         [BZ #12047]
77183         * manual/charset.texi (Generic Charset Conversion): Fix typo
77184         (LC_TYPE -> LC_CTYPE).
77186 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
77188         [BZ #5805]
77189         * manual/arith.texi (scalbn): Use @var{} on parameter names.
77190         (scalbnf): Likewise.
77191         (scalbnl): Likewise.
77192         (scalbln): Likewise.
77193         (scalblnf): Likewise.
77194         (scalblnl): Likewise.
77195         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
77196         (vwarnx): Likewise.
77197         (verr): Likewise.
77198         (verrx): Likewise.
77199         * manual/filesys.texi (telldir): Use braces around return type.
77200         * manual/llio.texi (mmap): Add space after comma.
77201         (mmap64): Likewise.
77202         * manual/math.texi (jn): Use @var{} on parameter names.
77203         (jnf): Likewise.
77204         (jnl): Likewise.
77205         (yn): Likewise.
77206         (ynf): Likewise.
77207         (ynl): Likewise.
77208         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
77209         line.
77210         * manual/resource.texi (ulimit): Use @dots{} instead of literal
77211         "...".
77212         (sched_get_priority_min): Remove semicolon on @deftypefun line.
77213         (sched_get_priority_max): Likewise.
77214         * manual/signal.texi (sigvec): Add space after comma.
77215         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
77216         names.
77217         (if_indextoname): Likewise.
77218         (if_freenameindex): Likewise.
77219         (sendto): Use ',' instead of '.' in prototype.
77220         * manual/startup.texi (syscall): Use @dots{} instead of literal
77221         "...".
77222         * manual/stdio.texi (__fpending): Separate initial words of
77223         paragraph from @deftypefun line.
77224         * manual/syslog.texi (syslog): Use @dots{} instead of literal
77225         "...".
77226         (vsyslog): Use @var{} on parameter names.
77227         * manual/terminal.texi (stty): Use @var{} on parameter names.
77228         * manual/users.texi (getutmp): Use @var{} on parameter names.
77229         (getutmpx): Likewise.
77231 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77233         [BZ #6884]
77234         * manual/stdio.texi (fopen): Fix typos in description of
77235         ",ccs=STRING".
77237 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
77239         [BZ #4026]
77240         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
77241         get clock_id definition.
77243 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
77245         [BZ #4822]
77246         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
77247         (madvise): Cast every argument to void on its own.
77249 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77251         [BZ #9902]
77252         * manual/startup.texi (Exit Status): Fix typo.
77254 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77256         [BZ #10140]
77257         * manual/examples/argp-ex1.c: Include <stdlib.h>.
77258         * manual/examples/argp-ex2.c: Likewise.
77259         * manual/examples/argp-ex3.c: Likewise.
77261 2012-02-16  Richard Henderson  <rth@redhat.com>
77263         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
77264         * sysdeps/s390/s390-32/initfini.c: Remove.
77265         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
77266         * sysdeps/s390/s390-64/initfini.c: Remove.
77268 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
77270         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
77271         compiler output for sysdeps/generic/initfini.c.
77272         * sysdeps/sh/elf/initfini.c: Remove file.
77274 2012-02-16  David S. Miller  <davem@davemloft.net>
77276         [BZ #11494]
77277         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
77279         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
77280         * sysdeps/sparc/crti.S: New file.
77281         * sysdeps/sparc/crtn.S: New file.
77282         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
77283         * sysdeps/sparc/sparc64/Makefile: Likewise.
77285 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
77287         [BZ #3335]
77288         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
77290 2012-02-15  Roland McGrath  <roland@hack.frob.com>
77292         [BZ #4822]
77293         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
77295         * mach/devstream.c (cookie_io_functions_t): Macro removed.
77296         (write, read, close): Likewise.
77297         Patch by Aurelien Jarno <aurelien@aurel32.net>.
77299 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
77301         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
77302         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
77303         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
77304         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
77305         <bits/signalfd.h>.
77306         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
77307         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77308         bits/signalfd.h.
77310 2012-02-14  Marek Polacek  <polacek@redhat.com>
77312         * sysdeps/x86_64/crti.S: New file.
77313         * sysdeps/x86_64/crtn.S: New file.
77314         * sysdeps/x86_64/elf/initfini.c: Remove file.
77316 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
77318         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
77319         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
77320         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
77321         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
77322         <bits/inotify.h>.
77323         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
77324         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77325         bits/inotify.h.
77327 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
77329         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
77330         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
77331         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
77332         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
77333         <bits/eventfd.h>.
77334         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
77335         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77336         bits/eventfd.h.
77338 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
77340         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
77341         __feraiseexcept instead of feraiseexcept.
77343         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
77344         nanosleep invocations.
77345         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
77346         strings, and add error checking for a nanosleep invocations.
77348 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
77350         Replace FSF snail mail address with URLs, as per GNU coding standards.
77351         Most of the snail mail addresses were wrong anyway, and omitting
77352         them makes the source code easier to maintain.  Almost all of the
77353         changes are to license notices and to locale LC_IDENTIFICATION
77354         addresses, except for this one:
77355         * manual/libc.texinfo: In "Published by", give the FSF's URL,
77356         not its snail mail address.
77358 2012-02-09  Richard Henderson  <rth@twiddle.net>
77360         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
77361         of kernel-features.h.
77363         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
77365 2012-02-08  Marek Polacek  <polacek@redhat.com>
77367         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
77368         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
77369         * sysdeps/gnu/_G_config.h: Likewise.
77370         * sysdeps/generic/_G_config.h: Likewise.
77372 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
77374         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
77375         tests.
77376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77378         * sysdeps/powerpc/powerpc32/crti.S: New file.
77379         * sysdeps/powerpc/powerpc32/crtn.S: New file.
77380         * sysdeps/powerpc/powerpc64/crti.S: New file.
77381         * sysdeps/powerpc/powerpc64/crtn.S: New file.
77383         * Makeconfig (have-initfini): Don't set.
77384         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
77385         * configure.in (nopic_initfini): Don't substitute.
77386         * config.h.in (HAVE_INITFINI): Don't #undef.
77387         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
77388         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
77390 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
77392         Support crti.S and crtn.S provided directly by architectures.
77393         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
77394         [crti.S in sysdirs] (omit-deps): Likewise.
77395         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
77396         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
77397         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
77398         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
77399         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
77400         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
77401         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
77402         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
77403         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
77404         compiler output for sysdeps/generic/initfini.c.
77405         * sysdeps/i386/elf/Makefile: Remove file.
77406         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
77408 2012-02-07  Marek Polacek  <polacek@redhat.com>
77410         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
77411         * sysdeps/gnu/_G_config.h: Likewise.
77412         * sysdeps/mach/hurd/_G_config.h: Likewise.
77414 2012-02-07  Marek Polacek  <polacek@redhat.com>
77416         * math/Makefile (tests): Add tst-CMPLX2.
77417         * math/tst-CMPLX2.c: New file.
77419 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
77421         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77423         * math/libm-test.inc (jn_test): Add missing L suffix.
77425 2012-02-06  Marek Polacek  <polacek@redhat.com>
77427         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
77428         * sysdeps/i386/fpu/e_powf.S: Likewise.
77429         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
77430         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
77431         * sysdeps/i386/fpu/e_acosh.S: Likewise.
77432         * sysdeps/i386/fpu/e_pow.S: Likewise.
77433         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
77434         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
77435         * sysdeps/i386/fpu/s_expm1.S: Likewise.
77436         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
77437         * sysdeps/i386/fpu/e_log2.S: Likewise.
77438         * sysdeps/i386/fpu/e_log2l.S: Likewise.
77439         * sysdeps/i386/fpu/e_scalb.S: Likewise.
77440         * sysdeps/i386/fpu/e_powl.S: Likewise.
77441         * sysdeps/i386/fpu/s_log1p.S: Likewise.
77442         * sysdeps/i386/fpu/e_log10f.S: Likewise.
77443         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
77444         * sysdeps/i386/fpu/e_logl.S: Likewise.
77445         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
77446         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
77447         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
77448         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
77449         * sysdeps/i386/fpu/e_log2f.S: Likewise.
77450         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
77451         * sysdeps/i386/fpu/e_log.S: Likewise.
77452         * sysdeps/i386/fpu/s_cexp.S: Likewise.
77453         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
77454         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
77455         * sysdeps/i386/fpu/e_logf.S: Likewise.
77456         * sysdeps/i386/fpu/e_log10l.S: Likewise.
77457         * sysdeps/i386/fpu/e_atanh.S: Likewise.
77458         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
77459         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
77460         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
77461         * sysdeps/i386/fpu/e_log10.S: Likewise.
77462         * sysdeps/i386/fpu/s_frexp.S: Likewise.
77463         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
77464         * sysdeps/i386/fpu/s_asinh.S: Likewise.
77465         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
77466         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
77467         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
77468         * sysdeps/i386/asm-syntax.h: Likewise.
77469         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
77470         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77471         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
77472         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
77473         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
77474         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
77475         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
77476         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
77477         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
77478         * sysdeps/powerpc/sysdep.h: Likewise.
77479         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
77480         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
77482 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
77484         [BZ #411]
77485         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
77487 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
77489         * sysdeps/i386/sysdep.h: Include <features.h>.
77490         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
77491         version.
77493 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
77495         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
77496         Define.
77497         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
77498         LOAD_PIC_REG_STR.
77500 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
77502         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
77503         (SETUP_PIC_REG): Use GET_PC_THUNK.
77504         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
77505         macro.
77507 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
77509         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
77510         for non-PIC compilation.
77511         (SETUP_PIC_REG): Add .p2align directive.
77512         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
77513         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
77514         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
77515         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
77516         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
77517         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
77518         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
77519         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
77520         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
77521         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
77522         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
77523         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
77524         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
77525         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
77526         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
77527         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
77528         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
77529         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
77530         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
77531         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
77532         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
77533         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
77534         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
77535         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
77536         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
77537         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
77538         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
77539         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
77540         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
77541         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
77542         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
77543         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
77544         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
77545         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
77546         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
77547         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
77548         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
77549         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
77550         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
77551         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
77552         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
77554 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
77556         * math/tst-CMPLX.c: Include <stdio.h>.
77558 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
77560         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
77561         float.
77562         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
77563         * sysdeps/sparc/bits/mathdef.h: Likewise.
77565 2012-01-31  Marek Polacek  <polacek@redhat.com>
77567         * libio/libio.h: Don't define _PARAMS.
77568         * locale/programs/config.h: Don't define PARAMS.
77569         * stdlib/strtol_l.c: Likewise.
77570         (__strtol_l): Remove PARAMS from the prototype.
77572 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
77574         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
77575         names.  Just use the correct names.  Remove unnecessary wrapper
77576         functions.
77577         * malloc/arena.c: Likewise.
77578         * malloc/hooks.c: Likewise.
77580         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
77581         ARENA_TEST says not to.  Simplify test for creation of a new arena.
77582         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
77584 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
77586         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
77587         into tail calls.
77588         (update_get_addr): New function.
77589         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
77590         GET_ADDR_MODULE parameter.
77592 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
77594         * crypt/cert.c: Remove __STDC__ conditionals.
77595         * crypt/crypt-entry.c: Likewise.
77596         * crypt/crypt_util.c: Likewise.
77597         * libio/filedoalloc.c: Likewise.
77598         * libio/fileops.c: Likewise.
77599         * libio/genops.c: Likewise.
77600         * libio/iofclose.c: Likewise.
77601         * libio/iofdopen.c: Likewise.
77602         * libio/iofopen.c: Likewise.
77603         * libio/iofopen64.c: Likewise.
77604         * libio/iogetdelim.c: Likewise.
77605         * libio/iopopen.c: Likewise.
77606         * libio/obprintf.c: Likewise.
77607         * libio/oldfileops.c: Likewise.
77608         * libio/oldiofclose.c: Likewise.
77609         * libio/oldiofdopen.c: Likewise.
77610         * libio/oldiofopen.c: Likewise.
77611         * libio/oldiopopen.c: Likewise.
77612         * libio/wfiledoalloc.c: Likewise.
77613         * libio/wgenops.c: Likewise.
77614         * locale/programs/xmalloc.c: Likewise.
77615         * misc/syslog.c: Likewise.
77616         * stdio-common/xbug.c: Likewise.
77617         * string/memchr.c: Likewise.
77618         * string/memcmp.c: Likewise.
77619         * string/memrchr.c: Likewise.
77620         * string/rawmemchr.c: Likewise.
77621         * sysdeps/posix/getcwd.c: Likewise.
77622         * time/strftime_l.c: Likewise.
77624 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
77626         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
77627         * config.make.in (config-cflags-sse2avx): Define.
77628         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
77629         Fix typo.
77631 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
77633         * scripts/config.guess: Update from upstream config git repository.
77634         * scripts/config.sub: Likewise.
77636 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
77638         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
77639         (EM_NUM): Update.
77640         (R_TILEPRO_*, R_TILEGX_*): New macros.
77642         * scripts/firstversions.awk: Fix bug in version range handling.
77644         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
77646         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
77648         * include/sys/epoll.h: New file.
77649         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
77650         libc_hidden_def.
77652 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
77654         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
77655         Avoid unnecessary __WORDSIZE == 64 test.
77656         (fmaxf): Use VEX format if possible.
77657         (fmax): Likewise.
77658         (fminf): Likewise.
77659         (fmin): Likewise.
77661         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
77662         * math/math_private.h: Remove libc_fegetround* and
77663         libc_fesetround*.
77664         * sysdeps/i386/configure.in: Check for -msse2avx.
77665         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
77666         also if SSE2AVX is defined.
77667         Remove libc_fegetround* and libc_fesetround*.
77668         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
77669         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
77670         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
77671         of HAS_YMM_USABLE.
77672         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77673         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77674         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77675         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77676         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77678         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
77680 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77682         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
77683         size is not set.
77684         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
77686 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
77688         [BZ #13618]
77689         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
77690         relocation.
77691         * Makeconfig (libm): Define.
77692         * elf/Makefile: Add rules to build and run tst-relsort1.
77693         * elf/tst-relsort1.c: New file.
77694         * elf/tst-relsort1mod1.c: New file.
77695         * elf/tst-relsort1mod2.c: New file.
77697 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
77699         * math/s_ldexp.c: Remove __STDC__ conditionals.
77700         * math/s_ldexpf.c: Likewise.
77701         * math/s_ldexpl.c: Likewise.
77702         * math/s_nextafter.c: Likewise.
77703         * math/s_nexttowardf.c: Likewise.
77704         * math/s_significand.c: Likewise.
77705         * math/s_significandf.c: Likewise.
77706         * math/s_significandl.c: Likewise.
77707         * math/w_jnl.c: Likewise.
77708         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
77709         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
77710         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
77711         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
77712         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
77713         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
77714         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
77715         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
77716         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
77717         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
77718         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
77719         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77720         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
77721         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
77722         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
77723         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
77724         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
77725         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
77726         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
77727         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
77728         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
77729         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
77730         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
77731         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
77732         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
77733         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
77734         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
77735         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
77736         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
77737         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
77738         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
77739         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
77740         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
77741         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
77742         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
77743         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
77744         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
77745         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
77746         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
77747         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
77748         * sysdeps/ieee754/k_standard.c: Likewise.
77749         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
77750         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
77751         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
77752         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
77753         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
77754         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
77755         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
77756         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
77757         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
77758         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
77759         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
77760         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
77761         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
77762         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
77763         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
77764         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
77765         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
77766         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
77767         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
77768         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
77769         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
77770         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
77771         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
77772         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
77773         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
77774         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
77775         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
77776         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
77777         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
77778         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
77779         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
77780         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
77781         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
77782         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
77783         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
77784         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
77785         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
77786         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
77787         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
77788         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
77789         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
77790         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
77791         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
77792         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
77793         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
77794         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
77795         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
77796         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
77797         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
77798         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
77799         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
77800         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
77801         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
77802         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
77803         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
77804         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
77805         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
77806         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
77807         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
77808         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
77809         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
77810         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
77811         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
77812         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
77813         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
77814         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
77815         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
77816         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
77817         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
77818         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
77819         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
77820         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
77821         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
77822         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
77823         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
77824         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
77825         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
77826         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
77827         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
77828         * sysdeps/ieee754/s_matherr.c: Likewise.
77829         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
77830         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
77831         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
77832         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
77834 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
77836         * crypt/md5.h: Remove __STDC__ conditionals.
77837         * libio/libioP.h: Likewise.
77838         * locale/programs/config.h: Likewise.
77839         * sysdeps/generic/sysdep.h: Likewise.
77840         * sysdeps/i386/asm-syntax.h: Likewise.
77841         * sysdeps/s390/asm-syntax.h: Likewise.
77842         * sysdeps/unix/sysdep.h: Likewise.
77843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
77844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
77846 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
77848         * libio/libio.h: Remove __STDC__ conditionals.
77849         * malloc/obstack.h: Likewise.
77850         * math/complex.h: Likewise.
77851         * math/math.h: Likewise.
77852         * sysdeps/generic/_G_config.h: Likewise.
77853         * sysdeps/gnu/_G_config.h: Likewise.
77854         * sysdeps/mach/hurd/_G_config.h: Likewise.
77855         * sysdeps/powerpc/bits/mathdef.h: Likewise.
77856         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
77857         * sysdeps/sparc/bits/mathdef.h: Likewise.
77859 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
77861         [BZ #13583]
77862         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
77863         Clean up HAS_* macros.
77864         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
77865         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
77866         possible.
77867         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
77868         HAS_AVX.
77869         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77870         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77871         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77872         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77873         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77875 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
77877         * elf/tst-unique3.cc (gets): Remove declaration.
77878         * elf/tst-unique3lib.cc (gets): Likewise.
77879         * elf/tst-unique3lib2.cc (gets): Likewise.
77880         * elf/tst-unique4.cc (gets): Likewise.
77882 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
77884         * include/stdio.h: Add C++ protection.  Add gets declarations and
77885         definitions.
77886         * debug/tst-chk1.c: Don't declare gets here.
77887         * stdio-common/tst-gets.c: Likewise.
77889 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
77891         * posix/glob: Remove directory.
77893 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
77895         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
77897 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
77899         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
77900         of the non-standard EPFNOSUPPORT.
77902 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77904         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
77905         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
77906         ANYWHERE set to 1 only on KERN_NO_SPACE error.
77908 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
77910         * wcsmbs/uchar.h: Test __STDC_VERSION__.
77912 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
77914         * nscd/aicache.c (addhstaiX): Do not cache negative results of
77915         transient errors.
77916         * nscd/grpcache.c (cache_addgr): Likewise.
77917         * nscd/hstcache.c (cache_addhst): Likewise.
77918         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77919         * nscd/pwdcache.c (cache_addpw): Likewise.
77920         * nscd/servicescache.c (cache_addserv): Likewise.
77922 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
77924         * malloc/malloc.c: Various cleanups.
77925         * malloc/hooks.c: Likewise.
77927         * stdlib/Makefile (tests): Add bug-fmtmsg1.
77928         * stdlib/bug-fmtmsg1.c: New file.
77930         * stdlib/fmtmsg.c (init): Add missing unlock.
77931         Patch by Peng Haitao <penght@cn.fujitsu.com>.
77933 2012-01-12  Marek Polacek  <polacek@redhat.com>
77935         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
77936         and _GNU_SOURCE.
77938 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
77940         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
77941         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
77942         macro to ensure uniqueness of label name.
77943         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
77944         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
77946 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
77948         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
77950         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
77951         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
77952         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
77953         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
77955 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
77957         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
77959         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
77960         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
77961         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
77963         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
77965         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
77966         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
77967         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
77968         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
77970         * math/bits/math-finite.h: Add ldexp support.
77972 2012-01-10  Marek Polacek  <polacek@redhat.com>
77974         * locale/programs/localedef.h (show_archive_content): Add noreturn
77975         attribute.
77977 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
77979         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
77981 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
77983         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
77985         * io/Makefile (headers): Add bits/poll2.h.
77987 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
77989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
77990         typo #include statement.
77992 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
77994         * include/sys/cdefs.h: Define __attribute_alloc_size.
77995         * catgets/gencat.c: Add alloc_size attribute and apply consistently
77996         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
77997         * elf/pldd.c: Likewise.
77998         * iconv/iconv_charmap.c: Likewise.
77999         * iconv/iconvconfig.c: Likewise.
78000         * iconv/strtab.c: Likewise.
78001         * locale/programs/locale.c: Likewise.
78002         * locale/programs/localedef.h: Likewise.
78003         * locale/programs/simple-hash.c: Likewise.
78004         * nscd/nscd.h: Likewise.
78005         * nss/makedb.c: Likewise.
78006         * sysdeps/generic/ldconfig.h: Likewise.
78007         * locale/programs/localedef.c: Remove xmalloc prototype.
78008         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
78010 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
78012         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
78013         appropriate.
78015 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
78017         * math/Makefile (tests): Add tst-CMPLX.
78018         * math/tst-CMPLX.c: New file.
78020         * math/complex.h (CMPLXL): Fix typo.
78022         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
78023         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
78024         GLIBC_2.16.
78025         * debug/tst-chk1.c: Add poll and ppoll tests.
78026         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
78027         * include/sys/poll.h: Add hidden proto for ppoll.
78028         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
78029         * sysdeps/mach/hurd/ppoll.c: Likewise.
78030         * io/ppoll.c: Likewise.
78031         * debug/poll_chk.c: New file.
78032         * debug/ppoll_chk.c: New file.
78033         * include/bits/poll2.h: New file.
78034         * io/bits/poll2.h: New file.
78036         [BZ #1350]
78037         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
78039         * configure.in: static is always set to yes.  Remove.
78040         * config.make.in: Don't set build-static.
78041         * Makeconfig: Remove use of build-static.
78042         * dlfcn/Makefile: Likewise.
78043         * elf/Makefile: Likewise.
78044         * math/Makefile: Likewise.
78045         * misc/Makefile: Likewise.
78046         * nptl/Makefile: Likewise.
78047         * sysdeps/mach/hurd/Makefile: Likewise.
78049         * configure.in: PWD_P is not used anymore.
78050         * config.make.in: Remove PWD_P entry.
78052         * configure.in: Remove last remnants of RANLIB.
78053         No need to check for signed size_t anymore.
78054         Don't set libc_commonpagesize and libc_relro_required here for Alpha
78055         and IA-64.
78056         Remove __builtin_expect test because we require at least gcc 3.4.
78057         * aclocal.m4: Likewise.
78059         * wcsmbs/mbrtoc16.c: Implement using towc function.
78060         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
78061         * wcsmbs/wcsmbsload.c: Likewise.
78062         * iconv/gconv_simple.c: Likewise.
78063         * iconv/gconv_int.h: Likewise.
78064         * iconv/gconv_builtin.h: Likewise.
78065         * iconv/iconv_prog.c: Remove CHAR16 handling.
78067         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
78069         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
78071         * configure.in: Remove --with-elf and --enable-bounded options.
78072         Dont set base_machine for ia64.  More non-ELF conditions removed.
78073         Remove testing and setting of leading underscore information.
78074         * config.make.in (build-bounded): Set to no.
78075         * config.h.in: Remove NO_UNDERSCORES entry.
78076         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
78077         them.
78078         * csu/start.c: Remove !NO_UNDERSCORE code.
78079         * locale/localeinfo.h: Likewise.
78080         * sysdeps/generic/machine-gmon.h: Likewise.
78081         * sysdeps/generic/sysdep.h: Likewise.
78082         * sysdeps/i386/sysdep.h: Likewise.
78083         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78084         * sysdeps/mach/sysdep.h: Likewise.
78085         * sysdeps/s390/s390-32/sysdep.h: Likewise.
78086         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78087         * sysdeps/sh/sysdep.h: Likewise.
78088         * sysdeps/sparc/sparc32/alloca.S: Likewise.
78089         * sysdeps/unix/i386/sysdep.S: Likewise.
78090         * sysdeps/unix/sparc/start.c: Likewise.
78091         * sysdeps/unix/sparc/sysdep.S: Likewise.
78092         * sysdeps/unix/sparc/sysdep.h: Likewise.
78093         * sysdeps/unix/start.c: Likewise.
78094         * sysdeps/unix/x86_64/sysdep.S: Likewise.
78095         * sysdeps/x86_64/sysdep.h: Likewise.
78097 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
78099         [BZ #13553]
78100         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
78101         for non-gcc.
78102         * argp/argp-fmtstream.h: Use const instead __const.
78103         * argp/argp.h: Likewise.
78104         * assert/assert.h: Likewise.
78105         * bits/fenv.h: Likewise.
78106         * bits/sched.h: Likewise.
78107         * bits/sigset.h: Likewise.
78108         * bits/sigthread.h: Likewise.
78109         * catgets/nl_types.h: Likewise.
78110         * conform/data/pthread.h-data: Likewise.
78111         * crypt/crypt-private.h: Likewise.
78112         * crypt/crypt.h: Likewise.
78113         * crypt/crypt_util.c: Likewise.
78114         * ctype/ctype.h: Likewise.
78115         * debug/execinfo.h: Likewise.
78116         * debug/mbsnrtowcs_chk.c: Likewise.
78117         * debug/mbsrtowcs_chk.c: Likewise.
78118         * debug/wcsnrtombs_chk.c: Likewise.
78119         * debug/wcsrtombs_chk.c: Likewise.
78120         * debug/wcstombs_chk.c: Likewise.
78121         * dirent/dirent.h: Likewise.
78122         * dlfcn/dlfcn.h: Likewise.
78123         * elf/neededtest4.c: Likewise.
78124         * grp/grp.h: Likewise.
78125         * gshadow/gshadow.h: Likewise.
78126         * iconv/gconv.h: Likewise.
78127         * iconv/gconv_int.h: Likewise.
78128         * iconv/gconv_simple.c: Likewise.
78129         * iconv/iconv.h: Likewise.
78130         * iconv/loop.c: Likewise.
78131         * iconv/skeleton.c: Likewise.
78132         * include/aio.h: Likewise.
78133         * include/aliases.h: Likewise.
78134         * include/argz.h: Likewise.
78135         * include/arpa/inet.h: Likewise.
78136         * include/assert.h: Likewise.
78137         * include/dirent.h: Likewise.
78138         * include/dlfcn.h: Likewise.
78139         * include/execinfo.h: Likewise.
78140         * include/fcntl.h: Likewise.
78141         * include/fenv.h: Likewise.
78142         * include/glob.h: Likewise.
78143         * include/grp.h: Likewise.
78144         * include/libintl.h: Likewise.
78145         * include/mntent.h: Likewise.
78146         * include/netdb.h: Likewise.
78147         * include/pwd.h: Likewise.
78148         * include/rpc/netdb.h: Likewise.
78149         * include/sched.h: Likewise.
78150         * include/search.h: Likewise.
78151         * include/shadow.h: Likewise.
78152         * include/signal.h: Likewise.
78153         * include/stdio.h: Likewise.
78154         * include/stdlib.h: Likewise.
78155         * include/string.h: Likewise.
78156         * include/sys/socket.h: Likewise.
78157         * include/sys/stat.h: Likewise.
78158         * include/sys/statfs.h: Likewise.
78159         * include/sys/statvfs.h: Likewise.
78160         * include/sys/syslog.h: Likewise.
78161         * include/sys/time.h: Likewise.
78162         * include/sys/uio.h: Likewise.
78163         * include/time.h: Likewise.
78164         * include/unistd.h: Likewise.
78165         * include/utmp.h: Likewise.
78166         * include/wchar.h: Likewise.
78167         * include/wctype.h: Likewise.
78168         * inet/aliases.h: Likewise.
78169         * inet/arpa/inet.h: Likewise.
78170         * inet/netinet/ether.h: Likewise.
78171         * inet/netinet/in.h: Likewise.
78172         * intl/libintl.h: Likewise.
78173         * io/bits/fcntl2.h: Likewise.
78174         * io/fcntl.h: Likewise.
78175         * io/ftw.h: Likewise.
78176         * io/sys/poll.h: Likewise.
78177         * io/sys/stat.h: Likewise.
78178         * io/sys/statfs.h: Likewise.
78179         * io/sys/statvfs.h: Likewise.
78180         * io/utime.h: Likewise.
78181         * libio/bits/stdio.h: Likewise.
78182         * libio/bits/stdio2.h: Likewise.
78183         * libio/libio.h: Likewise.
78184         * libio/libioP.h: Likewise.
78185         * libio/stdio.h: Likewise.
78186         * locale/lc-ctype.c: Likewise.
78187         * locale/locale.h: Likewise.
78188         * login/utmp.h: Likewise.
78189         * malloc/arena.c: Likewise.
78190         * malloc/malloc.c: Likewise.
78191         * malloc/malloc.h: Likewise.
78192         * malloc/mcheck.c: Likewise.
78193         * malloc/mtrace.c: Likewise.
78194         * math/bits/mathcalls.h: Likewise.
78195         * math/fenv.h: Likewise.
78196         * math/math_private.h: Likewise.
78197         * misc/bits/error.h: Likewise.
78198         * misc/bits/syslog.h: Likewise.
78199         * misc/err.h: Likewise.
78200         * misc/error.h: Likewise.
78201         * misc/fstab.h: Likewise.
78202         * misc/mntent.h: Likewise.
78203         * misc/regexp.h: Likewise.
78204         * misc/search.h: Likewise.
78205         * misc/sgtty.h: Likewise.
78206         * misc/sys/mman.h: Likewise.
78207         * misc/sys/syslog.h: Likewise.
78208         * misc/sys/uio.h: Likewise.
78209         * misc/sys/xattr.h: Likewise.
78210         * misc/ttyent.h: Likewise.
78211         * nis/rpcsvc/ypclnt.h: Likewise.
78212         * nss/nss.h: Likewise.
78213         * posix/bits/unistd.h: Likewise.
78214         * posix/fnmatch.h: Likewise.
78215         * posix/glob.h: Likewise.
78216         * posix/sched.h: Likewise.
78217         * posix/spawn.h: Likewise.
78218         * posix/sys/wait.h: Likewise.
78219         * posix/unistd.h: Likewise.
78220         * posix/wordexp.h: Likewise.
78221         * pwd/pwd.h: Likewise.
78222         * resolv/netdb.h: Likewise.
78223         * resource/sys/resource.h: Likewise.
78224         * rt/aio.h: Likewise.
78225         * rt/bits/mqueue2.h: Likewise.
78226         * rt/mqueue.h: Likewise.
78227         * shadow/shadow.h: Likewise.
78228         * signal/signal.h: Likewise.
78229         * socket/send.c: Likewise.
78230         * socket/sendto.c: Likewise.
78231         * socket/sys/socket.h: Likewise.
78232         * stdio-common/printf.h: Likewise.
78233         * stdlib/bits/stdlib.h: Likewise.
78234         * stdlib/fmtmsg.h: Likewise.
78235         * stdlib/monetary.h: Likewise.
78236         * stdlib/stdlib.h: Likewise.
78237         * stdlib/ucontext.h: Likewise.
78238         * streams/stropts.h: Likewise.
78239         * string/argz.h: Likewise.
78240         * string/bits/string2.h: Likewise.
78241         * string/string.h: Likewise.
78242         * string/strings.h: Likewise.
78243         * sunrpc/rpc/auth.h: Likewise.
78244         * sunrpc/rpc/auth_des.h: Likewise.
78245         * sunrpc/rpc/clnt.h: Likewise.
78246         * sunrpc/rpc/netdb.h: Likewise.
78247         * sunrpc/rpc/pmap_clnt.h: Likewise.
78248         * sunrpc/rpc/xdr.h: Likewise.
78249         * sysdeps/generic/inttypes.h: Likewise.
78250         * sysdeps/generic/net/if.h: Likewise.
78251         * sysdeps/generic/sys/swap.h: Likewise.
78252         * sysdeps/gnu/net/if.h: Likewise.
78253         * sysdeps/gnu/utmpx.h: Likewise.
78254         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
78255         * sysdeps/i386/i486/bits/string.h: Likewise.
78256         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
78257         * sysdeps/s390/bits/string.h: Likewise.
78258         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
78259         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
78260         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
78261         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
78262         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
78263         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
78264         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
78265         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
78266         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
78267         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
78268         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
78269         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
78270         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
78271         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
78272         * sysdeps/unix/sysv/linux/readv.c: Likewise.
78273         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
78274         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
78275         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78276         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
78277         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
78278         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
78279         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
78280         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
78281         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
78282         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
78283         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
78284         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
78285         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
78286         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
78287         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
78288         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
78289         * sysvipc/sys/ipc.h: Likewise.
78290         * sysvipc/sys/msg.h: Likewise.
78291         * sysvipc/sys/sem.h: Likewise.
78292         * sysvipc/sys/shm.h: Likewise.
78293         * termios/termios.h: Likewise.
78294         * time/sys/time.h: Likewise.
78295         * time/time.h: Likewise.
78296         * wcsmbs/bits/wchar2.h: Likewise.
78297         * wcsmbs/uchar.h: Likewise.
78298         * wcsmbs/wchar.h: Likewise.
78299         * wctype/wctype.h: Likewise.
78301         [BZ #13551]
78302         * Makeconfig: Remove all but ELF support including AIX support.
78303         * Makerules: Likewise.
78304         * config.h.in: Likewise.
78305         * config.make.in: Likewise.
78306         * configure: Likewise.
78307         * configure.in: Likewise.
78308         * csu/Makefile: Likewise.
78309         * csu/version.c: Likewise.
78310         * debug/Makefile: Likewise.
78311         * dlfcn/Makefile: Likewise.
78312         * elf/Makefile: Likewise.
78313         * extra-lib.mk: Likewise.
78314         * iconv/Makefile: Likewise.
78315         * include/libc-symbols.h: Likewise.
78316         * include/shlib-compat.h: Likewise.
78317         * resolv/Makefile: Likewise.
78318         * resolv/res_libc.c: Likewise.
78319         * rt/Makefile: Likewise.
78320         * sysdeps/i386/asm-syntax.h: Likewise.
78321         * sysdeps/i386/sysdep.h: Likewise.
78322         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78323         * sysdeps/mach/sysdep.h: Likewise.
78324         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
78325         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
78326         * sysdeps/s390/asm-syntax.h: Likewise.
78327         * sysdeps/s390/s390-32/sysdep.h: Likewise.
78328         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78329         * sysdeps/sh/sysdep.h: Likewise.
78330         * sysdeps/unix/sparc/sysdep.h: Likewise.
78331         * sysdeps/wordsize-32/divdi3.c: Likewise.
78332         * sysdeps/x86_64/sysdep.h: Likewise.
78334         * argp/Versions: Remove _argp_unlock_xxx.
78336         [BZ #13559]
78337         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
78338         * abilist/libBrokenLocale.abilist: Likewise.
78339         * abilist/libanl.abilist: Likewise.
78340         * abilist/libc.abilist: Likewise.
78341         * abilist/libcrypt.abilist: Likewise.
78342         * abilist/libdl.abilist: Likewise.
78343         * abilist/libm.abilist: Likewise.
78344         * abilist/libnsl.abilist: Likewise.
78345         * abilist/libpthread.abilist: Likewise.
78346         * abilist/libresolv.abilist: Likewise.
78347         * abilist/librt.abilist: Likewise.
78348         * abilist/libthread_db.abilist: Likewise.
78349         * abilist/libutil.abilist: Likewise.
78350         * abilist/libnss_db.abilist: New file.
78352         * scripts/abilist.awk: Add support for indirect functions.
78354         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
78356         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
78358         * shlib-versions: Remove entries for ports architectures.
78360         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
78361         files in ports.
78362         * elf/stackguard-macros.h: Remove support for IA-64.
78363         * elf/tst-auditmod1.c: Likewise.
78364         * sysdeps/generic/ldsodefs.h: Likewise.
78366         * sysdeps/unix/sysv/linux/configure.in: Ports should define
78367         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
78368         configure files.
78370         [BZ #13552]
78371         * configure.in: Remove --enable-omitfp support.
78372         * FAQ.in: Adjust.
78373         * config.make.in: Likewise.
78374         * Makeconfig: Likewise.
78375         * manual/install.texi: Likewise.
78377         In case anyone cares, the IA-64 architecture could move to ports.
78378         * sysdeps/ia64/*: Removed.
78379         * sysdeps/unix/sysv/linux/ia64/*: Removed.
78380         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
78382         [BZ #13555]
78383         * configure.in: Remove entries for unsupported architectures.
78385         [BZ #13533]
78386         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
78387         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
78388         routines.
78389         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
78390         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
78391         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
78392         fall back to using wcrtomb.
78393         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
78394         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
78395         renaming.
78396         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
78397         * wcsmbs/tst-c16c32-1.c: New file.
78399         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
78400         local variable.
78402         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
78404         * elf/tst-unique3.cc: Add explicit declaration of gets.
78405         * elf/tst-unique3lib.cc: Likewise.
78406         * elf/tst-unique3lib2.cc: Likewise.
78407         * elf/tst-unique4.cc: Likewise.
78409         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
78411 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
78413         [BZ #13566]
78414         * assert/assert.h (static_assert): Don't define for C++.
78415         * libio/stdio.h (gets): Do declare for C++ <= C++11.
78416         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
78418 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
78420         * iconv/loop.c (single loop): Fix assertion in storing of
78421         remaining bytes.
78423         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
78425 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
78427         * posix/getconf.c: Update copyright year.
78428         * nss/getent.c: Likewise.
78429         * nss/makedb.c: Likewise.
78430         * iconv/iconvconfig.c: Likewise.
78431         * iconv/iconv_prog.c: Likewise.
78432         * elf/ldconfig.c: Likewise.
78433         * elf/pldd.c: Likewise.
78434         * elf/sotruss.ksh: Likewise.
78435         * catgets/gencat.c: Likewise.
78436         * csu/version.c: Likewise.
78437         * elf/ldd.bash.in: Likewise.
78438         * elf/sprof.c (print_version): Likewise.
78439         * locale/programs/locale.c: Likewise.
78440         * locale/programs/localedef.c: Likewise.
78441         * login/programs/pt_chown.c: Likewise.
78442         * nscd/nscd.c (print_version): Likewise.
78443         * debug/xtrace.sh: Likewise.
78444         * malloc/memusage.sh: Likewise.
78445         * malloc/mtrace.pl: Likewise.
78446         * debug/catchsegv.sh: Likewise.
78448 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
78450         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
78451         pure attribute.
78453 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
78455         [BZ #13533]
78456         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
78457         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
78458         transformations.
78459         * iconv/gconv_int.h: Likewise.
78460         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
78461         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
78462         from libc for GLIBC_2.16.
78463         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
78464         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
78465         * wcsmbs/uchar.h: Really define mbstate_t.
78466         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
78467         * wcsmbs/c16rtomb.c: New file.
78468         * wcsmbs/mbrtoc16.c: New file.
78469         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
78470         for C/POSIX locale.
78471         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
78472         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
78474         * wcsmbs/wchar.h: Add missing __restrict.
78476 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
78478         [BZ #13532]
78479         * time/Makefile (routines): Add timespec_get.
78480         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
78481         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
78482         timespec for ISO C11.
78483         * time/timespec_get.c: New file.
78484         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
78485         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
78487         [BZ #13531]
78488         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
78489         * stdlib/stdlib.h: Declare aligned_alloc.
78490         * Versions.def: Add GLIBC_2.16 for libc.
78491         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
78493         [BZ 13527]
78494         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
78495         ISO C11.
78497         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
78498         code.
78500         [BZ #13528]
78501         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
78503         [BZ #13529]
78504         * assert/assert.h (static_assert): Define.
78506         * version.h: Update for 2.16 development version.
78508         [BZ #13526]
78509         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
78510         _ISOC11_SOURCE.
78512         * version.h (RELEASE): Bump for 2.15 release.
78513         * include/features.h (__GLIBC_MINOR__): Bump to 15.
78515         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
78516         Patch by Marek Polacek <mpolacek@redhat.com>.
78518         * bits/byteswap.h: Protect long long constants with __extension__.
78519         * sysdeps/i386/bits/byteswap.h: Likewise.
78520         * sysdeps/ia64/bits/byteswap.h: Likewise.
78521         * sysdeps/s390/bits/byteswap.h: Likewise.
78522         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78524 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78526         [BZ #13540]
78527         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
78528         destination buffer.
78529         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
78531 2011-12-23  Marek Polacek  <polacek@redhat.com>
78533         * elf/dl-addr.c (determine_info): Add inline keyword.
78534         * elf/tst-auditmod4b.c (check_avx): Likewise.
78535         * elf/tst-auditmod6b.c (check_avx): Likewise.
78536         * elf/tst-auditmod6c.c (check_avx): Likewise.
78537         * elf/tst-auditmod7b.c (check_avx): Likewise.
78539 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
78541         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
78542         !__SSE_MATH__.
78544 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78546         [BZ #13540]
78547         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
78548         processing for last bytes.
78550 2011-08-06  Bruno Haible  <bruno@clisp.org>
78552         [BZ #13061]
78553         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
78554         U+0385, not to U+1FEE.
78556         [BZ #13062]
78557         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
78558         entry for U+00A5 U+0301.
78560 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
78562         [BZ #13166]
78563         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
78564         buffer for the output is too small.
78566         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
78567         optimization.
78569         [BZ #13185]
78570         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
78571         SSE flags if possible.
78573 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78575         [BZ #13540]
78576         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
78577         processing for last bytes.
78579 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
78581         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
78582         (syscall-list-default-options, syscall-list-default-condition)
78583         (syscall-list-includes): Define.
78584         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
78585         list of ABIs and options and #if conditions for each ABI.  Do not
78586         handle common syscalls between ABIs specially.
78587         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
78588         Remove.
78589         (syscall-list-variants, syscall-list-32bit-options)
78590         (syscall-list-32bit-condition, syscall-list-64bit-options)
78591         (syscall-list-64bit-condition): Define.
78592         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
78593         (syscall-list-variants, syscall-list-32bit-options)
78594         (syscall-list-32bit-condition, syscall-list-64bit-options)
78595         (syscall-list-64bit-condition): Define.
78596         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
78597         Remove.
78598         (syscall-list-variants, syscall-list-32bit-options)
78599         (syscall-list-32bit-condition, syscall-list-64bit-options)
78600         (syscall-list-64bit-condition): Define.
78601         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
78602         Remove.
78603         (syscall-list-variants, syscall-list-32bit-options)
78604         (syscall-list-32bit-condition, syscall-list-64bit-options)
78605         (syscall-list-64bit-condition): Define.
78607 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
78609         * locale/iso-639.def: Add brx entry.
78611         [BZ #13328]
78612         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
78613         Proposed by Mariusz_Cukr <marcukr@op.pl>.
78615         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
78616         __feraiseexcept_renamed.
78618 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
78620         [BZ #13538]
78621         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
78622         EPOLLET with unsigned values.
78623         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
78624         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
78626         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
78627         to large cancellation.
78628         * math/s_cacoshf.c: Likewise.
78629         * math/s_cacoshl.c: Likewise.
78631 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
78633         [BZ #13305]
78634         [BZ #12786]
78635         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
78636         * math/s_cacoshf.c: Likewise.
78637         * math/s_cacoshl.c: Likewise.
78639 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
78641         [BZ #13439]
78642         * iconv/gconv.h: Define __GCONV_SWAP.
78643         * iconvdata/unicode.c: The swap bit must be stored in __flags.
78644         * iconvdata/utf-16.c: Likewise.
78645         * iconvdata/utf-32.c: Likewise.
78647 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
78649         [BZ #13524]
78650         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
78651         numerator after shifting it by one limb.
78653 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
78655         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
78656         under [__USE_EXTERN_INLINES].
78658 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
78660         [BZ #13446]
78661         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
78663 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78665         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
78666         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
78667         optimized code.
78668         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
78669         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
78670         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
78671         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
78672         for strncasecmp/strncasecmp_l compilation.
78673         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
78674         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
78676 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
78678         [BZ #13484]
78679         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
78680         of __asm__.
78682 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
78684         [BZ #13506]
78685         * time/tzfile.c (__tzfile_read): Check values from file header.
78687 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
78689         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
78690         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
78691         * powerpc/powerpc32/dl-start.S: Likewise.
78692         * powerpc/powerpc32/elf/start.S: Likewise.
78693         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
78694         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
78695         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
78696         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
78697         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
78698         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
78699         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
78700         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
78701         * powerpc/powerpc32/fpu/s_round.S: Likewise.
78702         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
78703         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
78704         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
78705         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
78706         * powerpc/powerpc32/memset.S: Likewise.
78707         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
78708         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
78709         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
78710         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
78711         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
78712         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
78713         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
78714         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
78715         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
78716         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
78717         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
78718         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
78719         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
78721 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78723         * math/libm-test.inc: Added more nearbyint tests.
78724         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
78725         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
78726         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
78727         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
78729 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
78731         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
78732         FD_CLOEXEC.
78734 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78736         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
78737         Add wcscpy-ssse3 wcscpy-c.
78738         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
78739         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
78740         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
78741         * sysdeps/x86_64/wcschr.S: New file.
78742         * sysdeps/x86_64/wcsrchr.S: New file.
78743         * string/test-strcmp.c: Remove checking of wcscmp function for
78744         wrong alignments.
78745         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
78746         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
78747         wcsrchr-sse2 wcsrchr-c.
78748         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
78749         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
78750         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
78751         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
78752         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
78753         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
78754         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
78755         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
78756         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
78757         * wcsmbc/wcschr.c (WCSCHR): New macro.
78759 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78761         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
78762         * wcsmbs/test-wcsrchr.c: New file.
78763         * string/test-strrchr.c: Add wcsrchr support.
78764         (WIDE): New macro.
78765         * wcsmbs/test-wcscpy.c: New file.
78766         * string/test-strcpy.c: Add wcscpy support.
78767         (WIDE): New macro.
78769 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
78771         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
78772         the inner loop.
78774 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
78776         [BZ #13472]
78777         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
78779 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
78781         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
78782         Minor optimizations.
78784         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
78785         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
78786         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
78788 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
78790         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
78791         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
78792         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
78793         for gcc to avoid warnings.
78794         * inet/Makefile (tests): Add tst-checks.
78795         * inet/tst-checks.c: New file.
78797         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
78798         warning.
78800         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
78801         __wmemcmp_sse2.
78803         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
78804         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
78806         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
78808 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
78810         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
78811         problem.
78813         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
78815 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
78817         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
78818         conditional on GCC version.
78819         (__arch_compare_and_exchange_val_8_acq)
78820         (__arch_compare_and_exchange_val_16_acq)
78821         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
78822         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
78823         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
78825 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
78827         * sysdeps/sh/backtrace.c: New file.
78829 2011-12-02  Andreas Schwab  <schwab@redhat.com>
78831         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
78832         parenthesis.
78834 2011-12-01  Andreas Schwab  <schwab@redhat.com>
78836         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
78837         falling back to utime.
78839 2011-11-30  Andreas Schwab  <schwab@redhat.com>
78841         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
78842         expectations for float.
78844 2011-11-29  Andreas Schwab  <schwab@redhat.com>
78846         * locale/weight.h (findidx): Add parameter len.
78847         * locale/weightwc.h (findidx): Likewise.
78848         * posix/fnmatch_loop.c (FCT): Adjust caller.
78849         * posix/regcomp.c (build_equiv_class): Likewise.
78850         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
78851         * posix/regexec.c (check_node_accept_bytes): Likewise.
78852         * string/strcoll_l.c (STRCOLL): Likewise.
78853         * string/strxfrm_l.c (STRXFRM): Likewise.
78855 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
78857         * Makefile.in: Remove CVSOPT handling.
78858         * configure.in: Remove use of AC_REVISION.
78859         * iconvdata/Makefile (distribute): No need to filter out CVS.
78860         * scripts/list-sources.sh: Remove CVS, subversion and monotone
78861         handling.
78863 2011-11-16  Andreas Schwab  <schwab@redhat.com>
78865         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
78866         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
78867         [USE_AS_STRNCASECMP_L]: Likewise.
78868         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
78869         NO_TLS_DIRECT_SEG_REFS.
78870         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
78871         Fix argument offsets for non-PIC.
78872         [USE_AS_STRNCASECMP_L]: Likewise.
78873         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
78874         NO_TLS_DIRECT_SEG_REFS.
78876 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
78878         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
78879         O_CLOEXEC.
78880         * locale/loadlocale.c (_nl_load_locale): Likewise.
78882 2011-11-15  Andreas Schwab  <schwab@redhat.com>
78884         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
78885         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
78886         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
78887         (SYSCALL_GETTIME): Set errno on error.
78889         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
78890         count references to noai6ai_cached.
78892 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
78894         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
78896         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
78897         FD_CLOEXEC for /proc/self/maps.
78899         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
78900         FD_CLOEXEC for /proc/meminfo.
78902         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
78903         gai.conf.
78905         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
78906         FD_CLOEXEC for given file.
78908         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
78910         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
78911         FD_CLOEXEC for /etc/hosts.
78912         (_gethtent): Likewise.
78914         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
78916         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
78917         cancellation and set FD_CLOEXEC for /etc/netgroup.
78919         * nss/nss_files/files-key.c (search): Don't allow cancellation when
78920         reading /etc/publickey.
78922         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
78923         allow cancellation when reading /etc/group.
78925         * nss/nss_files/files-alias.c (internal_setent): Don't allow
78926         cancellation.
78927         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
78929         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
78930         when using data file.
78932         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
78934         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
78935         (write_nis_obj): Use "c" and "e" in fopen.
78937         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
78939         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
78941         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
78943         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
78945         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
78946         locale.alias.
78948         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
78950         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
78952         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
78954         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
78955         file parsing and set FD_CLOEXEC.
78957 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
78959         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
78961 2011-11-14  Andreas Schwab  <schwab@redhat.com>
78963         * malloc/arena.c (arena_get2): Don't call reused_arena when
78964         _int_new_arena failed.
78966 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
78968         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
78969         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
78970         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
78971         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
78972         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
78973         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
78974         to compile strcasecmp and strncasecmp.
78975         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
78976         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
78978         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
78980 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
78982         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
78983         locale-defines.sym to gen-as-const-headers.
78984         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
78985         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
78986         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
78987         to compile strcasecmp and strncasecmp.
78988         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
78989         strcasecmp_l and strncasecmp_l.
78990         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
78991         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
78992         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
78993         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
78994         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
78995         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
78996         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
78997         * sysdeps/i386/i686/multiarch/strncase.S: New file.
78998         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
78999         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
79000         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
79002 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
79004         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
79005         result of SYSDEP_GETTIME_CPU to retval.
79006         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
79007         parameter list to macro.  Remove trailing semicolon.  Adjust users.
79009         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
79010         variable.
79012         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
79013         mantissa words.
79014         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
79016         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
79017         from unused variable.
79019         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
79020         DWARF definitions.
79021         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
79022         for assembling.
79024         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
79025         over namespaces.
79027         * sunrpc/rpc_prot.c (rejected): Fix case value.
79029         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
79030         unsigned long long int to avoid warnings in shift.
79032         * posix/regex_internal.c (re_string_reconstruct): Actually use result
79033         of use of trans.
79034         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
79035         variable tmp.
79037         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
79038         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
79039         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
79041         * nis/nis_table.c (nis_list): Use variable of correct type for
79042         result of __follow_path call.
79044 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79046         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
79047         of math functions ceil, trunc, floor, round, and sqrt, when
79048         avaliable on the platform.
79049         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
79050         name clash.
79051         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
79052         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
79053         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
79055 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
79057         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
79058         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
79060 2011-11-11  Roland McGrath  <roland@hack.frob.com>
79062         * include/unistd.h: Fix __readlink return type.
79063         Reported by Chris Metcalf <cmetcalf@tilera.com>.
79065 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
79067         * stdlib/ucontext.h: Undo last change for makecontext.
79069 2011-11-11  Andreas Schwab  <schwab@redhat.com>
79071         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
79073         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
79074         * setjmp/setjmp.h: Mark functions as non-leaf.
79075         * setjmp/bits/setjmp2.h: Likewise.
79076         * stdlib/ucontext.h: Likewise.
79078 2011-11-10  Andreas Schwab  <schwab@redhat.com>
79080         * malloc/arena.c (_int_new_arena): Don't increment narenas.
79081         (reused_arena): Don't check arena limit.
79082         (arena_get2): Atomically check arena limit.
79084 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
79086         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
79087         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
79089         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
79090         instructions.
79092 2011-11-07  Andreas Schwab  <schwab@redhat.com>
79094         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
79095         handler when locking.
79097         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
79098         Fix size of allocated buffer.
79100 2011-11-04  Andreas Schwab  <schwab@redhat.com>
79102         [BZ #10103]
79103         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
79104         declarations for long double functions.
79105         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
79107         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
79109 2011-11-03  Andreas Schwab  <schwab@redhat.com>
79111         * nscd/nscd.c (main): Don't start AVC thread until credentials are
79112         installed.
79114         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
79115         is disabled.
79117 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79119         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
79121 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
79123         * include/alloca.h (stackinfo_alloca_round): Define.
79124         (extend_alloca): Use it.
79125         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
79126         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
79127         here.
79129         * scripts/check-local-headers.sh: Ignore libaudit.h.
79131         * nscd/Makefile (extra-objs): Make recursively expanded.
79133 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
79135         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
79136         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
79138         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
79139         * posix/tst-rfc3484-2.c: Likewise.
79140         * posix/tst-rfc3484-3.c: Likewise.
79142         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
79143         process_vm_writev.
79144         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
79145         process_vm_writev.
79146         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
79147         process_vm_writev from libc using GLIBC_2.15 version.
79149         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
79151 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
79153         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
79154         stack usage.
79156 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
79158         [BZ #13367]
79159         * nss/getent.c (initgroups_keys): Show error message in case no group
79160         names are given.
79162         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
79163         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
79164         __bump_nl_timestamp.
79165         * nscd/connections (nscd_init): When host database is served open
79166         netlink socket and request notification about configuration changes.
79167         (main_loop_poll): Track netlink file descriptor and bump timestamp
79168         in case data becomes available.
79169         (main_loop_epoll): Likewise.
79170         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
79171         (database_pers_head): Add extra_data fileds.
79172         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
79173         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
79174         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
79175         Adjust caller.
79176         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
79177         in6ai data, call __free_in6ai.
79178         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
79179         Add -DHAVE_NETLINK.
79180         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
79181         interface information.  Reuse previous data if netlink timestamp
79182         is not changed.
79183         (__bump_nl_timestamp): New function.
79184         (__free_in6ai): New function.
79186 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
79188         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
79189         close_not_cancel_no_status here.
79190         (__check_pf): Reorganize code a bit to not call close twice if OOM.
79192 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
79194         [BZ #13276]
79195         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
79196         return value.
79198         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
79199         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
79200         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
79202 2011-07-03  Andreas Jaeger  <aj@suse.de>
79204         [BZ #10709]
79205         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
79206         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
79207         * math/libm-test.inc (sin_test): Add test case.
79209 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
79211         [BZ #13337]
79212         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
79213         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79215         * elf/chroot_canon.c (chroot_canon): Cleanups.
79217         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
79219         [BZ #13335]
79220         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
79221         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79223         * string/test-strchr.c: Make usable for strchrnul testing.
79224         * string/test-strchrnul.c: New file.
79225         * string/Makefile (strop-tests): Add strchrnul.
79227         * po/it.po: Update from translation team.
79228         * po/es.po: Likewise.
79230 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
79232         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
79233         the three constants needed as parameters.  Drop the others.
79234         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
79235         __m128i_strloadu_tolower.
79236         Create and initialize variable zero and use it in all the places
79237         where _mm_setzero_si128 was used.
79239         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
79240         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
79241         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
79242         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
79243         anymore.
79244         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
79245         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
79246         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
79247         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
79248         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
79249         __mpranred, __mptan.
79250         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
79251         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
79252         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
79253         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
79254         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
79255         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
79256         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
79257         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
79258         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
79260 2011-10-28  Andreas Schwab  <schwab@redhat.com>
79262         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
79263         redefine if SHARED.
79264         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
79266         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
79267         wide char related routines to wcsmbs subdir.
79269 2011-10-27  Andreas Schwab  <schwab@redhat.com>
79271         [BZ #13344]
79272         * misc/sys/cdefs.h (__THROWNL): Define.
79273         * posix/unistd.h: Use __THREADNL instead of __THREAD
79274         for memory synchronization functions.
79276 2011-10-26  Roland McGrath  <roland@hack.frob.com>
79278         [BZ #13349]
79279         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
79280         doesn't exist.
79281         * manual/stdio.texi (Obstack Streams): Node removed.
79283 2011-10-26  Andreas Schwab  <schwab@redhat.com>
79285         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
79286         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79287         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79289         * math/math_private.h (math_force_eval): Allow non-addressable
79290         arguments.
79291         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
79293 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
79295         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
79296         file is not needed.
79298         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
79299         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
79300         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
79301         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
79302         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
79303         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
79304         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
79305         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
79306         Add AVX variants.
79307         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
79308         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
79309         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
79310         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
79311         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
79312         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
79313         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
79314         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
79315         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
79316         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
79317         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
79318         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
79319         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
79320         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
79321         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
79322         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
79323         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
79324         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
79325         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
79327         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
79328         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
79330         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
79331         place.  Use VEX encoding when compiling for AVX.
79333 2011-10-25  Andreas Schwab  <schwab@redhat.com>
79335         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
79336         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
79338         * string/test-strchr.c (do_test): Don't generate NUL bytes.
79340 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
79342         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
79343         useless if() expression.
79344         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
79345         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
79346         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
79347         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79348         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
79349         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79350         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79351         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79352         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
79353         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79354         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
79355         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79356         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
79357         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79358         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
79359         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79360         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
79361         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
79362         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
79364         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
79366 2011-10-25  Andreas Schwab  <schwab@redhat.com>
79368         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
79369         condition.
79370         * elf/dl-fini.c (_dl_sort_fini): Likewise.
79372 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
79374         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
79375         .text section.  Avoid duplicate constants.
79376         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
79377         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79378         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
79379         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79380         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79381         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79382         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79383         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79384         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
79385         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
79386         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
79387         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
79388         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
79389         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
79390         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
79391         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
79392         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
79393         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
79394         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
79395         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79396         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
79397         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
79398         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
79399         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
79400         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
79401         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
79402         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
79403         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
79404         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
79405         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
79406         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
79407         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
79408         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
79409         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
79410         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
79411         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
79412         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
79413         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
79414         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
79415         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
79416         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
79417         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
79418         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
79419         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
79420         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
79422 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
79424         * sysdeps/x86_64/dla.h: Move to ...
79425         * sysdeps/x86_64/fpu/dla.h: ...here.
79426         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
79427         situations.  Use __builtin_fma only for gcc 4.6 and up.
79429         * config.make.in: Add have-mfma4 entry.
79430         * configure.in: Substitute libc_cv_cc_fma4.
79431         * math/Makefile (dbl-only-routines): Add sincostab.
79432         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
79433         Use __sincostab not sincos.
79434         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
79435         name is a macro.
79436         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79437         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79438         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79439         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
79440         using __copysign.
79441         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
79442         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
79443         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
79444         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
79445         and __inv.
79446         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
79447         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
79448         __copysign.
79449         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
79450         define aliases when function name is a macro.
79451         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
79452         sysdeps/ieee754/dbl-64/sincos.tbl.
79453         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
79454         fma4-enabled routines.
79455         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
79456         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
79457         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
79458         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
79459         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
79460         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
79461         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
79462         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
79463         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
79464         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
79465         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
79466         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
79467         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
79468         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
79469         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
79470         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
79471         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
79472         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
79473         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
79474         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
79475         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
79476         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
79477         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
79478         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
79479         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
79480         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
79481         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
79482         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
79483         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
79484         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
79486         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
79487         rename.
79488         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79489         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79490         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79491         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79492         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79493         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79494         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79495         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79497 2011-10-24  Andreas Schwab  <schwab@redhat.com>
79499         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
79501 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
79503         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
79505         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
79506         prediction.
79507         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
79509         * string/strnlen.c: Don't define STRNLEN, reverse logic.
79510         Remove unused variable magic_bits.
79511         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
79513         * string/strnlen.c: Define and use STRNLEN macro.
79514         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
79515         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
79516         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
79517         * wcsmbs/wcslen.c: Define and use WCSLEN.
79518         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
79519         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
79520         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
79521         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
79522         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
79523         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
79524         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
79526 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79528         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79529         strnlen-sse2-no-bsf.
79530         Rename strlen-no-bsf to strlen-sse2-no-bsf.
79531         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
79532         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
79533         Add strnlen support.
79534         (USE_AS_STRNLEN): New macro.
79535         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
79536         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
79537         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
79538         * sysdeps/x86_64/wcslen.S: New file.
79540 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
79542         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
79543         XMM-moves are used for copying on small sizes.
79545 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79547         * wcsmbs/Makefile (strop-tests): Add wcschr.
79548         * wcsmbs/test-wcschr.c: New file.
79549         * string/test-strchr.c: Update.
79550         Add wcschr support.
79551         (WIDE): New macro.
79553 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79555         * wcsmbs/Makefile (strop-tests): Add wcslen.
79556         * wcsmbs/test-wcslen.c: New file.
79557         * string/test-strlen.c: Update.
79558         Add wcslen support.
79559         (WIDE): New macro.
79561 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
79563         * po/it.po: Update from translation team.
79565 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79567         * sysdeps/x86_64/wcscmp.S: Update.
79568         Fix wrong comparison semantics.
79569         wcscmp shall use signed comparison not unsigned.
79570         Don't use substraction to avoid overflow bug.
79571         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
79572         * wcsmbc/wcscmp.c: Likewise.
79573         * string/test-strcmp.c: Likewise.
79574         Add new tests to check cases with negative values.
79576 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
79578         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
79579         * sysdeps/x86_64/dla.h: ...here.  New file.
79580         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
79581         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79582         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79583         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79584         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79585         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
79586         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79587         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79588         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79590 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
79592         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
79593         __ynl_finite aliases.
79595 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
79597         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79599         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
79600         define DLA_FMA.
79601         [DLA_FMA] (EMULV): Use DLA_FMA.
79602         [DLA_FMA] (MUL12): Use EMULV.
79603         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
79604         that are not needed.
79605         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79606         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79607         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79608         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79609         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79610         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79611         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79613 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
79615         * math/s_nan.c: Undef __nan.
79616         * math/s_nanf.c: Undef __nanf.
79617         * math/s_nanl.c: Undef __nanl.
79618         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
79619         "math_private.h".
79621 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
79623         * math/s_catan.c: Add branch predictions.
79624         * math/s_catanf.c: Likewise.
79625         * math/s_catanh.c: Likewise.
79626         * math/s_catanhf.c: Likewise.
79627         * math/s_catanhl.c: Likewise.
79628         * math/s_catanl.c: Likewise.
79629         * math/s_cexp.c: Likewise.
79630         * math/s_cexpf.c: Likewise.
79631         * math/s_cexpl.c: Likewise.
79632         * math/s_clog.c: Likewise.
79633         * math/s_clog10.c: Likewise.
79634         * math/s_clog10f.c: Likewise.
79635         * math/s_clog10l.c: Likewise.
79636         * math/s_clogf.c: Likewise.
79637         * math/s_clogl.c: Likewise.
79638         * math/s_csqrt.c: Likewise.
79639         * math/s_csqrtf.c: Likewise.
79640         * math/s_csqrtl.c: Likewise.
79641         * math/s_ctanf.c: Likewise.
79642         * math/s_ctanh.c: Likewise.
79643         * math/s_ctanhf.c: Likewise.
79644         * math/s_ctanhl.c: Likewise.
79645         * math/s_ctanl.c: Likewise.
79647         * math/math_private.h: Define __nan, __nanf, __nanl.
79648         * math/s_cacosh.c: Include <math_private.h>.
79649         * math/s_cacoshl.c: Likewise.
79650         * math/s_casinh.c: Likewise.
79651         * math/s_casinhf.c: Likewise.
79652         * math/s_casinhl.c: Likewise.
79653         * math/s_ccos.c: Rely entire on ccosh.
79654         * math/s_ccosf.c: Rely entire on ccoshf.
79655         * math/s_ccosl.c: Rely entirely on ccoshl.
79656         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
79657         Remove tests for FE_INVALID.
79658         * math/s_ccoshf.c: Likewise.
79659         * math/s_ccoshl.c: Likewise.
79660         * math/s_csin.c: Likewise.
79661         * math/s_csinf.c: Likewise.
79662         * math/s_csinh.c Likewise.
79663         * math/s_csinhf.c: Likewise.
79664         * math/s_csinhl.c: Likewise.
79665         * math/s_csinl.c: Likewise.
79666         * math/s_ctan.c: Likewise.
79667         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
79668         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
79669         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
79671 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
79673         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
79674         compilation problems.
79676         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
79677         __builtin_expect.
79679 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
79681         * sysdeps/i386/configure.in: Test for -mfma4 option.
79682         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
79683         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
79684         COMMON_CPUID_INDEX_80000001.
79685         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
79686         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
79687         use it if FMA3 is not supported.
79688         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
79690         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
79691         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
79693 2011-10-20  Andreas Schwab  <schwab@redhat.com>
79695         [BZ #12892]
79696         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
79697         it would create a cycle with a link time dependency.
79699 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
79701         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
79702         instruction.
79703         * string/Makefile (strop-tests): Add rawmemchr.
79704         * string/test-rawmemchr.c: New file.
79706         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
79707         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
79708         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
79709         when compiling str{,n}casecmp and when AVX is available.  Hook up
79710         new optimized code in initializers.
79712 2011-10-19  Andreas Schwab  <schwab@redhat.com>
79714         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
79715         __feraiseexcept instead of feraiseexcept.
79717 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
79719         * math/math_private.h: Define defaults for libc_fetestexcept and
79720         libc_feupdateenv.
79721         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
79722         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
79723         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
79724         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
79725         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
79726         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
79727         libc_fetestexcept and libc_feupdateenv.
79729         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
79730         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
79731         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
79732         * sysdeps/x86_64/fpu/math_private.h: Define special version of
79733         libc_feholdexcept_setround.
79735         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
79736         Add s_nearbyint-c and s_nearbyintf-c.
79737         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
79738         nearbyintf inlines.
79739         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
79740         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
79741         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
79742         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
79744         * math/math_private.h: Define defaults for libc_fegetround,
79745         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
79746         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
79747         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
79748         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
79749         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
79750         standard functions.
79751         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
79752         Remove comments and hacks for old compiler versions.
79753         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
79754         libc_fegetround, libc_fesetround, libc_feholdexcept, and
79755         libc_feholdexceptl.
79757 2011-10-18  Andreas Schwab  <schwab@redhat.com>
79759         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
79760         (__feraiseexcept_renamed): Add __NTH.
79761         (feraiseexcept): Add __NTH.  Rename local variables to fix
79762         namespace violations.
79764 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
79766         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
79768         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
79770         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
79771         recently added interfaces.
79772         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
79774         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
79775         about macro parameter expansion.
79777         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
79778         __NO_MATH_INLINES is defined.  Cleanups.
79780         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
79781         and __floorf is target has SSE4.1.
79782         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
79783         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
79784         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
79785         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
79787         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
79788         name.
79789         (floorf): Likewise.
79791         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
79793 2011-10-17  Andreas Schwab  <schwab@redhat.com>
79795         * misc/sys/cdefs.h: Fix last change.
79797         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
79798         database lookup.
79800 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
79802         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
79804         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
79805         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79806         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
79807         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79808         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79809         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
79810         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79811         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79812         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
79813         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
79814         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
79815         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
79816         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
79817         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
79818         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
79819         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
79820         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
79821         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
79822         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
79823         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
79824         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
79825         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
79827         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
79828         ceil, ceilf, floor, floorf.
79830         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
79831         Perform IRELATIVE relocations last.
79833         * elf/do-rel.h: Add another parameter nrelative, replacing the
79834         local variable with the same name.  Change name of the function
79835         to end in Rel or Rela (uppercase).
79836         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
79837         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
79838         elf_dynamic_do_##reloc function.
79840 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
79842         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
79843         is sufficient, at least on modern CPUs.
79845         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
79847         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
79848         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
79850         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
79851         __expl_finite.
79852         * math/bits/math-finite.h: Add entries for exp.
79853         * math/e_expl.c: Add __*_finite alias.
79854         * sysdeps/i386/fpu/e_exp.S: Likewise.
79855         * sysdeps/i386/fpu/e_expf.S: Likewise.
79856         * sysdeps/i386/fpu/e_expl.c: Likewise.
79857         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79858         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
79859         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
79860         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
79861         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
79862         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
79863         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
79865         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
79866         is sufficient, at least on modern CPUs.
79868         * ctype/ctype-info.c (__ctype_init): Define.
79869         * include/ctype.h (__ctype_init): Declare.
79870         (__ctype_b_loc): The variable is always initialized.
79871         (__ctype_toupper_loc): Likewise.
79872         (__ctype_tolower_loc): Likewise.
79873         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
79874         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
79876 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
79878         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
79880         * configure.in: Also look in $cxxmachine/include for C++ system
79881         headers.
79883 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79885         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
79886         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
79887         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
79888         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
79889         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
79890         (USE_AS_WMEMCMP): New macro.
79891         Fixing indents.
79892         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
79893         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
79894         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
79895         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
79896         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79897         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
79898         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
79899         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
79900         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
79901         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
79902         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
79903         (USE_AS_WMEMCMP): New macro.
79904         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
79905         * sysdeps/string/test-memcmp.c: Update.
79906         Fix simple_wmemcmp.
79907         Add new tests.
79908         * wcsmbs/wmemcmp.c: Update.
79909         (WMEMCMP): New macro.
79910         Fix overflow bug.
79912 2011-10-12  Andreas Jaeger  <aj@suse.de>
79914         [BZ #13268]
79915         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
79917 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
79919         * libio/iofwide.c (do_length): Avoid warning.
79921         * ctype/ctype.h (__isctype_f): Add missing __THROW.
79923 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
79925         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
79927         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
79928         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
79929         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
79930         * sysdeps/i386/i686/fpu/e_log.S: New file.
79931         * sysdeps/i386/i686/fpu/e_logf.S: New file.
79932         * sysdeps/i386/i686/fpu/e_logl.S: New file.
79934         * ctype/ctype.h: Add support for inlined isXXX functions when
79935         compiling C++ code.
79937 2011-10-14  Andreas Schwab  <schwab@redhat.com>
79939         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79941         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
79943 2011-10-13  Roland McGrath  <roland@hack.frob.com>
79945         [BZ #13291]
79946         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
79948 2011-10-13  Andreas Schwab  <schwab@redhat.com>
79950         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
79951         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
79952         feraiseexcept.
79954         * sysdeps/x86_64/memrchr.S: Check for zero size.
79956         * string/stratcliff.c: Add memrchr tests.
79958 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79960         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79961         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
79962         rawmemchr-sse2 rawmemchr-sse2-bsf.
79963         * sysdeps/i386/i686/multiarch/memchr.S: New file.
79964         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
79965         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
79966         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
79967         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
79968         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
79969         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
79970         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
79971         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
79972         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
79973         * string/memrchr.c (MEMRCHR): New macro.
79975 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
79977         Add integration with gcc's -ffinite-math-only and optimize wrapper
79978         functions in libm.
79979         * Versions.def: Define GLIBC_2.15 version for libm.
79980         * math/Makefile (headers): Add bits/math-finite.h.
79981         * math/bits/math-finite.h: New file.
79982         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
79983         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
79984         * math/e_acoshl.c: Add __*_finite alias.
79985         * math/e_acosl.c: Likewise.
79986         * math/e_asinl.c: Likewise.
79987         * math/e_atan2l.c: Likewise.
79988         * math/e_atanhl.c: Likewise.
79989         * math/e_coshl.c: Likewise.
79990         * math/e_exp10.c: Likewise.
79991         * math/e_exp10f.c: Likewise.
79992         * math/e_exp10l.c: Likewise.
79993         * math/e_exp2l.c: Likewise.
79994         * math/e_fmodl.c: Likewise.
79995         * math/e_gammal_r.c: Likewise.
79996         * math/e_hypotl.c: Likewise.
79997         * math/e_j0l.c: Likewise.
79998         * math/e_j1l.c: Likewise.
79999         * math/e_jnl.c: Likewise.
80000         * math/e_lgammal_r.c: Likewise.
80001         * math/e_log10l.c: Likewise.
80002         * math/e_log2l.c: Likewise.
80003         * math/e_logl.c: Likewise.
80004         * math/e_powl.c: Likewise.
80005         * math/e_sinhl.c: Likewise.
80006         * math/e_sqrtl.c: Likewise.
80007         * math/e_scalb.c: Completely rewritten and optimized.
80008         * math/e_scalbf.c: Likewise.
80009         * math/e_scalbl.c: Likewise.
80010         * math/w_acos.c: Likewise.
80011         * math/w_acosf.c: Likewise.
80012         * math/w_acosl.c: Likewise.
80013         * math/w_acosh.c: Likewise.
80014         * math/w_acoshf.c: Likewise.
80015         * math/w_acoshl.c: Likewise.
80016         * math/w_asin.c: Likewise.
80017         * math/w_asinf.c: Likewise.
80018         * math/w_asinl.c: Likewise.
80019         * math/w_atan2.c: Likewise.
80020         * math/w_atan2f.c: Likewise.
80021         * math/w_atan2l.c: Likewise.
80022         * math/w_atanh.c: Likewise.
80023         * math/w_atanhf.c: Likewise.
80024         * math/w_atanhl.c: Likewise.
80025         * math/w_exp10.c: Likewise.
80026         * math/w_exp10f.c: Likewise.
80027         * math/w_exp10l.c: Likewise.
80028         * math/w_fmod.c: Likewise.
80029         * math/w_fmodf.c: Likewise.
80030         * math/w_fmodl.c: Likewise.
80031         * math/w_j0.c: Likewise.
80032         * math/w_j0f.c: Likewise.
80033         * math/w_j0l.c: Likewise.
80034         * math/w_j1.c: Likewise.
80035         * math/w_j1f.c: Likewise.
80036         * math/w_j1l.c: Likewise.
80037         * math/w_jn.c: Likewise.
80038         * math/w_jnf.c: Likewise.
80039         * math/w_log.c: Likewise.
80040         * math/w_logf.c: Likewise.
80041         * math/w_logl.c: Likewise.
80042         * math/w_log10.c: Likewise.
80043         * math/w_log10f.c: Likewise.
80044         * math/w_log10l.c: Likewise.
80045         * math/w_log2.c: Likewise.
80046         * math/w_log2f.c: Likewise.
80047         * math/w_log2l.c: Likewise.
80048         * math/w_pow.c: Likewise.
80049         * math/w_powf.c: Likewise.
80050         * math/w_powl.c: Likewise.
80051         * math/w_remainder.c: Likewise.
80052         * math/w_remainderf.c: Likewise.
80053         * math/w_remainderl.c: Likewise.
80054         * math/w_scalb.c: Likewise.
80055         * math/w_scalbf.c: Likewise.
80056         * math/w_scalbl.c: Likewise.
80057         * math/w_sqrt.c: Likewise.
80058         * math/w_sqrtf.c: Likewise.
80059         * math/w_sqrtl.c: Likewise.
80060         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
80061         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
80062         used.
80063         * math/math_private.h: Declare __kernel_standard_f.
80064         * math/w_cosh.c: Remove cruft and optimize a bit.
80065         * math/w_coshf.c: Likewise.
80066         * math/w_coshl.c: Likewise.
80067         * math/w_exp2.c: Likewise.
80068         * math/w_exp2f.c: Likewise.
80069         * math/w_exp2l.c: Likewise.
80070         * math/w_hypot.c: Likewise.
80071         * math/w_hypotf.c: Likewise.
80072         * math/w_hypotl.c: Likewise.
80073         * math/w_lgamma.c: Likewise.
80074         * math/w_lgamma_r.c: Likewise.
80075         * math/w_lgammaf.c: Likewise.
80076         * math/w_lgammaf_r.c: Likewise.
80077         * math/w_lgammal.c: Likewise.
80078         * math/w_lgammal_r.c: Likewise.
80079         * math/w_sinh.c: Likewise.
80080         * math/w_sinhf.c: Likewise.
80081         * math/w_sinhl.c: Likewise.
80082         * math/w_tgamma.c: Likewise.
80083         * math/w_tgammaf.c: Likewise.
80084         * math/w_tgammal.c: Likewise.
80085         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80086         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80087         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
80088         Minor optimizations.  Pretty printing.  Remove cruft.
80089         * sysdeps/i386/fpu/e_acosf.S: Likewise.
80090         * sysdeps/i386/fpu/e_acosh.S: Likewise.
80091         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
80092         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
80093         * sysdeps/i386/fpu/e_acosl.c: Likewise.
80094         * sysdeps/i386/fpu/e_asin.S: Likewise.
80095         * sysdeps/i386/fpu/e_asinf.S: Likewise.
80096         * sysdeps/i386/fpu/e_atan2.S: Likewise.
80097         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
80098         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
80099         * sysdeps/i386/fpu/e_atanh.S: Likewise.
80100         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
80101         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
80102         * sysdeps/i386/fpu/e_exp10.S: Likewise.
80103         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
80104         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
80105         * sysdeps/i386/fpu/e_exp2.S: Likewise.
80106         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
80107         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
80108         * sysdeps/i386/fpu/e_fmod.S: Likewise.
80109         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
80110         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
80111         * sysdeps/i386/fpu/e_hypot.S: Likewise.
80112         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
80113         * sysdeps/i386/fpu/e_log.S: Likewise.
80114         * sysdeps/i386/fpu/e_log10.S: Likewise.
80115         * sysdeps/i386/fpu/e_log10f.S: Likewise.
80116         * sysdeps/i386/fpu/e_log10l.S: Likewise.
80117         * sysdeps/i386/fpu/e_log2.S: Likewise.
80118         * sysdeps/i386/fpu/e_log2f.S: Likewise.
80119         * sysdeps/i386/fpu/e_log2l.S: Likewise.
80120         * sysdeps/i386/fpu/e_logf.S: Likewise.
80121         * sysdeps/i386/fpu/e_logl.S: Likewise.
80122         * sysdeps/i386/fpu/e_pow.S: Likewise.
80123         * sysdeps/i386/fpu/e_powf.S: Likewise.
80124         * sysdeps/i386/fpu/e_powl.S: Likewise.
80125         * sysdeps/i386/fpu/e_remainder.S: Likewise.
80126         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
80127         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
80128         * sysdeps/i386/fpu/e_scalb.S: Likewise.
80129         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
80130         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
80131         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
80132         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
80133         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
80134         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
80135         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80136         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80137         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
80138         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80139         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
80140         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
80141         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
80142         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80143         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
80144         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
80145         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
80146         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80147         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
80148         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
80149         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80150         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
80151         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
80152         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80153         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80154         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
80155         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
80156         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80157         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80158         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
80159         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
80160         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80161         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
80162         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
80163         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
80164         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80165         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
80166         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80167         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
80168         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
80169         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
80170         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
80171         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
80172         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
80173         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
80174         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
80175         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
80176         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
80177         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
80178         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80179         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
80180         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
80181         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
80182         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
80183         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
80184         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
80185         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
80186         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
80187         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80188         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
80189         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
80190         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
80191         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
80192         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
80193         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
80194         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
80195         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
80196         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80197         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80198         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
80199         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
80200         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
80201         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
80202         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
80203         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
80204         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
80205         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
80206         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
80207         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
80208         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
80209         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80210         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
80211         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
80212         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80213         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
80214         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80215         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
80216         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
80217         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80218         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80219         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
80220         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80221         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
80222         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
80223         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
80224         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80225         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
80226         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
80227         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
80228         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
80229         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
80230         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
80231         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
80232         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
80233         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
80234         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
80235         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
80236         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
80237         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
80238         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
80239         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
80240         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
80241         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80242         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
80243         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
80244         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
80245         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
80246         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
80247         (__isnanf): Likewise.
80248         (__isinf_ns): Likewise.
80249         (__isinf_nsf): Likewise.
80250         (__finite): Likewise.
80251         (__finitef): Likewise.
80252         (__ieee754_sqrt): Define as macro.
80253         (__ieee754_sqrtf): Define as macro.
80254         (__ieee754_sqrtl): Define as macro.
80255         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
80256         inlined copy.
80257         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
80258         __FINITE_MATH_ONLY__ consistent.
80259         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
80261 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
80263         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
80264         of rawmemchr.
80266         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
80268 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
80270         * po/ja.po: Update from translation team.
80272 2011-10-08  Roland McGrath  <roland@hack.frob.com>
80274         * locale/programs/locarchive.c (prepare_address_space): New function.
80275         (create_archive, enlarge_archive, open_archive): Use it.
80277         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
80278         inside [SHARED], where it is used.
80280         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
80282         * nss/getent.c (netgroup_keys): Remove unused variable.
80283         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
80285 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
80287         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
80288         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
80289         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
80290         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
80291         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
80292         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
80293         * math/Makefile (libm-calls): Add s_isinf_ns.
80294         * math/divtc3.c: Use __isinf_nsl instead of isinf.
80295         * math/multc3.c: Likewise.
80296         * math/s_casin.c: Likewise.
80297         * math/s_casinf.c: Likewise.
80298         * math/s_casinl.c: Likewise.
80299         * math/s_ccos.c: Likewise.
80300         * math/s_ccosf.c: Likewise.
80301         * math/s_ccosl.c: Likewise.
80302         * math/s_ctan.c: Likewise.
80303         * math/s_ctanf.c: Likewise.
80304         * math/s_ctanh.c: Likewise.
80305         * math/s_ctanhf.c: Likewise.
80306         * math/s_ctanhl.c: Likewise.
80307         * math/s_ctanl.c: Likewise.
80308         * math/w_fmod.c: Likewise.
80309         * math/w_fmodf.c: Likewise.
80310         * math/w_fmodl.c: Likewise.
80311         * math/w_remainder.c: Likewise.
80312         * math/w_remainderf.c: Likewise.
80313         * math/w_remainderl.c: Likewise.
80314         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
80315         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
80316         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
80317         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
80318         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
80319         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
80320         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
80321         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
80323         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
80324         of the number.
80325         * stdio-common/printf_fphex.c: Likewise.
80326         * stdio-common/printf_size.c: Likewise.
80328         * math/e_exp10.c: Include math_private.h using <...> not "...".
80329         * math/e_exp10f.c: Likewise.
80330         * math/e_exp10l.c: Likewise.
80331         * math/e_exp2l.c: Likewise.
80332         * math/e_j0l.c: Likewise.
80333         * math/e_j1l.c: Likewise.
80334         * math/e_jnl.c: Likewise.
80335         * math/e_lgammal_r.c: Likewise.
80336         * math/e_rem_pio2l.c: Likewise.
80337         * math/e_scalb.c: Likewise.
80338         * math/e_scalbf.c: Likewise.
80339         * math/e_scalbl.c: Likewise.
80340         * math/k_cosl.c: Likewise.
80341         * math/k_sinl.c: Likewise.
80342         * math/k_tanl.c: Likewise.
80343         * math/s_cacoshf.c: Likewise.
80344         * math/s_catan.c: Likewise.
80345         * math/s_catanf.c: Likewise.
80346         * math/s_catanh.c: Likewise.
80347         * math/s_catanhf.c: Likewise.
80348         * math/s_catanhl.c: Likewise.
80349         * math/s_catanl.c: Likewise.
80350         * math/s_ccosh.c: Likewise.
80351         * math/s_ccoshf.c: Likewise.
80352         * math/s_ccoshl.c: Likewise.
80353         * math/s_cexp.c: Likewise.
80354         * math/s_cexpf.c: Likewise.
80355         * math/s_cexpl.c: Likewise.
80356         * math/s_clog.c: Likewise.
80357         * math/s_clog10.c: Likewise.
80358         * math/s_clog10f.c: Likewise.
80359         * math/s_clog10l.c: Likewise.
80360         * math/s_clogf.c: Likewise.
80361         * math/s_clogl.c: Likewise.
80362         * math/s_csin.c: Likewise.
80363         * math/s_csinf.c: Likewise.
80364         * math/s_csinh.c: Likewise.
80365         * math/s_csinhf.c: Likewise.
80366         * math/s_csinhl.c: Likewise.
80367         * math/s_csinl.c: Likewise.
80368         * math/s_csqrt.c: Likewise.
80369         * math/s_csqrtf.c: Likewise.
80370         * math/s_csqrtl.c: Likewise.
80371         * math/s_ctan.c: Likewise.
80372         * math/s_ctanf.c: Likewise.
80373         * math/s_ctanh.c: Likewise.
80374         * math/s_ctanhf.c: Likewise.
80375         * math/s_ctanhl.c: Likewise.
80376         * math/s_ctanl.c: Likewise.
80377         * math/s_ldexp.c: Likewise.
80378         * math/s_ldexpf.c: Likewise.
80379         * math/s_ldexpl.c: Likewise.
80380         * math/s_significand.c: Likewise.
80381         * math/s_significandf.c: Likewise.
80382         * math/s_significandl.c: Likewise.
80383         * math/w_acos.c: Likewise.
80384         * math/w_acosf.c: Likewise.
80385         * math/w_acosh.c: Likewise.
80386         * math/w_acoshf.c: Likewise.
80387         * math/w_acoshl.c: Likewise.
80388         * math/w_acosl.c: Likewise.
80389         * math/w_asin.c: Likewise.
80390         * math/w_asinf.c: Likewise.
80391         * math/w_asinl.c: Likewise.
80392         * math/w_atan2.c: Likewise.
80393         * math/w_atan2f.c: Likewise.
80394         * math/w_atan2l.c: Likewise.
80395         * math/w_atanh.c: Likewise.
80396         * math/w_atanhf.c: Likewise.
80397         * math/w_atanhl.c: Likewise.
80398         * math/w_cosh.c: Likewise.
80399         * math/w_coshf.c: Likewise.
80400         * math/w_coshl.c: Likewise.
80401         * math/w_dremf.c: Likewise.
80402         * math/w_exp10.c: Likewise.
80403         * math/w_exp10f.c: Likewise.
80404         * math/w_exp10l.c: Likewise.
80405         * math/w_exp2.c: Likewise.
80406         * math/w_exp2f.c: Likewise.
80407         * math/w_fmod.c: Likewise.
80408         * math/w_fmodf.c: Likewise.
80409         * math/w_fmodl.c: Likewise.
80410         * math/w_hypot.c: Likewise.
80411         * math/w_hypotf.c: Likewise.
80412         * math/w_hypotl.c: Likewise.
80413         * math/w_j0.c: Likewise.
80414         * math/w_j0f.c: Likewise.
80415         * math/w_j0l.c: Likewise.
80416         * math/w_j1.c: Likewise.
80417         * math/w_j1f.c: Likewise.
80418         * math/w_j1l.c: Likewise.
80419         * math/w_jn.c: Likewise.
80420         * math/w_jnf.c: Likewise.
80421         * math/w_jnl.c: Likewise.
80422         * math/w_lgamma.c: Likewise.
80423         * math/w_lgamma_r.c: Likewise.
80424         * math/w_lgammaf.c: Likewise.
80425         * math/w_lgammaf_r.c: Likewise.
80426         * math/w_lgammal.c: Likewise.
80427         * math/w_lgammal_r.c: Likewise.
80428         * math/w_log.c: Likewise.
80429         * math/w_log10.c: Likewise.
80430         * math/w_log10f.c: Likewise.
80431         * math/w_log10l.c: Likewise.
80432         * math/w_log2.c: Likewise.
80433         * math/w_log2f.c: Likewise.
80434         * math/w_log2l.c: Likewise.
80435         * math/w_logf.c: Likewise.
80436         * math/w_logl.c: Likewise.
80437         * math/w_pow.c: Likewise.
80438         * math/w_powf.c: Likewise.
80439         * math/w_powl.c: Likewise.
80440         * math/w_remainder.c: Likewise.
80441         * math/w_remainderf.c: Likewise.
80442         * math/w_remainderl.c: Likewise.
80443         * math/w_scalb.c: Likewise.
80444         * math/w_scalbf.c: Likewise.
80445         * math/w_scalbl.c: Likewise.
80446         * math/w_sinh.c: Likewise.
80447         * math/w_sinhf.c: Likewise.
80448         * math/w_sinhl.c: Likewise.
80449         * math/w_sqrt.c: Likewise.
80450         * math/w_sqrtf.c: Likewise.
80451         * math/w_sqrtl.c: Likewise.
80452         * math/w_tgamma.c: Likewise.
80453         * math/w_tgammaf.c: Likewise.
80454         * math/w_tgammal.c: Likewise.
80456         * po/ja.po: Update from translation team.
80458 2011-09-29  Andreas Jaeger  <aj@suse.de>
80460         [BZ #13179]
80461         * sunrpc/netname.c (netname2host): Fix logic.
80463         [BZ #6779]
80464         [BZ #6783]
80465         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
80466         correctly.
80467         * math/w_remainder.c (__remainder): Likewise.
80468         * math/w_remainderf.c (__remainderf): Likewise.
80469         * math/libm-test.inc (remainder_test): Add test cases.
80471 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80473         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
80474         sdiv_qrnnd.
80476 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
80478         * string/test-memcmp.c: Avoid unncessary #defines.
80479         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
80481 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80483         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
80484         Use new sse2 version for core i3 - i7 as it's faster
80485         than sse42 version.
80486         (bit_Prefer_PMINUB_for_stringop): New.
80487         * sysdeps/x86_64/rawmemchr.S: Update.
80488         Replace with faster SSE2 version.
80489         * sysdeps/x86_64/memrchr.S: New file.
80490         * sysdeps/x86_64/memchr.S: Update.
80491         Replace with faster SSE2 version.
80493 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
80495         * elf/dl-load.c (lose): Add cast to avoid warning.
80497 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
80499         * po/ca.po: Update from translation team.
80501         * inet/getnetgrent_r.c: Hook up nscd.
80502         * nscd/Makefile (routines): Add nscd_netgroup.
80503         (nscd-modules): Add netgroupcache.
80504         (CFLAGS-netgroupcache.c): Define.
80505         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
80506         (cache_search): Add const to second parameter.
80507         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
80508         INNETGR.
80509         (dbs): Add netgrdb entry.
80510         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
80511         (verify_persistent_db): Handle netgrdb.
80512         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
80513         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
80514         GETFDNETGR.
80515         (netgroup_response_header): Define.
80516         (innetgroup_response_header): Define.
80517         (datahead): Add netgroup_response_header and innetgroup_response_header
80518         elements.
80519         * nscd/nscd.conf: Add entries for netgroup cache.
80520         * nscd/nscd.h (dbtype): Add netgrdb.
80521         (_PATH_NSCD_NETGROUP_DB): Define.
80522         (netgroup_iov_disabled): Declare.
80523         (xmalloc, xcalloc, xrealloc): Move declarations here.
80524         (cache_search): Adjust prototype.
80525         Add netgroup-related prototypes.
80526         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
80527         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
80528         (__nscd_innetgr): Declare.
80529         * nscd/selinux.c (perms): Use access_vector_t as element type and
80530         add netgroup-related initializers.
80531         * nscd/netgroupcache.c: New file.
80532         * nscd/nscd_netgroup.c: New file.
80533         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
80534         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
80535         For four parameters use innetgr.
80536         * nss/nss_files/files-init.c: Add definition and callback for netgr.
80537         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
80538         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
80539         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
80541         * nscd/connections.c (register_traced_file): Don't register file
80542         for disabled databases.
80544 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
80546         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
80548         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
80549         from tree and freeing node.
80551 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
80553         * nss/nsswitch.c (__nss_database_lookup): Handle
80554         nss_parse_service_list out of memory case.
80556 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
80558         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
80559         out of memory case.
80561 2011-10-04  Andreas Schwab  <schwab@redhat.com>
80563         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
80564         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
80565         pass it down.
80566         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
80567         elf_machine_rela, elf_machine_lazy_rel.
80568         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
80569         (ELF_DYNAMIC_DO_REL): Likewise.
80570         (ELF_DYNAMIC_DO_RELA): Likewise.
80571         (ELF_DYNAMIC_RELOCATE): Likewise.
80572         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
80573         to ELF_DYNAMIC_DO_REL.
80574         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
80575         (dl_main): In trace mode always set __RTLD_NOIFUNC.
80576         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
80577         elf_machine_rela.
80578         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
80579         skip_ifunc, don't call ifunc function if non-zero.
80580         (elf_machine_rela): Likewise.
80581         (elf_machine_lazy_rel): Likewise.
80582         (elf_machine_lazy_rela): Likewise.
80583         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
80584         (elf_machine_lazy_rel): Likewise.
80585         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
80586         Likewise.
80587         (elf_machine_lazy_rel): Likewise.
80588         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80589         Likewise.
80590         (elf_machine_lazy_rel): Likewise.
80591         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
80592         (elf_machine_lazy_rel): Likewise.
80593         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
80594         (elf_machine_lazy_rel): Likewise.
80595         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
80596         (elf_machine_lazy_rel): Likewise.
80597         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
80598         (elf_machine_lazy_rel): Likewise.
80599         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
80600         (elf_machine_lazy_rel): Likewise.
80601         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
80602         (elf_machine_lazy_rel): Likewise.
80604 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
80606         * nss/nss_files/files-init.c (_nss_files_init): Use static
80607         initialization for all the *_traced_file variables.
80609 2011-09-28  Andreas Schwab  <schwab@redhat.com>
80611         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80613 2011-09-27  Roland McGrath  <roland@hack.frob.com>
80615         [BZ #13226]
80616         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
80618 2011-09-27  Andreas Schwab  <schwab@redhat.com>
80620         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
80621         Reread the line before reparsing it.
80623 2011-09-26  Andreas Schwab  <schwab@redhat.com>
80625         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
80627 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
80628             Maxim Kuvyrkov  <maxim@codesourcery.com>
80629             Joseph Myers  <joseph@codesourcery.com>
80631         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
80632         if needed for __stack_chk_guard.
80634 2011-09-19  Roland McGrath  <roland@hack.frob.com>
80636         * sysdeps/posix/spawni.c (script_execute): Always define it.
80637         It will be optimized away if unused.
80638         (maybe_script_execute): New function.
80639         (__spawni): Call it.
80641         * Makerules: Don't include tls.make.
80642         (config-tls): Always set to thread.
80643         * tls.make.c: File removed.
80645 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
80647         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
80648         * config.make.in (CPPFLAGS-config): New substituted variable.
80650 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
80652         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
80654         [BZ #13192]
80655         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
80656         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
80658 2011-09-15  Roland McGrath  <roland@hack.frob.com>
80660         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
80661         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
80662         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
80663         (CALL_FAIL): Likewise.
80664         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
80665         (CALL_FAIL): Macro removed.
80666         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
80668 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
80670         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
80671         for __FINITE_MATH_ONLY__ == 1.
80673 2011-09-15  Andreas Schwab  <schwab@redhat.com>
80675         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
80676         __ieee754_sqrt instead of sqrt.
80677         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
80678         __ieee754_sqrtf instead of sqrtf.
80679         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
80680         __floorf instead of floorf.
80681         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
80682         __floorf, __truncf instead of floorf, truncf.
80684 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
80686         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
80688         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
80689         __extern_always_inline.
80690         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
80691         32-bit.
80693 2011-09-14  Andreas Schwab  <schwab@redhat.com>
80695         * elf/rtld.c (dl_main): Also relocate in dependency order when
80696         doing symbol dependency testing.
80698 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
80700         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80701         Always define `refsym'.
80703 2011-09-13  Andreas Schwab  <schwab@redhat.com>
80705         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
80706         (__FD_ELT): Renamed from __FDELT.
80707         * misc/bits/select2.h (__FD_ELT): Likewise.
80708         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
80709         __FD_MASK instead of __FDELT, __FDMASK.
80710         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
80711         Likewise.
80712         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
80713         Likewise.
80715         * elf/Makefile (gen-ldd): Fix pattern.
80717         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
80718         (init_tls): Likewise.
80720 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
80722         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
80724 2011-09-12  Andreas Schwab  <schwab@redhat.com>
80726         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
80727         `struct cmsghdr *' instead of `void *'.
80728         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
80729         Likewise.
80731 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
80733         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
80734         if non-absolute.
80735         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
80736         ldd_rewrite_script.
80738 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
80740         * configure.in: Remove --with-tls option.
80741         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
80742         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
80743         out in case it is missing.
80744         * sysdeps/ia64/elf/configure.in: Likewise.
80745         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
80746         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
80747         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
80748         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
80749         * sysdeps/sh/elf/configure.in: Likewise.
80750         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
80751         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
80752         * sysdeps/x86_64/elf/configure.in: Likewise.
80753         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
80754         * sysdeps/mach/hurd/tls.h: Likewise.
80756         [BZ #13067]
80757         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
80759         [BZ #13090]
80760         * configure.in: Fix use of AC_INIT.
80762         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
80764 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
80766         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
80767         __set_errno.
80768         * malloc/hooks.c: Likewise.
80770         [BZ #11929]
80771         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
80772         variables statically.
80773         (narenas): Initialize.
80774         (list_lock): Initialize.
80775         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
80776         initializtion of main_arena and list_lock.  Small cleanups.
80777         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
80778         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
80779         Add initializers to main_arena and mp_.
80780         (malloc_state): Remove pagesize member.  Change all users to use
80781         GLRO(dl_pagesize).
80783         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
80784         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
80785         is always initialized.
80787         * malloc/malloc.c: Removed unused configurations and dead code.
80788         * malloc/arena.c: Likewise.
80789         * malloc/hooks.c: Likewise.
80790         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
80792         * include/tls.h: Removed.  USE___THREAD must always be defined.
80793         * bits/libc-tsd.h: Don't handle !USE___THREAD.
80794         * elf/dl-libc.c: Likewise.
80795         * elf/dl-tsd.c: Likewise.
80796         * include/errno.h: Likewise.
80797         * include/netdb.h: Likewise.
80798         * include/resolv.h: Likewise.
80799         * inet/herrno-loc.c: Likewise.
80800         * inet/herrno.c: Likewise.
80801         * malloc/arena.c: Likewise.
80802         * malloc/hooks.c: Likewise.
80803         * malloc/malloc.c: Likewise.
80804         * resolv/res-state.c: Likewise.
80805         * resolv/res_libc.c: Likewise.
80806         * sysdeps/i386/dl-machine.h: Likewise.
80807         * sysdeps/ia64/dl-machine.h: Likewise.
80808         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
80809         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
80810         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
80811         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
80812         * sysdeps/sh/dl-machine.h: Likewise.
80813         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
80814         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
80815         * sysdeps/unix/i386/sysdep.S: Likewise.
80816         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
80817         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
80818         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
80819         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
80820         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
80821         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
80822         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
80823         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
80824         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80825         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
80826         * sysdeps/unix/x86_64/sysdep.S: Likewise.
80827         * sysdeps/x86_64/dl-machine.h: Likewise.
80828         * tls.make.c: Likewise.
80830         * configure.in: Remove --with-__thread option.  Make tests for
80831         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
80832         tls_model attribute fail if no support is available.  Remove
80833         USE_IN_LIBIO.
80834         * Makeconfig: Adjust for dropped configure option.  All features are
80835         now mandatory.
80836         * Makerules: Likewise.
80837         * Versions.def: Likewise.
80838         * argp/argp-fmtstream.c: Likewise.
80839         * argp/argp-fmtstream.h: Likewise.
80840         * argp/argp-help.c: Likewise.
80841         * assert/assert.c: Likewise.
80842         * config.h.in: Likewise.
80843         * config.make.in: Likewise.
80844         * configure: Likewise.
80845         * configure.in: Likewise.
80846         * csu/Versions: Likewise.
80847         * csu/init.c: Likewise.
80848         * elf/tst-audit2.c: Likewise.
80849         * elf/tst-tls10.c: Likewise.
80850         * elf/tst-tls10.h: Likewise.
80851         * elf/tst-tls11.c: Likewise.
80852         * elf/tst-tls12.c: Likewise.
80853         * elf/tst-tls14.c: Likewise.
80854         * elf/tst-tlsmod11.c: Likewise.
80855         * elf/tst-tlsmod12.c: Likewise.
80856         * elf/tst-tlsmod13.c: Likewise.
80857         * elf/tst-tlsmod13a.c: Likewise.
80858         * elf/tst-tlsmod14a.c: Likewise.
80859         * elf/tst-tlsmod15b.c: Likewise.
80860         * elf/tst-tlsmod16a.c: Likewise.
80861         * elf/tst-tlsmod16b.c: Likewise.
80862         * elf/tst-tlsmod7.c: Likewise.
80863         * elf/tst-tlsmod8.c: Likewise.
80864         * elf/tst-tlsmod9.c: Likewise.
80865         * gmon/gmon.c: Likewise.
80866         * grp/fgetgrent_r.c: Likewise.
80867         * grp/putgrent.c: Likewise.
80868         * hurd/fopenport.c: Likewise.
80869         * include/libc-symbols.h: Likewise.
80870         * include/tls.h: Likewise.
80871         * intl/gettextP.h: Likewise.
80872         * intl/loadinfo.h: Likewise.
80873         * locale/global-locale.c: Likewise.
80874         * locale/localeinfo.h: Likewise.
80875         * mach/devstream.c: Likewise.
80876         * malloc/arena.c: Likewise.
80877         * malloc/set-freeres.c: Likewise.
80878         * misc/err.c: Likewise.
80879         * misc/getttyent.c: Likewise.
80880         * misc/mntent_r.c: Likewise.
80881         * posix/getopt.c: Likewise.
80882         * posix/wordexp.c: Likewise.
80883         * pwd/fgetpwent_r.c: Likewise.
80884         * resolv/Versions: Likewise.
80885         * resolv/res_hconf.c: Likewise.
80886         * shadow/fgetspent_r.c: Likewise.
80887         * shadow/putspent.c: Likewise.
80888         * stdio-common/printf_fphex.c: Likewise.
80889         * stdio-common/tmpfile.c: Likewise.
80890         * stdlib/abort.c: Likewise.
80891         * stdlib/fmtmsg.c: Likewise.
80892         * sunrpc/auth_unix.c: Likewise.
80893         * sunrpc/clnt_perr.c: Likewise.
80894         * sunrpc/clnt_tcp.c: Likewise.
80895         * sunrpc/clnt_udp.c: Likewise.
80896         * sunrpc/clnt_unix.c: Likewise.
80897         * sunrpc/openchild.c: Likewise.
80898         * sunrpc/svc_simple.c: Likewise.
80899         * sunrpc/svc_tcp.c: Likewise.
80900         * sunrpc/svc_udp.c: Likewise.
80901         * sunrpc/svc_unix.c: Likewise.
80902         * sunrpc/xdr.c: Likewise.
80903         * sunrpc/xdr_array.c: Likewise.
80904         * sunrpc/xdr_rec.c: Likewise.
80905         * sunrpc/xdr_ref.c: Likewise.
80906         * sunrpc/xdr_stdio.c: Likewise.
80908 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
80910         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80912 2011-07-03  Andreas Jaeger  <aj@suse.de>
80914         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
80915         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
80916         regenerate with gen-libm-tests.pl.
80918 2010-05-12  Petr Baudis  <pasky@suse.cz>
80920         [BZ #11589]
80921         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
80922         around j0() zero points by switching to j1().
80923         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80924         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80925         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80926         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80928 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
80930         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
80931         instead of 0.
80932         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
80933         instead of 0.
80934         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80935         Patch in part by Pavel Roskin <proski@gnu.org>.
80937         [BZ #13138]
80938         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
80939         realloc.
80940         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
80941         Free memory block if necessary.
80943         [BZ #12847]
80944         * libio/genops.c (INTDEF): For string streams the _lock pointer can
80945         be NULL.  Don't lock in this case.
80947 2011-09-09  Roland McGrath  <roland@hack.frob.com>
80949         * elf/elf.h (ELFOSABI_GNU): New macro.
80950         (ELFOSABI_LINUX): Define to that.
80952 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
80954         * string/strncat.c (strncat): Undef the symbol in case it has been
80955         defined in bits/string.h.
80957 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
80959         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
80961         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
80962         link map.
80964 2011-08-17  Andreas Jaeger  <aj@suse.de>
80966         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
80968 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
80969             Ian Lance Taylor  <iant@google.com>
80971         * math/libm-test.inc (lround_test): New testcase.
80972         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
80974 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
80976         * Makefile: Remove support for automatic cvs check-ins.
80977         * Makerules: Likewise.
80978         * config.make.in: Likewise.
80979         * configure.in: Likewise.
80980         * intl/Makefile: Likewise.
80981         * locale/Makefile: Likewise.
80982         * po/Makefile: Likewise.
80983         * posix/Makefile: Likewise.
80984         * sysdeps/gnu/Makefile: Likewise.
80985         * sysdeps/mach/hurd/Makefile: Likewise.
80986         * sysdeps/sparc/sparc32/Makefile: Likewise.
80988         [BZ #13118]
80989         * posix/Makefile (bug-regex32-ENV): Define.
80990         Patch by John Stanley <jpsinthemix@verizon.net>.
80992         * misc/Makefile (headers): Add bits/select2.h.
80993         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
80994         * misc/bits/select2.h: New file.
80995         * include/bits/select2.h: New file.
80996         * debug/Makefile (routines): Add fdelt_chk.
80997         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
80998         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
80999         FD_ISSET.
81000         * debug/fdelt_chk.c: New file.
81002         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
81003         * wcsmbs/test-wmemcmp.c: Likewise.
81004         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
81005         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
81007 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81009         * string/Makefile (strop-tests): Add memcmp.
81010         * string/test-wmemcmp.c: New file.
81011         * string/test-memcmp.c: Add wmemcmp support.
81013 2011-09-08  Roland McGrath  <roland@hack.frob.com>
81015         [BZ #13153]
81016         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
81017         2011-07-19 change.
81019         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
81020         garbage value in a __mach_port_mod_refs call in the cases of the
81021         task-self and thread-self ports.
81023 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81025         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
81027 2011-09-08  Andreas Schwab  <schwab@redhat.com>
81029         * elf/dl-load.c (lose): Check for non-null L.
81031 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
81033         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
81035         * elf/dl-libc.c (dlerror_run): Pass back error code from
81036         dl_catch_error.
81038         [BZ #13123]
81039         * elf/dl-load.c (lose): Free l_origin if it is valid.
81041         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
81042         names.
81043         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
81044         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81045         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
81046         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81047         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
81048         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
81050 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81052         * sysdeps/powerpc/fpu/e_hypot.c: New file.
81053         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
81054         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
81055         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
81056         * sysdeps/powerpc/fpu/k_cosf.c: New file.
81057         * sysdeps/powerpc/fpu/k_sinf.c: New file.
81058         * sysdeps/powerpc/fpu/s_cosf.c: New file.
81059         * sysdeps/powerpc/fpu/s_sinf.c: New file.
81060         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
81061         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
81063 2011-08-15  Alan Modra  <amodra@gmail.com>
81065         [BZ #13092]
81066         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
81067         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
81068         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
81069         ppc_mcount to static-only-routines.
81070         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
81071         __mcount_internal.
81072         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
81073         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
81075 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
81077         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
81078         for finite and infinity parameters.
81080 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
81082         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
81083         and add nop instructions for throughput optimization.
81084         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81086 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
81088         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
81089         aligned copy for power7 with vector-scalar instructions.
81090         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
81092 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
81094         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
81095         AVX check.
81097 2011-09-07  Andreas Schwab  <schwab@redhat.com>
81099         [BZ #13144]
81100         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
81101         last change.
81103 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
81105         * sysdeps/unix/sysv/linux/x86_64/init-first.c
81106         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
81107         syscall wrapper around clock_gettime in __vdso_clock_gettime.
81108         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
81109         clock_gettime.
81111 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
81113         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
81114         Forgot to demangle the pointer.
81116         * sysdeps/i386/sysdep.h: Define atom_text_section.
81117         * sysdeps/x86_64/sysdep.h: Likewise.
81118         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
81119         section with atom_text_section.
81120         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81121         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81122         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
81123         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
81124         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
81126         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
81127         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
81128         already be defined.  Change to take two parameters and don't assign
81129         result to variable.  Adjust all users.
81130         Define INTERNAL_GETTIME if not already defined.
81131         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
81132         call.
81133         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
81134         HAVE_CLOCK_GETTIME_VSYSCALL.
81135         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
81137         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
81138         gettimeofday vsyscall, just use time.
81140 2011-09-06  Andreas Schwab  <schwab@redhat.com>
81142         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
81143         <errno.h>.
81145 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
81147         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
81148         syscall on x86-64.
81149         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
81150         syscall.
81151         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
81152         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
81153         syscall if possible.
81155 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
81157         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
81158         e_ident.  Don't pass to find_mapsXX.
81159         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
81161 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81163         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81164         strchr-sse2-no-bsf strrchr-sse2-no-bsf
81165         * sysdeps/x86_64/multiarch/strchr.S: Update.
81166         Check bit_slow_BSF bit.
81167         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
81168         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
81169         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
81171 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
81173         [BZ #13134]
81174         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
81175         before glibc 2.15.
81176         (tryshell): Define.
81177         (__spawni): Change last parameter to be flag.  Test
81178         SPAWN_XFLAGS_USE_PATH flag to use path or not.
81179         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
81180         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
81181         * posix/spawni.c: Likewise.
81182         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
81183         * posix/spawnp.c: Likewise.  Change normal version to use
81184         SPAWN_XFLAGS_USE_PATH.
81185         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
81186         SPAWN_XFLAGS_TRY_SHELL.
81188         [BZ #13150]
81189         * posix/glob.h: Remove gcc 1.x support.
81191         [BZ #13068]
81192         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
81194 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81196         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81197         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
81198         strrchr-sse2-bsf
81199         * sysdeps/i386/i686/multiarch/strchr.S: New file.
81200         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
81201         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
81202         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
81203         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
81204         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
81206 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81208         * sysdeps/x86_64/wcscmp.S: New file.
81210         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
81211         wcscmp-c wcscmp-sse2
81212         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
81213         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
81214         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
81215         * wcsmbs/wcscmp.c: Allow renaming.
81217 2011-09-05  David S. Miller  <davem@davemloft.net>
81219         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
81220         stack slot, rather than the struct return pointer slot.
81221         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
81222         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
81223         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
81224         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
81226 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
81228         * po/ja.po: Update from translation team.
81230         [BZ #13144]
81231         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
81232         kernel in 64-bit binaries.
81234 2011-09-01  David S. Miller  <davem@davemloft.net>
81236         * elf/elf.h (HWCAP_SPARC_*): Move to..
81237         * sysdeps/sparc/sysdep.h: this new file and add new values.
81238         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
81239         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
81240         _DL_HWCAP_COUNT to 24.
81241         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
81242         entries.
81243         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
81244         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
81245         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
81246         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
81247         instead of magic constants.
81248         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81250 2011-08-31  David S. Miller  <davem@davemloft.net>
81252         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
81253         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
81254         Reimplement to do errno handling inline.
81255         (SYSCALL_ERROR_HANDLER): New macro.
81256         (__SYSCALL_STRING): Do not do errno handling in asm.
81257         (__CLONE_SYSCALL_STRING): Delete.
81258         (__INTERNAL_SYSCALL_STRING): Delete.
81259         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
81260         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
81261         (PSEUDO): Reimplement to do errno handling inline.
81262         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
81263         (SYSCALL_ERROR_HANDLER): New macro.
81264         (__SYSCALL_STRING): Do not do errno handling in asm.
81265         (__CLONE_SYSCALL_STRING): Delete.
81266         (__INTERNAL_SYSCALL_STRING): Delete.
81267         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
81268         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
81269         i386.
81270         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
81271         (inline_syscall*): Add 'err' argument.
81272         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
81273         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
81274         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
81275         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
81277         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
81278         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
81280 2011-08-30  Andreas Schwab  <schwab@redhat.com>
81282         * elf/rtld.c (dl_main): Relocate objects in dependency order.
81284 2011-08-29  Jiri Olsa <jolsa@redhat.com>
81286         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
81287         directive.
81289 2011-08-24  David S. Miller  <davem@davemloft.net>
81291         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
81293 2011-08-24  Andreas Schwab  <schwab@redhat.com>
81295         * elf/Makefile: Add rules to build and run unload8 test.
81296         * elf/unload8.c: New file.
81297         * elf/unload8mod1.c: New file.
81298         * elf/unload8mod1x.c: New file.
81299         * elf/unload8mod2.c: New file.
81300         * elf/unload8mod3.c: New file.
81302         * elf/dl-close.c (_dl_close_worker): Reset private search list if
81303         it wasn't used.
81305 2011-08-23  David S. Miller  <davem@davemloft.net>
81307         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
81308         subtract stack bias.
81309         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
81310         %sp not %fp in calculations.
81311         (_JMPBUF_UNWINDS_ADJ): Likewise.
81313         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
81314         (aio_suspend): Call it to force an exception region around the
81315         AIO_MISC_WAIT() invocation.
81317 2011-08-23  Andreas Schwab  <schwab@redhat.com>
81319         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
81320         backslash.
81322 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
81324         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
81325         protection macro.
81326         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
81327         and <dl-machine.h>.
81328         (Elf64_FuncDesc): Remove.
81330 2011-08-22  David S. Miller  <davem@davemloft.net>
81332         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
81333         sigaltstack check, add missing cfi directives.
81334         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
81335         missing cfi directives, and sigaltstack handling.
81337 2011-08-16  Andreas Schwab  <schwab@redhat.com>
81339         [BZ #11724]
81340         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
81341         object is seen twice.
81342         * elf/dl-fini.c (_dl_sort_fini): Likewise.
81344         * elf/Makefile (distribute): Add tst-initorder2.c.
81345         (tests): Add tst-initorder2.
81346         (modules-names): Add tst-initorder2a tst-initorder2b
81347         tst-initorder2c tst-initorder2d.  Add rules to build them.
81348         ($(objpfx)tst-initorder2.out): New rule.
81349         * elf/tst-initorder2.c: New file.
81350         * elf/tst-initorder2.exp: New file.
81352 2011-08-22  Andreas Schwab  <schwab@redhat.com>
81354         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
81356         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
81357         dependencies back to end of function.
81359         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
81360         $(elfobjdir)/ld.so.
81362 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
81364         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
81365         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
81366         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
81367         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
81368         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
81369         of __vdso_gettimeofday.
81370         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
81371         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
81372         attribute_hidden.
81373         (_libc_vdso_platform_setup): Remove initialization of
81374         __vdso_gettimeofday and __vdso_time.
81376 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
81378         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
81379         and fgetc_unlocked.
81380         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
81381         getc_unlocked.
81383         * elf/dl-open.c (add_to_global): Report additions to the global scope
81384         for LD_DEBUG=scopes.
81385         (dl_open_worker): Also print scope of newly loaded dependencies.
81386         (_dl_show_scope): Indicate if there is no scope.
81388         [BZ #13114]
81389         * stdio-common/Makefile (tests): Add bug24.
81390         * stdio-common/bug24.c: New file.
81392 2011-08-19  Andreas Jaeger  <aj@suse.de>
81394         [BZ #13114]
81395         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
81396         non-existant file when using close-on-exec mode.
81398 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
81400         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
81401         the very first instruction.
81403         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
81404         the CFI state in the end.
81405         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
81406         inclusion of dl-trampoline.h.
81407         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
81409 2011-08-19  Andreas Schwab  <schwab@redhat.com>
81411         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
81412         expectations for long double.
81414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
81415         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
81417 2011-08-14  David S. Miller  <davem@davemloft.net>
81419         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
81420         artificual limit depends upon the system page size.
81422 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
81424         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
81425         * resolv/Makefile: Define CFLAGS-libresolv.
81427 2011-08-17  Andreas Schwab  <schwab@redhat.com>
81429         * nss/makedb.c (compute_tables): Make variables used in nested
81430         function static.
81432 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
81434         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
81435         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
81436         if buffer was too small.
81438         * elf/pldd.c (main): Attach to all threads in the process.
81439         Rewrite /proc handling to use *at functions.
81441 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
81443         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
81444         specifies first scope to show.
81445         (dl_open_worker): Update callers.  Move printing scope of new
81446         object to before the relocation.
81447         * elf/rtld.c (dl_main): Update _dl_show_scope call.
81448         * sysdeps/generic/ldsodefs.h: Update declaration.
81450         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
81451         string for the scope number.
81453 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
81455         * nscd/servicescache.c (cache_addserv): Make sure written is always
81456         initialized.
81458 2011-08-14  Roland McGrath  <roland@hack.frob.com>
81460         * sysdeps/i386/i486/bits/atomic.h
81461         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
81462         statement expression, so as to suppress "set but not used" warning.
81463         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
81465         * string/strncat.c (STRNCAT): Use prototype definition.
81467         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
81468         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
81469         -Iprograms here.
81470         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
81471         (localedef-modules): Add localedef.
81472         (locale-modules): Add locale.
81474         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
81475         * elf/rtld.c (dl_main): Invert order of assignment in last change,
81476         to avoid a warning.
81478 2011-08-14  David S. Miller  <davem@davemloft.net>
81480         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
81481         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
81483 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
81485         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
81486         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
81487         * elf/rtld.c (dl_main): Set l_name of vDSO.
81488         Call _dl_show_scope when DL_DEBUG_SCOPES.
81489         (process_dl_debug): Recognize scopes flag and also set it for all.
81490         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
81491         Declare _dl_show_scope.
81493         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
81494         (do_dlopen): Pass caller_dlopen to dl_open.
81495         (__libc_dlopen_mode): Initialize caller_dlopen.
81497         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
81498         of libc.  Make tolower call locale-independent.  Optimize a bit by
81499         using isdigit instead of isalnum.
81500         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
81502 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
81504         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
81505         was a dependency or dynamically loaded.
81507 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
81509         * intl/l10nflist.c: Allow architecture-specific pop function.
81510         * sysdeps/x86_64/l10nflist.c: New file.
81512         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
81513         classification.
81515 2011-08-10  Andreas Schwab  <schwab@redhat.com>
81517         * include/dirent.h: Add libc_hidden_proto for scandirat and
81518         scandirat64.  Don't declare __scandirat64.
81519         * dirent/scandirat.c: Add libc_hidden_def.
81520         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
81521         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
81523 2011-08-10  David S. Miller  <davem@davemloft.net>
81525         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
81526         enum.
81527         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
81528         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
81529         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
81531 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
81533         * Versions.def [libc]: Add GLIBC_2.15.
81534         * dirent/Makefile (routines): Add scandirat and scandirat64.
81535         * dirent/Versions [libc]: Export scandirat and scandirat64 for
81536         GLIBC_2.15.
81537         * dirent/dirent.h: Declare scandirat and scandirat64.
81538         * dirent/scandirat.c: New file.
81539         * dirent/scandirat64.c: New file.
81540         * sysdeps/wordsize-64/scandirat.c: New file.
81541         * sysdeps/wordsize-64/scandirat64.c: New file.
81542         * dirent/opendir.c: Define opendirat.
81543         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
81544         using scandirat.
81545         * dirent/scandir64.c: Adjust for scandir.c change.
81546         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
81547         __scandirat64, and __scandir_cancel_handler.
81548         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
81549         additional parameter and use openat instead of open (outside of ld.so).
81550         Add new __opendir as wrapper around __opendirat.
81551         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
81552         here without requiring old scandirat implementation.
81554 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
81556         * dirent/scandir.c (cancel_handler): Renamed to
81557         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
81558         defined.  Adjust users.
81559         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
81560         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
81562 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
81564         * string/test-string.h (IMPL): Use __STRING to expand name and then
81565         stringify it.
81567         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
81568         of cleanups.
81570 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81572         * string/Makefile: Update.
81573         (strop-tests): Append strncat.
81574         * string/test-wcscmp.c: New file.
81575         New comprehensive test for wcscmp.
81576         * string/test-strcmp.c: Update.
81577         (WIDE): New define.
81579 2011-07-22  Andreas Schwab  <schwab@redhat.com>
81581         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
81582         line.
81584 2011-07-26  Andreas Schwab  <schwab@redhat.com>
81586         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
81587         encoding to ACE if AI_IDN.
81589 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
81591         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
81592         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
81594 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81596         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
81597         Fix overflow bug in strncat.
81598         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
81600         * string/test-strncat.c: Update.
81601         Add new tests for checking overflow bugs.
81603 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81605         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81606         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
81607         * sysdeps/i386/i686/multiarch/strcat.S: New file.
81608         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
81609         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
81610         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
81611         * sysdeps/i386/i686/multiarch/strncat.S: New file.
81612         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
81613         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
81615         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
81616         (USE_AS_STRCAT): Define.
81617         Add strcat and strncat support.
81618         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
81620 2011-07-25  Andreas Schwab  <schwab@redhat.com>
81622         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
81623         __n bigger than INT_MAX+1.
81624         (__strncmp_g): Likewise.
81626 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
81628         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
81629         * libio/stido.h: Likewise.
81631         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
81632         (AF_NFC): Define.
81633         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
81634         (AF_NFC): Define.
81636         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
81637         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
81638         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
81639         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
81640         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
81642         [BZ #13021]
81643         * scripts/test-installation.pl: Don't expect libnss_test1 to be
81644         installed.
81646         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
81647         typo.
81648         (_dl_x86_64_save_sse): Likewise.
81650 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
81652         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
81653         OSXSAVE.
81654         (_dl_x86_64_save_sse): Likewise.
81656         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
81658         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
81660 2011-07-21  Andreas Schwab  <schwab@redhat.com>
81662         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
81663         change.
81664         (_dl_x86_64_save_sse): Use correct AVX check.
81666 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81668         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
81669         bug in strncpy/strncat.
81670         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
81672 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
81674         * string/tester.c (test_strcat): Add tests for different alignments
81675         of source and destination.
81676         (test_strncat): Likewise.
81678 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
81680         [BZ #12852]
81681         * posix/glob.c (glob): Check passed in values before using them in
81682         expressions to avoid some overflows.
81683         (glob_in_dir): Likewise.
81685         [BZ #13007]
81686         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
81687         check for AVX enablement so that we don't crash with old kernels and
81688         new hardware.
81689         * elf/tst-audit4.c: Add same checks here.
81690         * elf/tst-audit6.c: Likewise.
81692         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
81694 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
81696         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
81698 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
81700         * po/cs.po: Update from translation team.
81701         * po/bg.po: Likewise.
81703 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
81705         * misc/sys/cdefs.h: Add support for const attribute.
81706         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
81707         to gnu_dev_{major,minor,makedev} functions.
81709 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
81711         * intl/dcigettext.c (get_output_charset): Add missing bracket.
81713 2011-07-20  Andreas Schwab  <schwab@redhat.com>
81715         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
81716         strlen results.
81718 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81720         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
81721         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
81722         register in order to avoid conflicts with the soft frame pointer
81723         being held in r11 when necessary.
81724         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
81725         (INTERNAL_VSYSCALL_NCS): Likewise.
81727 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
81729         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
81730         * elf/dl-fini.c (_dl_fini): Adjust caller.
81731         * elf/dl-close.c (_dl_close_worker): Likewise.
81732         * sysdeps/generic/ldsodefs.h: Adjust declaration.
81734 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
81736         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
81737         "aux_cache->nlibs < 0".
81739         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
81740         in the reload-count case.
81742 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81744         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81745         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
81746         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
81747         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
81748         * sysdeps/x86_64/multiarch/strcat.S: New file.
81749         * sysdeps/x86_64/multiarch/strncat.S: New file.
81750         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
81751         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
81752         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
81753         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
81754         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
81755         (USE_AS_STRCAT): Define.
81756         Add strcat and strncat support.
81757         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
81758         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
81759         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
81760         * string/strncat.c: Update.
81761         (USE_AS_STRNCAT): Define.
81762         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81763         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
81764         and i7.
81765         * sysdeps/x86_64/multiarch/init-arch.h
81766         (bit_Prefer_PMINUB_for_stringop): New.
81767         (index_Prefer_PMINUB_for_stringop): Likewise.
81768         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
81769         bit_Prefer_PMINUB_for_stringop.
81771 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
81773         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
81774         buffer64.
81775         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
81776         of casting of buffer.
81777         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
81778         buffer32 and buffer64.
81779         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
81780         writes instead of casting of buffer.
81781         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
81782         buffer32.
81783         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
81784         casting of buffer.
81786 2011-07-19  Andreas Schwab  <schwab@redhat.com>
81788         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
81790 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
81792         * nscd/nscd.c (termination_handler): Don't do anything for a database
81793         if it has not yet been initialized.
81795 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
81797         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
81799 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
81801         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
81803 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
81805         * po/nl.po: Update from translation team.
81806         * po/sv.po: Likewise.
81808 2011-07-16  Roland McGrath  <roland@hack.frob.com>
81810         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
81811         now disallowed by GCC.
81813         * configure.in (use-default-link): Default to yes if a test -shared
81814         link meets our qualifications.
81815         * configure: Regenerated.
81817         * config.make.in (output-format): New variable.
81818         * configure.in: Check for ld --print-output-format support.
81819         * configure: Regenerated.
81820         * Makerules ($(common-objpfx)format.lds)
81821         [$(output-format) != unknown]: Just use $(output-format),
81822         instead of the linker-script munging.
81824 2011-07-14  Roland McGrath  <roland@hack.frob.com>
81826         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
81827         of $(common-objpfx)shlib.lds.
81828         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
81830         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
81831         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
81833         * configure.in (-z relro check): Adjust test code to add a large
81834         writable data section after it.
81835         * configure: Regenerated.
81837 2011-07-11  Roland McGrath  <roland@hack.frob.com>
81839         * configure.in (-z relro check): Fix test code to make the variable
81840         truly const.
81841         * configure: Regenerated.
81843 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
81845         * nscd/nscd.h (struct traced_file): Define.
81846         (struct database_dyn): Remove inotify_descr, reset_res, and filename
81847         elements.  Add traced_files.
81848         (inotify_fd): Declare.
81849         (register_traced_file): Declare.
81850         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
81851         (inotify_fd): Export.
81852         (resolv_conf_descr): Remove.
81853         (nscd_init): Move inotify descriptor creation to main.
81854         Don't register files for notification here.
81855         (register_traced_file): New function.
81856         (invalidate_cache): Don't use reset_res to determine whether to call
81857         res_init, go through the list of registered files.
81858         (main_loop_poll): The inotify descriptors are now stored in the
81859         structures for the traced files.
81860         (main_loop_epoll): Likewise.
81861         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
81862         to __nss_disable_nscd.
81863         * nscd/cache.c (prune_cache): There is no single inotify descriptor
81864         for a database anymore.  Check the records for all the registered
81865         files instead.
81866         * nss/Makefile (libnss_files-routines): Add files-init.
81867         (libnss_db-routines): Add db-init.
81868         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
81869         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
81870         * nss/nss_db/db-init.c: New file.
81871         * nss/nss_files/files-init.c: New file.
81872         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
81873         __nss_lookup_function.
81874         (__nss_lookup_function): Call nss_load_library.
81875         (nss_load_all_libraries): New function.
81876         (__nss_disable_nscd): Take parameter with callback function for files
81877         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
81878         used for the cached services.
81879         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
81880         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
81881         options for features to all the files in nscd.
81883         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
81885 2011-07-10  Roland McGrath  <roland@hack.frob.com>
81887         * csu/elf-init.c (__libc_csu_init): Comment typo.
81889 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
81891         * po/pl.po: Update from translation team.
81892         * po/ja.po: Likewise.
81893         * po/ru.po: Likewise.
81894         * po/ko.po: Likewise.
81895         * po/fr.po: Likewise.
81897 2011-07-09  Roland McGrath  <roland@hack.frob.com>
81899         * configure.in (.ctors/.dtors header and trailer check):
81900         Use an empirical test on a built program.
81901         * configure: Regenerated.
81903         * configure.in (-z relro check): Use an empirical test on a built DSO.
81904         Detect, but do not require, on ia64.
81905         * configure: Regenerated.
81907         * configure.in (READELF): Find it with AC_CHECK_TOOL.
81908         Update tests that use readelf to use $READELF instead.
81909         * configure: Regenerated.
81911 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
81913         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
81914         if the result is not used.
81916 2011-07-05  Andreas Jaeger  <aj@suse.de>
81918         [BZ#9696]
81919         * stdlib/tst-strtod.c: Add testcase.
81921 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
81923         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
81924         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
81925         The latter has a higher limit.  Take additional parameter to pass to
81926         the new function.
81927         (__pathconf): Pass file to __statfs_link_max.
81928         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
81929         __statfs_link_max.
81930         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
81931         __statfs_link_max.
81933         [BZ #12868]
81934         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
81935         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
81936         Handle Lustre.
81937         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
81938         (__statfs_filesize_max): Likewise.
81939         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
81941 2011-07-05  Andreas Jaeger  <aj@suse.de>
81943         * resolv/res_comp.c (dn_skipname): Remove unused variable.
81945 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
81947         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
81948         `status' variable.
81949         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
81950         Likewise.
81952 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
81954         * Makefile (strop-tests): Add strncat.
81955         * string/test-strncat.c: New file.
81957 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
81959         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
81961 2011-06-21  Andreas Jaeger  <aj@suse.de>
81963         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
81964         Copy rule from iconvdata/Makefile.
81966 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
81968         [BZ #12922]
81969         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
81970         but no long options are defined, just return 'W'.
81972 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
81974         [BZ #9696]
81975         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
81977 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
81979         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
81980         netgroups to read.
81981         (innetgr): Likewise.
81983 2011-07-05  Roland McGrath  <roland@hack.frob.com>
81985         * config.make.in (install_root): Default to $(DESTDIR).
81987 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
81989         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
81991 2011-07-02  Roland McGrath  <roland@hack.frob.com>
81993         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
81995         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
81996         containing directory rather than embedding absolute directory names.
81998         * scripts/check-local-headers.sh: Rewritten using awk.
81999         Match by word, not by line.  Print error messages for matches.
82000         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
82002         * Makerules [shlib-lds-flags empty]:
82003         ($(common-objpfx)libc_pic.opts): New target.
82004         ($(common-objpfx)libc_pic.os.clean): New target.
82005         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
82007         * config.make.in (OBJCOPY): New variable.
82008         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
82009         * configure: Regenerated.
82011         * config.make.in (use-default-link): New variable.
82012         * configure.in (use_default_link): Grok --with-default-link to set it.
82013         * configure: Regenerated.
82014         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
82015         (shlib-lds, shlib-lds-flags): Define to empty.
82017         * Makerules (shlib-lds): New variable.
82018         (shlib-lds-flags): New variable.
82019         (build-shlib, build-moduile, build-module-asneeded): Use it.
82020         ($(common-objpfx)libc.so): Use $(shlib-lds).
82021         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
82022         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
82024         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
82025         DT_FLAGS/DT_FLAGS_1 with zero flags.
82027         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
82028         linker script munging.
82030 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
82032         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
82033         as 128-bit value.
82034         * crypt/sha512.c (sha512_process_block): Perform total addition using
82035         128-bit if possible.
82036         (__sha512_finish_ctx): Likewise.
82037         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
82038         as 64-bit value.
82039         * crypt/sha256.c (SWAP64): Define.
82040         (sha256_process_block): Perform total addition using 64-bit if
82041         possible.
82042         (__sha256_finish_ctx): Likewise.
82044 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
82046         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
82047         * nscd/initgrcache.c (addinitgroupsX): Likewise.
82048         * nscd/hstcache.c (cache_addhst): Likewise.
82049         * nscd/grpcache.c (cache_addgr): Likewise.
82050         * nscd/aicache.c (addhstaiX): Likewise.
82051         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
82053 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
82055         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
82056         * nscd/initgrcache.c (addinitgroupsX): Likewise.
82057         * nscd/hstcache.c (cache_addhst): Likewise.
82058         * nscd/grpcache.c (cache_addgr): Likewise.
82059         * nscd/aicache.c (addhstaiX): Likewise.
82061 2011-07-01  Andreas Schwab  <schwab@redhat.com>
82063         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
82064         domain only when needed.
82066 2011-06-30  Andreas Schwab  <schwab@redhat.com>
82068         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
82069         is always restored.
82071 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
82073         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
82074         are re-adding the entry.
82075         * nscd/servicescache.c (cache_addserv): Likewise.
82077 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
82079         * sysdeps/generic/dl-irel.h: fix protection against multiple
82080         inclusions.
82081         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
82083 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
82085         [BZ #12935]
82086         * malloc/memusage.sh: Fix quoting in message.
82087         * debug/xtrace.sh: Likewise.
82089         * configure.in: Remove support for --experimental-malloc option, make
82090         it the default.
82091         * config.make.in: Likewise.
82092         * malloc/Makefile: Likewise.
82094 2011-06-27  Andreas Schwab  <schwab@redhat.com>
82096         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
82097         two-byte characters.
82099 2011-06-27  Roland McGrath  <roland@hack.frob.com>
82101         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
82102         AC_CACHE_CHECK invocation.
82103         * configure: Regenerated.
82105         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
82107 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
82109         [BZ #12350]
82110         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
82111         bit from old_res_options.
82113         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
82115         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
82116         value type for setfct.
82118 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
82120         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82121         __gettimeofday instead of gettimeofday.
82123 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
82125         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
82127 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
82129         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
82131         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
82132         info.
82134 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
82136         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82137         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82138         strcpy-sse2-unaligned strncpy-sse2-unaligned
82139         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
82140         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
82141         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
82142         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
82143         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
82144         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
82145         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
82146         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
82147         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
82148         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
82149         (STRCPY): Support SSE2 and SSSE3 versions.
82151 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
82153         [BZ #12874]
82154         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
82155         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
82156         kernels which artificially limit size of requests.
82158 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
82160         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82161         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82162         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
82163         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
82164         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
82165         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
82166         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
82167         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
82168         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
82169         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
82170         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
82171         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
82172         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
82173         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
82174         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
82175         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82176         Enable unaligned load optimization for Intel Core i3, i5 and i7
82177         processors.
82178         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
82179         Define.
82180         (index_Fast_Unaligned_Load): Define.
82181         (HAS_FAST_UNALIGNED_LOAD): Define.
82183 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
82185         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
82187 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
82189         [BZ #12907]
82190         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
82191         until it is clear that the information is realy needed.
82192         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
82194 2011-06-22  Andreas Schwab  <schwab@redhat.com>
82196         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
82198 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
82200         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82201         /sys/devices/system/cpu/online if it is usable.
82203         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
82204         reading the information from the /proc filesystem to once a second.
82206 2011-06-21  Andreas Jaeger  <aj@suse.de>
82208         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
82209         NULL after inclusion of kernel headers.
82211 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
82213         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
82214         calls to internal_setent.
82216         [BZ #12885]
82217         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
82218         addresses using gethostbyname4_r ignore IPv4 addresses.
82220         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
82221         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
82223         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
82225 2011-06-20  David S. Miller  <davem@davemloft.net>
82227         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
82228         inclusions.
82229         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
82231         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
82232         (elf_irel): Use it.
82233         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
82234         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
82235         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
82236         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
82237         * sysdeps/x86_64/dl-irel.h: Likewise.
82239         * elf/dl-runtime.c: Use elf_ifunc_invoke.
82240         * elf/dl-sym.c: Likewise.
82242 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
82244         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
82245         need to dereference resplen2.
82247 2011-06-14  Andreas Schwab  <schwab@redhat.com>
82249         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
82251 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
82253         * Makeconfig: Define vardbdir and inst_vardbdir.
82254         * nss/Makefile: Add rules to install db-Makefile.
82256         * nss/nss_db/db-XXX.c: Cleanup.
82258         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
82259         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
82260         GLIBC_PRIVATE.
82261         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
82262         * nss/makedb.c: Implement -g option to specify that value strings
82263         are generated and should not be added to table iterated over for
82264         get*ent calls.
82265         * nss/nss_db/db-initgroups.c: New file.
82267         * nss/getent.c: Add support for initgroups lookups through getgrouplist
82268         interface.
82270         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
82271         (internal_getgrouplist): Adjust to name change.
82272         Update use_initgroups_entry if this is not the first call.
82273         * nss/databases.def: Add initgroups entry.
82275         * nss/makedb.c (compute_tables): Check result of multiple hash table
82276         sizes to minimize maximum chain length.
82278 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
82280         * Versions.def: Add entry for libnss_db.
82281         * shlib-versions: Likewise.
82282         * nss/Makefile: Add rules to build libnss_db.
82283         * nss/Versions: Add libnss_db information.  Organize libnss_files
82284         entries better.
82285         * nss/db-Makefile: Add gshadow support.  Change rules for the new
82286         makedb progra.  Some minor improvements to generate smaller files.
82287         * nss/nss_db/nss_db.h: Move NSS database header data structures to
82288         here from...
82289         * nss/makedb.c: ...here.
82290         Improve database format to be smaller and require less memory at
82291         runtime.
82292         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
82293         db anymore.
82294         * nss/nss_db/db-netgrp.c: Likewise.
82295         * nss/nss_db/db-open.c: Likewise.
82296         * nss/nss_files/flies-XXX.x: Adjust comments.
82297         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
82298         * nss/nss_files/files-grp.c: Likewise.
82299         * nss/nss_files/files-hosts.c: Likewise.
82300         * nss/nss_files/files-network.c: Likewise.
82301         * nss/nss_files/files-proto.c: Likewise.
82302         * nss/nss_files/files-pwd.c: Likewise.
82303         * nss/nss_files/files-rpc.c: Likewise.
82304         * nss/nss_files/files-service.c: Likewise.
82305         * nss/nss_files/files-sgrp.c: Likewise.
82306         * nss/nss_files/files-spwd.c: Likewise.
82307         * nss/nss_db/db-alias.c: Removed.
82308         * nss/nss_db/dummy-db.h: Removed.
82310 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
82312         * nss/makedb.c: Rewritten to not use database library.
82313         * nss/Makefile: Update to build new makedb program.
82315 2011-06-14  Andreas Jaeger  <aj@suse.de>
82317         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
82318         memset declaration.
82320 2011-06-10  Andreas Schwab  <schwab@redhat.com>
82322         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
82323         tmpbuf.
82325 2011-06-10  Roland McGrath  <roland@hack.frob.com>
82327         * Makerules (shlib.lds): Fail if the linker script comes out empty.
82328         * elf/Makefile ($(objpfx)ld.so): Likewise.
82330         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
82331         Don't list ld.so twice in dependencies.
82333         * posix/bug-regex31.c: Include <stdlib.h>.
82335         * nscd/hstcache.c (cache_addhst): Remove unused variable.
82337         * nis/nss_compat/compat-spwd.c
82338         (getspent_next_nss_netgr): Remove unused variable.
82339         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
82341         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
82342         nonmembers" output to use the right array.
82344         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
82346         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
82348         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
82349         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
82350         * catgets/gencat.c (read_input_file): Likewise.
82351         * locale/programs/locarchive.c (enlarge_archive): Likewise.
82353         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
82354         variable definition inside #if's controlling its use.
82356         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
82358         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
82360         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
82362         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
82363         unreachable code.
82365         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
82367         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
82368         * configure: Regenerated.
82370         * Makerules: Revert last change.
82371         * elf/Makefile: Likewise.
82373 2011-06-09  Roland McGrath  <roland@hack.frob.com>
82375         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
82376         * elf/Makefile ($(objpfx)librtld.os): Likewise.
82377         (reloc-link): Likewise.
82379 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
82381         * elf/Makefile: Add rules to build pldd.
82382         * elf/pldd.c: New file.
82383         * elf/pldd-xx.c: New file.
82385 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
82387         * version.h: Update for 2.15 development version.
82389 2011-06-07  David S. Miller  <davem@davemloft.net>
82391         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
82392         ifuncs.
82393         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
82394         elf_machine_lazy_rel): Likewise.
82395         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
82396         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
82397         elf_machine_lazy_rel): Likewise.
82398         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
82399         dl_hwcap via passed in argument.
82400         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
82401         Likewise.
82403 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82405         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
82407 2011-06-06  Roland McGrath  <roland@hack.frob.com>
82409         [BZ #12849]
82410         * manual/fdl-1.1.texi: New file, verbatim from:
82411         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
82412         * manual/lgpl-2.1.texi: New file, verbatim from:
82413         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
82414         * manual/Makefile (licenses): New variable, list those new file names.
82415         (texis): Use it.
82416         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
82418         * manual/fdl.texi: File removed.
82419         * manual/lesser.texi: File removed.
82420         * manual/libc.texinfo (Copying, Documentation License):
82421         Use new @include file names, put @appendix directive before @include.
82423 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
82425         [BZ #12841]
82426         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
82427         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
82428         (mq_open): Add __NTH.
82430 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
82432         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82433         Assume Intel Core i3/i5/i7 processor if AVX is available.
82435 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
82437         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
82438         typo.
82440 2011-05-31  Andreas Schwab  <schwab@redhat.com>
82442         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
82443         memory.  Use alloca_account.  Fix memory leak when retrying.
82445 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
82447         * version.h (RELEASE): Bump for 2.14 release.
82448         * include/features.h (__GLIBC_MINOR__): Bump to 14.
82450         * config.make.in (RANLIB): Remove entry.
82452 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
82454         * po/Makefile (po-sed-cmd): Add ksh to extensions.
82455         (libc.pot): Work around missing support for .ksh extension in xgettext.
82457         [BZ #12684]
82458         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
82459         if both request failed.
82460         (send_dg): In case of server errors clear resplen or *resplen2.
82462         [BZ #12454]
82463         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
82464         when there are multiple maps.
82465         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
82466         (_dl_fini): Remove test here.
82468         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
82470 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
82472         [BZ #12350]
82473         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
82474         bit from old_res_options.
82475         (gaih_inet): Likewise.
82477         [BZ #11099]
82478         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
82479         as signed.
82481         * resolv/res_init.c (res_setoptions): Make the code more compact.
82483         [BZ #11558]
82484         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
82485         set RES_USEVC.
82487         [BZ #11634]
82488         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
82490         * malloc/malloc.h: Mark malloc hook variables as deprecated.
82492         [BZ #11781]
82493         * malloc/malloc.h: Declare malloc hook variables as volatile.
82495         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
82496         in last patch.
82498         [BZ #11799]
82499         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
82500         raise in the comment.
82501         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
82502         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
82503         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
82505 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
82507         [BZ #12811]
82508         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
82509         grow the buffers more if it already has to be sufficient.
82510         (build_wcs_upper_buffer): Likewise.
82511         * posix/regexec.c (check_matching): Likewise.
82512         (clean_state_log_if_needed): Likewise.
82513         (extend_buffers): Don't enlarge buffers beyond size of the input
82514         buffer.
82515         Patches mostly by Emil Wojak <emil@wojak.eu>.
82516         * posix/bug-regex32.c: New file.
82517         * posix/Makefile (tests): Add bug-regex32.
82519         * locale/findlocale.c (_nl_find_locale): Return right away if
82520         _nl_explode_name failed.
82521         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
82523         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
82525         * debug/xtrace.sh: Unify messages.
82526         * malloc/memusage.sh: Likewise.
82528         [BZ #12813]
82529         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
82530         time symbol from vDSO.  Substitute with vsyscall if not available.
82531         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
82532         __vdso_time.
82534         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
82535         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
82536         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
82537         Add sendmmsg and internal_sendmmsg.
82538         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
82539         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
82540         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
82542         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
82543         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
82544         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
82546 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
82548         [BZ #12813]
82549         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
82550         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
82551         available.
82552         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
82553         __vdso_getcpu.
82555         [BZ #12814]
82556         * iconvdata/Makefile (tests): Add bug-iconv9.
82557         * iconvdata/bug-iconv9.c: New file.
82559 2011-05-27  Andreas Schwab  <schwab@redhat.com>
82561         [BZ #12814]
82562         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
82564 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
82566         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
82567         (struct user_regs_struct): Change intcs field back to cs.
82569 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
82571         * po/ja.po: Update from translation team.
82573 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
82575         [BZ #12795]
82576         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
82577         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
82579 2011-05-20  Andreas Schwab  <schwab@redhat.com>
82581         * stdlib/longlong.h: Update from GCC.
82583 2011-05-23  Andreas Schwab  <schwab@redhat.com>
82585         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
82586         parameter name.
82587         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
82588         Add parameter name.
82589         (__sysconf): Pass it down.
82591 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
82593         [BZ #12671]
82594         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
82595         some situations.
82596         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
82597         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
82598         add in in __libc_use_alloca calls.  Adjust callers.
82599         (glob): Use malloc in some situations.
82601         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
82602         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
82603         pltexit.
82605 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
82607         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
82608         and CLOCK_BOOTTIME_ALARM.
82610         [BZ #12782]
82611         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
82612         is returned.
82614         * string/_strerror.c (__strerror_r): Print negative errors as signed
82615         numbers.
82617         [BZ #12777]
82618         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
82619         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
82620         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
82622         * configure.in: Fix typo in redirection and correct removal of test
82623         files in two cases.
82625         [BZ #12788]
82626         * locale/setlocale.c (new_composite_name): Fix test to check for
82627         identical name of all categories.
82629         [BZ #12792]
82630         * libio/filedoalloc.c (local_isatty): New function.
82631         (_IO_file_doallocate): Use local_isatty.
82632         * stdio-common/perror.c (perror): In case a new stream is used
82633         forward the stream error.
82634         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
82635         error flag.
82637 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
82639         [BZ #11884]
82640         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
82641         alloca.
82642         * include/alloca.h (extend_alloca_account): Define.
82644         [BZ #11857]
82645         * posix/regex.h: Fix comments with documentation of user-accessible
82646         fields after compilation and describe correct free'ing of pattern
82647         after re_compile_pattern.
82648         Patch by Reuben Thomas <rrt@sc3d.org>.
82650 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
82652         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
82653         and -mno-altivec to prevent the compiler from using Altivec and/or
82654         VSX instructions when the corresponding registers are not available.
82656 2011-05-19  Andreas Schwab  <schwab@redhat.com>
82658         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
82660 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
82662         * libio/freopen.c (freopen): Use __dup2, not dup2.
82663         * libio/freopen64.c (freopen64): Likewise.
82665 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
82667         [BZ #12775]
82668         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
82669         * math/Makefile (tests): Add test-powl.
82670         (CFLAGS-test-powl.c): Define.
82671         * math/test-powl.c: New file.
82673 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82675         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
82677 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
82679         [BZ #11837]
82680         * iconvdata/gb18030.c: Update to GB18020-2005.
82682 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
82684         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
82685         RE_SYNTAX_POSIX_AWK): Update to match recent development.
82686         Patch by Aharon Robbins <arnold@skeeve.com>.
82688         [BZ #11892]
82689         * stdlib/putenv.c (putenv): Don't always create copy of the variable
82690         on the stack.
82692         [BZ #11895]
82693         * misc/pselect.c (__pselect): Handle timeout value errors hidden
82694         through underflows.
82696         [BZ #12766]
82697         * misc/error.c (error_at_line): Ensure file_name and old_file_name
82698         point to strings before performing equality test for error_one_per_line
82699         mode.
82701         [BZ #11697]
82702         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
82704         [BZ #11820]
82705         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
82706         (struct user_fpregs_struct): Avoid __uint*_t types.
82708         [BZ #6420]
82709         * malloc/mtrace.c (tr_where): Add additional parameter to point to
82710         symbol info.  Use it instead of calling _dl_addr locally.
82711         (lock_and_info): New function.
82712         (tr_freehook): Call lock_and_info and pass symbol info as additional
82713         parameter to tr_where.
82714         (tr_mallochook): Likewise.
82715         (tr_reallochook): Likewise.
82716         (tr_memalignhook): Likewise.
82718         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
82719         used and couldn't be at all thread-safe.
82721 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
82723         * libio/freopen.c (freopen): Don't close old file descriptor
82724         before the new one is opened.  Instead dup the new file descriptor
82725         to the old one after the new stream is created.
82726         * libio/freopen64.c (freopen64): Likewise.
82727         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
82728         * libio/fileops.c (_IO_new_file_close_it): Handle new
82729         _IO_FLAGS2_NOCLOSE flag.
82730         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
82731         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
82732         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
82733         _IO_FLAGS2_NOCLOSE flag.
82734         * include/unistd.h: Add hidden_proto for dup3.
82735         Define __have_dup3.
82736         * io/dup3.c: Define hidden symbol.
82737         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
82739         [BZ #7101]
82740         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
82741         when an incomplete long option is used.
82742         * posix/tst-getopt_long1.c: New file.
82743         * posix/Makefile (tests): Add tst-getopt_long1.
82745         [BZ #10138]
82746         * scripts/config.guess: Update from autoconf-2.68.
82747         * scripts/config.sub: Likewise.
82749         [BZ #10157]
82750         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
82751         tests into ...
82752         (has_cpuclock): ...this.  New function.
82753         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
82754         macro here based on has_cpuclock code.
82756         [BZ #10149]
82757         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82758         First byte (not low byte) is now always NUL.
82759         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
82761         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82762         Use non-cancelable interfaces.
82764         [BZ #9809]
82765         * locale/iso-639.def: Add entry for Sorani.
82767         [BZ #11901]
82768         * include/stdlib.h: Move include protection to the right place.
82769         Define abort_msg_s.  Declare __abort_msg with it.
82770         * stdlib/abort.c (__abort_msg): Adjust type.
82771         * assert/assert.c (__assert_fail_base): New function.  Majority
82772         of code from __assert_fail.  Allocate memory for __abort_msg with
82773         mmap.
82774         (__assert_fail): Now call __assert_fail_base.
82775         * assert/assert-perr.c: Remove bulk of implementation.  Use
82776         __assert_fail_base.
82777         * include/assert.hL Declare __assert_fail_base.
82778         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
82779         mmap.
82780         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
82782 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
82784         [BZ #11952]
82785         [BZ #12453]
82786         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
82787         until all modules are registered in the DTV.
82788         * elf/Makefile: Add rules to build and run tst-tls19.
82789         * elf/tst-tls19.c: New file.
82790         * elf/tst-tls19mod1.c: New file.
82791         * elf/tst-tls19mod2.c: New file.
82792         * elf/tst-tls19mod3.c: New file.
82793         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
82795         [BZ #12083]
82796         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
82797         correctly.
82799         [BZ #12601]
82800         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
82801         two-byte sequence errors.
82802         * iconvdata/Makefile (tests): Add bug-iconv8.
82803         * iconvdata/bug-iconv8.c: New file.
82805         [BZ #12626]
82806         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
82807         buf2 definition.
82809         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
82811         [BZ #12432]
82812         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
82813         (dummy_getcfa): New function.
82814         (init): Get _Unwind_GetCFA address, use dummy if not found.
82815         (backtrace_helper): In recursion check, also check whether CFA changes.
82816         (__backtrace): Completely initialize arg.
82818         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
82819         storing incomplete byte sequence in state object.  Avoid testing for
82820         guaranteed too small input if we know there is enough data available.
82822 2011-05-11  Andreas Schwab  <schwab@redhat.com>
82824         * Makeconfig (+link-pie): Indent.
82825         * Rules (binaries-pie): Define if $(have-fpie) and
82826         $(build-shared).
82827         (binaries-shared): Also filter out $(binaries-pie).
82828         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
82829         * nscd/Makefile (others-pie): Add nscd.
82830         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
82831         ($(objpfx)nscd): Remove command override.
82832         * login/Makefile (others-pie): Add pt_chown.
82833         ($(objpfx)pt_chown): Remove command override.
82834         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
82835         remove command overrides.
82837 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
82839         * libio/tst_putwc.c: Fix error messages.
82841         [BZ #12724]
82842         * libio/fileops.c (_IO_new_file_close_it): Always flush when
82843         currently writing and seek to current position when not.
82844         * libio/Makefile (tests): Add bug-fclose1.
82845         * libio/bug-fclose1.c: New file.
82847 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
82849         [BZ #12511]
82850         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
82851         don't set DF_1_NODELETE here.
82852         (do_lookup_x): When entering new entry test for copy relocation
82853         and if necessary set DF_1_NODELETE flag.
82854         * elf/tst-unique4.cc: New file.
82855         * elf/tst-unique4.h: New file.
82856         * elf/tst-unique4lib.cc: New file.
82857         * elf/Makefile: Add rules to build and run tst-unique4.
82858         Patch by Piotr Bury <pbury@goahead.com>.
82860 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
82862         [BZ #12052]
82863         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
82865         [BZ #12625]
82866         * misc/mntent_r.c (addmntent): Flush the stream after the output
82868         [BZ #12393]
82869         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
82870         (is_trusted_path_normalize): Skip initial colon.  Append slash
82871         to empty buffer.  Duplicate is_trusted_path code but allow
82872         constructed patch to be prefix.
82873         (is_dst): Allow $ORIGIN followed by /.
82874         (_dl_dst_substitute): Correct clearing of check_for_trusted.
82875         Correct testing of result of is_trusted_path_normalize
82876         (decompose_rpath): Fix warning.
82878 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
82880         [BZ #11257]
82881         * grp/initgroups.c (internal_getgrouplist): When we found the service
82882         list through the initgroups entry in nsswitch.conf do not always
82883         continue on a successful lookup.  Don't always use the
82884         __nss_group_database value if it is set.
82885         * nss/nsswitch.conf (initgroups): Change action for successful db
82886         lookup to continue for compatibility.
82888 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
82890         [BZ #11532]
82891         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
82892         and CP774 modules.
82893         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
82894         and CP774 modules.
82895         * iconvdata/tst-tables.sh: Likewise.
82896         * iconvdata/cp770.c: New file.
82897         * iconvdata/cp771.c: New file.
82898         * iconvdata/cp772.c: New file.
82899         * iconvdata/cp773.c: New file.
82900         * iconvdata/cp774.c: New file.
82901         * iconvdata/testdata/CP770: New file.
82902         * iconvdata/testdata/CP770..UTF8: New file.
82903         * iconvdata/testdata/CP771: New file.
82904         * iconvdata/testdata/CP771..UTF8: New file.
82905         * iconvdata/testdata/CP772: New file.
82906         * iconvdata/testdata/CP772..UTF8: New file.
82907         * iconvdata/testdata/CP773: New file.
82908         * iconvdata/testdata/CP773..UTF8: New file.
82909         * iconvdata/testdata/CP774: New file.
82910         * iconvdata/testdata/CP774..UTF8: New file.
82912         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
82913         END CHARMAP line.
82914         * iconvdata/gen-8bit-gap.sh: Likewise.
82915         * iconvdata/gen-8bit.sh: Likewise.
82917         * locale/iso-639.def: Add ary entry.
82919         [BZ #11258]
82920         * locale/C-translit.h.in: Add U20A1 transliteration.
82922         [BZ #12178]
82923         * locale/iso-639.def: Add wae entry.
82924         Patch by Kevin Bortis <bortis@translate-wae.ch>.
82926         [BZ #12545]
82927         * locale/programs/localedef.c (construct_output_path): Use ssize_t
82928         for n.
82930         [BZ #12711]
82931         * locale/C-translit.h.in: Add entry for U20B9.
82932         Patch by pravin.d.s@gmail.com.
82934 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
82936         [BZ #12713]
82937         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
82938         ENAMETOOLONG use generic getcwd.
82939         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
82940         in rtld.  Use *stat64.
82941         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
82942         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
82943         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
82944         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
82945         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
82946         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
82947         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
82948         __fstatat64 macros.
82949         * include/dirent.h: Add libc_hidden_proto for rewinddir.
82950         * dirent/rewinddir.c: Add libc_hidden_def.
82951         * sysdeps/mach/hurd/rewinddir.c: Likewise.
82952         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
82954         * include/dirent.h (__alloc_dir): Add flags parameter.
82955         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
82956         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
82957         __alloc_dir.
82958         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
82959         from fdopendir if O_CLOEXEC is already set.
82961 2011-03-15  Alan Modra  <amodra@gmail.com>
82963         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
82964         l_tls_firstbyte_offset non-zero.  Save padding offset in
82965         l_tls_firstbyte_offset for later use.
82966         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
82967         freeing static tls block.
82969 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
82971         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
82972         where #ifdef was intended.  The intent is to prevent ARG_MAX from
82973         being defined by the kernel headers.
82975 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
82977         [BZ #12734]
82978         * resolv/resolv.h: Define RES_NOTLDQUERY.
82979         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
82980         no-tld-query and set RES_NOTLDQUERY.
82981         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
82982         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
82983         modern BIND to search name as TLD unless forbidden.
82985 2011-05-07  Petr Baudis  <pasky@suse.cz>
82986             Ulrich Drepper  <drepper@gmail.com>
82988         [BZ #12393]
82989         * elf/dl-load.c (fillin_rpath): Move trusted path check...
82990         (is_trusted_path): ...to here.
82991         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
82992         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
82993         using is_trusted_path_normalize() in setuid scripts.
82995 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
82997         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
82998         __BEGIN/__END_DECLS.
83000 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
83002         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
83003         NSS_STATUS_NOTFOUND if no record was found.
83005 2011-05-05  Andreas Schwab  <schwab@redhat.com>
83007         * sunrpc/Makefile (headers): Add rpc/netdb.h.
83008         (headers-not-in-tirpc): Remove rpc/netdb.h
83009         * resolv/netdb.h: Revert last change.
83011 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
83013         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
83014         circular dependency between libgcc.a and libc.a.
83016 2011-05-05  Andreas Schwab  <schwab@redhat.com>
83018         * resolv/netdb.h: Don't include <rpc/netdb.h>.
83019         * nis/Makefile: Don't install rpcsvc/*.
83020         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
83021         instead of <rpc/types.h>.
83022         (MAXHOSTNAMELEN): Define.
83024 2011-05-03  Andreas Schwab  <schwab@redhat.com>
83026         * elf/ldconfig.c (add_dir): Don't crash on empty path.
83028 2011-04-28  Maciej Babinski  <mbabinski@google.com>
83030         [BZ #12714]
83031         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
83032         gethostbyname4_r when IPv6 results are possible.
83034 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
83036         [BZ #12723]
83037         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
83038         _PC_PIPE_BUF handling.
83040 2011-04-30  Bruno Haible  <bruno@clisp.org>
83042         [BZ #12717]
83043         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
83044         * resolv/netdb.h (getnameinfo): Change type of flags parameter
83045         to 'int'.
83046         * inet/getnameinfo.c (getnameinfo): Likewise.
83048 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
83050         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
83051         to groups setting in database lookup.
83052         * nss/nsswitch.conf: Add initgroups entry.
83054 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
83056         [BZ #12685]
83057         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
83058         mode string.
83059         Patch by Eric Blake <eblake@redhat.com>.
83061 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
83063         * sunrpc/Makefile (need-export-routines): Add svc_run.
83064         (routines): Remove svc_run.
83065         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
83066         * sunrpc/clnt_perr.c (clnt_perrno): Export.
83067         * sunrpc/svc_run.c (svc_run): Likewise.
83068         * sunrpc/svc_udp.c (svcudp_create): Likewise.
83070 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
83072         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
83073         problem in reallocation in last patch.
83075 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
83077         * sunrpc/Makefile: Move inclusion of Rules.
83079 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
83081         * nss/nss_files/files-initgroups.c: New file.
83082         * nss/Makefile (libnss_files-routines): Add files-initgroups.
83083         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
83084         _nss_files_initgroups_dyn.
83086 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
83088         * elf/elf.h (R_ARM_IRELATIVE): Define.
83090 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
83092         * po/ru.po: Update from translation team.
83094 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
83096         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
83097         dependencies.
83099 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
83101         [BZ #12653]
83102         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
83103         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
83104         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
83105         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
83106         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
83108 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
83110         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
83111         differing bytes.
83112         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
83113         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
83114         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
83116 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
83118         [BZ #12420]
83119         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
83120         storing it.
83121         * stdlib/bug-getcontext.c: New file.
83122         * stdlib/Makefile: Add rules to build and run bug-getcontext.
83124 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83126         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
83127         instructions into .machine "z9-109".
83128         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
83129         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
83131 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83133         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
83134         between environment variables and auxiliary vector.
83136 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
83138         * Makefile: Add rules to build linkobj/libc.so.
83139         * include/libc-symbols.h: Define libc_hidden_nolink.
83140         * include/rpc/auth.h: Mark functions which are to be hidden.
83141         * include/rpc/auth_des.h: Likewise.
83142         * include/rpc/auth_unix.h: Likewise.
83143         * include/rpc/clnt.h: Likewise.
83144         * include/rpc/des_crypt.h: Likewise.
83145         * include/rpc/key_prot.h: Likewise.
83146         * include/rpc/pmap_clnt.h: Likewise.
83147         * include/rpc/pmap_prot.h: Likewise.
83148         * include/rpc/pmap_rmt.h: Likewise.
83149         * include/rpc/rpc_msg.h: Likewise.
83150         * include/rpc/svc.h: Likewise.
83151         * include/rpc/svc_auth.h: Likewise.
83152         * include/rpc/xdr.h: Likewise.
83153         * nis/Makefile: Link all DSOs against linkobj/libc.so.
83154         * nss/Makefile: Likewise.
83155         * sunrpc/Makefile: Don't install headers.  Build library with normal
83156         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
83157         * sunrpc/auth_des.c: Hide exported symbols by default, export some
83158         for the compat linking library.  Remove use of INTDEF/INTUSE.
83159         * sunrpc/auth_none.c: Likewise.
83160         * sunrpc/auth_unix.c: Likewise.
83161         * sunrpc/authdes_prot.c: Likewise.
83162         * sunrpc/authuxprot.c: Likewise.
83163         * sunrpc/clnt_gen.c: Likewise.
83164         * sunrpc/clnt_perr.c: Likewise.
83165         * sunrpc/clnt_raw.c: Likewise.
83166         * sunrpc/clnt_simp.c: Likewise.
83167         * sunrpc/clnt_tcp.c: Likewise.
83168         * sunrpc/clnt_udp.c: Likewise.
83169         * sunrpc/clnt_unix.c: Likewise.
83170         * sunrpc/des_crypt.c: Likewise.
83171         * sunrpc/des_soft.c: Likewise.
83172         * sunrpc/get_myaddr.c: Likewise.
83173         * sunrpc/key_call.c: Likewise.
83174         * sunrpc/key_prot.c: Likewise.
83175         * sunrpc/netname.c: Likewise.
83176         * sunrpc/pm_getmaps.c: Likewise.
83177         * sunrpc/pm_getport.c: Likewise.
83178         * sunrpc/pmap_clnt.c: Likewise.
83179         * sunrpc/pmap_prot.c: Likewise.
83180         * sunrpc/pmap_prot2.c: Likewise.
83181         * sunrpc/pmap_rmt.c: Likewise.
83182         * sunrpc/publickey.c: Likewise.
83183         * sunrpc/rpc_cmsg.c: Likewise.
83184         * sunrpc/rpc_common.c: Likewise.
83185         * sunrpc/rpc_dtable.c: Likewise.
83186         * sunrpc/rpc_prot.c: Likewise.
83187         * sunrpc/rpc_thread.c: Likewise.
83188         * sunrpc/rtime.c: Likewise.
83189         * sunrpc/svc.c: Likewise.
83190         * sunrpc/svc_auth.c: Likewise.
83191         * sunrpc/svc_authux.c: Likewise.
83192         * sunrpc/svc_raw.c: Likewise.
83193         * sunrpc/svc_run.c: Likewise.
83194         * sunrpc/svc_simple.c: Likewise.
83195         * sunrpc/svc_tcp.c: Likewise.
83196         * sunrpc/svc_udp.c: Likewise.
83197         * sunrpc/svc_unix.c: Likewise.
83198         * sunrpc/svcauth_des.c: Likewise.
83199         * sunrpc/xcrypt.c: Likewise.
83200         * sunrpc/xdr.c: Likewise.
83201         * sunrpc/xdr_array.c: Likewise.
83202         * sunrpc/xdr_float.c: Likewise.
83203         * sunrpc/xdr_intXX_t.c: Likewise.
83204         * sunrpc/xdr_mem.c: Likewise.
83205         * sunrpc/xdr_rec.c: Likewise.
83206         * sunrpc/xdr_ref.c: Likewise.
83207         * sunrpc/xdr_sizeof.c: Likewise.
83208         * sunrpc/xdr_stdio.c: Likewise.
83210 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
83212         [BZ #12650]
83213         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
83214         * sysdeps/ia64/dl-tls.h: Likewise.
83215         * sysdeps/powerpc/dl-tls.h: Likewise.
83216         * sysdeps/s390/dl-tls.h: Likewise.
83217         * sysdeps/sh/dl-tls.h: Likewise.
83218         * sysdeps/sparc/dl-tls.h: Likewise.
83219         * sysdeps/x86_64/dl-tls.h: Likewise.
83220         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
83222 2011-03-14  Andreas Schwab  <schwab@redhat.com>
83224         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
83225         rpath element also skip the following colon.
83226         (expand_dynamic_string_token): Add is_path parameter and pass
83227         down to DL_DST_REQUIRED and _dl_dst_substitute.
83228         (decompose_rpath): Call expand_dynamic_string_token with
83229         non-zero is_path.  Ignore empty rpaths.
83230         (_dl_map_object_from_fd): Call expand_dynamic_string_token
83231         with zero is_path.
83233 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
83235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
83236         Make cancelable.
83238 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
83240         [BZ #12655]
83241         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
83242         Patch by Filipe David Manana <fdmanana@apache.org>.
83244 2011-04-07  Andreas Schwab  <schwab@redhat.com>
83246         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
83247         Maintain aligned stack.
83248         (CHECK_RSP): Remove unused macro.
83250 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
83252         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
83253         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
83255 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
83257         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
83259         * include/features.h: Mention __USE_XOPEN2K8 in comment.
83261 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
83263         [BZ #12518]
83264         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
83265         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
83266         * sysdeps/x86_64/memmove.c: New file.
83267         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
83268         (memcpy): Renamed to ...
83269         (__new_memcpy): This.
83270         (memcpy): Provide GLIBC_2_14 memcpy.
83271         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
83272         (memcpy): Provide GLIBC_2_2_5 memcpy.
83274 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
83276         [BZ #12631]
83277         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
83279 2011-03-30  Andreas Schwab  <schwab@redhat.com>
83281         * misc/syncfs.c: New file.
83282         * misc/Makefile (routines): Add syncfs.
83283         * posix/unistd.h: Declare syncfs.
83284         * sysdeps/unix/syscalls.list: Add syncfs.
83286 2011-04-01  Andreas Schwab  <schwab@redhat.com>
83288         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
83289         open_by_handle_at.
83290         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
83291         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83292         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83293         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83294         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83295         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
83296         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83298 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
83300         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
83301         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83302         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
83303         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83304         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83305         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83306         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83308         * io/Makefile: Compile fallocate.c, fallocate64.c, and
83309         sync_file_range.c with -fexceptions.
83310         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
83311         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
83312         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
83313         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
83314         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
83315         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
83316         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
83317         sync_file_range as cancellation point
83318         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
83319         now a wrapper around __call_sync_file_range with cancellation handling.
83320         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
83321         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
83322         function name to __call_sync_file_range.
83323         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
83324         Add call_sync_file_range.
83326 2011-04-01  Andreas Schwab  <schwab@redhat.com>
83328         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83329         bits/timex.h.
83331 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
83333         * iconv/iconv.h: Fix typo in comment.
83334         * io/fcntl.h: Likewise.
83335         * libio/stdio.h: Likewise.
83336         * posix/spawn.h: Likewise.
83337         * posix/unistd.h: Likewise.
83338         * stdlib/stdlib.h: Likewise.
83339         * time/time.h: Likewise.
83340         * wcsmbs/wchar.h: Likewise.
83342         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
83343         open_by_handle): Add.
83344         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
83345         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
83346         Augment a few comments.
83347         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83348         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83349         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83350         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83351         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83352         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
83353         open_by_handle.
83355         * io/fcntl.h (AT_EMPTY_PATH): Define.
83357 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
83359         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
83360         * sysdeps/unix/sysv/linux/bits/time.h: New file.
83361         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
83362         to...
83363         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
83364         * Versions.def: Add GLIBC_2.14.
83365         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
83366         Export.
83368 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
83370         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
83371         round counter.
83372         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
83374 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
83376         [BZ #12597]
83377         * string/test-strncmp.c (do_page_test): New function.
83378         (check2): Likewise.
83379         (test_main): Call check2.
83380         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
83382 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
83384         [BZ #12587]
83385         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
83386         Handle cache information in CPU leaf 4.
83387         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
83389 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
83391         [BZ #12583]
83392         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
83393         character representation.
83394         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
83396 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
83398         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
83399         END(__isnan) to END(__isnanf) to match function entry point/label
83400         EALIGN(__isnanf,...).
83402 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
83404         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
83406 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
83408         [BZ #12510]
83409         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
83410         copy from the symbol referenced in the relocation to initialize the
83411         used variable.
83412         Patch by Piotr Bury <pbury@goahead.com>.
83413         * elf/Makefile: Add rules to build and tst-unique3.
83414         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
83415         * elf/tst-unique3.cc: New file.
83416         * elf/tst-unique3.h: New file.
83417         * elf/tst-unique3lib.cc: New file.
83418         * elf/tst-unique3lib2.cc: New file.
83420         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
83422 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
83424         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
83425         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
83426         to _start.
83428 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
83430         * elf/dl-load.c (_dl_map_object): If we are looking for the first
83431         to-be-loaded object along a path to loader is ld.so.
83433 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
83434             Ulrich Drepper  <drepper@gmail.com>
83436         * sysdeps/x86_64/memset.S: After aligning destination, code
83437         branches to different locations depending on the value of
83438         misalignment, when multiarch is enabled. Fix this.
83440 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
83442         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
83443         Set _x86_64_preferred_memory_instruction for AMD processsors.
83444         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83445         Set bit_Prefer_SSE_for_memop for AMD processors.
83447 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
83449         * libio/fmemopen.c (fmemopen): Optimize a bit.
83451 2011-03-03  Andreas Schwab  <schwab@redhat.com>
83453         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
83455 2011-03-03  Roland McGrath  <roland@redhat.com>
83457         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
83459 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
83461         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
83462         __bzero_ultra1 instead of __memset_ultra1.
83464 2011-02-23  Andreas Schwab  <schwab@redhat.com>
83465             Ulrich Drepper  <drepper@gmail.com>
83467         [BZ #12509]
83468         * include/link.h (struct link_map): Add l_orig_initfini.
83469         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
83470         returning unsuccessfully.
83471         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
83472         close of a file loaded at startup, restore the original l_initfini
83473         list.
83474         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
83475         list, store the pointer.
83476         * elf/Makefile ($(objpfx)noload-mem): New rule.
83477         (noload-ENV): Define.
83478         (tests): Add $(objpfx)noload-mem.
83479         * elf/noload.c: Include <memcheck.h>.
83480         (main): Call mtrace.  Close all opened handles.
83482 2011-02-17  Andreas Schwab  <schwab@redhat.com>
83484         [BZ #12454]
83485         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
83486         dependencies are missing.
83488 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83490         Fix __if_freereq crash: Unlike the generic version which uses free,
83491         Hurd needs munmap.
83492         * sysdeps/mach/hurd/ifreq.h: New file.
83494 2011-01-27  Petr Baudis  <pasky@suse.cz>
83495             Ulrich Drepper  <drepper@gmail.com>
83497         [BZ 12445]#
83498         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
83499         to extend_alloca().
83500         * stdio-common/bug23.c: New file.
83501         * stdio-common/Makefile (tests): Add bug23.
83503 2010-09-28  Andreas Schwab  <schwab@redhat.com>
83504             Ulrich Drepper  <drepper@gmail.com>
83506         [BZ #12489]
83507         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
83508         before performing relro protection.  At old place add assertion
83509         to make sure nothing changed.
83511 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
83512             Glauber de Oliveira Costa  <glommer@gmail.com>
83514         * elf/elf.h: Add new ARM TLS relocs.
83516 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
83518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
83519         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
83520         cast from r3.
83521         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
83522         'tests' variable.
83523         * sysdeps/wordsize-64/tst-writev.c: New file.
83525 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
83527         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
83528         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
83529         insns in _dl_start to prevent a TOC reference before relocs are
83530         resolved.
83532 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
83534         [BZ #12469]
83535         * Makeconfig: Remove RANLIB definition.
83536         * Makerules: Don't use RANLIB.
83537         * aclocal.m4: Remove ranlib test.
83538         * configure.in: No need to check for ranlib.
83539         * elf/rtld-Rules: Don't use RANLIB.
83541 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83543         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
83544         protection macro.
83545         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
83546         inclusion protection macro.
83548         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
83549         SIGRTMIN and SIGRTMAX and print information in that case only when
83550         SIGRTMIN is defined.
83552 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
83554         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
83555         arginfo fn returning -1.
83557         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
83558         and thousands string is zero terminated.
83560 2011-02-03  Andreas Schwab  <schwab@redhat.com>
83562         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
83563         sysdeps/unix/sysv/linux/bits/socket.h.
83565 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83567         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
83568         (__CPU_COUNT): Remove old macros.
83569         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
83570         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
83571         (__CPU_ALLOC, __CPU_FREE): Add macros.
83572         (__sched_cpualloc, __sched_cpufree): Add declarations.
83574 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
83576         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
83577         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
83578         * nscd/aicache.c (addhstaiX): Return timeout of added value.
83579         (readdhstai): Return value of addhstaiX call.
83580         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
83581         (addgrbyX): Return value returned by cache_addgr.
83582         (readdgrbyname): Return value returned by addgrbyX.
83583         (readdgrbygid): Likewise.
83584         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
83585         (addpwbyX): Return value returned by cache_addpw.
83586         (readdpwbyname): Return value returned by addhstbyX.
83587         (readdpwbyuid): Likewise.
83588         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
83589         (addservbyX): Return value returned by cache_addserv.
83590         (readdservbyname): Return value returned by addservbyX:
83591         (readdservbyport): Likewise.
83592         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
83593         (addhstbyX): Return value returned by cache_addhst.
83594         (readdhstbyname): Return value returned by addhstbyX.
83595         (readdhstbyaddr): Likewise.
83596         (readdhstbynamev6): Likewise.
83597         (readdhstbyaddrv6): Likewise.
83598         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
83599         (readdinitgroups): Return value returned by addinitgroupsX.
83600         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
83601         (prune_cache): Keep track of timeout value of re-added entries.
83602         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
83603         * nscd/nscd.h: Adjust prototypes of readd* functions.
83605 2011-02-04  Roland McGrath  <roland@redhat.com>
83607         * nis/nis_server.c (nis_servstate): Use the right name for 0.
83608         (nis_stats): Likewise.
83609         * nis/nis_modify.c (nis_modify): Likewise.
83610         * nis/nis_remove.c (nis_remove): Likewise.
83611         * nis/nis_add.c (nis_add): Likewise.
83613         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
83615         * posix/fnmatch_loop.c: Add some consts.
83617         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
83619 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
83621         [BZ #12460]
83622         * config.make.in (config-cflags-novzeroupper): Define.
83623         * configure.in: Substitute libc_cv_cc_novzeroupper.
83624         * elf/Makefile (AVX-CFLAGS): Define.
83625         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
83626         (CFLAGS-tst-auditmod4a.c): Likewise.
83627         (CFLAGS-tst-auditmod4b.c): Likewise.
83628         (CFLAGS-tst-auditmod6b.c): Likewise.
83629         (CFLAGS-tst-auditmod6c.c): Likewise.
83630         (CFLAGS-tst-auditmod7b.c): Likewise.
83631         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
83633 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
83635         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
83636         function to the callback.
83637         Patch partly by Jiri Olsa <jolsa@redhat.com>.
83639 2011-02-02  Andreas Schwab  <schwab@redhat.com>
83641         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
83642         of errno.
83644 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
83646         [BZ #11724]
83647         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
83648         of constructors.
83649         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
83650         of destructors.
83651         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
83653         [BZ #11724]
83654         * elf/Makefile: Add rules to build and run new test.
83655         * elf/tst-initorder.c: New file.
83656         * elf/tst-initorder.exp: New file.
83657         * elf/tst-initordera1.c: New file.
83658         * elf/tst-initordera2.c: New file.
83659         * elf/tst-initordera3.c: New file.
83660         * elf/tst-initordera4.c: New file.
83661         * elf/tst-initorderb1.c: New file.
83662         * elf/tst-initorderb2.c: New file.
83663         * elf/tst-order-a1.c: New file.
83664         * elf/tst-order-a2.c: New file.
83665         * elf/tst-order-a3.c: New file.
83666         * elf/tst-order-a4.c: New file.
83667         * elf/tst-order-b1.c: New file.
83668         * elf/tst-order-b2.c: New file.
83669         * elf/tst-order-main.c: New file.
83670         New test case by George Gensure <werkt0@gmail.com>.
83672 2010-10-01  Andreas Schwab  <schwab@redhat.com>
83674         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
83675         decoding ACE if AI_CANONIDN.
83677 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
83679         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
83681 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
83683         * version.h (RELEASE): Bump for 2.13 release.
83684         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
83686         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
83688         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
83689         MADV_NOHUGEPAGE.
83690         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
83691         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
83692         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
83693         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
83694         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
83695         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
83697         * posix/getconf.c: Update copyright year.
83698         * catgets/gencat.c: Likewise.
83699         * csu/version.c: Likewise.
83700         * debug/catchsegv.sh: Likewise.
83701         * debug/xtrace.sh: Likewise.
83702         * elf/ldconfig.c: Likewise.
83703         * elf/ldd.bash.in: Likewise.
83704         * elf/sprof.c (print_version): Likewise.
83705         * iconv/iconv_prog.c: Likewise.
83706         * iconv/iconvconfig.c: Likewise.
83707         * locale/programs/locale.c: Likewise.
83708         * locale/programs/localedef.c: Likewise.
83709         * malloc/memusage.sh: Likewise.
83710         * malloc/mtrace.pl: Likewise.
83711         * nscd/nscd.c (print_version): Likewise.
83712         * nss/getent.c: Likewise.
83714         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
83715         PF_CAIF, and PF_ALG.
83716         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83718 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
83720         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
83721         (modules-names): Use them.
83722         (ifunc-test-modules, ifunc-pie-tests): Define.
83723         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
83724         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
83725         (test-extras): Likewise.
83726         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
83727         $(compile-command.c).
83728         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
83729         (all-built-dso): Define.
83730         (check-textrel.out, check-execstack.out): Depend on it.
83732         * configure.in: Don't override --enable-multi-arch.
83734 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
83736         [BZ #6812]
83737         * nscd/hstcache.c (tryagain): Define.
83738         (cache_addhst): Return tryagain not notfound for temporary errors.
83739         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
83740         failed.
83742 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
83744         [BZ #10563]
83745         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
83746         to make the syscall.
83747         * sysdeps/unix/sysv/linux/setgroups.c: New file.
83749         [BZ #12378]
83750         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
83751         and fall back to matching as normal character if the string ends before
83752         the matching ']' is found.  This is what POSIX requires.
83753         * posix/testfnm.c: Adjust test result.
83754         * posix/globtest.sh: Adjust test result.  Add new test.
83755         * posix/tst-fnmatch.input: Likewise.
83756         * posix/tst-fnmatch2.c: Add new test.
83758 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
83760         * elf/Makefile (check-execstack): Revert last change.  Depend on
83761         check-execstack.h.
83762         (check-execstack.h): New target.
83763         (generated): Add check-execstack.h.
83764         * elf/check-execstack.c: Include "check-execstack.h".
83765         (main): Revert last change.
83766         (handle_file): Return zero if GNU_STACK is absent and
83767         DEFAULT_STACK_PERMS doesn't include PF_X.
83769 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
83771         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
83772         in child fails because the descriptor is already closed.
83773         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
83774         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
83775         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
83777         [BZ #12397]
83778         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
83779         syscall.
83781         [BZ #10484]
83782         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
83783         temporary buffer used to handle multi lookups locally.
83784         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
83786 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
83788         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
83789         loader is ld.so.
83791 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
83793         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
83794         alignment for SSE2.
83796 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
83798         [BZ #12394]
83799         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
83800         characters.  When rounding increased number of integer digits recompute
83801         number of groups.
83802         * stdio-common/tst-grouping.c: New file.
83803         * stdio-common/Makefile: Add rules to build and run tst-grouping.
83805 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
83807         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
83808         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
83810         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
83811         void.
83812         * bits/select.h: Likewise.
83814 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
83816         * po/ja.po: Update from translation team.
83818 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
83820         [BZ #11155]
83821         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
83822         implementation just like for lxstat, fxstatat, et al.
83824 2010-12-27  Jim Meyering  <meyering@redhat.com>
83826         [BZ #12348]
83827         * posix/regexec.c (build_trtable): Return failure indication upon
83828         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
83830 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
83832         [BZ #12201]
83833         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
83834         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
83835         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
83836         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
83838         [BZ #12207]
83839         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
83841         [BZ #12204]
83842         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
83843         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
83845 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
83847         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
83848         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
83849         script has SORT_BY_INIT_PRIORITY.
83850         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
83851         NO_CTORS_DTORS_SECTIONS is defined.
83852         * elf/soinit.c: Likewise.
83853         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
83854         NO_CTORS_DTORS_SECTIONS is defined.
83855         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
83856         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
83857         * sysdeps/sh/init-first.c: Likewise.
83858         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
83860 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
83862         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
83863         always use the slow path.
83865 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
83867         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
83868         similar rule which adds the sysdep directories to the header search in
83869         order to pick up the correct platform stackinfo.h.
83870         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
83871         perform test if it is, otherwise return successfully without testing.
83872         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
83873         DEFAULT_STACK_PERMS define in stackinfo.h.
83874         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
83875         defined in stackinfo.h.
83876         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
83877         DEFAULT_STACK_PERMS defined in stackinfo.h.
83878         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
83879         * sysdeps/ia64/stackinfo.h: Likewise.
83880         * sysdeps/s390/stackinfo.h: Likewise.
83881         * sysdeps/sh/stackinfo.h: Likewise.
83882         * sysdeps/sparc/stackinfo.h: Likewise.
83883         * sysdeps/x86_64/stackinfo.h: Likewise.
83884         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
83885         PF_X for powerpc64.  Retain PF_X for powerpc32.
83887 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
83889         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
83890         accurately.
83891         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
83892         GETDENTS_64BIT_ALIGNED.
83894 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
83896         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
83898 2010-12-10  Andreas Schwab  <schwab@redhat.com>
83900         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
83901         _GNU_SOURCE.
83903         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
83904         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
83905         Remove __restrict.
83906         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
83907         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
83909 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
83911         [BZ #11655]
83912         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
83913         are initialized.
83915 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
83917         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
83919 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
83921         * po/it.po: Update from translation team.
83923 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
83925         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
83926         unused codes.
83928 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
83930         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
83932 2010-11-24  Andreas Schwab  <schwab@redhat.com>
83934         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
83935         specially.
83936         (gaih_getanswer_slice): Likewise.
83938 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
83940         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
83942 2010-05-31  Petr Baudis  <pasky@suse.cz>
83944         [BZ #11149]
83945         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
83946         silently even in the chroot mode.
83948 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
83950         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
83951         last patch a bit.  Pretty printing
83953 2010-05-31  Petr Baudis <pasky@suse.cz>
83955         [BZ #10085]
83956         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
83957         initialization of skip_initgroups_dyn.
83959 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
83961         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
83962         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
83964 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
83966         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
83968 2010-11-11  Andreas Schwab  <schwab@redhat.com>
83970         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
83971         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
83972         (tst-fnmatch-ENV): Set MALLOC_TRACE.
83973         ($(objpfx)tst-fnmatch-mem): New rule.
83974         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
83975         * posix/tst-fnmatch.c (main): Call mtrace.
83977 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
83979         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83980         Support Intel processor model 6 and model 0x2c.
83982 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
83984         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
83985           signed comparison.
83987 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
83989         [BZ #12205]
83990         * string/test-strncasecmp.c (check_result): New function.
83991         (do_one_test): Use it.
83992         (check1): New function.
83993         (test_main): Use it.
83994         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
83995         Support strcasecmp and strncasecmp.
83997 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
83999         [BZ #12194]
84000         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
84001         * sysdeps/x86_64/bits/byteswap.h: Likewise.
84003 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
84005         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
84006         IFUNC support.
84007         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84008         memset-x86-64.
84009         * sysdeps/x86_64/multiarch/bzero.S: New file.
84010         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
84011         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
84012         * sysdeps/x86_64/multiarch/memset.S: New file.
84013         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
84014         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84015         Set bit_Prefer_SSE_for_memop for Intel processors.
84016         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
84017         Define.
84018         (index_Prefer_SSE_for_memop): Define.
84019         (HAS_PREFER_SSE_FOR_MEMOP): Define.
84021 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
84023         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
84024         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
84026 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
84028         [BZ #12191]
84029         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84030         (__x86_64_raw_data_cache_size_half): Likewise.
84031         (__x86_64_raw_shared_cache_size): Likewise.
84032         (__x86_64_raw_shared_cache_size_half): Likewise.
84034         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84035         (__x86_64_raw_data_cache_size_half): Likewise.
84036         (__x86_64_raw_shared_cache_size): Likewise.
84037         (__x86_64_raw_shared_cache_size_half): Likewise.
84038         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
84039         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
84040         and __x86_64_raw_shared_cache_size_half.  Round
84041         __x86_64_data_cache_size_half, __x86_64_data_cache_size
84042         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
84043         to multiple of 256 bytes.
84045 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
84047         [BZ #12167]
84048         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
84049         of inacessible symlinks.  Verify result of symlink before returning it.
84050         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
84051         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
84053 2010-10-28  Erich Ritz  <erichritz@gmail.com>
84055         * math/math.h (isinf): Fix typo in comment.
84057 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
84059         * po/da.po: Update from translation team.
84061 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
84063         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
84064         is added to the list.
84066 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84067             Ulrich Drepper  <drepper@gmail.com>
84069         * elf/dl-object.c (_dl_new_object): Don't append the new object to
84070         the global list here.  Move code to...
84071         (_dl_add_to_namespace_list): ...here.  New function.
84072         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
84073         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
84074         * elf/dl-load.c (lose): Don't remove the element from the list.
84075         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
84076         (_dl_map_object): Likewise.
84078 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
84080         [BZ #12159]
84081         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
84082         into all bytes of SSE register.
84083         Patch by Richard Li <richardpku@gmail.com>.
84085 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
84087         [BZ #12140]
84088         * malloc/malloc.c (_int_free): Fill correct number of bytes when
84089         perturbing.
84091 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
84093         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
84094         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
84095         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
84096         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
84097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
84098         submachine.
84099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
84101 2010-10-22  Andreas Schwab  <schwab@redhat.com>
84103         * include/dlfcn.h (__RTLD_SECURE): Define.
84104         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
84105         mode & __RTLD_SECURE instead.
84106         (open_path): Rename preloaded parameter to secure.
84107         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
84108         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
84109         * elf/dl-deps.c (openaux): Likewise.
84110         * elf/rtld.c (struct map_args): Remove is_preloaded.
84111         (map_doit): Don't use it.
84112         (dl_main): Likewise.
84113         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
84114         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
84116 2010-09-09  Andreas Schwab  <schwab@redhat.com>
84118         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
84119         (sysd-rules-targets): Remove duplicates.
84120         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
84121         rtld-%.$o dependency.
84123 2010-10-18  Andreas Schwab  <schwab@redhat.com>
84125         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
84126         _dl_map_object do it.
84128 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
84130         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
84131         fast fma builtins, define the macros in the C99 standard.
84132         (FP_FAST_FMAF): Likewise.
84133         (FP_FAST_FMAL): Likewise.
84134         * sysdeps/x86_64/bits/mathdef.h: Likewise.
84136         * bits/mathdef.h: Update copyright year.
84137         * sysdeps/powerpc/bits/mathdef.h: Likewise.
84139 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
84141         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
84142         builtins, define the macros in the C99 standard.
84143         (FP_FAST_FMAF): Likewise.
84144         (FP_FAST_FMAL): Likewise.
84145         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
84146         multiply/add.
84147         (FP_FAST_FMAF): Likewise.
84149 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
84151         [BZ #3268]
84152         * math/libm-test.inc (fma_test): Some new testcases.
84153         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
84154         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
84155         y and infinite z.  Do multiplication by C already in long double.
84156         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
84157         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
84158         y and infinite z.  Do bitwise or of inexact bit into u.d.
84159         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
84160         * sysdeps/i386/fpu/s_fmaf.S: Removed.
84161         * sysdeps/i386/fpu/s_fma.S: Removed.
84162         * sysdeps/i386/fpu/s_fmal.S: Removed.
84164 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
84166         [BZ #3268]
84167         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
84168         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
84169         computation is not scheduled after fetestexcept.  Fix value
84170         of minimum denormal long double.
84172 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
84174         [BZ #3268]
84175         * math/libm-test.inc (fma_test): Add some more tests.
84176         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
84177         correctly.
84179 2010-10-15  Andreas Schwab  <schwab@redhat.com>
84181         * scripts/data/localplt-s390-linux-gnu.data: New file.
84182         * scripts/data/localplt-s390x-linux-gnu.data: New file.
84184 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
84186         [BZ #3268]
84187         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
84188         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
84189         instead of dbl-64.
84190         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
84191         inlines.
84192         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
84193         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
84194         if one of x and y is very large and the other is subnormal.
84195         * sysdeps/s390/fpu/s_fmaf.c: New file.
84196         * sysdeps/s390/fpu/s_fma.c: New file.
84197         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
84198         * sysdeps/powerpc/fpu/s_fma.S: New file.
84199         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
84200         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
84201         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
84203 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
84205         [BZ #3268]
84206         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
84207         fma tests.
84208         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
84209         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
84210         * sysdeps/i386/i686/multiarch/s_fma.c: Include
84211         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
84212         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
84213         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
84214         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
84216 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
84218         [BZ #12078]
84219         * posix/regcomp.c (parse_branch): One more memory leak plugged.
84220         * posix/bug-regex31.input: Add test case.
84222 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
84224         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
84225         * posix/bug-regex31.input: New file.
84227         [BZ #12078]
84228         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
84229         (parse_sub_exp): Fix last change, use postorder.
84231         * posix/bug-regex31.c: New file.
84232         * posix/Makefile: Add rules to build and run bug-regex31.
84234         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
84236         [BZ #12078]
84237         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
84239         [BZ #12108]
84240         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
84241         to have entries in sys_siglist.
84243         [BZ #12093]
84244         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
84245         be NULL.
84247 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
84249         [BZ #3268]
84250         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
84251         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
84252         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
84253         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
84254         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
84255         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
84256         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
84257         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
84258         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
84259         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
84260         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
84261         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
84262         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
84263         * math/ftestexcept.c (fetestexcept): Likewise.
84264         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
84265         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
84266         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
84267         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
84268         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
84269         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
84270         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
84272 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
84274         [BZ #12107]
84275         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
84276         newline.
84278 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
84280         * string/bug-strstr1.c: New file.
84281         * string/Makefile: Add rules to build and run bug-strstr1.
84283 2010-10-05  Eric Blake  <eblake@redhat.com>
84285         [BZ #12092]
84286         * string/str-two-way.h (two_way_long_needle): Always clear memory
84287         when skipping input due to the shift table.
84289 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
84291         [BZ #12005]
84292         * malloc/mcheck.c: Handle large requests.
84294         [BZ #12077]
84295         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
84296         for strncmp and strncasecmp.
84297         * string/stratcliff.c: Add tests for strcmp and strncmp.
84298         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
84300 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
84302         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
84303         __set_fpscr.
84305 2010-09-30  Andreas Jaeger  <aj@suse.de>
84307         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
84308         (CGROUP_SUPER_MAGIC): Define.
84309         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84310         Handle btrfs and cgroup file systems.
84311         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
84312         Likewise.
84314 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
84316         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
84317         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
84319 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84321         [BZ #12067]
84322         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
84323         trying to locate the ELF header.
84325 2010-09-27  Andreas Schwab  <schwab@redhat.com>
84327         [BZ #11611]
84328         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
84329         Mask out sign-bit copies when constructing f_fsid.
84331 2010-09-24  Petr Baudis <pasky@suse.cz>
84333         * debug/stack_chk_fail_local.c: Add missing licence exception.
84334         * debug/warning-nop.c: Likewise.
84336 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
84338         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
84339         implementing getdents64 using getdents syscall, set d_type if
84340         __ASSUME_GETDENTS32_D_TYPE.
84342 2010-09-16  Andreas Schwab  <schwab@redhat.com>
84344         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
84345         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
84347 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
84349         [BZ #12037]
84350         * posix/unistd.h: Undo change of feature selection for ftruncate from
84351         2010-01-11.
84353 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
84355         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
84356         detection.
84358 2010-09-20  Andreas Schwab  <schwab@redhat.com>
84360         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
84361         fanotify_mark.
84362         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
84364 2010-09-14  Andreas Schwab  <schwab@redhat.com>
84366         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
84367         variables after CHECK_SP call.
84368         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
84370 2010-09-13  Andreas Schwab  <schwab@redhat.com>
84371             Ulrich Drepper  <drepper@redhat.com>
84373         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
84374         re-relocationg ld.so.
84375         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
84376         _dl_init_paths call.
84377         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
84378         here anymore.
84380 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
84382         * resolv/res_init.c (__res_vinit): Count the default server we added.
84384 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
84385             Ulrich Drepper  <drepper@redhat.com>
84387         [BZ #11968]
84388         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
84389         (____longjmp_chk): Use %ebx for saving value across system call.
84390         Add unwind info.
84392 2010-09-06  Andreas Schwab  <schwab@redhat.com>
84394         * manual/Makefile: Don't mix pattern rules with normal rules.
84396 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
84398         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
84399         operation.
84400         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
84401         * libio/iofopncook.c (_IO_cookie_init): Likewise.
84402         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
84403         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
84404         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84405         Likewise.
84407 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
84409         [BZ #11979]
84410         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
84411         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
84413 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
84415         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
84416         * sysdeps/x86_64/addmul_1.S: Likewise.
84417         * sysdeps/x86_64/lshift.S: Likewise.
84418         * sysdeps/x86_64/mul_1.S: Likewise.
84419         * sysdeps/x86_64/rshift.S: Likewise.
84420         * sysdeps/x86_64/sub_n.S: Likewise.
84421         * sysdeps/x86_64/submul_1.S: Likewise.
84423 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84425         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
84426         Define __sched_param instead of SCHED_* and sched_param when
84427         <bits/sched.h> is included with __need_schedparam defined.
84428         * bits/sched.h [__need_schedparam]
84429         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
84430         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
84431         (__defined_schedparam): Define to 1.
84432         (__sched_param): New structure, identical to sched_param.
84433         (__need_schedparam): Undefine.
84435 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
84437         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
84438         (epoll_create1): Declare.
84440         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
84442 2010-08-31  Andreas Schwab  <schwab@redhat.com>
84444         [BZ #7066]
84445         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
84446         shifting retval into place.
84448 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
84450         * nis/rpcsvc/nis.h: Update copyright notice.
84451         * nis/rpcsvc/nis.x: Likewise.
84452         * nis/rpcsvc/nis_callback.h: Likewise.
84453         * nis/rpcsvc/nis_callback.x: Likewise.
84454         * nis/rpcsvc/nis_object.x: Likewise.
84455         * nis/rpcsvc/nis_tags.h: Likewise.
84456         * nis/rpcsvc/yp.h: Likewise.
84457         * nis/rpcsvc/yp.x: Likewise.
84458         * nis/rpcsvc/ypupd.h: Likewise.
84459         * nis/yp_xdr.c: Likewise.
84460         * nis/ypupdate_xdr.c: Likewise.
84462         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
84463         mainly the body of pmap_getport.  Add parameters to specify timeouts.
84464         (pmap_getport): Use __libc_rpc_getport.
84465         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
84466         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
84467         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
84469 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
84471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
84472         fanotify_mark.
84474 2010-08-27  Roland McGrath  <roland@redhat.com>
84476         * sysdeps/i386/i686/multiarch/Makefile
84477         (CFLAGS-varshift.c): New variable.
84479 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
84481         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
84482         * sysdeps/i386/i686/multiarch/varshift.c: New file.
84484         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
84486         * sysdeps/x86_64/strlen.S: Minimal code improvement.
84488 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
84490         * sysdeps/x86_64/strlen.S: Unroll the loop.
84491         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84492         strlen-sse2 strlen-sse2-bsf.
84493         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
84494         __strlen_no_bsf if bit_Slow_BSF is set.
84495         (__strlen_sse42): Removed.
84496         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
84497         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
84499 2010-08-25  Roland McGrath  <roland@redhat.com>
84501         * sysdeps/x86_64/multiarch/varshift.S: File removed.
84502         * sysdeps/x86_64/multiarch/varshift.c: New file.
84503         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
84504         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
84505         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
84506         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
84508 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
84510         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84511         strlen-sse2 strlen-sse2-bsf.
84512         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
84513         __strlen_sse2_bsf if bit_Slow_BSF is unset.
84514         (__strlen_sse2): Removed.
84515         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
84516         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
84517         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
84518         bit_Slow_BSF for Atom.
84519         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
84520         (index_Slow_BSF): Define.
84521         (HAS_SLOW_BSF): Define.
84523 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
84525         [BZ #10851]
84526         * resolv/res_init.c (__res_vinit): When no server address at all
84527         is given default to loopback.
84529 2010-08-24  Roland McGrath  <roland@redhat.com>
84531         * configure.in: Remove config-name.h generation.
84532         * configure: Regenerated.
84533         * config-name.in: File removed.
84534         * scripts/config-uname.sh: New file.
84535         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
84536         ($(objdir)config-name.h): New target.
84538         * sunrpc/rpc_parse.h: Avoid nested comment.
84540 2010-08-24  Richard Henderson  <rth@redhat.com>
84541             Ulrich Drepper  <drepper@redhat.com>
84542             H.J. Lu  <hongjiu.lu@intel.com>
84544         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
84545         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
84546         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
84547         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
84548         _mm_alignr_epi8 with _mm_loadu_si128.
84549         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
84550         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
84551         (__m128i_shift_right): Removed.
84552         * sysdeps/i386/i686/multiarch/varshift.h: New file.
84553         * sysdeps/i386/i686/multiarch/varshift.S: New file.
84554         * sysdeps/x86_64/multiarch/varshift.h: New file.
84555         * sysdeps/x86_64/multiarch/varshift.S: New file.
84557 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
84559         * configure.in: Move assembler checks to before sysdep dir checking.
84561 2010-08-20  Petr Baudis  <pasky@suse.cz>
84563         * LICENSES: Sync the sunrpc license.
84565 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
84567         * sunrpc/auth_des.c: Update copyright notice once again.
84568         * sunrpc/auth_none.c: Likewise.
84569         * sunrpc/auth_unix.c: Likewise.
84570         * sunrpc/authdes_prot.c: Likewise.
84571         * sunrpc/authuxprot.c: Likewise.
84572         * sunrpc/bindrsvprt.c: Likewise.
84573         * sunrpc/clnt_gen.c: Likewise.
84574         * sunrpc/clnt_perr.c: Likewise.
84575         * sunrpc/clnt_raw.c: Likewise.
84576         * sunrpc/clnt_simp.c: Likewise.
84577         * sunrpc/clnt_tcp.c: Likewise.
84578         * sunrpc/clnt_udp.c: Likewise.
84579         * sunrpc/clnt_unix.c: Likewise.
84580         * sunrpc/des_crypt.c: Likewise.
84581         * sunrpc/des_soft.c: Likewise.
84582         * sunrpc/get_myaddr.c: Likewise.
84583         * sunrpc/getrpcport.c: Likewise.
84584         * sunrpc/key_call.c: Likewise.
84585         * sunrpc/key_prot.c: Likewise.
84586         * sunrpc/openchild.c: Likewise.
84587         * sunrpc/pm_getmaps.c: Likewise.
84588         * sunrpc/pm_getport.c: Likewise.
84589         * sunrpc/pmap_clnt.c: Likewise.
84590         * sunrpc/pmap_prot.c: Likewise.
84591         * sunrpc/pmap_prot2.c: Likewise.
84592         * sunrpc/pmap_rmt.c: Likewise.
84593         * sunrpc/rpc/auth.h: Likewise.
84594         * sunrpc/rpc/auth_unix.h: Likewise.
84595         * sunrpc/rpc/clnt.h: Likewise.
84596         * sunrpc/rpc/des_crypt.h: Likewise.
84597         * sunrpc/rpc/key_prot.h: Likewise.
84598         * sunrpc/rpc/netdb.h: Likewise.
84599         * sunrpc/rpc/pmap_clnt.h: Likewise.
84600         * sunrpc/rpc/pmap_prot.h: Likewise.
84601         * sunrpc/rpc/pmap_rmt.h: Likewise.
84602         * sunrpc/rpc/rpc.h: Likewise.
84603         * sunrpc/rpc/rpc_des.h: Likewise.
84604         * sunrpc/rpc/rpc_msg.h: Likewise.
84605         * sunrpc/rpc/svc.h: Likewise.
84606         * sunrpc/rpc/svc_auth.h: Likewise.
84607         * sunrpc/rpc/types.h: Likewise.
84608         * sunrpc/rpc/xdr.h: Likewise.
84609         * sunrpc/rpc_clntout.c: Likewise.
84610         * sunrpc/rpc_cmsg.c: Likewise.
84611         * sunrpc/rpc_common.c: Likewise.
84612         * sunrpc/rpc_cout.c: Likewise.
84613         * sunrpc/rpc_dtable.c: Likewise.
84614         * sunrpc/rpc_hout.c: Likewise.
84615         * sunrpc/rpc_main.c: Likewise.
84616         * sunrpc/rpc_parse.c: Likewise.
84617         * sunrpc/rpc_parse.h: Likewise.
84618         * sunrpc/rpc_prot.c: Likewise.
84619         * sunrpc/rpc_sample.c: Likewise.
84620         * sunrpc/rpc_scan.c: Likewise.
84621         * sunrpc/rpc_scan.h: Likewise.
84622         * sunrpc/rpc_svcout.c: Likewise.
84623         * sunrpc/rpc_tblout.c: Likewise.
84624         * sunrpc/rpc_util.c: Likewise.
84625         * sunrpc/rpc_util.h: Likewise.
84626         * sunrpc/rpcinfo.c: Likewise.
84627         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
84628         * sunrpc/rpcsvc/key_prot.x: Likewise.
84629         * sunrpc/rpcsvc/klm_prot.x: Likewise.
84630         * sunrpc/rpcsvc/mount.x: Likewise.
84631         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
84632         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
84633         * sunrpc/rpcsvc/rex.x: Likewise.
84634         * sunrpc/rpcsvc/rstat.x: Likewise.
84635         * sunrpc/rpcsvc/rusers.x: Likewise.
84636         * sunrpc/rpcsvc/sm_inter.x: Likewise.
84637         * sunrpc/rpcsvc/spray.x: Likewise.
84638         * sunrpc/rpcsvc/yppasswd.x: Likewise.
84639         * sunrpc/rtime.c: Likewise.
84640         * sunrpc/svc.c: Likewise.
84641         * sunrpc/svc_auth.c: Likewise.
84642         * sunrpc/svc_authux.c: Likewise.
84643         * sunrpc/svc_raw.c: Likewise.
84644         * sunrpc/svc_run.c: Likewise.
84645         * sunrpc/svc_simple.c: Likewise.
84646         * sunrpc/svc_tcp.c: Likewise.
84647         * sunrpc/svc_udp.c: Likewise.
84648         * sunrpc/svc_unix.c: Likewise.
84649         * sunrpc/svcauth_des.c: Likewise.
84650         * sunrpc/xcrypt.c: Likewise.
84651         * sunrpc/xdr.c: Likewise.
84652         * sunrpc/xdr_array.c: Likewise.
84653         * sunrpc/xdr_float.c: Likewise.
84654         * sunrpc/xdr_mem.c: Likewise.
84655         * sunrpc/xdr_rec.c: Likewise.
84656         * sunrpc/xdr_ref.c: Likewise.
84657         * sunrpc/xdr_sizeof.c: Likewise.
84658         * sunrpc/xdr_stdio.c: Likewise.
84660         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
84661         handling.
84663 2010-08-19  Andreas Schwab  <schwab@redhat.com>
84665         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
84667 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
84669         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
84670         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
84671         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
84672         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
84673         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
84674         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
84675         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
84676         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
84677         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
84678         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
84679         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
84680         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
84681         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
84682         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
84684 2010-07-26  Anton Blanchard  <anton@samba.org>
84686         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
84687         * malloc/arena.c (heap_trim): Likewise.
84689 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
84691         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
84692         here.  Not...
84693         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
84694         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
84696 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
84698         * sysdeps/i386/elf/Makefile: New file.
84700 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
84702         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
84703         from fanotify_init.
84704         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
84705         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
84707 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
84709         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
84710         of strncasecmp_l.
84711         * sysdeps/multiarch/strcmp.S: Likewise.
84713 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
84715         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
84716         strncase_l-nonascii.
84717         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
84718         Add strncase_l-ssse3.
84719         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
84720         * sysdeps/x86_64/strcmp.S: Likewise.
84721         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
84722         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
84723         * sysdeps/x86_64/strncase.S: New file.
84724         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
84725         * sysdeps/x86_64/strncase_l.S: New file.
84726         * string/Makefile (strop-tests): Add strncasecmp.
84727         * string/test-strncasecmp.c: New file.
84729         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
84730         warning.
84732         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
84733         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
84735 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
84737         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
84739 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
84741         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
84742         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
84743         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
84745 2010-05-01  Alan Modra  <amodra@gmail.com>
84747         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
84748         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
84749         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
84750         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
84751         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
84752         tidying.  Don't tail-call __sigjmp_save for static lib.
84753         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
84754         save location.
84755         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
84756         (CALL_MCOUNT): Add eh info, and nop after bl.
84757         (TAIL_CALL_SYSCALL_ERROR): New macro.
84758         (PSEUDO_RET): Use it.
84759         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
84760         Correct save location of integer regs and cr.
84761         (_dl_profile_resolve): Correct cr save location.  Delete nops
84762         after bl when SHARED.  Reduce cfi size a little by better
84763         placement of cfi directives.
84764         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
84765         make a stack frame.  Instead use parm save area as a temp.
84766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
84767         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
84768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
84769         Don't make a stack frame for parent, use parm save area.
84770         Increase child stack frame to 112 bytes.  Don't save unused reg,
84771         and adjust reg usage.  Set up cfi on error recovery and
84772         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
84773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
84774         (__makecontext): Add dummy nop after jump to exit.
84775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
84776         Use correct parm save area and cr save, reduce stack frame.
84777         Correct cfi for possible PSEUDO_RET frame setup.
84778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
84779         Branch to local label emitted by PSEUDO_RET rather than
84780         __syscall_error.
84782 2010-08-12  Andreas Schwab  <schwab@redhat.com>
84784         [BZ #11904]
84785         * locale/programs/locale.c (print_assignment): New function.
84786         (show_locale_vars): Use it.
84788 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
84790         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
84791         field.
84792         (struct statfs64): Likewise.
84793         (_STATFS_F_FLAGS): Define.
84794         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
84795         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84796         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
84797         (ST_VALID): Define locally.
84798         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
84799         __statvfs_getflags, use the provided value.
84800         * sysdeps/unix/sysv/linux/kernel-features.h: Define
84801         __ASSUME_STATFS_F_FLAGS.
84803         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
84805         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
84806         Add sys/fanotify.h.
84807         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
84808         fanotify_mask for GLIBC_2.13.
84809         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
84810         fanotify_init and fanotify_mark.
84811         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
84812         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
84814         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
84815         Add prlimit.
84816         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
84817         prlimit64 for GLIBC_2.13.
84818         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
84819         prlimit64.
84820         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
84821         syscall.
84822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
84823         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
84824         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
84825         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
84826         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
84827         add prlimit alias.
84828         * sysdeps/unix/sysv/linux/prlimit.c: New file.
84830         [BZ #11903]
84831         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
84832         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
84834         * nss/Makefile: Add rules to build and run tst-nss-test1.
84835         * shlib-versions: Add entry for libnss_test1.
84836         * nss/nss_test1.c: New file.
84837         * nss/tst-nss-test1.c: New file.
84839         * nss/nsswitch.c (__nss_database_custom): Define new variable.
84840         (__nss_configure_lookup): Set appropriate entry in
84841         __nss_configure_lookup to true.
84842         * nss/nsswitch.h: Define enum with indeces of databases in
84843         databases and __nss_database_custom arrays.  Declare
84844         __nss_database_custom.
84845         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
84846         to avoid using nscd when custom rules are installed.
84847         * nss/getXXbyYY_r.c: Likewise.
84848         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
84850         * nss/nss_files/files-parse.c: Whitespace fixes.
84852 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
84854         [BZ #11883]
84855         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
84856         * posix/fnmatch_loop.c: Likewise.
84858 2010-07-17  Andi Kleen  <ak@linux.intel.com>
84860         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
84861         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
84862         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
84863         * Versions.def [GLIBC_2.13]: Add.
84865 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
84867         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
84868         Also fail if tpwd after pwuid call is NULL.
84870 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84872         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
84873         when converting to ms.
84875 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84877         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
84878         EOPNOTSUPP errors with ENOTTY.
84879         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
84880         EOPNOTSUPP errors with ENOTTY.
84882 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
84884         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
84885         Add strcasecmp_l-ssse3.
84886         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
84887         strcasecmp.
84888         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
84889         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
84890         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
84892 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
84894         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
84896         * string/Makefile (strop-tests): Add strcasecmp.
84897         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
84898         strcasecmp_l-nonascii.
84899         (gen-as-const-headers): Add locale-defines.sym.
84900         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
84901         * sysdeps/x86_64/strcasecmp.S: New file.
84902         * sysdeps/x86_64/strcasecmp_l.S: New file.
84903         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
84904         * sysdeps/x86_64/locale-defines.sym: New file.
84905         * string/test-strcasecmp.c: New file.
84907         * string/test-strcasestr.c: Test both ends of the range of characters.
84908         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
84910 2010-07-29  Roland McGrath  <roland@redhat.com>
84912         [BZ #11856]
84913         * manual/locale.texi (Yes-or-No Questions): Fix example code.
84915 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
84917         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
84918         for ld.so.
84920 2010-07-27  Andreas Schwab  <schwab@redhat.com>
84922         * manual/memory.texi (Malloc Tunable Parameters): Document
84923         M_PERTURB.
84925 2010-07-26  Roland McGrath  <roland@redhat.com>
84927         [BZ #11840]
84928         * configure.in (-fgnu89-inline check): Set and substitute
84929         gnu89_inline, not libc_cv_gnu89_inline.
84930         * configure: Regenerated.
84931         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
84933 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
84935         * string/test-strnlen.c: New file.
84936         * string/Makefile (strop-tests): Add strnlen.
84937         * string/tester.c (test_strnlen): Add a few more test cases.
84938         * string/tst-strlen.c: Better error reporting.
84940         * sysdeps/x86_64/strnlen.S: New file.
84942 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
84944         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
84945         lower-latency instructions.
84947 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
84949         * string/test-strcasestr.c: New file.
84950         * string/test-strstr.c: New file.
84951         * string/Makefile (strop-tests): Add strstr and strcasestr.
84952         * string/str-two-way.h: Don't undefine MAX.
84953         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
84955 2010-07-21  Andreas Schwab  <schwab@redhat.com>
84957         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84958         strcasestr-nonascii.
84959         (CFLAGS-strcasestr-nonascii.c): Define.
84960         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
84961         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
84962         Remove unused attribute.
84964 2010-07-20  Roland McGrath  <roland@redhat.com>
84966         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
84967         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
84968         ld.so.cache was broken.  With it, there is no way to disable dsocaps
84969         like LD_HWCAP_MASK can disable hwcaps.
84971 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
84973         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
84975 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
84977         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
84978         call in strcasestr.
84979         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
84980         __strcasestr_sse42_nonascii.
84981         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
84982         strcasestr-nonascii.c.
84983         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
84985 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
84987         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
84988         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
84989         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
84990         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
84992 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
84994         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
84995         fcntl.
84997 2010-07-06  Andreas Schwab  <schwab@redhat.com>
84999         [BZ #11577]
85000         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
85001         dl_signal_cerror.
85003 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
85005         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
85006         _PC_PIPE_BUF using F_GETPIPE_SZ.
85008 2010-07-05  Roland McGrath  <roland@redhat.com>
85010         * manual/arith.texi (Rounding Functions): Fix rint description
85011         implicit in round description.
85013 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
85015         * elf/Makefile: Fix linking for a few tests to make recent linker
85016         happy.
85018 2010-06-30  Andreas Schwab  <schwab@redhat.com>
85020         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
85021         $(common-objpfx)libc_nonshared.a.
85023 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
85025         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
85026         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
85027         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85028         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85029         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
85030         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
85031         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85032         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
85034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
85035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
85036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
85038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
85040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
85041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
85042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
85043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
85045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
85047         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
85048         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
85049         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
85050         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
85051         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
85052         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
85053         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
85054         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
85055         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
85056         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
85057         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
85058         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
85059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
85060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
85061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
85062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
85063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
85064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
85065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
85066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
85067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
85068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
85069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
85070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
85071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
85072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
85074 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
85076         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
85077         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
85078         * string/memmove.c (memmove): Renamed to ...
85079         (MEMMOVE): ...this.  Default to memmove.
85080         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
85081         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
85082         (END_CHK): Define.
85083         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85084         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
85085         mempcpy-ssse3-back memmove-ssse3-back.
85086         * sysdeps/x86_64/multiarch/bcopy.S: New file .
85087         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
85088         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
85089         * sysdeps/x86_64/multiarch/memcpy.S: New file.
85090         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
85091         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
85092         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
85093         * sysdeps/x86_64/multiarch/memmove.c: New file.
85094         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
85095         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
85096         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
85097         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
85098         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
85099         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
85100         Define.
85101         (index_Fast_Copy_Backward): Define.
85102         (HAS_ARCH_FEATURE): Define.
85103         (HAS_FAST_REP_STRING): Define.
85104         (HAS_FAST_COPY_BACKWARD): Define.
85106 2010-06-21  Andreas Schwab  <schwab@redhat.com>
85108         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85109         Restore proper fallback handling.
85111 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
85113         [BZ #11701]
85114         * posix/group_member.c (__group_member): Correct checking loop.
85116         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
85117         OOM in getpwuid_r correctly.  Return error number when the caller
85118         should return, otherwise -1.
85119         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
85120         call returning > 0 value.
85121         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
85123 2010-06-07  Andreas Schwab  <schwab@redhat.com>
85125         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
85126         libc_nonshared.a from targets in modules-names.
85128 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
85130         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
85131         requires it.
85133 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
85135         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
85136         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
85137         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
85138         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
85140 2010-06-02  Andreas Schwab  <schwab@redhat.com>
85142         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
85144 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
85146         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
85147         and F_GETPIPE_SZ.
85148         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
85149         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85150         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85151         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85152         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85153         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85155 2010-06-14  Roland McGrath  <roland@redhat.com>
85157         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
85159 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
85161         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
85162         __REDIRECT followed by __THROW.
85163         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
85164         * posix/getopt.h (getopt): Likewise.
85166 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
85168         * hurd/lookup-at.c (__file_name_lookup_at): Accept
85169         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
85170         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
85171         in AT_FLAGS.
85172         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
85173         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
85175 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
85177         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
85179 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
85181         [BZ #11640]
85182         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85183         Properly check family and model.
85185 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
85187         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
85189 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
85191         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
85193 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
85195         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
85196         symbol reference.
85198 2010-05-19  Andreas Schwab  <schwab@redhat.com>
85200         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
85201         symbol reference.
85203 2010-05-21  Andreas Schwab  <schwab@redhat.com>
85205         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
85206         and internal_recvmmsg.
85207         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
85208         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
85209         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
85210         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
85212         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
85213         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
85214         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
85216 2010-05-20  Andreas Schwab  <schwab@redhat.com>
85218         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
85220 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
85222         POWER7 optimizations.
85223         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
85224         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
85226 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
85228         * version.h: Update for 2.13 development version.
85230 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
85232         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
85233         exceptions.  Return 0.
85235 2010-05-07  Roland McGrath  <roland@redhat.com>
85237         * elf/ldconfig.c (main): Add a const.
85239 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
85241         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
85242         (args_options): Add no-idn option.
85243         (ahosts_keys_int): Add idn_flags to ai_flags.
85244         (parse_option): Handle 'i' option to clear idn_flags.
85246         * malloc/malloc.c (_int_free): Possible race in the most recently
85247         added check.  Only act on the data if no current modification
85248         happened.
85250 See ChangeLog.17 for earlier changes.